@stigg/typescript 0.1.0-beta.54 → 0.1.0-beta.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/package.json +1 -1
  3. package/resources/v1/addons/addons.d.mts +30 -13
  4. package/resources/v1/addons/addons.d.mts.map +1 -1
  5. package/resources/v1/addons/addons.d.ts +30 -13
  6. package/resources/v1/addons/addons.d.ts.map +1 -1
  7. package/resources/v1/addons/addons.js +5 -1
  8. package/resources/v1/addons/addons.js.map +1 -1
  9. package/resources/v1/addons/addons.mjs +5 -1
  10. package/resources/v1/addons/addons.mjs.map +1 -1
  11. package/resources/v1/contracts.d.mts +35 -4
  12. package/resources/v1/contracts.d.mts.map +1 -1
  13. package/resources/v1/contracts.d.ts +35 -4
  14. package/resources/v1/contracts.d.ts.map +1 -1
  15. package/resources/v1/coupons.d.mts +18 -9
  16. package/resources/v1/coupons.d.mts.map +1 -1
  17. package/resources/v1/coupons.d.ts +18 -9
  18. package/resources/v1/coupons.d.ts.map +1 -1
  19. package/resources/v1/credits/grants.d.mts +51 -14
  20. package/resources/v1/credits/grants.d.mts.map +1 -1
  21. package/resources/v1/credits/grants.d.ts +51 -14
  22. package/resources/v1/credits/grants.d.ts.map +1 -1
  23. package/resources/v1/customers/customers.d.mts +119 -49
  24. package/resources/v1/customers/customers.d.mts.map +1 -1
  25. package/resources/v1/customers/customers.d.ts +119 -49
  26. package/resources/v1/customers/customers.d.ts.map +1 -1
  27. package/resources/v1/customers/customers.js +12 -12
  28. package/resources/v1/customers/customers.js.map +1 -1
  29. package/resources/v1/customers/customers.mjs +12 -12
  30. package/resources/v1/customers/customers.mjs.map +1 -1
  31. package/resources/v1/customers/integrations.d.mts +17 -8
  32. package/resources/v1/customers/integrations.d.mts.map +1 -1
  33. package/resources/v1/customers/integrations.d.ts +17 -8
  34. package/resources/v1/customers/integrations.d.ts.map +1 -1
  35. package/resources/v1/customers/payment-method.d.mts +7 -3
  36. package/resources/v1/customers/payment-method.d.mts.map +1 -1
  37. package/resources/v1/customers/payment-method.d.ts +7 -3
  38. package/resources/v1/customers/payment-method.d.ts.map +1 -1
  39. package/resources/v1/customers/promotional-entitlements.d.mts +23 -5
  40. package/resources/v1/customers/promotional-entitlements.d.mts.map +1 -1
  41. package/resources/v1/customers/promotional-entitlements.d.ts +23 -5
  42. package/resources/v1/customers/promotional-entitlements.d.ts.map +1 -1
  43. package/resources/v1/events/events.d.mts +13 -5
  44. package/resources/v1/events/events.d.mts.map +1 -1
  45. package/resources/v1/events/events.d.ts +13 -5
  46. package/resources/v1/events/events.d.ts.map +1 -1
  47. package/resources/v1/events/events.js +2 -2
  48. package/resources/v1/events/events.js.map +1 -1
  49. package/resources/v1/events/events.mjs +2 -2
  50. package/resources/v1/events/events.mjs.map +1 -1
  51. package/resources/v1/features.d.mts +222 -7
  52. package/resources/v1/features.d.mts.map +1 -1
  53. package/resources/v1/features.d.ts +222 -7
  54. package/resources/v1/features.d.ts.map +1 -1
  55. package/resources/v1/plans/plans.d.mts +62 -22
  56. package/resources/v1/plans/plans.d.mts.map +1 -1
  57. package/resources/v1/plans/plans.d.ts +62 -22
  58. package/resources/v1/plans/plans.d.ts.map +1 -1
  59. package/resources/v1/plans/plans.js +5 -1
  60. package/resources/v1/plans/plans.js.map +1 -1
  61. package/resources/v1/plans/plans.mjs +5 -1
  62. package/resources/v1/plans/plans.mjs.map +1 -1
  63. package/resources/v1/products.d.mts +15 -7
  64. package/resources/v1/products.d.mts.map +1 -1
  65. package/resources/v1/products.d.ts +15 -7
  66. package/resources/v1/products.d.ts.map +1 -1
  67. package/resources/v1/subscriptions/subscriptions.d.mts +66 -22
  68. package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
  69. package/resources/v1/subscriptions/subscriptions.d.ts +66 -22
  70. package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
  71. package/resources/v1/subscriptions/subscriptions.js +11 -3
  72. package/resources/v1/subscriptions/subscriptions.js.map +1 -1
  73. package/resources/v1/subscriptions/subscriptions.mjs +11 -3
  74. package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
  75. package/resources/v1/usage.d.mts +32 -9
  76. package/resources/v1/usage.d.mts.map +1 -1
  77. package/resources/v1/usage.d.ts +32 -9
  78. package/resources/v1/usage.d.ts.map +1 -1
  79. package/src/resources/v1/addons/addons.ts +30 -13
  80. package/src/resources/v1/contracts.ts +41 -4
  81. package/src/resources/v1/coupons.ts +18 -9
  82. package/src/resources/v1/credits/grants.ts +51 -14
  83. package/src/resources/v1/customers/customers.ts +120 -49
  84. package/src/resources/v1/customers/integrations.ts +17 -8
  85. package/src/resources/v1/customers/payment-method.ts +7 -3
  86. package/src/resources/v1/customers/promotional-entitlements.ts +23 -5
  87. package/src/resources/v1/events/events.ts +13 -5
  88. package/src/resources/v1/features.ts +288 -7
  89. package/src/resources/v1/plans/plans.ts +62 -22
  90. package/src/resources/v1/products.ts +15 -7
  91. package/src/resources/v1/subscriptions/subscriptions.ts +68 -22
  92. package/src/resources/v1/usage.ts +32 -9
  93. package/src/version.ts +1 -1
  94. package/version.d.mts +1 -1
  95. package/version.d.ts +1 -1
  96. package/version.js +1 -1
  97. package/version.mjs +1 -1
