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 Jan 22, 2024
1 parent 5d7e3cf commit 89f85ff
Show file tree
Hide file tree
Showing 6 changed files with 183 additions and 12 deletions.
32 changes: 31 additions & 1 deletion openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -67391,6 +67391,10 @@
"content": {
"application/x-www-form-urlencoded": {
"encoding": {
"collection_options": {
"explode": true,
"style": "deepObject"
},
"expand": {
"explode": true,
"style": "deepObject"
Expand All @@ -67405,13 +67409,39 @@
"type": "string"
},
"collect": {
"description": "Which information the platform needs to collect from the user. One of `currently_due` or `eventually_due`. Default is `currently_due`.",
"description": "The collect parameter is deprecated. Use `collection_options` instead.",
"enum": [
"currently_due",
"eventually_due"
],
"type": "string"
},
"collection_options": {
"description": "Specifies the requirements that Stripe collects from connected accounts in the Connect Onboarding flow.",
"properties": {
"fields": {
"description": "Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don't specify `collection_options`, the default value is `currently_due`.",
"enum": [
"currently_due",
"eventually_due"
],
"type": "string"
},
"future_requirements": {
"description": "Options for collecting future_requirements in Connect Onboarding",
"enum": [
"include",
"omit"
],
"type": "string"
}
},
"required": [
"fields"
],
"title": "collection_options_params",
"type": "object"
},
"expand": {
"description": "Specifies which fields in the response should be expanded.",
"items": {
Expand Down
37 changes: 34 additions & 3 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60693,6 +60693,9 @@ paths:
content:
application/x-www-form-urlencoded:
encoding:
collection_options:
explode: true
style: deepObject
expand:
explode: true
style: deepObject
Expand All @@ -60705,13 +60708,41 @@ paths:
type: string
collect:
description: >-
Which information the platform needs to collect from the
user. One of `currently_due` or `eventually_due`. Default is
`currently_due`.
The collect parameter is deprecated. Use
`collection_options` instead.
enum:
- currently_due
- eventually_due
type: string
collection_options:
description: >-
Specifies the requirements that Stripe collects from
connected accounts in the Connect Onboarding flow.
properties:
fields:
description: >-
Specifies whether the platform collects only
currently_due requirements (`currently_due`) or both
currently_due and eventually_due requirements
(`eventually_due`). If you don't specify
`collection_options`, the default value is
`currently_due`.
enum:
- currently_due
- eventually_due
type: string
future_requirements:
description: >-
Options for collecting future_requirements in Connect
Onboarding
enum:
- include
- omit
type: string
required:
- fields
title: collection_options_params
type: object
expand:
description: Specifies which fields in the response should be expanded.
items:
Expand Down
30 changes: 29 additions & 1 deletion openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -46133,6 +46133,10 @@
"content": {
"application/x-www-form-urlencoded": {
"encoding": {
"collection_options": {
"explode": true,
"style": "deepObject"
},
"expand": {
"explode": true,
"style": "deepObject"
Expand All @@ -46147,13 +46151,37 @@
"type": "string"
},
"collect": {
"description": "Which information the platform needs to collect from the user. One of `currently_due` or `eventually_due`. Default is `currently_due`.",
"description": "The collect parameter is deprecated. Use `collection_options` instead.",
"enum": [
"currently_due",
"eventually_due"
],
"type": "string"
},
"collection_options": {
"description": "Specifies the requirements that Stripe collects from connected accounts in the Connect Onboarding flow.",
"properties": {
"fields": {
"enum": [
"currently_due",
"eventually_due"
],
"type": "string"
},
"future_requirements": {
"enum": [
"include",
"omit"
],
"type": "string"
}
},
"required": [
"fields"
],
"title": "collection_options_params",
"type": "object"
},
"expand": {
"description": "Specifies which fields in the response should be expanded.",
"items": {
Expand Down
32 changes: 31 additions & 1 deletion openapi/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -57027,6 +57027,10 @@
"content": {
"application/x-www-form-urlencoded": {
"encoding": {
"collection_options": {
"explode": true,
"style": "deepObject"
},
"expand": {
"explode": true,
"style": "deepObject"
Expand All @@ -57041,13 +57045,39 @@
"type": "string"
},
"collect": {
"description": "Which information the platform needs to collect from the user. One of `currently_due` or `eventually_due`. Default is `currently_due`.",
"description": "The collect parameter is deprecated. Use `collection_options` instead.",
"enum": [
"currently_due",
"eventually_due"
],
"type": "string"
},
"collection_options": {
"description": "Specifies the requirements that Stripe collects from connected accounts in the Connect Onboarding flow.",
"properties": {
"fields": {
"description": "Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don't specify `collection_options`, the default value is `currently_due`.",
"enum": [
"currently_due",
"eventually_due"
],
"type": "string"
},
"future_requirements": {
"description": "Options for collecting future_requirements in Connect Onboarding",
"enum": [
"include",
"omit"
],
"type": "string"
}
},
"required": [
"fields"
],
"title": "collection_options_params",
"type": "object"
},
"expand": {
"description": "Specifies which fields in the response should be expanded.",
"items": {
Expand Down
37 changes: 34 additions & 3 deletions openapi/spec3.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51713,6 +51713,9 @@ paths:
content:
application/x-www-form-urlencoded:
encoding:
collection_options:
explode: true
style: deepObject
expand:
explode: true
style: deepObject
Expand All @@ -51725,13 +51728,41 @@ paths:
type: string
collect:
description: >-
Which information the platform needs to collect from the
user. One of `currently_due` or `eventually_due`. Default is
`currently_due`.
The collect parameter is deprecated. Use
`collection_options` instead.
enum:
- currently_due
- eventually_due
type: string
collection_options:
description: >-
Specifies the requirements that Stripe collects from
connected accounts in the Connect Onboarding flow.
properties:
fields:
description: >-
Specifies whether the platform collects only
currently_due requirements (`currently_due`) or both
currently_due and eventually_due requirements
(`eventually_due`). If you don't specify
`collection_options`, the default value is
`currently_due`.
enum:
- currently_due
- eventually_due
type: string
future_requirements:
description: >-
Options for collecting future_requirements in Connect
Onboarding
enum:
- include
- omit
type: string
required:
- fields
title: collection_options_params
type: object
expand:
description: Specifies which fields in the response should be expanded.
items:
Expand Down
27 changes: 24 additions & 3 deletions openapi/spec3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43258,6 +43258,9 @@ paths:
content:
application/x-www-form-urlencoded:
encoding:
collection_options:
explode: true
style: deepObject
expand:
explode: true
style: deepObject
Expand All @@ -43270,13 +43273,31 @@ paths:
type: string
collect:
description: >-
Which information the platform needs to collect from the
user. One of `currently_due` or `eventually_due`. Default is
`currently_due`.
The collect parameter is deprecated. Use
`collection_options` instead.
enum:
- currently_due
- eventually_due
type: string
collection_options:
description: >-
Specifies the requirements that Stripe collects from
connected accounts in the Connect Onboarding flow.
properties:
fields:
enum:
- currently_due
- eventually_due
type: string
future_requirements:
enum:
- include
- omit
type: string
required:
- fields
title: collection_options_params
type: object
expand:
description: Specifies which fields in the response should be expanded.
items:
Expand Down

0 comments on commit 89f85ff

Please sign in to comment.