diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index 06858077..66a80d27 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/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/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index 4c090976..e8459e27 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/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",