@@ -72,7 +72,8 @@ export declare namespace Feature {
72
72
  */
73
73
  featureStatus: 'NEW' | 'SUSPENDED' | 'ACTIVE';
74
74
  /**
75
- * The type of the feature
75
+ * The type of the feature: BOOLEAN (on/off access), NUMBER (a numeric limit or
76
+ * quantity), or ENUM (one of a fixed set of values).
76
77
  */
77
78
  featureType: 'BOOLEAN' | 'NUMBER' | 'ENUM';
78
79
  /**
@@ -90,7 +91,15 @@ export declare namespace Feature {
90
91
  [key: string]: string;
91
92
  };
92
93
  /**
93
- * The meter type for the feature
94
+ * Event meter that turns reported events into usage for a metered feature
95
+ */
96
+ meter: Data.Meter | null;
97
+ /**
98
+ * How usage accumulates for this feature. `Incremental` and `Fluctuating` features
99
+ * track usage from reported events; `None` means the feature's value isn't
100
+ * usage-tracked — it's just a numeric or enum value carried by the plan (for
101
+ * example, a seat count or a tier setting) rather than something customers
102
+ * consume.
94
103
  */
95
104
  meterType: 'None' | 'FLUCTUATING' | 'INCREMENTAL';
96
105
  /**
@@ -113,6 +122,63 @@ export declare namespace Feature {
113
122
  */
114
123
  value: string;
115
124
  }
