Skip to content

Commit

Permalink
feat: propagate resource description field from stainless config to S…
Browse files Browse the repository at this point in the history
…DK docs (#280)
  • Loading branch information
stainless-app[bot] committed May 15, 2024
1 parent 42f76be commit 1aa41bb
Show file tree
Hide file tree
Showing 35 changed files with 175 additions and 130 deletions.
8 changes: 5 additions & 3 deletions account.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ import (
)

// AccountService contains methods and other services that help with interacting
// with the lithic API. Note, unlike clients, this service does not read variables
// from the environment automatically. You should not instantiate this service
// directly, and instead use the [NewAccountService] method instead.
// with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewAccountService] method instead.
type AccountService struct {
Options []option.RequestOption
CreditConfigurations *AccountCreditConfigurationService
Expand Down
9 changes: 5 additions & 4 deletions accountcreditconfiguration.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ import (
)

// AccountCreditConfigurationService contains methods and other services that help
// with interacting with the lithic API. Note, unlike clients, this service does
// not read variables from the environment automatically. You should not
// instantiate this service directly, and instead use the
// [NewAccountCreditConfigurationService] method instead.
// with interacting with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewAccountCreditConfigurationService] method instead.
type AccountCreditConfigurationService struct {
Options []option.RequestOption
}
Expand Down
9 changes: 5 additions & 4 deletions accountholder.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ import (
)

// AccountHolderService contains methods and other services that help with
// interacting with the lithic API. Note, unlike clients, this service does not
// read variables from the environment automatically. You should not instantiate
// this service directly, and instead use the [NewAccountHolderService] method
// instead.
// interacting with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewAccountHolderService] method instead.
type AccountHolderService struct {
Options []option.RequestOption
}
Expand Down
9 changes: 5 additions & 4 deletions aggregatebalance.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ import (
)

// AggregateBalanceService contains methods and other services that help with
// interacting with the lithic API. Note, unlike clients, this service does not
// read variables from the environment automatically. You should not instantiate
// this service directly, and instead use the [NewAggregateBalanceService] method
// instead.
// interacting with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewAggregateBalanceService] method instead.
type AggregateBalanceService struct {
Options []option.RequestOption
}
Expand Down
8 changes: 5 additions & 3 deletions authrule.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ import (
)

// AuthRuleService contains methods and other services that help with interacting
// with the lithic API. Note, unlike clients, this service does not read variables
// from the environment automatically. You should not instantiate this service
// directly, and instead use the [NewAuthRuleService] method instead.
// with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewAuthRuleService] method instead.
type AuthRuleService struct {
Options []option.RequestOption
}
Expand Down
9 changes: 5 additions & 4 deletions authstreamenrollment.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ import (
)

// AuthStreamEnrollmentService contains methods and other services that help with
// interacting with the lithic API. Note, unlike clients, this service does not
// read variables from the environment automatically. You should not instantiate
// this service directly, and instead use the [NewAuthStreamEnrollmentService]
// method instead.
// interacting with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewAuthStreamEnrollmentService] method instead.
type AuthStreamEnrollmentService struct {
Options []option.RequestOption
}
Expand Down
8 changes: 5 additions & 3 deletions balance.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ import (
)

// BalanceService contains methods and other services that help with interacting
// with the lithic API. Note, unlike clients, this service does not read variables
// from the environment automatically. You should not instantiate this service
// directly, and instead use the [NewBalanceService] method instead.
// with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewBalanceService] method instead.
type BalanceService struct {
Options []option.RequestOption
}
Expand Down
8 changes: 5 additions & 3 deletions card.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ import (
)

// CardService contains methods and other services that help with interacting with
// the lithic API. Note, unlike clients, this service does not read variables from
// the environment automatically. You should not instantiate this service directly,
// and instead use the [NewCardService] method instead.
// the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewCardService] method instead.
type CardService struct {
Options []option.RequestOption
AggregateBalances *CardAggregateBalanceService
Expand Down
9 changes: 5 additions & 4 deletions cardaggregatebalance.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ import (
)

// CardAggregateBalanceService contains methods and other services that help with
// interacting with the lithic API. Note, unlike clients, this service does not
// read variables from the environment automatically. You should not instantiate
// this service directly, and instead use the [NewCardAggregateBalanceService]
// method instead.
// interacting with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewCardAggregateBalanceService] method instead.
type CardAggregateBalanceService struct {
Options []option.RequestOption
}
Expand Down
9 changes: 5 additions & 4 deletions cardbalance.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ import (
)

// CardBalanceService contains methods and other services that help with
// interacting with the lithic API. Note, unlike clients, this service does not
// read variables from the environment automatically. You should not instantiate
// this service directly, and instead use the [NewCardBalanceService] method
// instead.
// interacting with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewCardBalanceService] method instead.
type CardBalanceService struct {
Options []option.RequestOption
}
Expand Down
9 changes: 5 additions & 4 deletions cardfinancialtransaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ import (
)

// CardFinancialTransactionService contains methods and other services that help
// with interacting with the lithic API. Note, unlike clients, this service does
// not read variables from the environment automatically. You should not
// instantiate this service directly, and instead use the
// [NewCardFinancialTransactionService] method instead.
// with interacting with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewCardFinancialTransactionService] method instead.
type CardFinancialTransactionService struct {
Options []option.RequestOption
}
Expand Down
9 changes: 5 additions & 4 deletions cardproduct.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ import (
)

// CardProductService contains methods and other services that help with
// interacting with the lithic API. Note, unlike clients, this service does not
// read variables from the environment automatically. You should not instantiate
// this service directly, and instead use the [NewCardProductService] method
// instead.
// interacting with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewCardProductService] method instead.
type CardProductService struct {
Options []option.RequestOption
}
Expand Down
9 changes: 5 additions & 4 deletions cardprogram.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ import (
)

// CardProgramService contains methods and other services that help with
// interacting with the lithic API. Note, unlike clients, this service does not
// read variables from the environment automatically. You should not instantiate
// this service directly, and instead use the [NewCardProgramService] method
// instead.
// interacting with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewCardProgramService] method instead.
type CardProgramService struct {
Options []option.RequestOption
}
Expand Down
9 changes: 5 additions & 4 deletions digitalcardart.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ import (
)

// DigitalCardArtService contains methods and other services that help with
// interacting with the lithic API. Note, unlike clients, this service does not
// read variables from the environment automatically. You should not instantiate
// this service directly, and instead use the [NewDigitalCardArtService] method
// instead.
// interacting with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewDigitalCardArtService] method instead.
type DigitalCardArtService struct {
Options []option.RequestOption
}
Expand Down
8 changes: 5 additions & 3 deletions dispute.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ import (
)

// DisputeService contains methods and other services that help with interacting
// with the lithic API. Note, unlike clients, this service does not read variables
// from the environment automatically. You should not instantiate this service
// directly, and instead use the [NewDisputeService] method instead.
// with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewDisputeService] method instead.
type DisputeService struct {
Options []option.RequestOption
}
Expand Down
8 changes: 5 additions & 3 deletions event.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ import (
)

// EventService contains methods and other services that help with interacting with
// the lithic API. Note, unlike clients, this service does not read variables from
// the environment automatically. You should not instantiate this service directly,
// and instead use the [NewEventService] method instead.
// the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewEventService] method instead.
type EventService struct {
Options []option.RequestOption
Subscriptions *EventSubscriptionService
Expand Down
9 changes: 5 additions & 4 deletions eventsubscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ import (
)

// EventSubscriptionService contains methods and other services that help with
// interacting with the lithic API. Note, unlike clients, this service does not
// read variables from the environment automatically. You should not instantiate
// this service directly, and instead use the [NewEventSubscriptionService] method
// instead.
// interacting with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewEventSubscriptionService] method instead.
type EventSubscriptionService struct {
Options []option.RequestOption
}
Expand Down
9 changes: 5 additions & 4 deletions externalbankaccount.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ import (
)

// ExternalBankAccountService contains methods and other services that help with
// interacting with the lithic API. Note, unlike clients, this service does not
// read variables from the environment automatically. You should not instantiate
// this service directly, and instead use the [NewExternalBankAccountService]
// method instead.
// interacting with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewExternalBankAccountService] method instead.
type ExternalBankAccountService struct {
Options []option.RequestOption
MicroDeposits *ExternalBankAccountMicroDepositService
Expand Down
9 changes: 5 additions & 4 deletions externalbankaccountmicrodeposit.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ import (
)

// ExternalBankAccountMicroDepositService contains methods and other services that
// help with interacting with the lithic API. Note, unlike clients, this service
// does not read variables from the environment automatically. You should not
// instantiate this service directly, and instead use the
// [NewExternalBankAccountMicroDepositService] method instead.
// help with interacting with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewExternalBankAccountMicroDepositService] method instead.
type ExternalBankAccountMicroDepositService struct {
Options []option.RequestOption
}
Expand Down
9 changes: 5 additions & 4 deletions financialaccount.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ import (
)

// FinancialAccountService contains methods and other services that help with
// interacting with the lithic API. Note, unlike clients, this service does not
// read variables from the environment automatically. You should not instantiate
// this service directly, and instead use the [NewFinancialAccountService] method
// instead.
// interacting with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewFinancialAccountService] method instead.
type FinancialAccountService struct {
Options []option.RequestOption
Balances *FinancialAccountBalanceService
Expand Down
9 changes: 5 additions & 4 deletions financialaccountbalance.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ import (
)

// FinancialAccountBalanceService contains methods and other services that help
// with interacting with the lithic API. Note, unlike clients, this service does
// not read variables from the environment automatically. You should not
// instantiate this service directly, and instead use the
// [NewFinancialAccountBalanceService] method instead.
// with interacting with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewFinancialAccountBalanceService] method instead.
type FinancialAccountBalanceService struct {
Options []option.RequestOption
}
Expand Down
9 changes: 5 additions & 4 deletions financialaccountfinancialtransaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ import (
)

// FinancialAccountFinancialTransactionService contains methods and other services
// that help with interacting with the lithic API. Note, unlike clients, this
// service does not read variables from the environment automatically. You should
// not instantiate this service directly, and instead use the
// [NewFinancialAccountFinancialTransactionService] method instead.
// that help with interacting with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewFinancialAccountFinancialTransactionService] method instead.
type FinancialAccountFinancialTransactionService struct {
Options []option.RequestOption
}
Expand Down
9 changes: 5 additions & 4 deletions financialaccountstatement.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ import (
)

// FinancialAccountStatementService contains methods and other services that help
// with interacting with the lithic API. Note, unlike clients, this service does
// not read variables from the environment automatically. You should not
// instantiate this service directly, and instead use the
// [NewFinancialAccountStatementService] method instead.
// with interacting with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewFinancialAccountStatementService] method instead.
type FinancialAccountStatementService struct {
Options []option.RequestOption
LineItems *FinancialAccountStatementLineItemService
Expand Down
9 changes: 5 additions & 4 deletions financialaccountstatementlineitem.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ import (
)

// FinancialAccountStatementLineItemService contains methods and other services
// that help with interacting with the lithic API. Note, unlike clients, this
// service does not read variables from the environment automatically. You should
// not instantiate this service directly, and instead use the
// [NewFinancialAccountStatementLineItemService] method instead.
// that help with interacting with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewFinancialAccountStatementLineItemService] method instead.
type FinancialAccountStatementLineItemService struct {
Options []option.RequestOption
}
Expand Down
8 changes: 5 additions & 3 deletions payment.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ import (
)

// PaymentService contains methods and other services that help with interacting
// with the lithic API. Note, unlike clients, this service does not read variables
// from the environment automatically. You should not instantiate this service
// directly, and instead use the [NewPaymentService] method instead.
// with the lithic API.
//
// Note, unlike clients, this service does not read variables from the environment
// automatically. You should not instantiate this service directly, and instead use
// the [NewPaymentService] method instead.
type PaymentService struct {
Options []option.RequestOption
}
Expand Down
Loading

0 comments on commit 1aa41bb

Please sign in to comment.