Skip to content

Commit

Permalink
docs: use @deprecated decorator for deprecated params (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Mar 7, 2024
1 parent 085dae2 commit e8e2144
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions src/resources/bulk-requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,14 +173,14 @@ export namespace BulkRequestCreateParams {
accounting?: PaymentOrderAsyncCreateRequest.Accounting;

/**
* The ID of one of your accounting categories. Note that these will only be
* accessible if your accounting system has been connected.
* @deprecated: The ID of one of your accounting categories. Note that these will
* only be accessible if your accounting system has been connected.
*/
accounting_category_id?: string | null;

/**
* The ID of one of your accounting ledger classes. Note that these will only be
* accessible if your accounting system has been connected.
* @deprecated: The ID of one of your accounting ledger classes. Note that these
* will only be accessible if your accounting system has been connected.
*/
accounting_ledger_class_id?: string | null;

Expand Down Expand Up @@ -1177,14 +1177,14 @@ export namespace BulkRequestCreateParams {
accounting?: PaymentOrderUpdateRequestWithID.Accounting;

/**
* The ID of one of your accounting categories. Note that these will only be
* accessible if your accounting system has been connected.
* @deprecated: The ID of one of your accounting categories. Note that these will
* only be accessible if your accounting system has been connected.
*/
accounting_category_id?: string | null;

/**
* The ID of one of your accounting ledger classes. Note that these will only be
* accessible if your accounting system has been connected.
* @deprecated: The ID of one of your accounting ledger classes. Note that these
* will only be accessible if your accounting system has been connected.
*/
accounting_ledger_class_id?: string | null;

Expand Down
8 changes: 4 additions & 4 deletions src/resources/payment-orders/payment-orders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,14 @@ export interface PaymentOrder {
accounting: PaymentOrder.Accounting;

/**
* The ID of one of your accounting categories. Note that these will only be
* accessible if your accounting system has been connected.
* @deprecated: The ID of one of your accounting categories. Note that these will
* only be accessible if your accounting system has been connected.
*/
accounting_category_id: string | null;

/**
* The ID of one of your accounting ledger classes. Note that these will only be
* accessible if your accounting system has been connected.
* @deprecated: The ID of one of your accounting ledger classes. Note that these
* will only be accessible if your accounting system has been connected.
*/
accounting_ledger_class_id: string | null;

Expand Down

0 comments on commit e8e2144

Please sign in to comment.