From d375605a6089eed65e10f536463dea6f119a6685 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 16:03:28 +0000 Subject: [PATCH] Update OpenAPI specification --- openapi/spec3.beta.sdk.json | 93 +++---------------------------------- openapi/spec3.beta.sdk.yaml | 66 ++++---------------------- openapi/spec3.json | 80 +------------------------------ openapi/spec3.sdk.json | 93 +++---------------------------------- openapi/spec3.sdk.yaml | 66 ++++---------------------- openapi/spec3.yaml | 47 ++----------------- 6 files changed, 35 insertions(+), 410 deletions(-) diff --git a/openapi/spec3.beta.sdk.json b/openapi/spec3.beta.sdk.json index 06858077..66a80d27 100644 --- a/openapi/spec3.beta.sdk.json +++ b/openapi/spec3.beta.sdk.json @@ -19364,10 +19364,12 @@ "required": [ "address", "dob", + "email", "first_name", "id_number", "id_number_type", - "last_name" + "last_name", + "phone" ], "title": "GelatoVerifiedOutputs", "type": "object", @@ -20055,6 +20057,7 @@ "metadata", "object", "options", + "provided_details", "redaction", "status", "type", @@ -102980,48 +102983,6 @@ } ], "description": "Options that apply to the [document check](https://stripe.com/docs/identity/verification-checks?type=document)." - }, - "email": { - "anyOf": [ - { - "properties": { - "require_verification": { - "description": "Request one time password verification of `provided_details.email`.", - "type": "boolean" - } - }, - "title": "email_options", - "type": "object" - }, - { - "enum": [ - "" - ], - "type": "string" - } - ], - "description": "Options that apply to the email check." - }, - "phone": { - "anyOf": [ - { - "properties": { - "require_verification": { - "description": "Request one time password verification of `provided_details.phone`.", - "type": "boolean" - } - }, - "title": "phone_options", - "type": "object" - }, - { - "enum": [ - "" - ], - "type": "string" - } - ], - "description": "Options that apply to the phone check." } }, "title": "session_options_param", @@ -103047,7 +103008,7 @@ "type": "string" }, "type": { - "description": "The type of [verification check](https://stripe.com/docs/identity/verification-checks) to be performed.", + "description": "The type of [verification check](https://stripe.com/docs/identity/verification-checks) to be performed. You must provide a `type` if not passing `verification_flow`.", "enum": [ "document", "id_number" @@ -103056,7 +103017,7 @@ "x-stripeBypassValidation": true }, "verification_flow": { - "description": "The ID of a Verification Flow from the Dashboard.", + "description": "The ID of a Verification Flow from the Dashboard. See https://docs.stripe.com/identity/verification-flows.", "maxLength": 5000, "type": "string" } @@ -103255,48 +103216,6 @@ } ], "description": "Options that apply to the [document check](https://stripe.com/docs/identity/verification-checks?type=document)." - }, - "email": { - "anyOf": [ - { - "properties": { - "require_verification": { - "description": "Request one time password verification of `provided_details.email`.", - "type": "boolean" - } - }, - "title": "email_options", - "type": "object" - }, - { - "enum": [ - "" - ], - "type": "string" - } - ], - "description": "Options that apply to the email check." - }, - "phone": { - "anyOf": [ - { - "properties": { - "require_verification": { - "description": "Request one time password verification of `provided_details.phone`.", - "type": "boolean" - } - }, - "title": "phone_options", - "type": "object" - }, - { - "enum": [ - "" - ], - "type": "string" - } - ], - "description": "Options that apply to the phone check." } }, "title": "session_options_param", diff --git a/openapi/spec3.beta.sdk.yaml b/openapi/spec3.beta.sdk.yaml index 663c1c2b..581222ff 100644 --- a/openapi/spec3.beta.sdk.yaml +++ b/openapi/spec3.beta.sdk.yaml @@ -17736,10 +17736,12 @@ components: required: - address - dob + - email - first_name - id_number - id_number_type - last_name + - phone title: GelatoVerifiedOutputs type: object x-expandableFields: @@ -18413,6 +18415,7 @@ components: - metadata - object - options + - provided_details - redaction - status - type @@ -92997,34 +93000,6 @@ paths: description: >- Options that apply to the [document check](https://stripe.com/docs/identity/verification-checks?type=document). - email: - anyOf: - - properties: - require_verification: - description: >- - Request one time password verification of - `provided_details.email`. - type: boolean - title: email_options - type: object - - enum: - - '' - type: string - description: Options that apply to the email check. - phone: - anyOf: - - properties: - require_verification: - description: >- - Request one time password verification of - `provided_details.phone`. - type: boolean - title: phone_options - type: object - - enum: - - '' - type: string - description: Options that apply to the phone check. title: session_options_param type: object provided_details: @@ -93049,14 +93024,17 @@ paths: description: >- The type of [verification check](https://stripe.com/docs/identity/verification-checks) - to be performed. + to be performed. You must provide a `type` if not passing + `verification_flow`. enum: - document - id_number type: string x-stripeBypassValidation: true verification_flow: - description: The ID of a Verification Flow from the Dashboard. + description: >- + The ID of a Verification Flow from the Dashboard. See + https://docs.stripe.com/identity/verification-flows. maxLength: 5000 type: string type: object @@ -93231,34 +93209,6 @@ paths: description: >- Options that apply to the [document check](https://stripe.com/docs/identity/verification-checks?type=document). - email: - anyOf: - - properties: - require_verification: - description: >- - Request one time password verification of - `provided_details.email`. - type: boolean - title: email_options - type: object - - enum: - - '' - type: string - description: Options that apply to the email check. - phone: - anyOf: - - properties: - require_verification: - description: >- - Request one time password verification of - `provided_details.phone`. - type: boolean - title: phone_options - type: object - - enum: - - '' - type: string - description: Options that apply to the phone check. title: session_options_param type: object provided_details: diff --git a/openapi/spec3.json b/openapi/spec3.json index 4c090976..e8459e27 100644 --- a/openapi/spec3.json +++ b/openapi/spec3.json @@ -82520,44 +82520,6 @@ "type": "string" } ] - }, - "email": { - "anyOf": [ - { - "properties": { - "require_verification": { - "type": "boolean" - } - }, - "title": "email_options", - "type": "object" - }, - { - "enum": [ - "" - ], - "type": "string" - } - ] - }, - "phone": { - "anyOf": [ - { - "properties": { - "require_verification": { - "type": "boolean" - } - }, - "title": "phone_options", - "type": "object" - }, - { - "enum": [ - "" - ], - "type": "string" - } - ] } }, "title": "session_options_param", @@ -82581,7 +82543,7 @@ "type": "string" }, "type": { - "description": "The type of [verification check](https://stripe.com/docs/identity/verification-checks) to be performed.", + "description": "The type of [verification check](https://stripe.com/docs/identity/verification-checks) to be performed. You must provide a `type` if not passing `verification_flow`.", "enum": [ "document", "id_number" @@ -82590,7 +82552,7 @@ "x-stripeBypassValidation": true }, "verification_flow": { - "description": "The ID of a Verification Flow from the Dashboard.", + "description": "The ID of a Verification Flow from the Dashboard. See https://docs.stripe.com/identity/verification-flows.", "maxLength": 5000, "type": "string" } @@ -82784,44 +82746,6 @@ "type": "string" } ] - }, - "email": { - "anyOf": [ - { - "properties": { - "require_verification": { - "type": "boolean" - } - }, - "title": "email_options", - "type": "object" - }, - { - "enum": [ - "" - ], - "type": "string" - } - ] - }, - "phone": { - "anyOf": [ - { - "properties": { - "require_verification": { - "type": "boolean" - } - }, - "title": "phone_options", - "type": "object" - }, - { - "enum": [ - "" - ], - "type": "string" - } - ] } }, "title": "session_options_param", diff --git a/openapi/spec3.sdk.json b/openapi/spec3.sdk.json index 86c6f24b..5e69982d 100644 --- a/openapi/spec3.sdk.json +++ b/openapi/spec3.sdk.json @@ -17684,10 +17684,12 @@ "required": [ "address", "dob", + "email", "first_name", "id_number", "id_number_type", - "last_name" + "last_name", + "phone" ], "title": "GelatoVerifiedOutputs", "type": "object", @@ -17960,6 +17962,7 @@ "metadata", "object", "options", + "provided_details", "redaction", "status", "type", @@ -87468,48 +87471,6 @@ } ], "description": "Options that apply to the [document check](https://stripe.com/docs/identity/verification-checks?type=document)." - }, - "email": { - "anyOf": [ - { - "properties": { - "require_verification": { - "description": "Request one time password verification of `provided_details.email`.", - "type": "boolean" - } - }, - "title": "email_options", - "type": "object" - }, - { - "enum": [ - "" - ], - "type": "string" - } - ], - "description": "Options that apply to the email check." - }, - "phone": { - "anyOf": [ - { - "properties": { - "require_verification": { - "description": "Request one time password verification of `provided_details.phone`.", - "type": "boolean" - } - }, - "title": "phone_options", - "type": "object" - }, - { - "enum": [ - "" - ], - "type": "string" - } - ], - "description": "Options that apply to the phone check." } }, "title": "session_options_param", @@ -87535,7 +87496,7 @@ "type": "string" }, "type": { - "description": "The type of [verification check](https://stripe.com/docs/identity/verification-checks) to be performed.", + "description": "The type of [verification check](https://stripe.com/docs/identity/verification-checks) to be performed. You must provide a `type` if not passing `verification_flow`.", "enum": [ "document", "id_number" @@ -87544,7 +87505,7 @@ "x-stripeBypassValidation": true }, "verification_flow": { - "description": "The ID of a Verification Flow from the Dashboard.", + "description": "The ID of a Verification Flow from the Dashboard. See https://docs.stripe.com/identity/verification-flows.", "maxLength": 5000, "type": "string" } @@ -87743,48 +87704,6 @@ } ], "description": "Options that apply to the [document check](https://stripe.com/docs/identity/verification-checks?type=document)." - }, - "email": { - "anyOf": [ - { - "properties": { - "require_verification": { - "description": "Request one time password verification of `provided_details.email`.", - "type": "boolean" - } - }, - "title": "email_options", - "type": "object" - }, - { - "enum": [ - "" - ], - "type": "string" - } - ], - "description": "Options that apply to the email check." - }, - "phone": { - "anyOf": [ - { - "properties": { - "require_verification": { - "description": "Request one time password verification of `provided_details.phone`.", - "type": "boolean" - } - }, - "title": "phone_options", - "type": "object" - }, - { - "enum": [ - "" - ], - "type": "string" - } - ], - "description": "Options that apply to the phone check." } }, "title": "session_options_param", diff --git a/openapi/spec3.sdk.yaml b/openapi/spec3.sdk.yaml index b48bc41a..fed197e3 100644 --- a/openapi/spec3.sdk.yaml +++ b/openapi/spec3.sdk.yaml @@ -16255,10 +16255,12 @@ components: required: - address - dob + - email - first_name - id_number - id_number_type - last_name + - phone title: GelatoVerifiedOutputs type: object x-expandableFields: @@ -16558,6 +16560,7 @@ components: - metadata - object - options + - provided_details - redaction - status - type @@ -79582,34 +79585,6 @@ paths: description: >- Options that apply to the [document check](https://stripe.com/docs/identity/verification-checks?type=document). - email: - anyOf: - - properties: - require_verification: - description: >- - Request one time password verification of - `provided_details.email`. - type: boolean - title: email_options - type: object - - enum: - - '' - type: string - description: Options that apply to the email check. - phone: - anyOf: - - properties: - require_verification: - description: >- - Request one time password verification of - `provided_details.phone`. - type: boolean - title: phone_options - type: object - - enum: - - '' - type: string - description: Options that apply to the phone check. title: session_options_param type: object provided_details: @@ -79634,14 +79609,17 @@ paths: description: >- The type of [verification check](https://stripe.com/docs/identity/verification-checks) - to be performed. + to be performed. You must provide a `type` if not passing + `verification_flow`. enum: - document - id_number type: string x-stripeBypassValidation: true verification_flow: - description: The ID of a Verification Flow from the Dashboard. + description: >- + The ID of a Verification Flow from the Dashboard. See + https://docs.stripe.com/identity/verification-flows. maxLength: 5000 type: string type: object @@ -79816,34 +79794,6 @@ paths: description: >- Options that apply to the [document check](https://stripe.com/docs/identity/verification-checks?type=document). - email: - anyOf: - - properties: - require_verification: - description: >- - Request one time password verification of - `provided_details.email`. - type: boolean - title: email_options - type: object - - enum: - - '' - type: string - description: Options that apply to the email check. - phone: - anyOf: - - properties: - require_verification: - description: >- - Request one time password verification of - `provided_details.phone`. - type: boolean - title: phone_options - type: object - - enum: - - '' - type: string - description: Options that apply to the phone check. title: session_options_param type: object provided_details: diff --git a/openapi/spec3.yaml b/openapi/spec3.yaml index 6571c10c..77ca8c08 100644 --- a/openapi/spec3.yaml +++ b/openapi/spec3.yaml @@ -72249,26 +72249,6 @@ paths: - enum: - '' type: string - email: - anyOf: - - properties: - require_verification: - type: boolean - title: email_options - type: object - - enum: - - '' - type: string - phone: - anyOf: - - properties: - require_verification: - type: boolean - title: phone_options - type: object - - enum: - - '' - type: string title: session_options_param type: object provided_details: @@ -72291,14 +72271,17 @@ paths: description: >- The type of [verification check](https://stripe.com/docs/identity/verification-checks) - to be performed. + to be performed. You must provide a `type` if not passing + `verification_flow`. enum: - document - id_number type: string x-stripeBypassValidation: true verification_flow: - description: The ID of a Verification Flow from the Dashboard. + description: >- + The ID of a Verification Flow from the Dashboard. See + https://docs.stripe.com/identity/verification-flows. maxLength: 5000 type: string type: object @@ -72450,26 +72433,6 @@ paths: - enum: - '' type: string - email: - anyOf: - - properties: - require_verification: - type: boolean - title: email_options - type: object - - enum: - - '' - type: string - phone: - anyOf: - - properties: - require_verification: - type: boolean - title: phone_options - type: object - - enum: - - '' - type: string title: session_options_param type: object provided_details: