From 71801dff93e51b4bcade116bd6457499a09ef36a Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 17:36:00 +0000 Subject: [PATCH] Update OpenAPI specification --- openapi/spec3.beta.sdk.json | 8 +++++++- openapi/spec3.beta.sdk.yaml | 3 +++ openapi/spec3.json | 6 ++++++ openapi/spec3.sdk.json | 8 +++++++- openapi/spec3.sdk.yaml | 3 +++ openapi/spec3.yaml | 2 ++ 6 files changed, 28 insertions(+), 2 deletions(-) diff --git a/openapi/spec3.beta.sdk.json b/openapi/spec3.beta.sdk.json index 2bcfdd2e..11a08869 100644 --- a/openapi/spec3.beta.sdk.json +++ b/openapi/spec3.beta.sdk.json @@ -2919,6 +2919,9 @@ { "$ref": "#/components/schemas/connect_collection_transfer" }, + { + "$ref": "#/components/schemas/customer_cash_balance_transaction" + }, { "$ref": "#/components/schemas/dispute" }, @@ -9747,7 +9750,10 @@ "x-stripeResource": { "class_name": "CustomerCashBalanceTransaction", "has_collection_class": true, - "in_package": "" + "in_package": "", + "polymorphic_groups": [ + "balance_transaction_source" + ] } }, "customer_session": { diff --git a/openapi/spec3.beta.sdk.yaml b/openapi/spec3.beta.sdk.yaml index 7cdc301d..1ca6a016 100644 --- a/openapi/spec3.beta.sdk.yaml +++ b/openapi/spec3.beta.sdk.yaml @@ -2836,6 +2836,7 @@ components: - $ref: '#/components/schemas/application_fee' - $ref: '#/components/schemas/charge' - $ref: '#/components/schemas/connect_collection_transfer' + - $ref: '#/components/schemas/customer_cash_balance_transaction' - $ref: '#/components/schemas/dispute' - $ref: '#/components/schemas/fee_refund' - $ref: '#/components/schemas/issuing.authorization' @@ -9362,6 +9363,8 @@ components: class_name: CustomerCashBalanceTransaction has_collection_class: true in_package: '' + polymorphic_groups: + - balance_transaction_source customer_session: description: >- A customer session allows you to grant client access to Stripe's diff --git a/openapi/spec3.json b/openapi/spec3.json index 8aa3e351..7f5fb6e0 100644 --- a/openapi/spec3.json +++ b/openapi/spec3.json @@ -2186,6 +2186,9 @@ { "$ref": "#/components/schemas/connect_collection_transfer" }, + { + "$ref": "#/components/schemas/customer_cash_balance_transaction" + }, { "$ref": "#/components/schemas/dispute" }, @@ -2239,6 +2242,9 @@ { "$ref": "#/components/schemas/connect_collection_transfer" }, + { + "$ref": "#/components/schemas/customer_cash_balance_transaction" + }, { "$ref": "#/components/schemas/dispute" }, diff --git a/openapi/spec3.sdk.json b/openapi/spec3.sdk.json index 10369ef0..5f7c4b58 100644 --- a/openapi/spec3.sdk.json +++ b/openapi/spec3.sdk.json @@ -2840,6 +2840,9 @@ { "$ref": "#/components/schemas/connect_collection_transfer" }, + { + "$ref": "#/components/schemas/customer_cash_balance_transaction" + }, { "$ref": "#/components/schemas/dispute" }, @@ -8858,7 +8861,10 @@ "x-stripeResource": { "class_name": "CustomerCashBalanceTransaction", "has_collection_class": true, - "in_package": "" + "in_package": "", + "polymorphic_groups": [ + "balance_transaction_source" + ] } }, "customer_tax": { diff --git a/openapi/spec3.sdk.yaml b/openapi/spec3.sdk.yaml index 9ed40ed4..0cd0e7ab 100644 --- a/openapi/spec3.sdk.yaml +++ b/openapi/spec3.sdk.yaml @@ -2762,6 +2762,7 @@ components: - $ref: '#/components/schemas/application_fee' - $ref: '#/components/schemas/charge' - $ref: '#/components/schemas/connect_collection_transfer' + - $ref: '#/components/schemas/customer_cash_balance_transaction' - $ref: '#/components/schemas/dispute' - $ref: '#/components/schemas/fee_refund' - $ref: '#/components/schemas/issuing.authorization' @@ -8539,6 +8540,8 @@ components: class_name: CustomerCashBalanceTransaction has_collection_class: true in_package: '' + polymorphic_groups: + - balance_transaction_source customer_tax: description: '' properties: diff --git a/openapi/spec3.yaml b/openapi/spec3.yaml index b5d5b848..69916bf3 100644 --- a/openapi/spec3.yaml +++ b/openapi/spec3.yaml @@ -2199,6 +2199,7 @@ components: - $ref: '#/components/schemas/application_fee' - $ref: '#/components/schemas/charge' - $ref: '#/components/schemas/connect_collection_transfer' + - $ref: '#/components/schemas/customer_cash_balance_transaction' - $ref: '#/components/schemas/dispute' - $ref: '#/components/schemas/fee_refund' - $ref: '#/components/schemas/issuing.authorization' @@ -2219,6 +2220,7 @@ components: - $ref: '#/components/schemas/application_fee' - $ref: '#/components/schemas/charge' - $ref: '#/components/schemas/connect_collection_transfer' + - $ref: '#/components/schemas/customer_cash_balance_transaction' - $ref: '#/components/schemas/dispute' - $ref: '#/components/schemas/fee_refund' - $ref: '#/components/schemas/issuing.authorization'