diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index fe83838e..fc20c683 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -55393,6 +55393,15 @@ "format": "unix-time", "type": "integer" }, + "billing_cycle_anchor_config": { + "anyOf": [ + { + "$ref": "#/components/schemas/subscriptions_resource_billing_cycle_anchor_config" + } + ], + "description": "The fixed values used to calculate the `billing_cycle_anchor`.", + "nullable": true + }, "billing_thresholds": { "anyOf": [ { @@ -55889,6 +55898,7 @@ "x-expandableFields": [ "application", "automatic_tax", + "billing_cycle_anchor_config", "billing_thresholds", "cancellation_details", "customer", @@ -57474,6 +57484,45 @@ "destination" ] }, + "subscriptions_resource_billing_cycle_anchor_config": { + "description": "", + "properties": { + "day_of_month": { + "description": "The day of the month of the billing_cycle_anchor.", + "type": "integer" + }, + "hour": { + "description": "The hour of the day of the billing_cycle_anchor.", + "nullable": true, + "type": "integer" + }, + "minute": { + "description": "The minute of the hour of the billing_cycle_anchor.", + "nullable": true, + "type": "integer" + }, + "month": { + "description": "The month to start full cycle billing periods.", + "nullable": true, + "type": "integer" + }, + "second": { + "description": "The second of the minute of the billing_cycle_anchor.", + "nullable": true, + "type": "integer" + } + }, + "required": [ + "day_of_month", + "hour", + "minute", + "month", + "second" + ], + "title": "SubscriptionsResourceBillingCycleAnchorConfig", + "type": "object", + "x-expandableFields": [] + }, "subscriptions_resource_pause_collection": { "description": "The Pause Collection settings determine how we will pause collection for this subscription and for how long the subscription\nshould be paused.", "properties": { @@ -166894,6 +166943,10 @@ "explode": true, "style": "deepObject" }, + "billing_cycle_anchor_config": { + "explode": true, + "style": "deepObject" + }, "billing_thresholds": { "explode": true, "style": "deepObject" @@ -167151,6 +167204,36 @@ "type": "integer", "x-stripeBypassValidation": true }, + "billing_cycle_anchor_config": { + "description": "Mutually exclusive with billing_cycle_anchor and only valid with monthly and yearly price intervals. When provided, the billing_cycle_anchor is set to the next occurence of the day_of_month at the hour, minute, and second UTC.", + "properties": { + "day_of_month": { + "description": "The day of the month the billing_cycle_anchor should be. Ranges from 1 to 31.", + "type": "integer" + }, + "hour": { + "description": "The hour of the day the billing_cycle_anchor should be. Ranges from 0 to 23.", + "type": "integer" + }, + "minute": { + "description": "The minute of the hour the billing_cycle_anchor should be. Ranges from 0 to 59.", + "type": "integer" + }, + "month": { + "description": "The month to start full cycle billing periods. Ranges from 1 to 12.", + "type": "integer" + }, + "second": { + "description": "The second of the minute the billing_cycle_anchor should be. Ranges from 0 to 59.", + "type": "integer" + } + }, + "required": [ + "day_of_month" + ], + "title": "billing_cycle_anchor_config_param", + "type": "object" + }, "billing_thresholds": { "anyOf": [ { diff --git a/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index dc865cc4..368305e6 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/openapi/spec3.json @@ -37694,6 +37694,15 @@ "format": "unix-time", "type": "integer" }, + "billing_cycle_anchor_config": { + "anyOf": [ + { + "$ref": "#/components/schemas/subscriptions_resource_billing_cycle_anchor_config" + } + ], + "description": "The fixed values used to calculate the `billing_cycle_anchor`.", + "nullable": true + }, "billing_thresholds": { "anyOf": [ { @@ -38145,6 +38154,7 @@ "x-expandableFields": [ "application", "automatic_tax", + "billing_cycle_anchor_config", "billing_thresholds", "cancellation_details", "customer", @@ -39102,6 +39112,41 @@ "destination" ] }, + "subscriptions_resource_billing_cycle_anchor_config": { + "description": "", + "properties": { + "day_of_month": { + "description": "The day of the month of the billing_cycle_anchor.", + "type": "integer" + }, + "hour": { + "description": "The hour of the day of the billing_cycle_anchor.", + "nullable": true, + "type": "integer" + }, + "minute": { + "description": "The minute of the hour of the billing_cycle_anchor.", + "nullable": true, + "type": "integer" + }, + "month": { + "description": "The month to start full cycle billing periods.", + "nullable": true, + "type": "integer" + }, + "second": { + "description": "The second of the minute of the billing_cycle_anchor.", + "nullable": true, + "type": "integer" + } + }, + "required": [ + "day_of_month" + ], + "title": "SubscriptionsResourceBillingCycleAnchorConfig", + "type": "object", + "x-expandableFields": [] + }, "subscriptions_resource_pause_collection": { "description": "The Pause Collection settings determine how we will pause collection for this subscription and for how long the subscription\nshould be paused.", "properties": { @@ -124365,6 +124410,10 @@ "explode": true, "style": "deepObject" }, + "billing_cycle_anchor_config": { + "explode": true, + "style": "deepObject" + }, "billing_thresholds": { "explode": true, "style": "deepObject" @@ -124507,6 +124556,31 @@ "type": "integer", "x-stripeBypassValidation": true }, + "billing_cycle_anchor_config": { + "description": "Mutually exclusive with billing_cycle_anchor and only valid with monthly and yearly price intervals. When provided, the billing_cycle_anchor is set to the next occurence of the day_of_month at the hour, minute, and second UTC.", + "properties": { + "day_of_month": { + "type": "integer" + }, + "hour": { + "type": "integer" + }, + "minute": { + "type": "integer" + }, + "month": { + "type": "integer" + }, + "second": { + "type": "integer" + } + }, + "required": [ + "day_of_month" + ], + "title": "billing_cycle_anchor_config_param", + "type": "object" + }, "billing_thresholds": { "anyOf": [ {