Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI Update #758

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 6 additions & 87 deletions embedded/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
80 changes: 2 additions & 78 deletions embedded/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