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

Merged
merged 1 commit into from
Jan 22, 2024
Merged
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
65 changes: 65 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -99942,6 +99942,11 @@
"index": {
"description": "The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array.",
"type": "integer"
},
"promotion_code": {
"description": "The promotion code to redeem.",
"maxLength": 5000,
"type": "string"
}
},
"title": "add_discount_specs",
Expand All @@ -99959,6 +99964,11 @@
"description": "The ID of a discount to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "The ID of a promotion code to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
}
},
"title": "remove_discount_specs",
Expand All @@ -99976,6 +99986,11 @@
"description": "An ID of an existing discount to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "An ID of an existing promotion code to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
}
},
"title": "set_discount_specs",
Expand Down Expand Up @@ -103184,6 +103199,11 @@
"index": {
"description": "The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array.",
"type": "integer"
},
"promotion_code": {
"description": "The promotion code to redeem.",
"maxLength": 5000,
"type": "string"
}
},
"title": "add_discount_specs",
Expand All @@ -103201,6 +103221,11 @@
"description": "The ID of a discount to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "The ID of a promotion code to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
}
},
"title": "remove_discount_specs",
Expand All @@ -103218,6 +103243,11 @@
"description": "An ID of an existing discount to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "An ID of an existing promotion code to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
}
},
"title": "set_discount_specs",
Expand Down Expand Up @@ -147788,6 +147818,11 @@
"description": "The ID of a discount to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "The ID of a promotion code to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
}
},
"title": "remove_discount_specs",
Expand Down Expand Up @@ -147829,6 +147864,11 @@
"description": "An ID of an existing discount to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "An ID of an existing promotion code to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
}
},
"title": "set_discount_specs",
Expand Down Expand Up @@ -149934,6 +149974,11 @@
"description": "The ID of a discount to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "The ID of a promotion code to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
}
},
"title": "remove_discount_specs",
Expand Down Expand Up @@ -149975,6 +150020,11 @@
"description": "An ID of an existing discount to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "An ID of an existing promotion code to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
}
},
"title": "set_discount_specs",
Expand Down Expand Up @@ -166122,6 +166172,11 @@
"index": {
"description": "The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array.",
"type": "integer"
},
"promotion_code": {
"description": "The promotion code to redeem.",
"maxLength": 5000,
"type": "string"
}
},
"title": "add_discount_specs",
Expand All @@ -166139,6 +166194,11 @@
"description": "The ID of a discount to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "The ID of a promotion code to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
}
},
"title": "remove_discount_specs",
Expand All @@ -166156,6 +166216,11 @@
"description": "An ID of an existing discount to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "An ID of an existing promotion code to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
}
},
"title": "set_discount_specs",
Expand Down
Loading