Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Dec 14, 2023
1 parent f3258c9 commit 59c0811
Show file tree
Hide file tree
Showing 6 changed files with 181 additions and 163 deletions.
69 changes: 37 additions & 32 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -9641,7 +9641,7 @@
"$ref": "#/components/schemas/connect_embedded_payments_config"
},
"payouts": {
"$ref": "#/components/schemas/connect_embedded_base_config"
"$ref": "#/components/schemas/connect_embedded_payouts_config"
}
},
"required": [
Expand All @@ -9660,30 +9660,6 @@
"in_package": ""
}
},
"connect_embedded_base_config": {
"description": "",
"properties": {
"enabled": {
"description": "Whether the embedded component is enabled.",
"type": "boolean"
},
"features": {
"$ref": "#/components/schemas/connect_embedded_base_features"
}
},
"required": [
"enabled"
],
"title": "ConnectEmbeddedBaseConfig",
"type": "object",
"x-expandableFields": [
"features"
],
"x-stripeResource": {
"class_name": "BaseConfig",
"in_package": ""
}
},
"connect_embedded_base_config_claim": {
"description": "",
"properties": {
Expand Down Expand Up @@ -9773,6 +9749,41 @@
"in_package": ""
}
},
"connect_embedded_payouts_config": {
"description": "",
"properties": {
"enabled": {
"description": "Whether the embedded component is enabled.",
"type": "boolean"
},
"features": {
"$ref": "#/components/schemas/connect_embedded_payouts_features"
}
},
"required": [
"enabled"
],
"title": "ConnectEmbeddedPayoutsConfig",
"type": "object",
"x-expandableFields": [
"features"
],
"x-stripeResource": {
"class_name": "PayoutsConfig",
"in_package": ""
}
},
"connect_embedded_payouts_features": {
"description": "",
"properties": {},
"title": "ConnectEmbeddedPayoutsFeatures",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "PayoutsFeatures",
"in_package": ""
}
},
"country_spec": {
"description": "Stripe needs to collect certain pieces of information about each account\ncreated. These requirements can differ depending on the account's country. The\nCountry Specs API makes these rules available to your integration.\n\nYou can also view the information from this API call as [an online\nguide](/docs/connect/required-verification-information).",
"properties": {
Expand Down Expand Up @@ -70557,18 +70568,12 @@
"enabled": {
"description": "Whether the embedded component is enabled.",
"type": "boolean"
},
"features": {
"description": "The list of features enabled in the embedded component.",
"properties": {},
"title": "base_features_param",
"type": "object"
}
},
"required": [
"enabled"
],
"title": "base_config_param",
"title": "payouts_config_param",
"type": "object"
}
},
Expand Down
54 changes: 28 additions & 26 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9159,7 +9159,7 @@ components:
payments:
$ref: '#/components/schemas/connect_embedded_payments_config'
payouts:
$ref: '#/components/schemas/connect_embedded_base_config'
$ref: '#/components/schemas/connect_embedded_payouts_config'
required:
- account_onboarding
title: ConnectEmbeddedAccountSessionCreateComponents
Expand All @@ -9172,23 +9172,6 @@ components:
x-stripeResource:
class_name: Components
in_package: ''
connect_embedded_base_config:
description: ''
properties:
enabled:
description: Whether the embedded component is enabled.
type: boolean
features:
$ref: '#/components/schemas/connect_embedded_base_features'
required:
- enabled
title: ConnectEmbeddedBaseConfig
type: object
x-expandableFields:
- features
x-stripeResource:
class_name: BaseConfig
in_package: ''
connect_embedded_base_config_claim:
description: ''
properties:
Expand Down Expand Up @@ -9259,6 +9242,32 @@ components:
x-stripeResource:
class_name: PaymentsFeatures
in_package: ''
connect_embedded_payouts_config:
description: ''
properties:
enabled:
description: Whether the embedded component is enabled.
type: boolean
features:
$ref: '#/components/schemas/connect_embedded_payouts_features'
required:
- enabled
title: ConnectEmbeddedPayoutsConfig
type: object
x-expandableFields:
- features
x-stripeResource:
class_name: PayoutsConfig
in_package: ''
connect_embedded_payouts_features:
description: ''
properties: {}
title: ConnectEmbeddedPayoutsFeatures
type: object
x-expandableFields: []
x-stripeResource:
class_name: PayoutsFeatures
in_package: ''
country_spec:
description: >-
Stripe needs to collect certain pieces of information about each account
Expand Down Expand Up @@ -63084,16 +63093,9 @@ paths:
enabled:
description: Whether the embedded component is enabled.
type: boolean
features:
description: >-
The list of features enabled in the embedded
component.
properties: {}
title: base_features_param
type: object
required:
- enabled
title: base_config_param
title: payouts_config_param
type: object
title: account_session_create_components_param
type: object
Expand Down
56 changes: 29 additions & 27 deletions openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -6021,7 +6021,7 @@
"$ref": "#/components/schemas/connect_embedded_payments_config"
},
"payouts": {
"$ref": "#/components/schemas/connect_embedded_base_config"
"$ref": "#/components/schemas/connect_embedded_payouts_config"
}
},
"required": [
Expand All @@ -6036,26 +6036,6 @@
"payouts"
]
},
"connect_embedded_base_config": {
"description": "",
"properties": {
"enabled": {
"description": "Whether the embedded component is enabled.",
"type": "boolean"
},
"features": {
"$ref": "#/components/schemas/connect_embedded_base_features"
}
},
"required": [
"enabled"
],
"title": "ConnectEmbeddedBaseConfig",
"type": "object",
"x-expandableFields": [
"features"
]
},
"connect_embedded_base_config_claim": {
"description": "",
"properties": {
Expand Down Expand Up @@ -6129,6 +6109,33 @@
"type": "object",
"x-expandableFields": []
},
"connect_embedded_payouts_config": {
"description": "",
"properties": {
"enabled": {
"description": "Whether the embedded component is enabled.",
"type": "boolean"
},
"features": {
"$ref": "#/components/schemas/connect_embedded_payouts_features"
}
},
"required": [
"enabled"
],
"title": "ConnectEmbeddedPayoutsConfig",
"type": "object",
"x-expandableFields": [
"features"
]
},
"connect_embedded_payouts_features": {
"description": "",
"properties": {},
"title": "ConnectEmbeddedPayoutsFeatures",
"type": "object",
"x-expandableFields": []
},
"country_spec": {
"description": "Stripe needs to collect certain pieces of information about each account\ncreated. These requirements can differ depending on the account's country. The\nCountry Specs API makes these rules available to your integration.\n\nYou can also view the information from this API call as [an online\nguide](/docs/connect/required-verification-information).",
"properties": {
Expand Down Expand Up @@ -45634,17 +45641,12 @@
"properties": {
"enabled": {
"type": "boolean"
},
"features": {
"properties": {},
"title": "base_features_param",
"type": "object"
}
},
"required": [
"enabled"
],
"title": "base_config_param",
"title": "payouts_config_param",
"type": "object"
}
},
Expand Down
69 changes: 37 additions & 32 deletions openapi/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -7973,7 +7973,7 @@
"$ref": "#/components/schemas/connect_embedded_payments_config"
},
"payouts": {
"$ref": "#/components/schemas/connect_embedded_base_config"
"$ref": "#/components/schemas/connect_embedded_payouts_config"
}
},
"required": [
Expand All @@ -7992,30 +7992,6 @@
"in_package": ""
}
},
"connect_embedded_base_config": {
"description": "",
"properties": {
"enabled": {
"description": "Whether the embedded component is enabled.",
"type": "boolean"
},
"features": {
"$ref": "#/components/schemas/connect_embedded_base_features"
}
},
"required": [
"enabled"
],
"title": "ConnectEmbeddedBaseConfig",
"type": "object",
"x-expandableFields": [
"features"
],
"x-stripeResource": {
"class_name": "BaseConfig",
"in_package": ""
}
},
"connect_embedded_base_config_claim": {
"description": "",
"properties": {
Expand Down Expand Up @@ -8105,6 +8081,41 @@
"in_package": ""
}
},
"connect_embedded_payouts_config": {
"description": "",
"properties": {
"enabled": {
"description": "Whether the embedded component is enabled.",
"type": "boolean"
},
"features": {
"$ref": "#/components/schemas/connect_embedded_payouts_features"
}
},
"required": [
"enabled"
],
"title": "ConnectEmbeddedPayoutsConfig",
"type": "object",
"x-expandableFields": [
"features"
],
"x-stripeResource": {
"class_name": "PayoutsConfig",
"in_package": ""
}
},
"connect_embedded_payouts_features": {
"description": "",
"properties": {},
"title": "ConnectEmbeddedPayoutsFeatures",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "PayoutsFeatures",
"in_package": ""
}
},
"country_spec": {
"description": "Stripe needs to collect certain pieces of information about each account\ncreated. These requirements can differ depending on the account's country. The\nCountry Specs API makes these rules available to your integration.\n\nYou can also view the information from this API call as [an online\nguide](/docs/connect/required-verification-information).",
"properties": {
Expand Down Expand Up @@ -58957,18 +58968,12 @@
"enabled": {
"description": "Whether the embedded component is enabled.",
"type": "boolean"
},
"features": {
"description": "The list of features enabled in the embedded component.",
"properties": {},
"title": "base_features_param",
"type": "object"
}
},
"required": [
"enabled"
],
"title": "base_config_param",
"title": "payouts_config_param",
"type": "object"
}
},
Expand Down

0 comments on commit 59c0811

Please sign in to comment.