125
+ /**
126
+ * Event meter that turns reported events into usage for a metered feature
127
+ */
128
+ interface Meter {
129
+ /**
130
+ * How the matching events are aggregated into a usage value
131
+ */
132
+ aggregation: Meter.Aggregation;
133
+ /**
134
+ * Event filters. Conditions within a filter are ANDed, and filters are ORed
135
+ */
136
+ filters: Array<Meter.Filter>;
137
+ }
138
+ namespace Meter {
139
+ /**
140
+ * How the matching events are aggregated into a usage value
141
+ */
142
+ interface Aggregation {
143
+ /**
144
+ * Aggregation function applied to the matching events
145
+ */
146
+ function: 'SUM' | 'MAX' | 'MIN' | 'AVG' | 'COUNT' | 'UNIQUE';
147
+ /**
148
+ * Aggregation field name
149
+ */
150
+ field?: string | null;
151
+ }
152
+ /**
153
+ * A set of conditions an event must all match
154
+ */
155
+ interface Filter {
156
+ /**
157
+ * Conditions the event must match
158
+ */
159
+ conditions: Array<Filter.Condition>;
160
+ }
161
+ namespace Filter {
162
+ /**
163
+ * Meter filter condition
164
+ */
165
+ interface Condition {
166
+ /**
167
+ * Condition field name
168
+ */
169
+ field: string;
170
+ /**
171
+ * Comparison applied to the condition field
172
+ */
173
+ operation: 'EQUALS' | 'NOT_EQUALS' | 'GREATER_THAN' | 'GREATER_THAN_OR_EQUAL' | 'LESS_THAN' | 'LESS_THAN_OR_EQUAL' | 'IS_NULL' | 'IS_NOT_NULL' | 'CONTAINS' | 'STARTS_WITH' | 'ENDS_WITH' | 'IN';
174
+ /**
175
+ * Condition value
176
+ */
177
+ value?: string | null;
178
+ values?: Array<string> | null;
179
+ }
180
+ }
181
+ }
116
182
  /**
117
183
  * Unit transformation to be applied to the reported usage
118
184
  */
@@ -165,7 +231,8 @@ export interface FeatureListFeaturesResponse {
165
231
  */
166
232
  featureStatus: 'NEW' | 'SUSPENDED' | 'ACTIVE';
167
233
  /**
168
- * The type of the feature
234
+ * The type of the feature: BOOLEAN (on/off access), NUMBER (a numeric limit or
235
+ * quantity), or ENUM (one of a fixed set of values).
169
236
  */
170
237
  featureType: 'BOOLEAN' | 'NUMBER' | 'ENUM';
171
238
  /**
@@ -183,7 +250,15 @@ export interface FeatureListFeaturesResponse {
183
250
  [key: string]: string;
184
251
  };
185
252
  /**
186
- * The meter type for the feature
253
+ * Event meter that turns reported events into usage for a metered feature
254
+ */
255
+ meter: FeatureListFeaturesResponse.Meter | null;
256
+ /**
257
+ * How usage accumulates for this feature. `Incremental` and `Fluctuating` features
258
+ * track usage from reported events; `None` means the feature's value isn't
259
+ * usage-tracked — it's just a numeric or enum value carried by the plan (for
260
+ * example, a seat count or a tier setting) rather than something customers
261
+ * consume.
187
262
  */
188
263
  meterType: 'None' | 'FLUCTUATING' | 'INCREMENTAL';
189
264
  /**
@@ -206,6 +281,63 @@ export declare namespace FeatureListFeaturesResponse {
206
281
  */
207
282
  value: string;
208
283
  }
