From 7599a0ad3ff3c0ee302066dd938d2665272f000f Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Fri, 5 Jul 2024 17:06:06 +0000 Subject: [PATCH] Update generated code for v1116 --- OPENAPI_VERSION | 2 +- types/Tax/Transactions.d.ts | 5 +++++ types/Tax/TransactionsResource.d.ts | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index bc67520020..dbdf3c1cba 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1115 \ No newline at end of file +v1116 \ No newline at end of file diff --git a/types/Tax/Transactions.d.ts b/types/Tax/Transactions.d.ts index d7760fd3a5..ea68ee1215 100644 --- a/types/Tax/Transactions.d.ts +++ b/types/Tax/Transactions.d.ts @@ -51,6 +51,11 @@ declare module 'stripe' { */ metadata: Stripe.Metadata | null; + /** + * The Unix timestamp representing when the tax liability is assumed or reduced. + */ + posted_at: number; + /** * A custom unique identifier, such as 'myOrder_123'. */ diff --git a/types/Tax/TransactionsResource.d.ts b/types/Tax/TransactionsResource.d.ts index a18aa269e1..38d1fe770d 100644 --- a/types/Tax/TransactionsResource.d.ts +++ b/types/Tax/TransactionsResource.d.ts @@ -30,6 +30,11 @@ declare module 'stripe' { * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: Stripe.MetadataParam; + + /** + * The Unix timestamp representing when the tax liability is assumed or reduced, which determines the liability posting period and handling in tax liability reports. The timestamp must fall within the `tax_date` and the current time, unless the `tax_date` is scheduled in advance. Defaults to the current time. + */ + posted_at?: number; } interface TransactionCreateReversalParams {