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 #605

Merged
merged 1 commit into from
Jan 9, 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
83 changes: 83 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down Expand Up @@ -55889,6 +55898,7 @@
"x-expandableFields": [
"application",
"automatic_tax",
"billing_cycle_anchor_config",
"billing_thresholds",
"cancellation_details",
"customer",
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -166894,6 +166943,10 @@
"explode": true,
"style": "deepObject"
},
"billing_cycle_anchor_config": {
"explode": true,
"style": "deepObject"
},
"billing_thresholds": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -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": [
{
Expand Down
74 changes: 74 additions & 0 deletions embedded/openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down Expand Up @@ -38145,6 +38154,7 @@
"x-expandableFields": [
"application",
"automatic_tax",
"billing_cycle_anchor_config",
"billing_thresholds",
"cancellation_details",
"customer",
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -124365,6 +124410,10 @@
"explode": true,
"style": "deepObject"
},
"billing_cycle_anchor_config": {
"explode": true,
"style": "deepObject"
},
"billing_thresholds": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -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": [
{
Expand Down
Loading