284
+ /**
285
+ * Event meter that turns reported events into usage for a metered feature
286
+ */
287
+ interface Meter {
288
+ /**
289
+ * How the matching events are aggregated into a usage value
290
+ */
291
+ aggregation: Meter.Aggregation;
292
+ /**
293
+ * Event filters. Conditions within a filter are ANDed, and filters are ORed
294
+ */
295
+ filters: Array<Meter.Filter>;
296
+ }
297
+ namespace Meter {
298
+ /**
299
+ * How the matching events are aggregated into a usage value
300
+ */
301
+ interface Aggregation {
302
+ /**
303
+ * Aggregation function applied to the matching events
304
+ */
305
+ function: 'SUM' | 'MAX' | 'MIN' | 'AVG' | 'COUNT' | 'UNIQUE';
306
+ /**
307
+ * Aggregation field name
308
+ */
309
+ field?: string | null;
310
+ }
311
+ /**
312
+ * A set of conditions an event must all match
313
+ */
314
+ interface Filter {
315
+ /**
316
+ * Conditions the event must match
317
+ */
318
+ conditions: Array<Filter.Condition>;
319
+ }
320
+ namespace Filter {
321
+ /**
322
+ * Meter filter condition
323
+ */
324
+ interface Condition {
325
+ /**
326
+ * Condition field name
327
+ */
328
+ field: string;
329
+ /**
330
+ * Comparison applied to the condition field
331
+ */
332
+ operation: 'EQUALS' | 'NOT_EQUALS' | 'GREATER_THAN' | 'GREATER_THAN_OR_EQUAL' | 'LESS_THAN' | 'LESS_THAN_OR_EQUAL' | 'IS_NULL' | 'IS_NOT_NULL' | 'CONTAINS' | 'STARTS_WITH' | 'ENDS_WITH' | 'IN';
333
+ /**
334
+ * Condition value
335
+ */
336
+ value?: string | null;
337
+ values?: Array<string> | null;
338
+ }
339
+ }
340
+ }
209
341
  /**
210
342
  * Unit transformation to be applied to the reported usage
211
343
  */
@@ -251,7 +383,8 @@ export interface FeatureCreateFeatureParams {
251
383
  */
252
384
  displayName: string;
253
385
  /**
254
- * Body param: The type of the feature
386
+ * Body param: The type of the feature: BOOLEAN (on/off access), NUMBER (a numeric
387
+ * limit or quantity), or ENUM (one of a fixed set of values).
255
388
  */
256
389
  featureType: 'BOOLEAN' | 'NUMBER' | 'ENUM';
257
390
  /**
@@ -281,7 +414,16 @@ export interface FeatureCreateFeatureParams {
281
414
  [key: string]: string;
282
415
  };
283
416
  /**
284
- * Body param: The meter type for the feature
417
+ * Body param: Event meter that turns reported events into usage for a metered
418
+ * feature
419
+ */
420
+ meter?: FeatureCreateFeatureParams.Meter;
421
+ /**
422
+ * Body param: How usage accumulates for this feature. `Incremental` and
423
+ * `Fluctuating` features track usage from reported events; `None` means the
424
+ * feature's value isn't usage-tracked — it's just a numeric or enum value carried
425
+ * by the plan (for example, a seat count or a tier setting) rather than something
426
+ * customers consume.
285
427
  */
286
428
  meterType?: 'None' | 'FLUCTUATING' | 'INCREMENTAL';
287
429
  /**
@@ -311,6 +453,57 @@ export declare namespace FeatureCreateFeatureParams {
311
453
  */
312
454
  value: string;
313
455
  }
456
+ /**
457
+ * Event meter that turns reported events into usage for a metered feature
458
+ */
459
+ interface Meter {
460
+ /**
461
+ * How the matching events are aggregated into a usage value
462
+ */
463
+ aggregation: Meter.Aggregation;
464
+ /**
465
+ * Event filters. Conditions within a filter are ANDed, and filters are ORed
466
+ */
467
+ filters: Array<Meter.Filter>;
468
+ }
469
+ namespace Meter {
470
+ /**
471
+ * How the matching events are aggregated into a usage value
472
+ */
473
+ interface Aggregation {
474
+ /**
475
+ * Aggregation function applied to the matching events
476
+ */
477
+ function: 'SUM' | 'MAX' | 'MIN' | 'AVG' | 'COUNT' | 'UNIQUE';
478
+ /**
479
+ * Aggregation field name
480
+ */
481
+ field?: string;
482
+ }
483
+ interface Filter {
484
+ /**
485
+ * Conditions the event must match
486
+ */
487
+ conditions: Array<Filter.Condition>;
488
+ }
489
+ namespace Filter {
490
+ interface Condition {
491
+ /**
492
+ * Condition field name
493
+ */
494
+ field: string;
495
+ /**
496
+ * Comparison applied to the condition field
497
+ */
498
+ operation: 'EQUALS' | 'NOT_EQUALS' | 'GREATER_THAN' | 'GREATER_THAN_OR_EQUAL' | 'LESS_THAN' | 'LESS_THAN_OR_EQUAL' | 'IS_NULL' | 'IS_NOT_NULL' | 'CONTAINS' | 'STARTS_WITH' | 'ENDS_WITH' | 'IN';
499
+ /**
500
+ * Condition value
501
+ */
502
+ value?: string;
503
+ values?: Array<string>;
504
+ }
505
+ }
506
+ }
314
507
  /**
315
508
  * Unit transformation to be applied to the reported usage
316
509
  */
@@ -446,7 +639,8 @@ export interface FeatureUpdateFeatureParams {
446
639
  [key: string]: string;
447
640
  };
448
641
  /**
449
- * Body param
642
+ * Body param: Event meter that turns reported events into usage for a metered
643
+ * feature
450
644
  */
451
645
  meter?: FeatureUpdateFeatureParams.Meter;
452
646
  /**
@@ -476,12 +670,27 @@ export declare namespace FeatureUpdateFeatureParams {
476
670
  */
477
671
  value: string;
478
672
  }
673
+ /**
674
+ * Event meter that turns reported events into usage for a metered feature
675
+ */
479
676
  interface Meter {
677
+ /**
678
+ * How the matching events are aggregated into a usage value
679
+ */
480
680
  aggregation: Meter.Aggregation;
681
+ /**
682
+ * Event filters. Conditions within a filter are ANDed, and filters are ORed
683
+ */
481
684
  filters: Array<Meter.Filter>;
482
685
  }
