diff --git a/openapi/spec3.beta.sdk.json b/openapi/spec3.beta.sdk.json index 496f2b26..4152ef2c 100644 --- a/openapi/spec3.beta.sdk.json +++ b/openapi/spec3.beta.sdk.json @@ -133097,64 +133097,74 @@ "type": "array" }, "mandate_data": { - "description": "This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm).", - "properties": { - "customer_acceptance": { - "description": "This hash contains details about the customer acceptance of the Mandate.", + "anyOf": [ + { "properties": { - "accepted_at": { - "description": "The time at which the customer accepted the Mandate.", - "format": "unix-time", - "type": "integer" - }, - "offline": { - "description": "If this is a Mandate accepted offline, this hash contains details about the offline acceptance.", - "properties": {}, - "title": "offline_param", - "type": "object" - }, - "online": { - "description": "If this is a Mandate accepted online, this hash contains details about the online acceptance.", + "customer_acceptance": { + "description": "This hash contains details about the customer acceptance of the Mandate.", "properties": { - "ip_address": { - "description": "The IP address from which the Mandate was accepted by the customer.", - "type": "string" + "accepted_at": { + "description": "The time at which the customer accepted the Mandate.", + "format": "unix-time", + "type": "integer" }, - "user_agent": { - "description": "The user agent of the browser from which the Mandate was accepted by the customer.", + "offline": { + "description": "If this is a Mandate accepted offline, this hash contains details about the offline acceptance.", + "properties": {}, + "title": "offline_param", + "type": "object" + }, + "online": { + "description": "If this is a Mandate accepted online, this hash contains details about the online acceptance.", + "properties": { + "ip_address": { + "description": "The IP address from which the Mandate was accepted by the customer.", + "type": "string" + }, + "user_agent": { + "description": "The user agent of the browser from which the Mandate was accepted by the customer.", + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "ip_address", + "user_agent" + ], + "title": "online_param", + "type": "object" + }, + "type": { + "description": "The type of customer acceptance information included with the Mandate. One of `online` or `offline`.", + "enum": [ + "offline", + "online" + ], "maxLength": 5000, "type": "string" } }, "required": [ - "ip_address", - "user_agent" + "type" ], - "title": "online_param", + "title": "customer_acceptance_param", "type": "object" - }, - "type": { - "description": "The type of customer acceptance information included with the Mandate. One of `online` or `offline`.", - "enum": [ - "offline", - "online" - ], - "maxLength": 5000, - "type": "string" } }, "required": [ - "type" + "customer_acceptance" ], - "title": "customer_acceptance_param", + "title": "secret_key_param", "type": "object" + }, + { + "enum": [ + "" + ], + "type": "string" } - }, - "required": [ - "customer_acceptance" ], - "title": "secret_key_param", - "type": "object" + "description": "This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm)." }, "metadata": { "additionalProperties": { @@ -135575,6 +135585,12 @@ "title": "secret_key_param", "type": "object" }, + { + "enum": [ + "" + ], + "type": "string" + }, { "properties": { "customer_acceptance": { diff --git a/openapi/spec3.beta.sdk.yaml b/openapi/spec3.beta.sdk.yaml index 48c0d954..5cbb10cc 100644 --- a/openapi/spec3.beta.sdk.yaml +++ b/openapi/spec3.beta.sdk.yaml @@ -125451,65 +125451,72 @@ paths: type: string type: array mandate_data: - description: >- - This hash contains details about the Mandate to create. This - parameter can only be used with - [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm). - properties: - customer_acceptance: - description: >- - This hash contains details about the customer acceptance - of the Mandate. - properties: - accepted_at: - description: The time at which the customer accepted the Mandate. - format: unix-time - type: integer - offline: - description: >- - If this is a Mandate accepted offline, this hash - contains details about the offline acceptance. - properties: {} - title: offline_param - type: object - online: + anyOf: + - properties: + customer_acceptance: description: >- - If this is a Mandate accepted online, this hash - contains details about the online acceptance. + This hash contains details about the customer + acceptance of the Mandate. properties: - ip_address: + accepted_at: description: >- - The IP address from which the Mandate was - accepted by the customer. - type: string - user_agent: + The time at which the customer accepted the + Mandate. + format: unix-time + type: integer + offline: description: >- - The user agent of the browser from which the - Mandate was accepted by the customer. + If this is a Mandate accepted offline, this hash + contains details about the offline acceptance. + properties: {} + title: offline_param + type: object + online: + description: >- + If this is a Mandate accepted online, this hash + contains details about the online acceptance. + properties: + ip_address: + description: >- + The IP address from which the Mandate was + accepted by the customer. + type: string + user_agent: + description: >- + The user agent of the browser from which the + Mandate was accepted by the customer. + maxLength: 5000 + type: string + required: + - ip_address + - user_agent + title: online_param + type: object + type: + description: >- + The type of customer acceptance information + included with the Mandate. One of `online` or + `offline`. + enum: + - offline + - online maxLength: 5000 type: string required: - - ip_address - - user_agent - title: online_param + - type + title: customer_acceptance_param type: object - type: - description: >- - The type of customer acceptance information included - with the Mandate. One of `online` or `offline`. - enum: - - offline - - online - maxLength: 5000 - type: string required: - - type - title: customer_acceptance_param + - customer_acceptance + title: secret_key_param type: object - required: - - customer_acceptance - title: secret_key_param - type: object + - enum: + - '' + type: string + description: >- + This hash contains details about the Mandate to create. This + parameter can only be used with + [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm). metadata: additionalProperties: type: string @@ -127944,6 +127951,9 @@ paths: - customer_acceptance title: secret_key_param type: object + - enum: + - '' + type: string - properties: customer_acceptance: description: >- diff --git a/openapi/spec3.json b/openapi/spec3.json index a6bf9563..c5cf7fa8 100644 --- a/openapi/spec3.json +++ b/openapi/spec3.json @@ -105587,57 +105587,67 @@ "type": "array" }, "mandate_data": { - "description": "This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm).", - "properties": { - "customer_acceptance": { + "anyOf": [ + { "properties": { - "accepted_at": { - "format": "unix-time", - "type": "integer" - }, - "offline": { - "properties": {}, - "title": "offline_param", - "type": "object" - }, - "online": { + "customer_acceptance": { "properties": { - "ip_address": { - "type": "string" + "accepted_at": { + "format": "unix-time", + "type": "integer" }, - "user_agent": { + "offline": { + "properties": {}, + "title": "offline_param", + "type": "object" + }, + "online": { + "properties": { + "ip_address": { + "type": "string" + }, + "user_agent": { + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "ip_address", + "user_agent" + ], + "title": "online_param", + "type": "object" + }, + "type": { + "enum": [ + "offline", + "online" + ], "maxLength": 5000, "type": "string" } }, "required": [ - "ip_address", - "user_agent" + "type" ], - "title": "online_param", + "title": "customer_acceptance_param", "type": "object" - }, - "type": { - "enum": [ - "offline", - "online" - ], - "maxLength": 5000, - "type": "string" } }, "required": [ - "type" + "customer_acceptance" ], - "title": "customer_acceptance_param", + "title": "secret_key_param", "type": "object" + }, + { + "enum": [ + "" + ], + "type": "string" } - }, - "required": [ - "customer_acceptance" ], - "title": "secret_key_param", - "type": "object" + "description": "This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm)." }, "metadata": { "additionalProperties": { @@ -107730,6 +107740,12 @@ "title": "secret_key_param", "type": "object" }, + { + "enum": [ + "" + ], + "type": "string" + }, { "properties": { "customer_acceptance": { diff --git a/openapi/spec3.sdk.json b/openapi/spec3.sdk.json index f4e17c1a..f66cea47 100644 --- a/openapi/spec3.sdk.json +++ b/openapi/spec3.sdk.json @@ -108760,64 +108760,74 @@ "type": "array" }, "mandate_data": { - "description": "This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm).", - "properties": { - "customer_acceptance": { - "description": "This hash contains details about the customer acceptance of the Mandate.", + "anyOf": [ + { "properties": { - "accepted_at": { - "description": "The time at which the customer accepted the Mandate.", - "format": "unix-time", - "type": "integer" - }, - "offline": { - "description": "If this is a Mandate accepted offline, this hash contains details about the offline acceptance.", - "properties": {}, - "title": "offline_param", - "type": "object" - }, - "online": { - "description": "If this is a Mandate accepted online, this hash contains details about the online acceptance.", + "customer_acceptance": { + "description": "This hash contains details about the customer acceptance of the Mandate.", "properties": { - "ip_address": { - "description": "The IP address from which the Mandate was accepted by the customer.", - "type": "string" + "accepted_at": { + "description": "The time at which the customer accepted the Mandate.", + "format": "unix-time", + "type": "integer" }, - "user_agent": { - "description": "The user agent of the browser from which the Mandate was accepted by the customer.", + "offline": { + "description": "If this is a Mandate accepted offline, this hash contains details about the offline acceptance.", + "properties": {}, + "title": "offline_param", + "type": "object" + }, + "online": { + "description": "If this is a Mandate accepted online, this hash contains details about the online acceptance.", + "properties": { + "ip_address": { + "description": "The IP address from which the Mandate was accepted by the customer.", + "type": "string" + }, + "user_agent": { + "description": "The user agent of the browser from which the Mandate was accepted by the customer.", + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "ip_address", + "user_agent" + ], + "title": "online_param", + "type": "object" + }, + "type": { + "description": "The type of customer acceptance information included with the Mandate. One of `online` or `offline`.", + "enum": [ + "offline", + "online" + ], "maxLength": 5000, "type": "string" } }, "required": [ - "ip_address", - "user_agent" + "type" ], - "title": "online_param", + "title": "customer_acceptance_param", "type": "object" - }, - "type": { - "description": "The type of customer acceptance information included with the Mandate. One of `online` or `offline`.", - "enum": [ - "offline", - "online" - ], - "maxLength": 5000, - "type": "string" } }, "required": [ - "type" + "customer_acceptance" ], - "title": "customer_acceptance_param", + "title": "secret_key_param", "type": "object" + }, + { + "enum": [ + "" + ], + "type": "string" } - }, - "required": [ - "customer_acceptance" ], - "title": "secret_key_param", - "type": "object" + "description": "This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm)." }, "metadata": { "additionalProperties": { @@ -111160,6 +111170,12 @@ "title": "secret_key_param", "type": "object" }, + { + "enum": [ + "" + ], + "type": "string" + }, { "properties": { "customer_acceptance": { diff --git a/openapi/spec3.sdk.yaml b/openapi/spec3.sdk.yaml index df1b2a10..8eba5fd7 100644 --- a/openapi/spec3.sdk.yaml +++ b/openapi/spec3.sdk.yaml @@ -102318,65 +102318,72 @@ paths: type: string type: array mandate_data: - description: >- - This hash contains details about the Mandate to create. This - parameter can only be used with - [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm). - properties: - customer_acceptance: - description: >- - This hash contains details about the customer acceptance - of the Mandate. - properties: - accepted_at: - description: The time at which the customer accepted the Mandate. - format: unix-time - type: integer - offline: - description: >- - If this is a Mandate accepted offline, this hash - contains details about the offline acceptance. - properties: {} - title: offline_param - type: object - online: + anyOf: + - properties: + customer_acceptance: description: >- - If this is a Mandate accepted online, this hash - contains details about the online acceptance. + This hash contains details about the customer + acceptance of the Mandate. properties: - ip_address: + accepted_at: description: >- - The IP address from which the Mandate was - accepted by the customer. - type: string - user_agent: + The time at which the customer accepted the + Mandate. + format: unix-time + type: integer + offline: description: >- - The user agent of the browser from which the - Mandate was accepted by the customer. + If this is a Mandate accepted offline, this hash + contains details about the offline acceptance. + properties: {} + title: offline_param + type: object + online: + description: >- + If this is a Mandate accepted online, this hash + contains details about the online acceptance. + properties: + ip_address: + description: >- + The IP address from which the Mandate was + accepted by the customer. + type: string + user_agent: + description: >- + The user agent of the browser from which the + Mandate was accepted by the customer. + maxLength: 5000 + type: string + required: + - ip_address + - user_agent + title: online_param + type: object + type: + description: >- + The type of customer acceptance information + included with the Mandate. One of `online` or + `offline`. + enum: + - offline + - online maxLength: 5000 type: string required: - - ip_address - - user_agent - title: online_param + - type + title: customer_acceptance_param type: object - type: - description: >- - The type of customer acceptance information included - with the Mandate. One of `online` or `offline`. - enum: - - offline - - online - maxLength: 5000 - type: string required: - - type - title: customer_acceptance_param + - customer_acceptance + title: secret_key_param type: object - required: - - customer_acceptance - title: secret_key_param - type: object + - enum: + - '' + type: string + description: >- + This hash contains details about the Mandate to create. This + parameter can only be used with + [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm). metadata: additionalProperties: type: string @@ -104741,6 +104748,9 @@ paths: - customer_acceptance title: secret_key_param type: object + - enum: + - '' + type: string - properties: customer_acceptance: description: >- diff --git a/openapi/spec3.yaml b/openapi/spec3.yaml index bed0b4ee..15911994 100644 --- a/openapi/spec3.yaml +++ b/openapi/spec3.yaml @@ -90237,46 +90237,50 @@ paths: type: string type: array mandate_data: - description: >- - This hash contains details about the Mandate to create. This - parameter can only be used with - [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm). - properties: - customer_acceptance: - properties: - accepted_at: - format: unix-time - type: integer - offline: - properties: {} - title: offline_param - type: object - online: + anyOf: + - properties: + customer_acceptance: properties: - ip_address: - type: string - user_agent: + accepted_at: + format: unix-time + type: integer + offline: + properties: {} + title: offline_param + type: object + online: + properties: + ip_address: + type: string + user_agent: + maxLength: 5000 + type: string + required: + - ip_address + - user_agent + title: online_param + type: object + type: + enum: + - offline + - online maxLength: 5000 type: string required: - - ip_address - - user_agent - title: online_param + - type + title: customer_acceptance_param type: object - type: - enum: - - offline - - online - maxLength: 5000 - type: string required: - - type - title: customer_acceptance_param + - customer_acceptance + title: secret_key_param type: object - required: - - customer_acceptance - title: secret_key_param - type: object + - enum: + - '' + type: string + description: >- + This hash contains details about the Mandate to create. This + parameter can only be used with + [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm). metadata: additionalProperties: type: string @@ -91945,6 +91949,9 @@ paths: - customer_acceptance title: secret_key_param type: object + - enum: + - '' + type: string - properties: customer_acceptance: properties: