Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Apr 22, 2024
1 parent 664c6ac commit d375605
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 410 deletions.
93 changes: 6 additions & 87 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -19364,10 +19364,12 @@
"required": [
"address",
"dob",
"email",
"first_name",
"id_number",
"id_number_type",
"last_name"
"last_name",
"phone"
],
"title": "GelatoVerifiedOutputs",
"type": "object",
Expand Down Expand Up @@ -20055,6 +20057,7 @@
"metadata",
"object",
"options",
"provided_details",
"redaction",
"status",
"type",
Expand Down Expand Up @@ -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",
Expand All @@ -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"
Expand All @@ -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"
}
Expand Down Expand Up @@ -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",
Expand Down
66 changes: 8 additions & 58 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -18413,6 +18415,7 @@ components:
- metadata
- object
- options
- provided_details
- redaction
- status
- type
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down
80 changes: 2 additions & 78 deletions openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
Expand All @@ -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"
}
Expand Down Expand Up @@ -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",
Expand Down
Loading

0 comments on commit d375605

Please sign in to comment.