diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index bab228b2..b36bc6cc 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -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": [ @@ -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": { @@ -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": { @@ -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" } }, diff --git a/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index 3312ecbc..b50f35dc 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/openapi/spec3.json @@ -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": [ @@ -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": { @@ -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": { @@ -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" } },