Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI Update #569

Merged
merged 1 commit into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
69 changes: 37 additions & 32 deletions embedded/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
56 changes: 29 additions & 27 deletions embedded/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