Skip to content

Commit b04f75d

Browse files
OpenAPI Update (#762)
Update OpenAPI for 4e5e008cb5c201ab4ec7a0afadf768bd4628e759 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent d6ed4de commit b04f75d

File tree

2 files changed

+92
-1
lines changed

2 files changed

+92
-1
lines changed

embedded/openapi/fixtures3.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1839,7 +1839,8 @@
18391839
"status": "verified",
18401840
"type": "document",
18411841
"url": null,
1842-
"verified_outputs": null
1842+
"verified_outputs": null,
1843+
"provided_details": null
18431844
},
18441845
"invoice": {
18451846
"account_country": "US",

embedded/openapi/spec3.beta.sdk.json

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49305,6 +49305,15 @@
4930549305
"nullable": true,
4930649306
"type": "string"
4930749307
},
49308+
"cancel_subscription_schedule": {
49309+
"anyOf": [
49310+
{
49311+
"$ref": "#/components/schemas/quotes_resource_quote_lines_cancel_subscription_schedule"
49312+
}
49313+
],
49314+
"description": "A point-in-time operation that cancels an existing subscription schedule at the line's starts_at timestamp. Currently only compatible with `quote_acceptance_date` for `starts_at`. When using cancel_subscription_schedule, the subscription schedule on the quote remains unalterable, except for metadata modifications.",
49315+
"nullable": true
49316+
},
4930849317
"ends_at": {
4930949318
"anyOf": [
4931049319
{
@@ -49388,6 +49397,7 @@
4938849397
"x-expandableFields": [
4938949398
"actions",
4939049399
"applies_to",
49400+
"cancel_subscription_schedule",
4939149401
"ends_at",
4939249402
"set_pause_collection",
4939349403
"starts_at",
@@ -51302,6 +51312,36 @@
5130251312
"type": "object",
5130351313
"x-expandableFields": []
5130451314
},
51315+
"quotes_resource_quote_lines_cancel_subscription_schedule": {
51316+
"description": "Configures the immediate cancellation settings for a subscription schedule via quotes.",
51317+
"properties": {
51318+
"cancel_at": {
51319+
"description": "Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`.",
51320+
"enum": [
51321+
"line_starts_at"
51322+
],
51323+
"type": "string"
51324+
},
51325+
"invoice_now": {
51326+
"description": "If the subscription schedule is `active`, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Boolean that defaults to `true`.",
51327+
"nullable": true,
51328+
"type": "boolean"
51329+
},
51330+
"prorate": {
51331+
"description": "If the subscription schedule is `active`, indicates if the cancellation should be prorated. Boolean that defaults to `true`.",
51332+
"nullable": true,
51333+
"type": "boolean"
51334+
}
51335+
},
51336+
"required": [
51337+
"cancel_at",
51338+
"invoice_now",
51339+
"prorate"
51340+
],
51341+
"title": "QuotesResourceQuoteLinesCancelSubscriptionSchedule",
51342+
"type": "object",
51343+
"x-expandableFields": []
51344+
},
5130551345
"quotes_resource_quote_lines_end_behavior": {
5130651346
"description": "Defines how the scheduled subscription behaves when a trial ends.",
5130751347
"properties": {
@@ -160869,6 +160909,31 @@
160869160909
],
160870160910
"type": "string"
160871160911
},
160912+
"cancel_subscription_schedule": {
160913+
"description": "A point-in-time operation that cancels an existing subscription schedule at the line's starts_at timestamp. Currently only compatible with `quote_acceptance_date` for `starts_at`. When using cancel_subscription_schedule, the subscription schedule on the quote remains unalterable, except for metadata modifications.",
160914+
"properties": {
160915+
"cancel_at": {
160916+
"description": "Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`.",
160917+
"enum": [
160918+
"line_starts_at"
160919+
],
160920+
"type": "string"
160921+
},
160922+
"invoice_now": {
160923+
"description": "If the subscription schedule is `active`, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Boolean that defaults to `true`.",
160924+
"type": "boolean"
160925+
},
160926+
"prorate": {
160927+
"description": "If the subscription schedule is `active`, indicates if the cancellation should be prorated. Boolean that defaults to `true`.",
160928+
"type": "boolean"
160929+
}
160930+
},
160931+
"required": [
160932+
"cancel_at"
160933+
],
160934+
"title": "cancel_subscription_schedule_specs",
160935+
"type": "object"
160936+
},
160872160937
"ends_at": {
160873160938
"description": "Details to identify the end of the time range modified by the proposed change. If not supplied, the quote line is considered a point-in-time operation that only affects the exact timestamp at `starts_at`, and a restricted set of attributes is supported on the quote line.",
160874160939
"properties": {
@@ -163046,6 +163111,31 @@
163046163111
],
163047163112
"type": "string"
163048163113
},
163114+
"cancel_subscription_schedule": {
163115+
"description": "A point-in-time operation that cancels an existing subscription schedule at the line's starts_at timestamp. Currently only compatible with `quote_acceptance_date` for `starts_at`. When using cancel_subscription_schedule, the subscription schedule on the quote remains unalterable, except for metadata modifications.",
163116+
"properties": {
163117+
"cancel_at": {
163118+
"description": "Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`.",
163119+
"enum": [
163120+
"line_starts_at"
163121+
],
163122+
"type": "string"
163123+
},
163124+
"invoice_now": {
163125+
"description": "If the subscription schedule is `active`, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Boolean that defaults to `true`.",
163126+
"type": "boolean"
163127+
},
163128+
"prorate": {
163129+
"description": "If the subscription schedule is `active`, indicates if the cancellation should be prorated. Boolean that defaults to `true`.",
163130+
"type": "boolean"
163131+
}
163132+
},
163133+
"required": [
163134+
"cancel_at"
163135+
],
163136+
"title": "cancel_subscription_schedule_specs",
163137+
"type": "object"
163138+
},
163049163139
"ends_at": {
163050163140
"description": "Details to identify the end of the time range modified by the proposed change. If not supplied, the quote line is considered a point-in-time operation that only affects the exact timestamp at `starts_at`, and a restricted set of attributes is supported on the quote line.",
163051163141
"properties": {

0 commit comments

Comments
 (0)