Skip to content

Commit

Permalink
OpenAPI Update (#605)
Browse files Browse the repository at this point in the history
Update OpenAPI for 79e8471c7b0c8b13f21886040b9f8629423ece78

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored Jan 9, 2024
1 parent 5cdaa7f commit b933f0f
Show file tree
Hide file tree
Showing 2 changed files with 157 additions and 0 deletions.
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

0 comments on commit b933f0f

Please sign in to comment.