@@ -6360,11 +6360,6 @@ export interface components {
6360
6360
* @enum {string}
6361
6361
*/
6362
6362
PlanStatus: 'draft' | 'active' | 'archived' | 'scheduled'
6363
- /**
6364
- * @description Filter by plan status.
6365
- * @enum {string}
6366
- */
6367
- PlanStatusFilterEnum: 'active' | 'draft' | 'archived'
6368
6363
/** @description Change subscription based on plan. */
6369
6364
PlanSubscriptionChange: {
6370
6365
/** @description Timing configuration for the change, when the change should take effect.
@@ -8400,7 +8395,6 @@ export type PlanReference = components['schemas']['PlanReference']
8400
8395
export type PlanReferenceInput = components['schemas']['PlanReferenceInput']
8401
8396
export type PlanReplaceUpdate = components['schemas']['PlanReplaceUpdate']
8402
8397
export type PlanStatus = components['schemas']['PlanStatus']
8403
- export type PlanStatusFilterEnum = components['schemas']['PlanStatusFilterEnum']
8404
8398
export type PlanSubscriptionChange =
8405
8399
components['schemas']['PlanSubscriptionChange']
8406
8400
export type PlanSubscriptionCreate =
@@ -15221,10 +15215,13 @@ export interface operations {
15221
15215
keyVersion?: {
15222
15216
[key: string]: number[]
15223
15217
}
15224
- /** @description Only return the latest version of the plan for each key .
15218
+ /** @description Only return plans with the given status .
15225
15219
*
15226
- * Usage: `?status=latest` */
15227
- status?: components['schemas']['PlanStatusFilterEnum'][]
15220
+ * Usage:
15221
+ * - `?status=active`: return only the currently active plan
15222
+ * - `?status=draft`: return only the draft plan
15223
+ * - `?status=archived`: return only the archived plans */
15224
+ status?: components['schemas']['PlanStatus'][]
15228
15225
/** @description Filter by plan.currency attribute */
15229
15226
currency?: components['schemas']['CurrencyCode'][]
15230
15227
/** @description Start date-time in RFC 3339 format.
0 commit comments