483
686
  namespace Meter {
687
+ /**
688
+ * How the matching events are aggregated into a usage value
689
+ */
484
690
  interface Aggregation {
691
+ /**
692
+ * Aggregation function applied to the matching events
693
+ */
485
694
  function: 'SUM' | 'MAX' | 'MIN' | 'AVG' | 'COUNT' | 'UNIQUE';
486
695
  /**
487
696
  * Aggregation field name
@@ -489,6 +698,9 @@ export declare namespace FeatureUpdateFeatureParams {
489
698
  field?: string;
490
699
  }
491
700
  interface Filter {
701
+ /**
702
+ * Conditions the event must match
703
+ */
492
704
  conditions: Array<Filter.Condition>;
493
705
  }
494
706
  namespace Filter {
@@ -497,6 +709,9 @@ export declare namespace FeatureUpdateFeatureParams {
497
709
  * Condition field name
498
710
  */
499
711
  field: string;
712
+ /**
713
+ * Comparison applied to the condition field
714
+ */
500
715
  operation: 'EQUALS' | 'NOT_EQUALS' | 'GREATER_THAN' | 'GREATER_THAN_OR_EQUAL' | 'LESS_THAN' | 'LESS_THAN_OR_EQUAL' | 'IS_NULL' | 'IS_NOT_NULL' | 'CONTAINS' | 'STARTS_WITH' | 'ENDS_WITH' | 'IN';
501
716
  /**
502
717
  * Condition value
@@ -1 +1 @@
1
- {"version":3,"file":"features.d.ts","sourceRoot":"","sources":["../../src/resources/v1/features.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE,iCAA8B;AAE/F,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,cAAc,CACZ,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,2BAA2B,GAA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K,CAAC,EAAE,MAAM,CAAC;SAChB;QAED,UAAiB,MAAM;YACrB;;eAEG;YACH,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;SACrC;QAED,UAAiB,MAAM,CAAC;YACtB,UAAiB,SAAS;gBACxB;;mBAEG;gBACH,KAAK,EAAE,MAAM,CAAC;gBAEd;;mBAEG;gBACH,SAAS,EACL,QAAQ,GACR,YAAY,GACZ,cAAc,GACd,uBAAuB,GACvB,WAAW,GACX,oBAAoB,GACpB,SAAS,GACT,aAAa,GACb,UAAU,GACV,aAAa,GACb,WAAW,GACX,IAAI,CAAC;gBAET;;mBAEG;gBACH,KAAK,CAAC,EAAE,MAAM,CAAC;gBAEf,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;aACxB;SACF;KACF;IAED;;OAEG;IACH,UAAiB,kBAAkB;QACjC;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,KAAK,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;KACvB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,0CAA0C,IAAI,0CAA0C,EAC7F,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
@@ -44,7 +44,11 @@ export declare class Plans extends APIResource {
44
44
  */
45
45
  listOverageCharges(id: string, params?: PlanListOverageChargesParams | null | undefined, options?: RequestOptions): PagePromise<PlanListOverageChargesResponsesMyCursorIDPage, PlanListOverageChargesResponse>;
46
46
  /**
47
- * Publishes a draft plan, making it available for use in subscriptions.
47
+ * Publishes a draft plan, making it available for use in subscriptions. The
48
+ * required `migrationType` field controls whether existing subscribers are moved
49
+ * onto the new version immediately (`ALL_CUSTOMERS`) or stay on the version they
50
+ * subscribed to — grandfathered — until you explicitly migrate them, e.g. via the
51
+ * migrate subscription endpoint (`NEW_CUSTOMERS`).
48
52
  */
49
53
  publish(id: string, params: PlanPublishParams, options?: RequestOptions): APIPromise<PlanPublishResponse>;
50
54
  /**
@@ -83,7 +87,9 @@ export declare namespace Plan {
83
87
  */
84
88
  createdAt: string;
85
89
  /**
86
- * Default trial configuration for the plan
90
+ * Default trial configuration for the plan. When set, subscriptions provisioned on
91
+ * this plan without explicit trial settings automatically start in trial for the
92
+ * configured duration; leave unset for no automatic trial.
87
93
  */
88
94
  defaultTrialConfig: Data.DefaultTrialConfig | null;
89
95
  /**
@@ -109,7 +115,9 @@ export declare namespace Plan {
109
115
  [key: string]: string;
110
116
  };
111
117
  /**
112
- * The ID of the parent plan, if applicable
118
+ * The ID of the parent plan, if this plan should inherit entitlements from another
119
+ * plan. Optional — omit to create a standalone plan with no inherited
120
+ * entitlements.
113
121
  */
114
122
  parentPlanId: string | null;
115
123
  /**
@@ -135,7 +143,9 @@ export declare namespace Plan {
135
143
  }
136
144
  namespace Data {
137
145
  /**
138
- * Default trial configuration for the plan
146
+ * Default trial configuration for the plan. When set, subscriptions provisioned on
147
+ * this plan without explicit trial settings automatically start in trial for the
148
+ * configured duration; leave unset for no automatic trial.
139
149
  */
140
150
  interface DefaultTrialConfig {
141
151
  /**
@@ -200,7 +210,9 @@ export interface PlanListResponse {
200
210
  */
201
211
  createdAt: string;
202
212
  /**
203
- * Default trial configuration for the plan
213
+ * Default trial configuration for the plan. When set, subscriptions provisioned on
214
+ * this plan without explicit trial settings automatically start in trial for the
215
+ * configured duration; leave unset for no automatic trial.
204
216
  */
205
217
  defaultTrialConfig: PlanListResponse.DefaultTrialConfig | null;
206
218
  /**
@@ -226,7 +238,9 @@ export interface PlanListResponse {
226
238
  [key: string]: string;
227
239
  };
228
240
  /**
229
- * The ID of the parent plan, if applicable
241
+ * The ID of the parent plan, if this plan should inherit entitlements from another
242
+ * plan. Optional — omit to create a standalone plan with no inherited
243
+ * entitlements.
230
244
  */
231
245
  parentPlanId: string | null;
232
246
  /**
@@ -252,7 +266,9 @@ export interface PlanListResponse {
252
266
  }
253
267
  export declare namespace PlanListResponse {
254
268
  /**
255
- * Default trial configuration for the plan
269
+ * Default trial configuration for the plan. When set, subscriptions provisioned on
270
+ * this plan without explicit trial settings automatically start in trial for the
271
+ * configured duration; leave unset for no automatic trial.
256
272
  */
257
273
  interface DefaultTrialConfig {
258
274
  /**
@@ -325,7 +341,8 @@ export interface PlanListChargesResponse {
325
341
  */
326
342
  createdAt: string;
327
343
  /**
328
- * ISO country code for localized pricing, if any
344
+ * ISO country code for localized pricing, or "eu" for the European Union group you
345
+ * map countries into, if any
329
346
  */
330
347
  billingCountryCode?: string | null;
331
348
  /**
@@ -489,7 +506,8 @@ export interface PlanListOverageChargesResponse {
489
506
  */
490
507
  createdAt: string;
491
508
  /**
492
- * ISO country code for localized pricing, if any
509
+ * ISO country code for localized pricing, or "eu" for the European Union group you
510
+ * map countries into, if any
493
511
  */
494
512
  billingCountryCode?: string | null;
495
513
  /**
@@ -672,7 +690,9 @@ export interface PlanCreateParams {
672
690
  */
673
691
  billingId?: string | null;
674
692
  /**
675
- * Body param: Default trial configuration for the plan
693
+ * Body param: Default trial configuration for the plan. When set, subscriptions
694
+ * provisioned on this plan without explicit trial settings automatically start in
695
+ * trial for the configured duration; leave unset for no automatic trial.
676
696
  */
677
697
  defaultTrialConfig?: PlanCreateParams.DefaultTrialConfig | null;
678
698
  /**
@@ -686,7 +706,9 @@ export interface PlanCreateParams {
686
706
  [key: string]: string;
687
707
  };
688
708
  /**
689
- * Body param: The ID of the parent plan, if applicable
709
+ * Body param: The ID of the parent plan, if this plan should inherit entitlements
710
+ * from another plan. Optional — omit to create a standalone plan with no inherited
711
+ * entitlements.
690
712
  */
691
713
  parentPlanId?: string | null;
692
714
  /**
@@ -711,7 +733,9 @@ export interface PlanCreateParams {
711
733
  }
712
734
  export declare namespace PlanCreateParams {
713
735
  /**
714
- * Default trial configuration for the plan
736
+ * Default trial configuration for the plan. When set, subscriptions provisioned on
737
+ * this plan without explicit trial settings automatically start in trial for the
738
+ * configured duration; leave unset for no automatic trial.
715
739
  */
716
740
  interface DefaultTrialConfig {
717
741
  /**
@@ -766,7 +790,9 @@ export interface PlanUpdateParams {
766
790
  */
767
791
  billingId?: string | null;
768
792
  /**
769
- * Body param: Pricing configuration to set on the plan draft
793
+ * Body param: Pricing configuration to set on the plan draft. Unlike the rest of
794
+ * this request, this is a full replace of the pricing configuration, not a merge —
795
+ * see SetPackagePricingRequest.
770
796
  */
771
797
  charges?: PlanUpdateParams.Charges;
772
798
  /**
@@ -774,7 +800,9 @@ export interface PlanUpdateParams {
774
800
  */
775
801
  compatibleAddonIds?: Array<string> | null;
776
802
  /**
777
- * Body param: Default trial configuration for the plan
803
+ * Body param: Default trial configuration for the plan. When set, subscriptions
804
+ * provisioned on this plan without explicit trial settings automatically start in
805
+ * trial for the configured duration; leave unset for no automatic trial.
778
806
  */
779
807
  defaultTrialConfig?: PlanUpdateParams.DefaultTrialConfig | null;
780
808
  /**
@@ -792,7 +820,9 @@ export interface PlanUpdateParams {
792
820
  [key: string]: string;
793
821
  };
794
822
  /**
795
- * Body param: The ID of the parent plan, if applicable
823
+ * Body param: The ID of the parent plan, if this plan should inherit entitlements
824
+ * from another plan. Optional — omit to create a standalone plan with no inherited
825
+ * entitlements.
796
826
  */
797
827
  parentPlanId?: string | null;
798
828
  /**
@@ -809,7 +839,9 @@ export interface PlanUpdateParams {
809
839
  }
810
840
  export declare namespace PlanUpdateParams {
811
841
  /**
812
- * Pricing configuration to set on the plan draft
842
+ * Pricing configuration to set on the plan draft. Unlike the rest of this request,
843
+ * this is a full replace of the pricing configuration, not a merge — see
844
+ * SetPackagePricingRequest.
813
845
  */
814
846
  interface Charges {
815
847
  /**
@@ -829,11 +861,13 @@ export declare namespace PlanUpdateParams {
829
861
  */
830
862
  overageBillingPeriod?: 'ON_SUBSCRIPTION_RENEWAL' | 'MONTHLY';
831
863
  /**
832
- * Array of overage pricing model configurations
864
+ * Array of overage pricing model configurations. Replaces all existing overage
865
+ * pricing models on the draft — omit this to end up with no overage pricing.
833
866
  */
834
867
  overagePricingModels?: Array<Charges.OveragePricingModel>;
835
868
  /**
836
- * Array of pricing model configurations
869
+ * Array of pricing model configurations. Replaces all existing base pricing models
870
+ * on the draft — omit this to end up with no base pricing.
837
871
  */
838
872
  pricingModels?: Array<Charges.PricingModel>;
839
873
  }
@@ -902,7 +936,8 @@ export declare namespace PlanUpdateParams {
902
936
  */
903
937
  billingPeriod: 'MONTHLY' | 'ANNUALLY';
904
938
  /**
905
- * ISO country code for localized pricing
939
+ * ISO country code for localized pricing, or "eu" for the European Union group you
940
+ * map countries into
906
941
  */
907
942
  billingCountryCode?: string;
908
943
  /**
@@ -1151,7 +1186,8 @@ export declare namespace PlanUpdateParams {
1151
1186
  */
1152
1187
  billingPeriod: 'MONTHLY' | 'ANNUALLY';
1153
1188
  /**
1154
- * ISO country code for localized pricing
1189
+ * ISO country code for localized pricing, or "eu" for the European Union group you
1190
+ * map countries into
1155
1191
  */
1156
1192
  billingCountryCode?: string;
1157
1193
  /**
@@ -1282,7 +1318,9 @@ export declare namespace PlanUpdateParams {
1282
1318
  }
1283
1319
  }
1284
1320
  /**
1285
- * Default trial configuration for the plan
1321
+ * Default trial configuration for the plan. When set, subscriptions provisioned on
1322
+ * this plan without explicit trial settings automatically start in trial for the
1323
+ * configured duration; leave unset for no automatic trial.
1286
1324
  */
1287
1325
  interface DefaultTrialConfig {
1288
1326
  /**
@@ -1421,7 +1459,9 @@ export interface PlanListOverageChargesParams extends MyCursorIDPageParams {
1421
1459
  }
1422
1460
  export interface PlanPublishParams {
1423
1461
  /**
1424
- * Body param: The migration type of the package
1462
+ * Body param: Who the published version applies to: NEW_CUSTOMERS (default) leaves
1463
+ * existing subscribers on their current version, ALL_CUSTOMERS moves them onto the
1464
+ * new version immediately.
1425
1465
  */
1426
1466
  migrationType: 'NEW_CUSTOMERS' | 'ALL_CUSTOMERS';
1427
1467
  /**