Skip to content

Commit

Permalink
Update OpenAPI for 10650e7ba2f770abaecb01b9aa8af7902ab8a140
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Apr 3, 2024
1 parent 5e50a76 commit fdb8a15
Show file tree
Hide file tree
Showing 2 changed files with 904 additions and 37 deletions.
46 changes: 24 additions & 22 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -13646,7 +13646,8 @@
"object",
"promotion_code",
"start",
"subscription"
"subscription",
"subscription_item"
],
"title": "DeletedDiscount",
"type": "object",
Expand Down Expand Up @@ -14408,7 +14409,8 @@
"object",
"promotion_code",
"start",
"subscription"
"subscription",
"subscription_item"
],
"title": "Discount",
"type": "object",
Expand Down Expand Up @@ -20273,7 +20275,6 @@
]
}
},
"nullable": true,
"type": "array"
},
"due_date": {
Expand Down Expand Up @@ -30695,7 +30696,6 @@
]
}
},
"nullable": true,
"type": "array"
},
"id": {
Expand Down Expand Up @@ -48918,10 +48918,13 @@
}
},
"required": [
"add_discount",
"add_item",
"add_metadata",
"remove_discount",
"remove_item",
"remove_metadata",
"set_discounts",
"set_items",
"set_metadata",
"type"
Expand Down Expand Up @@ -49513,7 +49516,6 @@
]
}
},
"nullable": true,
"type": "array"
},
"due_date": {
Expand Down Expand Up @@ -50585,7 +50587,6 @@
"items": {
"$ref": "#/components/schemas/discounts_resource_stackable_discount"
},
"nullable": true,
"type": "array"
},
"metadata": {
Expand Down Expand Up @@ -50645,6 +50646,7 @@
}
},
"required": [
"discounts",
"metadata",
"price"
],
Expand Down Expand Up @@ -58176,7 +58178,6 @@
]
}
},
"nullable": true,
"type": "array"
},
"ended_at": {
Expand Down Expand Up @@ -58471,6 +58472,7 @@
"default_source",
"description",
"discount",
"discounts",
"ended_at",
"id",
"items",
Expand Down Expand Up @@ -58704,7 +58706,6 @@
]
}
},
"nullable": true,
"type": "array"
},
"id": {
Expand Down Expand Up @@ -58763,6 +58764,7 @@
"required": [
"billing_thresholds",
"created",
"discounts",
"id",
"metadata",
"object",
Expand Down Expand Up @@ -59387,7 +59389,6 @@
"items": {
"$ref": "#/components/schemas/discounts_resource_stackable_discount"
},
"nullable": true,
"type": "array"
},
"price": {
Expand Down Expand Up @@ -59430,6 +59431,7 @@
}
},
"required": [
"discounts",
"price",
"quantity"
],
Expand Down Expand Up @@ -59458,7 +59460,6 @@
"items": {
"$ref": "#/components/schemas/discounts_resource_stackable_discount"
},
"nullable": true,
"type": "array"
},
"metadata": {
Expand Down Expand Up @@ -59544,6 +59545,7 @@
},
"required": [
"billing_thresholds",
"discounts",
"metadata",
"plan",
"price"
Expand Down Expand Up @@ -59695,7 +59697,6 @@
"items": {
"$ref": "#/components/schemas/discounts_resource_stackable_discount"
},
"nullable": true,
"type": "array"
},
"end_date": {
Expand Down Expand Up @@ -59815,6 +59816,7 @@
"currency",
"default_payment_method",
"description",
"discounts",
"end_date",
"invoice_settings",
"items",
Expand Down Expand Up @@ -92256,7 +92258,7 @@
"type": "array"
},
"promotion_code": {
"description": "The API ID of a promotion code to apply to the customer. The customer will have a discount applied on all recurring payments. Charges you create through the API will not have the discount.",
"description": "The ID of a promotion code to apply to the customer. The customer will have a discount applied on all recurring payments. Charges you create through the API will not have the discount.",
"maxLength": 5000,
"type": "string"
},
Expand Down Expand Up @@ -93040,7 +93042,7 @@
"type": "array"
},
"promotion_code": {
"description": "The API ID of a promotion code to apply to the customer. The customer will have a discount applied on all recurring payments. Charges you create through the API will not have the discount.",
"description": "The ID of a promotion code to apply to the customer. The customer will have a discount applied on all recurring payments. Charges you create through the API will not have the discount.",
"maxLength": 5000,
"type": "string"
},
Expand Down Expand Up @@ -104568,7 +104570,7 @@
"type": "object"
},
"coupon": {
"description": "The identifier of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"description": "The ID of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"maxLength": 5000,
"type": "string"
},
Expand Down Expand Up @@ -106162,7 +106164,7 @@
"type": "string"
},
"coupon": {
"description": "The identifier of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"description": "The ID of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"maxLength": 5000,
"type": "string"
},
Expand Down Expand Up @@ -107422,7 +107424,7 @@
"style": "deepObject"
},
{
"description": "The identifier of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"description": "The ID of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"in": "query",
"name": "coupon",
"required": false,
Expand Down Expand Up @@ -109093,7 +109095,7 @@
"type": "string"
},
"coupon": {
"description": "The identifier of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"description": "The ID of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"maxLength": 5000,
"type": "string"
},
Expand Down Expand Up @@ -110677,7 +110679,7 @@
"style": "deepObject"
},
{
"description": "The identifier of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"description": "The ID of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"in": "query",
"name": "coupon",
"required": false,
Expand Down Expand Up @@ -112369,7 +112371,7 @@
"type": "string"
},
"coupon": {
"description": "The identifier of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"description": "The ID of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"maxLength": 5000,
"type": "string"
},
Expand Down Expand Up @@ -175533,7 +175535,7 @@
"type": "string"
},
"coupon": {
"description": "The identifier of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"description": "The ID of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"maxLength": 5000,
"type": "string"
},
Expand Down Expand Up @@ -176732,7 +176734,7 @@
"type": "string"
},
"coupon": {
"description": "The identifier of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"description": "The ID of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"maxLength": 5000,
"type": "string"
},
Expand Down Expand Up @@ -180031,7 +180033,7 @@
"type": "object"
},
"promotion_code": {
"description": "The API ID of a promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"description": "The ID of a promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"maxLength": 5000,
"type": "string"
},
Expand Down
Loading

0 comments on commit fdb8a15

Please sign in to comment.