diff --git a/embedded/openapi/fixtures3.json b/embedded/openapi/fixtures3.json index 5326f65d..e620ea7f 100644 --- a/embedded/openapi/fixtures3.json +++ b/embedded/openapi/fixtures3.json @@ -1839,7 +1839,8 @@ "status": "verified", "type": "document", "url": null, - "verified_outputs": null + "verified_outputs": null, + "provided_details": null }, "invoice": { "account_country": "US", diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index a1e8e959..eb2d18a2 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -49305,6 +49305,15 @@ "nullable": true, "type": "string" }, + "cancel_subscription_schedule": { + "anyOf": [ + { + "$ref": "#/components/schemas/quotes_resource_quote_lines_cancel_subscription_schedule" + } + ], + "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.", + "nullable": true + }, "ends_at": { "anyOf": [ { @@ -49388,6 +49397,7 @@ "x-expandableFields": [ "actions", "applies_to", + "cancel_subscription_schedule", "ends_at", "set_pause_collection", "starts_at", @@ -51302,6 +51312,36 @@ "type": "object", "x-expandableFields": [] }, + "quotes_resource_quote_lines_cancel_subscription_schedule": { + "description": "Configures the immediate cancellation settings for a subscription schedule via quotes.", + "properties": { + "cancel_at": { + "description": "Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`.", + "enum": [ + "line_starts_at" + ], + "type": "string" + }, + "invoice_now": { + "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`.", + "nullable": true, + "type": "boolean" + }, + "prorate": { + "description": "If the subscription schedule is `active`, indicates if the cancellation should be prorated. Boolean that defaults to `true`.", + "nullable": true, + "type": "boolean" + } + }, + "required": [ + "cancel_at", + "invoice_now", + "prorate" + ], + "title": "QuotesResourceQuoteLinesCancelSubscriptionSchedule", + "type": "object", + "x-expandableFields": [] + }, "quotes_resource_quote_lines_end_behavior": { "description": "Defines how the scheduled subscription behaves when a trial ends.", "properties": { @@ -160869,6 +160909,31 @@ ], "type": "string" }, + "cancel_subscription_schedule": { + "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.", + "properties": { + "cancel_at": { + "description": "Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`.", + "enum": [ + "line_starts_at" + ], + "type": "string" + }, + "invoice_now": { + "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`.", + "type": "boolean" + }, + "prorate": { + "description": "If the subscription schedule is `active`, indicates if the cancellation should be prorated. Boolean that defaults to `true`.", + "type": "boolean" + } + }, + "required": [ + "cancel_at" + ], + "title": "cancel_subscription_schedule_specs", + "type": "object" + }, "ends_at": { "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.", "properties": { @@ -163046,6 +163111,31 @@ ], "type": "string" }, + "cancel_subscription_schedule": { + "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.", + "properties": { + "cancel_at": { + "description": "Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`.", + "enum": [ + "line_starts_at" + ], + "type": "string" + }, + "invoice_now": { + "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`.", + "type": "boolean" + }, + "prorate": { + "description": "If the subscription schedule is `active`, indicates if the cancellation should be prorated. Boolean that defaults to `true`.", + "type": "boolean" + } + }, + "required": [ + "cancel_at" + ], + "title": "cancel_subscription_schedule_specs", + "type": "object" + }, "ends_at": { "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.", "properties": {