Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jan 22, 2024
1 parent ef122bf commit 5d7e3cf
Show file tree
Hide file tree
Showing 2 changed files with 137 additions and 0 deletions.
65 changes: 65 additions & 0 deletions 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
72 changes: 72 additions & 0 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90532,6 +90532,10 @@ paths:
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
type: object
remove:
Expand All @@ -90549,6 +90553,12 @@ paths:
`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
type: object
set:
Expand All @@ -90568,6 +90578,12 @@ paths:
`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
type: object
type:
Expand Down Expand Up @@ -93843,6 +93859,10 @@ paths:
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
type: object
remove:
Expand All @@ -93860,6 +93880,12 @@ paths:
`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
type: object
set:
Expand All @@ -93879,6 +93905,12 @@ paths:
`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
type: object
type:
Expand Down Expand Up @@ -139250,6 +139282,12 @@ paths:
`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
type: object
remove_item:
Expand Down Expand Up @@ -139287,6 +139325,12 @@ paths:
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
type: object
type: array
Expand Down Expand Up @@ -141413,6 +141457,12 @@ paths:
`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
type: object
remove_item:
Expand Down Expand Up @@ -141450,6 +141500,12 @@ paths:
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
type: object
type: array
Expand Down Expand Up @@ -156745,6 +156801,10 @@ paths:
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
type: object
remove:
Expand All @@ -156762,6 +156822,12 @@ paths:
`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
type: object
set:
Expand All @@ -156781,6 +156847,12 @@ paths:
`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
type: object
type:
Expand Down

0 comments on commit 5d7e3cf

Please sign in to comment.