@deliverart/sdk-js-subscription 2.13.3 → 2.13.4

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.
package/dist/index.d.cts CHANGED
@@ -4,6 +4,73 @@ export { CreditTransactionType, PaymentMethod, PaymentStatus, RenewalStatus, Sub
4
4
  import { z } from 'zod';
5
5
  import { AbstractApiRequest } from '@deliverart/sdk-js-core';
6
6
 
7
+ declare const subscriptionPlanSummarySchema: z.ZodObject<{
8
+ id: z.ZodString;
9
+ code: z.ZodString;
10
+ name: z.ZodString;
11
+ type: z.ZodEnum<{
12
+ infinite: "infinite";
13
+ time_based: "time_based";
14
+ consumption: "consumption";
15
+ }>;
16
+ isActive: z.ZodBoolean;
17
+ isPurchasable: z.ZodBoolean;
18
+ isAdminOnly: z.ZodBoolean;
19
+ }, z.core.$strip>;
20
+ type SubscriptionPlanSummary = z.infer<typeof subscriptionPlanSummarySchema>;
21
+ declare const subscriptionOverviewPlanSchema: z.ZodObject<{
22
+ id: z.ZodString;
23
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown>>;
24
+ code: z.ZodString;
25
+ name: z.ZodString;
26
+ type: z.ZodEnum<{
27
+ infinite: "infinite";
28
+ time_based: "time_based";
29
+ consumption: "consumption";
30
+ }>;
31
+ active: z.ZodBoolean;
32
+ purchasable: z.ZodBoolean;
33
+ adminOnly: z.ZodBoolean;
34
+ }, z.core.$strip>;
35
+ type SubscriptionOverviewPlan = z.infer<typeof subscriptionOverviewPlanSchema>;
36
+ declare const subscriptionPlanPriceOptionSchema: z.ZodObject<{
37
+ id: z.ZodString;
38
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
39
+ threshold: z.ZodCoercedNumber<unknown>;
40
+ unitPrice: z.ZodString;
41
+ }, z.core.$strip>;
42
+ type SubscriptionPlanPriceOption = z.infer<typeof subscriptionPlanPriceOptionSchema>;
43
+ declare const subscriptionPlanSchema: z.ZodObject<{
44
+ id: z.ZodString;
45
+ code: z.ZodString;
46
+ name: z.ZodString;
47
+ description: z.ZodNullable<z.ZodString>;
48
+ type: z.ZodEnum<{
49
+ infinite: "infinite";
50
+ time_based: "time_based";
51
+ consumption: "consumption";
52
+ }>;
53
+ isActive: z.ZodBoolean;
54
+ isPurchasable: z.ZodBoolean;
55
+ isAdminOnly: z.ZodBoolean;
56
+ defaultAutoRenewal: z.ZodBoolean;
57
+ includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
58
+ renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
59
+ renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
60
+ durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
61
+ renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
62
+ renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
63
+ operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
64
+ priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
65
+ id: z.ZodString;
66
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
67
+ threshold: z.ZodCoercedNumber<unknown>;
68
+ unitPrice: z.ZodString;
69
+ }, z.core.$strip>>>;
70
+ createdAt: z.ZodString;
71
+ updatedAt: z.ZodString;
72
+ }, z.core.$strip>;
73
+ type SubscriptionPlan = z.infer<typeof subscriptionPlanSchema>;
7
74
  declare const subscriptionInfiniteSchema: z.ZodObject<{
8
75
  id: z.ZodString;
9
76
  status: z.ZodEnum<{
@@ -17,6 +84,19 @@ declare const subscriptionInfiniteSchema: z.ZodObject<{
17
84
  autoRenewal: z.ZodBoolean;
18
85
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
19
86
  customUnitPrice: z.ZodNullable<z.ZodString>;
87
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
88
+ id: z.ZodString;
89
+ code: z.ZodString;
90
+ name: z.ZodString;
91
+ type: z.ZodEnum<{
92
+ infinite: "infinite";
93
+ time_based: "time_based";
94
+ consumption: "consumption";
95
+ }>;
96
+ isActive: z.ZodBoolean;
97
+ isPurchasable: z.ZodBoolean;
98
+ isAdminOnly: z.ZodBoolean;
99
+ }, z.core.$strip>>>;
20
100
  createdAt: z.ZodString;
21
101
  updatedAt: z.ZodString;
22
102
  type: z.ZodLiteral<"infinite">;
@@ -35,6 +115,19 @@ declare const subscriptionInfiniteDetailsSchema: z.ZodObject<{
35
115
  autoRenewal: z.ZodBoolean;
36
116
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
37
117
  customUnitPrice: z.ZodNullable<z.ZodString>;
118
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
119
+ id: z.ZodString;
120
+ code: z.ZodString;
121
+ name: z.ZodString;
122
+ type: z.ZodEnum<{
123
+ infinite: "infinite";
124
+ time_based: "time_based";
125
+ consumption: "consumption";
126
+ }>;
127
+ isActive: z.ZodBoolean;
128
+ isPurchasable: z.ZodBoolean;
129
+ isAdminOnly: z.ZodBoolean;
130
+ }, z.core.$strip>>>;
38
131
  createdAt: z.ZodString;
39
132
  updatedAt: z.ZodString;
40
133
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -54,6 +147,19 @@ declare const subscriptionConsumptionSchema: z.ZodObject<{
54
147
  autoRenewal: z.ZodBoolean;
55
148
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
56
149
  customUnitPrice: z.ZodNullable<z.ZodString>;
150
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
151
+ id: z.ZodString;
152
+ code: z.ZodString;
153
+ name: z.ZodString;
154
+ type: z.ZodEnum<{
155
+ infinite: "infinite";
156
+ time_based: "time_based";
157
+ consumption: "consumption";
158
+ }>;
159
+ isActive: z.ZodBoolean;
160
+ isPurchasable: z.ZodBoolean;
161
+ isAdminOnly: z.ZodBoolean;
162
+ }, z.core.$strip>>>;
57
163
  createdAt: z.ZodString;
58
164
  updatedAt: z.ZodString;
59
165
  type: z.ZodLiteral<"consumption">;
@@ -76,6 +182,19 @@ declare const subscriptionConsumptionDetailsSchema: z.ZodObject<{
76
182
  autoRenewal: z.ZodBoolean;
77
183
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
78
184
  customUnitPrice: z.ZodNullable<z.ZodString>;
185
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
186
+ id: z.ZodString;
187
+ code: z.ZodString;
188
+ name: z.ZodString;
189
+ type: z.ZodEnum<{
190
+ infinite: "infinite";
191
+ time_based: "time_based";
192
+ consumption: "consumption";
193
+ }>;
194
+ isActive: z.ZodBoolean;
195
+ isPurchasable: z.ZodBoolean;
196
+ isAdminOnly: z.ZodBoolean;
197
+ }, z.core.$strip>>>;
79
198
  createdAt: z.ZodString;
80
199
  updatedAt: z.ZodString;
81
200
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -99,6 +218,19 @@ declare const subscriptionTimeBasedSchema: z.ZodObject<{
99
218
  autoRenewal: z.ZodBoolean;
100
219
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
101
220
  customUnitPrice: z.ZodNullable<z.ZodString>;
221
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
222
+ id: z.ZodString;
223
+ code: z.ZodString;
224
+ name: z.ZodString;
225
+ type: z.ZodEnum<{
226
+ infinite: "infinite";
227
+ time_based: "time_based";
228
+ consumption: "consumption";
229
+ }>;
230
+ isActive: z.ZodBoolean;
231
+ isPurchasable: z.ZodBoolean;
232
+ isAdminOnly: z.ZodBoolean;
233
+ }, z.core.$strip>>>;
102
234
  createdAt: z.ZodString;
103
235
  updatedAt: z.ZodString;
104
236
  type: z.ZodLiteral<"time_based">;
@@ -120,6 +252,19 @@ declare const subscriptionTimeBasedDetailsSchema: z.ZodObject<{
120
252
  autoRenewal: z.ZodBoolean;
121
253
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
122
254
  customUnitPrice: z.ZodNullable<z.ZodString>;
255
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
256
+ id: z.ZodString;
257
+ code: z.ZodString;
258
+ name: z.ZodString;
259
+ type: z.ZodEnum<{
260
+ infinite: "infinite";
261
+ time_based: "time_based";
262
+ consumption: "consumption";
263
+ }>;
264
+ isActive: z.ZodBoolean;
265
+ isPurchasable: z.ZodBoolean;
266
+ isAdminOnly: z.ZodBoolean;
267
+ }, z.core.$strip>>>;
123
268
  createdAt: z.ZodString;
124
269
  updatedAt: z.ZodString;
125
270
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -143,6 +288,19 @@ declare const subscriptionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
143
288
  autoRenewal: z.ZodBoolean;
144
289
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
145
290
  customUnitPrice: z.ZodNullable<z.ZodString>;
291
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
292
+ id: z.ZodString;
293
+ code: z.ZodString;
294
+ name: z.ZodString;
295
+ type: z.ZodEnum<{
296
+ infinite: "infinite";
297
+ time_based: "time_based";
298
+ consumption: "consumption";
299
+ }>;
300
+ isActive: z.ZodBoolean;
301
+ isPurchasable: z.ZodBoolean;
302
+ isAdminOnly: z.ZodBoolean;
303
+ }, z.core.$strip>>>;
146
304
  createdAt: z.ZodString;
147
305
  updatedAt: z.ZodString;
148
306
  type: z.ZodLiteral<"infinite">;
@@ -159,6 +317,19 @@ declare const subscriptionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
159
317
  autoRenewal: z.ZodBoolean;
160
318
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
161
319
  customUnitPrice: z.ZodNullable<z.ZodString>;
320
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
321
+ id: z.ZodString;
322
+ code: z.ZodString;
323
+ name: z.ZodString;
324
+ type: z.ZodEnum<{
325
+ infinite: "infinite";
326
+ time_based: "time_based";
327
+ consumption: "consumption";
328
+ }>;
329
+ isActive: z.ZodBoolean;
330
+ isPurchasable: z.ZodBoolean;
331
+ isAdminOnly: z.ZodBoolean;
332
+ }, z.core.$strip>>>;
162
333
  createdAt: z.ZodString;
163
334
  updatedAt: z.ZodString;
164
335
  type: z.ZodLiteral<"consumption">;
@@ -179,6 +350,19 @@ declare const subscriptionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
179
350
  autoRenewal: z.ZodBoolean;
180
351
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
181
352
  customUnitPrice: z.ZodNullable<z.ZodString>;
353
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
354
+ id: z.ZodString;
355
+ code: z.ZodString;
356
+ name: z.ZodString;
357
+ type: z.ZodEnum<{
358
+ infinite: "infinite";
359
+ time_based: "time_based";
360
+ consumption: "consumption";
361
+ }>;
362
+ isActive: z.ZodBoolean;
363
+ isPurchasable: z.ZodBoolean;
364
+ isAdminOnly: z.ZodBoolean;
365
+ }, z.core.$strip>>>;
182
366
  createdAt: z.ZodString;
183
367
  updatedAt: z.ZodString;
184
368
  type: z.ZodLiteral<"time_based">;
@@ -200,6 +384,19 @@ declare const subscriptionDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
200
384
  autoRenewal: z.ZodBoolean;
201
385
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
202
386
  customUnitPrice: z.ZodNullable<z.ZodString>;
387
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
388
+ id: z.ZodString;
389
+ code: z.ZodString;
390
+ name: z.ZodString;
391
+ type: z.ZodEnum<{
392
+ infinite: "infinite";
393
+ time_based: "time_based";
394
+ consumption: "consumption";
395
+ }>;
396
+ isActive: z.ZodBoolean;
397
+ isPurchasable: z.ZodBoolean;
398
+ isAdminOnly: z.ZodBoolean;
399
+ }, z.core.$strip>>>;
203
400
  createdAt: z.ZodString;
204
401
  updatedAt: z.ZodString;
205
402
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -217,6 +414,19 @@ declare const subscriptionDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
217
414
  autoRenewal: z.ZodBoolean;
218
415
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
219
416
  customUnitPrice: z.ZodNullable<z.ZodString>;
417
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
418
+ id: z.ZodString;
419
+ code: z.ZodString;
420
+ name: z.ZodString;
421
+ type: z.ZodEnum<{
422
+ infinite: "infinite";
423
+ time_based: "time_based";
424
+ consumption: "consumption";
425
+ }>;
426
+ isActive: z.ZodBoolean;
427
+ isPurchasable: z.ZodBoolean;
428
+ isAdminOnly: z.ZodBoolean;
429
+ }, z.core.$strip>>>;
220
430
  createdAt: z.ZodString;
221
431
  updatedAt: z.ZodString;
222
432
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -238,6 +448,19 @@ declare const subscriptionDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
238
448
  autoRenewal: z.ZodBoolean;
239
449
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
240
450
  customUnitPrice: z.ZodNullable<z.ZodString>;
451
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
452
+ id: z.ZodString;
453
+ code: z.ZodString;
454
+ name: z.ZodString;
455
+ type: z.ZodEnum<{
456
+ infinite: "infinite";
457
+ time_based: "time_based";
458
+ consumption: "consumption";
459
+ }>;
460
+ isActive: z.ZodBoolean;
461
+ isPurchasable: z.ZodBoolean;
462
+ isAdminOnly: z.ZodBoolean;
463
+ }, z.core.$strip>>>;
241
464
  createdAt: z.ZodString;
242
465
  updatedAt: z.ZodString;
243
466
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -325,6 +548,7 @@ declare const subscriptionPriceSchema: z.ZodObject<{
325
548
  time_based: "time_based";
326
549
  consumption: "consumption";
327
550
  }>;
551
+ plan: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>;
328
552
  threshold: z.ZodCoercedNumber<unknown>;
329
553
  unitPrice: z.ZodString;
330
554
  createdAt: z.ZodString;
@@ -462,6 +686,20 @@ type ResolveSubscriptionRenewalPaymentInput = z.infer<typeof resolveSubscription
462
686
  declare const subscriptionOverviewSubscriptionSchema: z.ZodObject<{
463
687
  id: z.ZodString;
464
688
  iri: z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/infinite/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/infinite/:id">, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown>>]>;
689
+ plan: z.ZodNullable<z.ZodObject<{
690
+ id: z.ZodString;
691
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown>>;
692
+ code: z.ZodString;
693
+ name: z.ZodString;
694
+ type: z.ZodEnum<{
695
+ infinite: "infinite";
696
+ time_based: "time_based";
697
+ consumption: "consumption";
698
+ }>;
699
+ active: z.ZodBoolean;
700
+ purchasable: z.ZodBoolean;
701
+ adminOnly: z.ZodBoolean;
702
+ }, z.core.$strip>>;
465
703
  type: z.ZodEnum<{
466
704
  infinite: "infinite";
467
705
  time_based: "time_based";
@@ -511,6 +749,20 @@ declare const subscriptionOverviewResponseSchema: z.ZodObject<{
511
749
  subscription: z.ZodNullable<z.ZodObject<{
512
750
  id: z.ZodString;
513
751
  iri: z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/infinite/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/infinite/:id">, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown>>]>;
752
+ plan: z.ZodNullable<z.ZodObject<{
753
+ id: z.ZodString;
754
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown>>;
755
+ code: z.ZodString;
756
+ name: z.ZodString;
757
+ type: z.ZodEnum<{
758
+ infinite: "infinite";
759
+ time_based: "time_based";
760
+ consumption: "consumption";
761
+ }>;
762
+ active: z.ZodBoolean;
763
+ purchasable: z.ZodBoolean;
764
+ adminOnly: z.ZodBoolean;
765
+ }, z.core.$strip>>;
514
766
  type: z.ZodEnum<{
515
767
  infinite: "infinite";
516
768
  time_based: "time_based";
@@ -591,10 +843,33 @@ declare const writableSubscriptionPriceSchema: z.ZodObject<{
591
843
  time_based: "time_based";
592
844
  consumption: "consumption";
593
845
  }>;
846
+ plan: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>;
594
847
  threshold: z.ZodCoercedNumber<unknown>;
595
848
  unitPrice: z.ZodString;
596
849
  }, z.core.$strip>;
597
850
  type WritableSubscriptionPrice = z.infer<typeof writableSubscriptionPriceSchema>;
851
+ declare const writableSubscriptionPlanSchema: z.ZodObject<{
852
+ code: z.ZodString;
853
+ name: z.ZodString;
854
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
855
+ type: z.ZodEnum<{
856
+ infinite: "infinite";
857
+ time_based: "time_based";
858
+ consumption: "consumption";
859
+ }>;
860
+ isActive: z.ZodOptional<z.ZodBoolean>;
861
+ isPurchasable: z.ZodOptional<z.ZodBoolean>;
862
+ isAdminOnly: z.ZodOptional<z.ZodBoolean>;
863
+ defaultAutoRenewal: z.ZodOptional<z.ZodBoolean>;
864
+ includedCredits: z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
865
+ renewalCredits: z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
866
+ renewalThreshold: z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
867
+ durationDays: z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
868
+ renewalDays: z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
869
+ renewalOffsetDays: z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
870
+ operationCosts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>>;
871
+ }, z.core.$strip>;
872
+ type WritableSubscriptionPlan = z.infer<typeof writableSubscriptionPlanSchema>;
598
873
  declare const writableSubscriptionConsumptionRenewalSchema: z.ZodObject<{
599
874
  subscription: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown>>;
600
875
  credits: z.ZodCoercedNumber<unknown>;
@@ -859,6 +1134,50 @@ declare const subscriptionTimeBasedRenewalsQuerySchema: z.ZodObject<{
859
1134
  'days[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
860
1135
  }, z.core.$strip>;
861
1136
  type SubscriptionTimeBasedRenewalsQueryParams = z.infer<typeof subscriptionTimeBasedRenewalsQuerySchema>;
1137
+ declare const subscriptionPlansQuerySchema: z.ZodObject<{
1138
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1139
+ code: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1140
+ name: z.ZodOptional<z.ZodString>;
1141
+ type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1142
+ infinite: "infinite";
1143
+ time_based: "time_based";
1144
+ consumption: "consumption";
1145
+ }>, z.ZodArray<z.ZodEnum<{
1146
+ infinite: "infinite";
1147
+ time_based: "time_based";
1148
+ consumption: "consumption";
1149
+ }>>]>>;
1150
+ isActive: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
1151
+ isPurchasable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
1152
+ isAdminOnly: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
1153
+ defaultAutoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
1154
+ 'order[name]': z.ZodOptional<z.ZodEnum<{
1155
+ asc: "asc";
1156
+ desc: "desc";
1157
+ }>>;
1158
+ 'order[code]': z.ZodOptional<z.ZodEnum<{
1159
+ asc: "asc";
1160
+ desc: "desc";
1161
+ }>>;
1162
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
1163
+ asc: "asc";
1164
+ desc: "desc";
1165
+ }>>;
1166
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
1167
+ asc: "asc";
1168
+ desc: "desc";
1169
+ }>>;
1170
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1171
+ 'createdAt[before]': z.ZodOptional<z.ZodString>;
1172
+ 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
1173
+ 'createdAt[after]': z.ZodOptional<z.ZodString>;
1174
+ 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
1175
+ 'updatedAt[before]': z.ZodOptional<z.ZodString>;
1176
+ 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
1177
+ 'updatedAt[after]': z.ZodOptional<z.ZodString>;
1178
+ 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
1179
+ }, z.core.$strip>;
1180
+ type SubscriptionPlansQueryParams = z.infer<typeof subscriptionPlansQuerySchema>;
862
1181
  declare const subscriptionPricesQuerySchema: z.ZodObject<{
863
1182
  id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
864
1183
  type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -870,6 +1189,8 @@ declare const subscriptionPricesQuerySchema: z.ZodObject<{
870
1189
  time_based: "time_based";
871
1190
  consumption: "consumption";
872
1191
  }>>]>>;
1192
+ 'plan.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1193
+ 'plan.code': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
873
1194
  'threshold[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
874
1195
  'threshold[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
875
1196
  'threshold[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
@@ -945,6 +1266,19 @@ declare const getSubscriptionsResponseSchema: z.ZodObject<{
945
1266
  autoRenewal: z.ZodBoolean;
946
1267
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
947
1268
  customUnitPrice: z.ZodNullable<z.ZodString>;
1269
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1270
+ id: z.ZodString;
1271
+ code: z.ZodString;
1272
+ name: z.ZodString;
1273
+ type: z.ZodEnum<{
1274
+ infinite: "infinite";
1275
+ time_based: "time_based";
1276
+ consumption: "consumption";
1277
+ }>;
1278
+ isActive: z.ZodBoolean;
1279
+ isPurchasable: z.ZodBoolean;
1280
+ isAdminOnly: z.ZodBoolean;
1281
+ }, z.core.$strip>>>;
948
1282
  createdAt: z.ZodString;
949
1283
  updatedAt: z.ZodString;
950
1284
  type: z.ZodLiteral<"infinite">;
@@ -961,6 +1295,19 @@ declare const getSubscriptionsResponseSchema: z.ZodObject<{
961
1295
  autoRenewal: z.ZodBoolean;
962
1296
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
963
1297
  customUnitPrice: z.ZodNullable<z.ZodString>;
1298
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1299
+ id: z.ZodString;
1300
+ code: z.ZodString;
1301
+ name: z.ZodString;
1302
+ type: z.ZodEnum<{
1303
+ infinite: "infinite";
1304
+ time_based: "time_based";
1305
+ consumption: "consumption";
1306
+ }>;
1307
+ isActive: z.ZodBoolean;
1308
+ isPurchasable: z.ZodBoolean;
1309
+ isAdminOnly: z.ZodBoolean;
1310
+ }, z.core.$strip>>>;
964
1311
  createdAt: z.ZodString;
965
1312
  updatedAt: z.ZodString;
966
1313
  type: z.ZodLiteral<"consumption">;
@@ -981,6 +1328,19 @@ declare const getSubscriptionsResponseSchema: z.ZodObject<{
981
1328
  autoRenewal: z.ZodBoolean;
982
1329
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
983
1330
  customUnitPrice: z.ZodNullable<z.ZodString>;
1331
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1332
+ id: z.ZodString;
1333
+ code: z.ZodString;
1334
+ name: z.ZodString;
1335
+ type: z.ZodEnum<{
1336
+ infinite: "infinite";
1337
+ time_based: "time_based";
1338
+ consumption: "consumption";
1339
+ }>;
1340
+ isActive: z.ZodBoolean;
1341
+ isPurchasable: z.ZodBoolean;
1342
+ isAdminOnly: z.ZodBoolean;
1343
+ }, z.core.$strip>>>;
984
1344
  createdAt: z.ZodString;
985
1345
  updatedAt: z.ZodString;
986
1346
  type: z.ZodLiteral<"time_based">;
@@ -1011,6 +1371,19 @@ declare const getSubscriptionConsumptionListResponseSchema: z.ZodObject<{
1011
1371
  autoRenewal: z.ZodBoolean;
1012
1372
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1013
1373
  customUnitPrice: z.ZodNullable<z.ZodString>;
1374
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1375
+ id: z.ZodString;
1376
+ code: z.ZodString;
1377
+ name: z.ZodString;
1378
+ type: z.ZodEnum<{
1379
+ infinite: "infinite";
1380
+ time_based: "time_based";
1381
+ consumption: "consumption";
1382
+ }>;
1383
+ isActive: z.ZodBoolean;
1384
+ isPurchasable: z.ZodBoolean;
1385
+ isAdminOnly: z.ZodBoolean;
1386
+ }, z.core.$strip>>>;
1014
1387
  createdAt: z.ZodString;
1015
1388
  updatedAt: z.ZodString;
1016
1389
  type: z.ZodLiteral<"consumption">;
@@ -1042,6 +1415,19 @@ declare const getSubscriptionTimeBasedListResponseSchema: z.ZodObject<{
1042
1415
  autoRenewal: z.ZodBoolean;
1043
1416
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1044
1417
  customUnitPrice: z.ZodNullable<z.ZodString>;
1418
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1419
+ id: z.ZodString;
1420
+ code: z.ZodString;
1421
+ name: z.ZodString;
1422
+ type: z.ZodEnum<{
1423
+ infinite: "infinite";
1424
+ time_based: "time_based";
1425
+ consumption: "consumption";
1426
+ }>;
1427
+ isActive: z.ZodBoolean;
1428
+ isPurchasable: z.ZodBoolean;
1429
+ isAdminOnly: z.ZodBoolean;
1430
+ }, z.core.$strip>>>;
1045
1431
  createdAt: z.ZodString;
1046
1432
  updatedAt: z.ZodString;
1047
1433
  type: z.ZodLiteral<"time_based">;
@@ -1072,6 +1458,19 @@ declare const getSubscriptionInfiniteListResponseSchema: z.ZodObject<{
1072
1458
  autoRenewal: z.ZodBoolean;
1073
1459
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1074
1460
  customUnitPrice: z.ZodNullable<z.ZodString>;
1461
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1462
+ id: z.ZodString;
1463
+ code: z.ZodString;
1464
+ name: z.ZodString;
1465
+ type: z.ZodEnum<{
1466
+ infinite: "infinite";
1467
+ time_based: "time_based";
1468
+ consumption: "consumption";
1469
+ }>;
1470
+ isActive: z.ZodBoolean;
1471
+ isPurchasable: z.ZodBoolean;
1472
+ isAdminOnly: z.ZodBoolean;
1473
+ }, z.core.$strip>>>;
1075
1474
  createdAt: z.ZodString;
1076
1475
  updatedAt: z.ZodString;
1077
1476
  type: z.ZodLiteral<"infinite">;
@@ -1085,6 +1484,46 @@ declare const getSubscriptionInfiniteListResponseSchema: z.ZodObject<{
1085
1484
  lastPage: z.ZodCoercedNumber<unknown>;
1086
1485
  }, z.core.$strip>;
1087
1486
  }, z.core.$strip>;
1487
+ declare const getSubscriptionPlansResponseSchema: z.ZodObject<{
1488
+ data: z.ZodArray<z.ZodObject<{
1489
+ id: z.ZodString;
1490
+ code: z.ZodString;
1491
+ name: z.ZodString;
1492
+ description: z.ZodNullable<z.ZodString>;
1493
+ type: z.ZodEnum<{
1494
+ infinite: "infinite";
1495
+ time_based: "time_based";
1496
+ consumption: "consumption";
1497
+ }>;
1498
+ isActive: z.ZodBoolean;
1499
+ isPurchasable: z.ZodBoolean;
1500
+ isAdminOnly: z.ZodBoolean;
1501
+ defaultAutoRenewal: z.ZodBoolean;
1502
+ includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
1503
+ renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
1504
+ renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
1505
+ durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
1506
+ renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
1507
+ renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
1508
+ operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
1509
+ priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
1510
+ id: z.ZodString;
1511
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
1512
+ threshold: z.ZodCoercedNumber<unknown>;
1513
+ unitPrice: z.ZodString;
1514
+ }, z.core.$strip>>>;
1515
+ createdAt: z.ZodString;
1516
+ updatedAt: z.ZodString;
1517
+ }, z.core.$strip>>;
1518
+ pagination: z.ZodObject<{
1519
+ from: z.ZodCoercedNumber<unknown>;
1520
+ to: z.ZodCoercedNumber<unknown>;
1521
+ itemsPerPage: z.ZodCoercedNumber<unknown>;
1522
+ totalItems: z.ZodCoercedNumber<unknown>;
1523
+ currentPage: z.ZodCoercedNumber<unknown>;
1524
+ lastPage: z.ZodCoercedNumber<unknown>;
1525
+ }, z.core.$strip>;
1526
+ }, z.core.$strip>;
1088
1527
  declare const getSubscriptionPricesResponseSchema: z.ZodObject<{
1089
1528
  data: z.ZodArray<z.ZodObject<{
1090
1529
  id: z.ZodString;
@@ -1093,6 +1532,7 @@ declare const getSubscriptionPricesResponseSchema: z.ZodObject<{
1093
1532
  time_based: "time_based";
1094
1533
  consumption: "consumption";
1095
1534
  }>;
1535
+ plan: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>;
1096
1536
  threshold: z.ZodCoercedNumber<unknown>;
1097
1537
  unitPrice: z.ZodString;
1098
1538
  createdAt: z.ZodString;
@@ -1187,6 +1627,36 @@ declare const getSubscriptionTimeBasedRenewalsResponseSchema: z.ZodObject<{
1187
1627
  lastPage: z.ZodCoercedNumber<unknown>;
1188
1628
  }, z.core.$strip>;
1189
1629
  }, z.core.$strip>;
1630
+ declare const getSubscriptionPlanCatalogResponseSchema: z.ZodArray<z.ZodObject<{
1631
+ id: z.ZodString;
1632
+ code: z.ZodString;
1633
+ name: z.ZodString;
1634
+ description: z.ZodNullable<z.ZodString>;
1635
+ type: z.ZodEnum<{
1636
+ infinite: "infinite";
1637
+ time_based: "time_based";
1638
+ consumption: "consumption";
1639
+ }>;
1640
+ isActive: z.ZodBoolean;
1641
+ isPurchasable: z.ZodBoolean;
1642
+ isAdminOnly: z.ZodBoolean;
1643
+ defaultAutoRenewal: z.ZodBoolean;
1644
+ includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
1645
+ renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
1646
+ renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
1647
+ durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
1648
+ renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
1649
+ renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
1650
+ operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
1651
+ priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
1652
+ id: z.ZodString;
1653
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
1654
+ threshold: z.ZodCoercedNumber<unknown>;
1655
+ unitPrice: z.ZodString;
1656
+ }, z.core.$strip>>>;
1657
+ createdAt: z.ZodString;
1658
+ updatedAt: z.ZodString;
1659
+ }, z.core.$strip>>;
1190
1660
 
1191
1661
  declare const deleteCreditUsageLogInputSchema: z.ZodUndefined;
1192
1662
  declare const deleteCreditUsageLogResponseSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
@@ -1532,6 +2002,19 @@ declare const createSubscriptionConsumptionResponseSchema: z.ZodObject<{
1532
2002
  autoRenewal: z.ZodBoolean;
1533
2003
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1534
2004
  customUnitPrice: z.ZodNullable<z.ZodString>;
2005
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2006
+ id: z.ZodString;
2007
+ code: z.ZodString;
2008
+ name: z.ZodString;
2009
+ type: z.ZodEnum<{
2010
+ infinite: "infinite";
2011
+ time_based: "time_based";
2012
+ consumption: "consumption";
2013
+ }>;
2014
+ isActive: z.ZodBoolean;
2015
+ isPurchasable: z.ZodBoolean;
2016
+ isAdminOnly: z.ZodBoolean;
2017
+ }, z.core.$strip>>>;
1535
2018
  createdAt: z.ZodString;
1536
2019
  updatedAt: z.ZodString;
1537
2020
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -1566,6 +2049,19 @@ declare class CreateSubscriptionConsumption extends AbstractApiRequest<typeof cr
1566
2049
  autoRenewal: z.ZodBoolean;
1567
2050
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1568
2051
  customUnitPrice: z.ZodNullable<z.ZodString>;
2052
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2053
+ id: z.ZodString;
2054
+ code: z.ZodString;
2055
+ name: z.ZodString;
2056
+ type: z.ZodEnum<{
2057
+ infinite: "infinite";
2058
+ time_based: "time_based";
2059
+ consumption: "consumption";
2060
+ }>;
2061
+ isActive: z.ZodBoolean;
2062
+ isPurchasable: z.ZodBoolean;
2063
+ isAdminOnly: z.ZodBoolean;
2064
+ }, z.core.$strip>>>;
1569
2065
  createdAt: z.ZodString;
1570
2066
  updatedAt: z.ZodString;
1571
2067
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -1611,6 +2107,19 @@ declare const getSubscriptionConsumptionDetailsResponseSchema: z.ZodObject<{
1611
2107
  autoRenewal: z.ZodBoolean;
1612
2108
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1613
2109
  customUnitPrice: z.ZodNullable<z.ZodString>;
2110
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2111
+ id: z.ZodString;
2112
+ code: z.ZodString;
2113
+ name: z.ZodString;
2114
+ type: z.ZodEnum<{
2115
+ infinite: "infinite";
2116
+ time_based: "time_based";
2117
+ consumption: "consumption";
2118
+ }>;
2119
+ isActive: z.ZodBoolean;
2120
+ isPurchasable: z.ZodBoolean;
2121
+ isAdminOnly: z.ZodBoolean;
2122
+ }, z.core.$strip>>>;
1614
2123
  createdAt: z.ZodString;
1615
2124
  updatedAt: z.ZodString;
1616
2125
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -1639,6 +2148,19 @@ declare class GetSubscriptionConsumptionDetails extends AbstractApiRequest<typeo
1639
2148
  autoRenewal: z.ZodBoolean;
1640
2149
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1641
2150
  customUnitPrice: z.ZodNullable<z.ZodString>;
2151
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2152
+ id: z.ZodString;
2153
+ code: z.ZodString;
2154
+ name: z.ZodString;
2155
+ type: z.ZodEnum<{
2156
+ infinite: "infinite";
2157
+ time_based: "time_based";
2158
+ consumption: "consumption";
2159
+ }>;
2160
+ isActive: z.ZodBoolean;
2161
+ isPurchasable: z.ZodBoolean;
2162
+ isAdminOnly: z.ZodBoolean;
2163
+ }, z.core.$strip>>>;
1642
2164
  createdAt: z.ZodString;
1643
2165
  updatedAt: z.ZodString;
1644
2166
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -1678,6 +2200,19 @@ declare class GetSubscriptionConsumptionList extends AbstractApiRequest<typeof g
1678
2200
  autoRenewal: z.ZodBoolean;
1679
2201
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1680
2202
  customUnitPrice: z.ZodNullable<z.ZodString>;
2203
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2204
+ id: z.ZodString;
2205
+ code: z.ZodString;
2206
+ name: z.ZodString;
2207
+ type: z.ZodEnum<{
2208
+ infinite: "infinite";
2209
+ time_based: "time_based";
2210
+ consumption: "consumption";
2211
+ }>;
2212
+ isActive: z.ZodBoolean;
2213
+ isPurchasable: z.ZodBoolean;
2214
+ isAdminOnly: z.ZodBoolean;
2215
+ }, z.core.$strip>>>;
1681
2216
  createdAt: z.ZodString;
1682
2217
  updatedAt: z.ZodString;
1683
2218
  type: z.ZodLiteral<"consumption">;
@@ -1770,6 +2305,19 @@ declare class GetSubscriptionConsumptionList extends AbstractApiRequest<typeof g
1770
2305
  autoRenewal: z.ZodBoolean;
1771
2306
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1772
2307
  customUnitPrice: z.ZodNullable<z.ZodString>;
2308
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2309
+ id: z.ZodString;
2310
+ code: z.ZodString;
2311
+ name: z.ZodString;
2312
+ type: z.ZodEnum<{
2313
+ infinite: "infinite";
2314
+ time_based: "time_based";
2315
+ consumption: "consumption";
2316
+ }>;
2317
+ isActive: z.ZodBoolean;
2318
+ isPurchasable: z.ZodBoolean;
2319
+ isAdminOnly: z.ZodBoolean;
2320
+ }, z.core.$strip>>>;
1773
2321
  createdAt: z.ZodString;
1774
2322
  updatedAt: z.ZodString;
1775
2323
  type: z.ZodLiteral<"consumption">;
@@ -1805,6 +2353,19 @@ declare const updateSubscriptionConsumptionResponseSchema: z.ZodObject<{
1805
2353
  autoRenewal: z.ZodBoolean;
1806
2354
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1807
2355
  customUnitPrice: z.ZodNullable<z.ZodString>;
2356
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2357
+ id: z.ZodString;
2358
+ code: z.ZodString;
2359
+ name: z.ZodString;
2360
+ type: z.ZodEnum<{
2361
+ infinite: "infinite";
2362
+ time_based: "time_based";
2363
+ consumption: "consumption";
2364
+ }>;
2365
+ isActive: z.ZodBoolean;
2366
+ isPurchasable: z.ZodBoolean;
2367
+ isAdminOnly: z.ZodBoolean;
2368
+ }, z.core.$strip>>>;
1808
2369
  createdAt: z.ZodString;
1809
2370
  updatedAt: z.ZodString;
1810
2371
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -1838,6 +2399,19 @@ declare class UpdateSubscriptionConsumption extends AbstractApiRequest<typeof up
1838
2399
  autoRenewal: z.ZodBoolean;
1839
2400
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1840
2401
  customUnitPrice: z.ZodNullable<z.ZodString>;
2402
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2403
+ id: z.ZodString;
2404
+ code: z.ZodString;
2405
+ name: z.ZodString;
2406
+ type: z.ZodEnum<{
2407
+ infinite: "infinite";
2408
+ time_based: "time_based";
2409
+ consumption: "consumption";
2410
+ }>;
2411
+ isActive: z.ZodBoolean;
2412
+ isPurchasable: z.ZodBoolean;
2413
+ isAdminOnly: z.ZodBoolean;
2414
+ }, z.core.$strip>>>;
1841
2415
  createdAt: z.ZodString;
1842
2416
  updatedAt: z.ZodString;
1843
2417
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -2209,6 +2783,10 @@ declare const subscriptionPriceIriSchema: z.ZodType<_deliverart_sdk_js_global_ty
2209
2783
  type SubscriptionPriceIri = z.infer<typeof subscriptionPriceIriSchema>;
2210
2784
  declare const subscriptionPriceNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id"> | null, unknown>>;
2211
2785
  type SubscriptionPriceNullableIri = z.infer<typeof subscriptionPriceNullableIriSchema>;
2786
+ declare const subscriptionPlanIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown>>;
2787
+ type SubscriptionPlanIri = z.infer<typeof subscriptionPlanIriSchema>;
2788
+ declare const subscriptionPlanNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>;
2789
+ type SubscriptionPlanNullableIri = z.infer<typeof subscriptionPlanNullableIriSchema>;
2212
2790
  declare const subscriptionConsumptionRenewalIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/renewals/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/renewals/:id">, unknown>>;
2213
2791
  type SubscriptionConsumptionRenewalIri = z.infer<typeof subscriptionConsumptionRenewalIriSchema>;
2214
2792
  declare const subscriptionConsumptionRenewalNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/renewals/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/renewals/:id"> | null, unknown>>;
@@ -2535,6 +3113,19 @@ declare const createSubscriptionInfiniteResponseSchema: z.ZodObject<{
2535
3113
  autoRenewal: z.ZodBoolean;
2536
3114
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2537
3115
  customUnitPrice: z.ZodNullable<z.ZodString>;
3116
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3117
+ id: z.ZodString;
3118
+ code: z.ZodString;
3119
+ name: z.ZodString;
3120
+ type: z.ZodEnum<{
3121
+ infinite: "infinite";
3122
+ time_based: "time_based";
3123
+ consumption: "consumption";
3124
+ }>;
3125
+ isActive: z.ZodBoolean;
3126
+ isPurchasable: z.ZodBoolean;
3127
+ isAdminOnly: z.ZodBoolean;
3128
+ }, z.core.$strip>>>;
2538
3129
  createdAt: z.ZodString;
2539
3130
  updatedAt: z.ZodString;
2540
3131
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -2563,6 +3154,19 @@ declare class CreateSubscriptionInfinite extends AbstractApiRequest<typeof creat
2563
3154
  autoRenewal: z.ZodBoolean;
2564
3155
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2565
3156
  customUnitPrice: z.ZodNullable<z.ZodString>;
3157
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3158
+ id: z.ZodString;
3159
+ code: z.ZodString;
3160
+ name: z.ZodString;
3161
+ type: z.ZodEnum<{
3162
+ infinite: "infinite";
3163
+ time_based: "time_based";
3164
+ consumption: "consumption";
3165
+ }>;
3166
+ isActive: z.ZodBoolean;
3167
+ isPurchasable: z.ZodBoolean;
3168
+ isAdminOnly: z.ZodBoolean;
3169
+ }, z.core.$strip>>>;
2566
3170
  createdAt: z.ZodString;
2567
3171
  updatedAt: z.ZodString;
2568
3172
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -2604,6 +3208,19 @@ declare const getSubscriptionInfiniteDetailsResponseSchema: z.ZodObject<{
2604
3208
  autoRenewal: z.ZodBoolean;
2605
3209
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2606
3210
  customUnitPrice: z.ZodNullable<z.ZodString>;
3211
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3212
+ id: z.ZodString;
3213
+ code: z.ZodString;
3214
+ name: z.ZodString;
3215
+ type: z.ZodEnum<{
3216
+ infinite: "infinite";
3217
+ time_based: "time_based";
3218
+ consumption: "consumption";
3219
+ }>;
3220
+ isActive: z.ZodBoolean;
3221
+ isPurchasable: z.ZodBoolean;
3222
+ isAdminOnly: z.ZodBoolean;
3223
+ }, z.core.$strip>>>;
2607
3224
  createdAt: z.ZodString;
2608
3225
  updatedAt: z.ZodString;
2609
3226
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -2628,6 +3245,19 @@ declare class GetSubscriptionInfiniteDetails extends AbstractApiRequest<typeof g
2628
3245
  autoRenewal: z.ZodBoolean;
2629
3246
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2630
3247
  customUnitPrice: z.ZodNullable<z.ZodString>;
3248
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3249
+ id: z.ZodString;
3250
+ code: z.ZodString;
3251
+ name: z.ZodString;
3252
+ type: z.ZodEnum<{
3253
+ infinite: "infinite";
3254
+ time_based: "time_based";
3255
+ consumption: "consumption";
3256
+ }>;
3257
+ isActive: z.ZodBoolean;
3258
+ isPurchasable: z.ZodBoolean;
3259
+ isAdminOnly: z.ZodBoolean;
3260
+ }, z.core.$strip>>>;
2631
3261
  createdAt: z.ZodString;
2632
3262
  updatedAt: z.ZodString;
2633
3263
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -2663,6 +3293,19 @@ declare class GetSubscriptionInfiniteList extends AbstractApiRequest<typeof getS
2663
3293
  autoRenewal: z.ZodBoolean;
2664
3294
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2665
3295
  customUnitPrice: z.ZodNullable<z.ZodString>;
3296
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3297
+ id: z.ZodString;
3298
+ code: z.ZodString;
3299
+ name: z.ZodString;
3300
+ type: z.ZodEnum<{
3301
+ infinite: "infinite";
3302
+ time_based: "time_based";
3303
+ consumption: "consumption";
3304
+ }>;
3305
+ isActive: z.ZodBoolean;
3306
+ isPurchasable: z.ZodBoolean;
3307
+ isAdminOnly: z.ZodBoolean;
3308
+ }, z.core.$strip>>>;
2666
3309
  createdAt: z.ZodString;
2667
3310
  updatedAt: z.ZodString;
2668
3311
  type: z.ZodLiteral<"infinite">;
@@ -2698,52 +3341,666 @@ declare class GetSubscriptionInfiniteList extends AbstractApiRequest<typeof getS
2698
3341
  time_based: "time_based";
2699
3342
  consumption: "consumption";
2700
3343
  }>>;
2701
- autoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
2702
- 'exists[customUnitPrice]': z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
2703
- 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
2704
- asc: "asc";
2705
- desc: "desc";
2706
- }>>;
2707
- 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
2708
- asc: "asc";
2709
- desc: "desc";
2710
- }>>;
2711
- 'startsAt[before]': z.ZodOptional<z.ZodString>;
2712
- 'startsAt[strictly_before]': z.ZodOptional<z.ZodString>;
2713
- 'startsAt[after]': z.ZodOptional<z.ZodString>;
2714
- 'startsAt[strictly_after]': z.ZodOptional<z.ZodString>;
2715
- page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2716
- 'createdAt[before]': z.ZodOptional<z.ZodString>;
2717
- 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
2718
- 'createdAt[after]': z.ZodOptional<z.ZodString>;
2719
- 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
2720
- 'updatedAt[before]': z.ZodOptional<z.ZodString>;
2721
- 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
2722
- 'updatedAt[after]': z.ZodOptional<z.ZodString>;
2723
- 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
3344
+ autoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
3345
+ 'exists[customUnitPrice]': z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
3346
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
3347
+ asc: "asc";
3348
+ desc: "desc";
3349
+ }>>;
3350
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
3351
+ asc: "asc";
3352
+ desc: "desc";
3353
+ }>>;
3354
+ 'startsAt[before]': z.ZodOptional<z.ZodString>;
3355
+ 'startsAt[strictly_before]': z.ZodOptional<z.ZodString>;
3356
+ 'startsAt[after]': z.ZodOptional<z.ZodString>;
3357
+ 'startsAt[strictly_after]': z.ZodOptional<z.ZodString>;
3358
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
3359
+ 'createdAt[before]': z.ZodOptional<z.ZodString>;
3360
+ 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
3361
+ 'createdAt[after]': z.ZodOptional<z.ZodString>;
3362
+ 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
3363
+ 'updatedAt[before]': z.ZodOptional<z.ZodString>;
3364
+ 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
3365
+ 'updatedAt[after]': z.ZodOptional<z.ZodString>;
3366
+ 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
3367
+ }, z.core.$strip>;
3368
+ readonly headersSchema: undefined;
3369
+ readonly listItemSchema: z.ZodObject<{
3370
+ id: z.ZodString;
3371
+ status: z.ZodEnum<{
3372
+ created: "created";
3373
+ active: "active";
3374
+ pending_renewal: "pending_renewal";
3375
+ expired: "expired";
3376
+ suspended: "suspended";
3377
+ cancelled: "cancelled";
3378
+ }>;
3379
+ autoRenewal: z.ZodBoolean;
3380
+ startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3381
+ customUnitPrice: z.ZodNullable<z.ZodString>;
3382
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3383
+ id: z.ZodString;
3384
+ code: z.ZodString;
3385
+ name: z.ZodString;
3386
+ type: z.ZodEnum<{
3387
+ infinite: "infinite";
3388
+ time_based: "time_based";
3389
+ consumption: "consumption";
3390
+ }>;
3391
+ isActive: z.ZodBoolean;
3392
+ isPurchasable: z.ZodBoolean;
3393
+ isAdminOnly: z.ZodBoolean;
3394
+ }, z.core.$strip>>>;
3395
+ createdAt: z.ZodString;
3396
+ updatedAt: z.ZodString;
3397
+ type: z.ZodLiteral<"infinite">;
3398
+ }, z.core.$strip>;
3399
+ readonly paginationDefaultEnabled = true;
3400
+ constructor(options?: {
3401
+ query?: GetSubscriptionInfiniteListQueryParams;
3402
+ });
3403
+ getPath(): string;
3404
+ }
3405
+
3406
+ declare const createSubscriptionPlanInputSchema: z.ZodObject<{
3407
+ code: z.ZodNonOptional<z.ZodString>;
3408
+ name: z.ZodNonOptional<z.ZodString>;
3409
+ description: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
3410
+ type: z.ZodNonOptional<z.ZodEnum<{
3411
+ infinite: "infinite";
3412
+ time_based: "time_based";
3413
+ consumption: "consumption";
3414
+ }>>;
3415
+ isActive: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
3416
+ isPurchasable: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
3417
+ isAdminOnly: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
3418
+ defaultAutoRenewal: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
3419
+ includedCredits: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3420
+ renewalCredits: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3421
+ renewalThreshold: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3422
+ durationDays: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3423
+ renewalDays: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3424
+ renewalOffsetDays: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3425
+ operationCosts: z.ZodNonOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>>>;
3426
+ }, z.core.$strip>;
3427
+ type CreateSubscriptionPlanInput = z.input<typeof createSubscriptionPlanInputSchema>;
3428
+ declare const createSubscriptionPlanResponseSchema: z.ZodObject<{
3429
+ id: z.ZodString;
3430
+ code: z.ZodString;
3431
+ name: z.ZodString;
3432
+ description: z.ZodNullable<z.ZodString>;
3433
+ type: z.ZodEnum<{
3434
+ infinite: "infinite";
3435
+ time_based: "time_based";
3436
+ consumption: "consumption";
3437
+ }>;
3438
+ isActive: z.ZodBoolean;
3439
+ isPurchasable: z.ZodBoolean;
3440
+ isAdminOnly: z.ZodBoolean;
3441
+ defaultAutoRenewal: z.ZodBoolean;
3442
+ includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3443
+ renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3444
+ renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3445
+ durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3446
+ renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3447
+ renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3448
+ operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
3449
+ priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
3450
+ id: z.ZodString;
3451
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
3452
+ threshold: z.ZodCoercedNumber<unknown>;
3453
+ unitPrice: z.ZodString;
3454
+ }, z.core.$strip>>>;
3455
+ createdAt: z.ZodString;
3456
+ updatedAt: z.ZodString;
3457
+ }, z.core.$strip>;
3458
+ type CreateSubscriptionPlanResponse = z.infer<typeof createSubscriptionPlanResponseSchema>;
3459
+ declare class CreateSubscriptionPlan extends AbstractApiRequest<typeof createSubscriptionPlanInputSchema, typeof createSubscriptionPlanResponseSchema> {
3460
+ readonly method: "POST";
3461
+ readonly contentType: "application/json";
3462
+ readonly accept: "application/json";
3463
+ readonly inputSchema: z.ZodObject<{
3464
+ code: z.ZodNonOptional<z.ZodString>;
3465
+ name: z.ZodNonOptional<z.ZodString>;
3466
+ description: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
3467
+ type: z.ZodNonOptional<z.ZodEnum<{
3468
+ infinite: "infinite";
3469
+ time_based: "time_based";
3470
+ consumption: "consumption";
3471
+ }>>;
3472
+ isActive: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
3473
+ isPurchasable: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
3474
+ isAdminOnly: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
3475
+ defaultAutoRenewal: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
3476
+ includedCredits: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3477
+ renewalCredits: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3478
+ renewalThreshold: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3479
+ durationDays: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3480
+ renewalDays: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3481
+ renewalOffsetDays: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3482
+ operationCosts: z.ZodNonOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>>>;
3483
+ }, z.core.$strip>;
3484
+ readonly outputSchema: z.ZodObject<{
3485
+ id: z.ZodString;
3486
+ code: z.ZodString;
3487
+ name: z.ZodString;
3488
+ description: z.ZodNullable<z.ZodString>;
3489
+ type: z.ZodEnum<{
3490
+ infinite: "infinite";
3491
+ time_based: "time_based";
3492
+ consumption: "consumption";
3493
+ }>;
3494
+ isActive: z.ZodBoolean;
3495
+ isPurchasable: z.ZodBoolean;
3496
+ isAdminOnly: z.ZodBoolean;
3497
+ defaultAutoRenewal: z.ZodBoolean;
3498
+ includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3499
+ renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3500
+ renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3501
+ durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3502
+ renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3503
+ renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3504
+ operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
3505
+ priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
3506
+ id: z.ZodString;
3507
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
3508
+ threshold: z.ZodCoercedNumber<unknown>;
3509
+ unitPrice: z.ZodString;
3510
+ }, z.core.$strip>>>;
3511
+ createdAt: z.ZodString;
3512
+ updatedAt: z.ZodString;
3513
+ }, z.core.$strip>;
3514
+ readonly querySchema: undefined;
3515
+ readonly headersSchema: undefined;
3516
+ constructor(input: CreateSubscriptionPlanInput);
3517
+ getPath(): string;
3518
+ }
3519
+
3520
+ declare const deleteSubscriptionPlanInputSchema: z.ZodUndefined;
3521
+ type DeleteSubscriptionPlanInput = z.input<typeof deleteSubscriptionPlanInputSchema>;
3522
+ declare const deleteSubscriptionPlanResponseSchema: z.ZodUndefined;
3523
+ type DeleteSubscriptionPlanResponse = z.infer<typeof deleteSubscriptionPlanResponseSchema>;
3524
+ declare class DeleteSubscriptionPlan extends AbstractApiRequest<typeof deleteSubscriptionPlanInputSchema, typeof deleteSubscriptionPlanResponseSchema> {
3525
+ readonly method: "DELETE";
3526
+ readonly contentType: "application/json";
3527
+ readonly accept: "application/json";
3528
+ readonly inputSchema: z.ZodUndefined;
3529
+ readonly outputSchema: z.ZodUndefined;
3530
+ readonly querySchema: undefined;
3531
+ readonly headersSchema: undefined;
3532
+ private readonly subscriptionPlanId;
3533
+ constructor(subscriptionPlanId: string);
3534
+ getPath(): string;
3535
+ }
3536
+
3537
+ declare const getSubscriptionPlanCatalogInputSchema: z.ZodUndefined;
3538
+ type GetSubscriptionPlanCatalogInput = z.input<typeof getSubscriptionPlanCatalogInputSchema>;
3539
+ type GetSubscriptionPlanCatalogResponse = z.infer<typeof getSubscriptionPlanCatalogResponseSchema>;
3540
+ declare class GetSubscriptionPlanCatalog extends AbstractApiRequest<typeof getSubscriptionPlanCatalogInputSchema, typeof getSubscriptionPlanCatalogResponseSchema> {
3541
+ readonly method: "GET";
3542
+ readonly contentType: "application/json";
3543
+ readonly accept: "application/json";
3544
+ readonly inputSchema: z.ZodUndefined;
3545
+ readonly outputSchema: z.ZodArray<z.ZodObject<{
3546
+ id: z.ZodString;
3547
+ code: z.ZodString;
3548
+ name: z.ZodString;
3549
+ description: z.ZodNullable<z.ZodString>;
3550
+ type: z.ZodEnum<{
3551
+ infinite: "infinite";
3552
+ time_based: "time_based";
3553
+ consumption: "consumption";
3554
+ }>;
3555
+ isActive: z.ZodBoolean;
3556
+ isPurchasable: z.ZodBoolean;
3557
+ isAdminOnly: z.ZodBoolean;
3558
+ defaultAutoRenewal: z.ZodBoolean;
3559
+ includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3560
+ renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3561
+ renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3562
+ durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3563
+ renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3564
+ renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3565
+ operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
3566
+ priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
3567
+ id: z.ZodString;
3568
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
3569
+ threshold: z.ZodCoercedNumber<unknown>;
3570
+ unitPrice: z.ZodString;
3571
+ }, z.core.$strip>>>;
3572
+ createdAt: z.ZodString;
3573
+ updatedAt: z.ZodString;
3574
+ }, z.core.$strip>>;
3575
+ readonly querySchema: undefined;
3576
+ readonly headersSchema: undefined;
3577
+ readonly listItemSchema: z.ZodObject<{
3578
+ id: z.ZodString;
3579
+ code: z.ZodString;
3580
+ name: z.ZodString;
3581
+ description: z.ZodNullable<z.ZodString>;
3582
+ type: z.ZodEnum<{
3583
+ infinite: "infinite";
3584
+ time_based: "time_based";
3585
+ consumption: "consumption";
3586
+ }>;
3587
+ isActive: z.ZodBoolean;
3588
+ isPurchasable: z.ZodBoolean;
3589
+ isAdminOnly: z.ZodBoolean;
3590
+ defaultAutoRenewal: z.ZodBoolean;
3591
+ includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3592
+ renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3593
+ renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3594
+ durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3595
+ renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3596
+ renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3597
+ operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
3598
+ priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
3599
+ id: z.ZodString;
3600
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
3601
+ threshold: z.ZodCoercedNumber<unknown>;
3602
+ unitPrice: z.ZodString;
3603
+ }, z.core.$strip>>>;
3604
+ createdAt: z.ZodString;
3605
+ updatedAt: z.ZodString;
3606
+ }, z.core.$strip>;
3607
+ readonly paginationDefaultEnabled = false;
3608
+ constructor();
3609
+ getPath(): string;
3610
+ }
3611
+
3612
+ declare const getSubscriptionPlanCatalogDetailsInputSchema: z.ZodUndefined;
3613
+ type GetSubscriptionPlanCatalogDetailsInput = z.input<typeof getSubscriptionPlanCatalogDetailsInputSchema>;
3614
+ declare const getSubscriptionPlanCatalogDetailsResponseSchema: z.ZodObject<{
3615
+ id: z.ZodString;
3616
+ code: z.ZodString;
3617
+ name: z.ZodString;
3618
+ description: z.ZodNullable<z.ZodString>;
3619
+ type: z.ZodEnum<{
3620
+ infinite: "infinite";
3621
+ time_based: "time_based";
3622
+ consumption: "consumption";
3623
+ }>;
3624
+ isActive: z.ZodBoolean;
3625
+ isPurchasable: z.ZodBoolean;
3626
+ isAdminOnly: z.ZodBoolean;
3627
+ defaultAutoRenewal: z.ZodBoolean;
3628
+ includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3629
+ renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3630
+ renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3631
+ durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3632
+ renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3633
+ renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3634
+ operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
3635
+ priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
3636
+ id: z.ZodString;
3637
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
3638
+ threshold: z.ZodCoercedNumber<unknown>;
3639
+ unitPrice: z.ZodString;
3640
+ }, z.core.$strip>>>;
3641
+ createdAt: z.ZodString;
3642
+ updatedAt: z.ZodString;
3643
+ }, z.core.$strip>;
3644
+ type GetSubscriptionPlanCatalogDetailsResponse = z.infer<typeof getSubscriptionPlanCatalogDetailsResponseSchema>;
3645
+ declare class GetSubscriptionPlanCatalogDetails extends AbstractApiRequest<typeof getSubscriptionPlanCatalogDetailsInputSchema, typeof getSubscriptionPlanCatalogDetailsResponseSchema> {
3646
+ readonly method: "GET";
3647
+ readonly contentType: "application/json";
3648
+ readonly accept: "application/json";
3649
+ readonly inputSchema: z.ZodUndefined;
3650
+ readonly outputSchema: z.ZodObject<{
3651
+ id: z.ZodString;
3652
+ code: z.ZodString;
3653
+ name: z.ZodString;
3654
+ description: z.ZodNullable<z.ZodString>;
3655
+ type: z.ZodEnum<{
3656
+ infinite: "infinite";
3657
+ time_based: "time_based";
3658
+ consumption: "consumption";
3659
+ }>;
3660
+ isActive: z.ZodBoolean;
3661
+ isPurchasable: z.ZodBoolean;
3662
+ isAdminOnly: z.ZodBoolean;
3663
+ defaultAutoRenewal: z.ZodBoolean;
3664
+ includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3665
+ renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3666
+ renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3667
+ durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3668
+ renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3669
+ renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3670
+ operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
3671
+ priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
3672
+ id: z.ZodString;
3673
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
3674
+ threshold: z.ZodCoercedNumber<unknown>;
3675
+ unitPrice: z.ZodString;
3676
+ }, z.core.$strip>>>;
3677
+ createdAt: z.ZodString;
3678
+ updatedAt: z.ZodString;
3679
+ }, z.core.$strip>;
3680
+ readonly querySchema: undefined;
3681
+ readonly headersSchema: undefined;
3682
+ private readonly subscriptionPlanId;
3683
+ constructor(subscriptionPlanId: string);
3684
+ getPath(): string;
3685
+ }
3686
+
3687
+ declare const getSubscriptionPlanDetailsInputSchema: z.ZodUndefined;
3688
+ type GetSubscriptionPlanDetailsInput = z.input<typeof getSubscriptionPlanDetailsInputSchema>;
3689
+ declare const getSubscriptionPlanDetailsResponseSchema: z.ZodObject<{
3690
+ id: z.ZodString;
3691
+ code: z.ZodString;
3692
+ name: z.ZodString;
3693
+ description: z.ZodNullable<z.ZodString>;
3694
+ type: z.ZodEnum<{
3695
+ infinite: "infinite";
3696
+ time_based: "time_based";
3697
+ consumption: "consumption";
3698
+ }>;
3699
+ isActive: z.ZodBoolean;
3700
+ isPurchasable: z.ZodBoolean;
3701
+ isAdminOnly: z.ZodBoolean;
3702
+ defaultAutoRenewal: z.ZodBoolean;
3703
+ includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3704
+ renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3705
+ renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3706
+ durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3707
+ renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3708
+ renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3709
+ operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
3710
+ priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
3711
+ id: z.ZodString;
3712
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
3713
+ threshold: z.ZodCoercedNumber<unknown>;
3714
+ unitPrice: z.ZodString;
3715
+ }, z.core.$strip>>>;
3716
+ createdAt: z.ZodString;
3717
+ updatedAt: z.ZodString;
3718
+ }, z.core.$strip>;
3719
+ type GetSubscriptionPlanDetailsResponse = z.infer<typeof getSubscriptionPlanDetailsResponseSchema>;
3720
+ declare class GetSubscriptionPlanDetails extends AbstractApiRequest<typeof getSubscriptionPlanDetailsInputSchema, typeof getSubscriptionPlanDetailsResponseSchema> {
3721
+ readonly method: "GET";
3722
+ readonly contentType: "application/json";
3723
+ readonly accept: "application/json";
3724
+ readonly inputSchema: z.ZodUndefined;
3725
+ readonly outputSchema: z.ZodObject<{
3726
+ id: z.ZodString;
3727
+ code: z.ZodString;
3728
+ name: z.ZodString;
3729
+ description: z.ZodNullable<z.ZodString>;
3730
+ type: z.ZodEnum<{
3731
+ infinite: "infinite";
3732
+ time_based: "time_based";
3733
+ consumption: "consumption";
3734
+ }>;
3735
+ isActive: z.ZodBoolean;
3736
+ isPurchasable: z.ZodBoolean;
3737
+ isAdminOnly: z.ZodBoolean;
3738
+ defaultAutoRenewal: z.ZodBoolean;
3739
+ includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3740
+ renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3741
+ renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3742
+ durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3743
+ renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3744
+ renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3745
+ operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
3746
+ priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
3747
+ id: z.ZodString;
3748
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
3749
+ threshold: z.ZodCoercedNumber<unknown>;
3750
+ unitPrice: z.ZodString;
3751
+ }, z.core.$strip>>>;
3752
+ createdAt: z.ZodString;
3753
+ updatedAt: z.ZodString;
3754
+ }, z.core.$strip>;
3755
+ readonly querySchema: undefined;
3756
+ readonly headersSchema: undefined;
3757
+ private readonly subscriptionPlanId;
3758
+ constructor(subscriptionPlanId: string);
3759
+ getPath(): string;
3760
+ }
3761
+
3762
+ type GetSubscriptionPlansQueryParams = SubscriptionPlansQueryParams;
3763
+ declare const getSubscriptionPlansInputSchema: z.ZodUndefined;
3764
+ type GetSubscriptionPlansInput = z.input<typeof getSubscriptionPlansInputSchema>;
3765
+ type GetSubscriptionPlansResponse = z.infer<typeof getSubscriptionPlansResponseSchema>;
3766
+ declare class GetSubscriptionPlans extends AbstractApiRequest<typeof getSubscriptionPlansInputSchema, typeof getSubscriptionPlansResponseSchema, GetSubscriptionPlansQueryParams> {
3767
+ readonly method: "GET";
3768
+ readonly contentType: "application/json";
3769
+ readonly accept: "application/json";
3770
+ readonly inputSchema: z.ZodUndefined;
3771
+ readonly outputSchema: z.ZodObject<{
3772
+ data: z.ZodArray<z.ZodObject<{
3773
+ id: z.ZodString;
3774
+ code: z.ZodString;
3775
+ name: z.ZodString;
3776
+ description: z.ZodNullable<z.ZodString>;
3777
+ type: z.ZodEnum<{
3778
+ infinite: "infinite";
3779
+ time_based: "time_based";
3780
+ consumption: "consumption";
3781
+ }>;
3782
+ isActive: z.ZodBoolean;
3783
+ isPurchasable: z.ZodBoolean;
3784
+ isAdminOnly: z.ZodBoolean;
3785
+ defaultAutoRenewal: z.ZodBoolean;
3786
+ includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3787
+ renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3788
+ renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3789
+ durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3790
+ renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3791
+ renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3792
+ operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
3793
+ priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
3794
+ id: z.ZodString;
3795
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
3796
+ threshold: z.ZodCoercedNumber<unknown>;
3797
+ unitPrice: z.ZodString;
3798
+ }, z.core.$strip>>>;
3799
+ createdAt: z.ZodString;
3800
+ updatedAt: z.ZodString;
3801
+ }, z.core.$strip>>;
3802
+ pagination: z.ZodObject<{
3803
+ from: z.ZodCoercedNumber<unknown>;
3804
+ to: z.ZodCoercedNumber<unknown>;
3805
+ itemsPerPage: z.ZodCoercedNumber<unknown>;
3806
+ totalItems: z.ZodCoercedNumber<unknown>;
3807
+ currentPage: z.ZodCoercedNumber<unknown>;
3808
+ lastPage: z.ZodCoercedNumber<unknown>;
3809
+ }, z.core.$strip>;
3810
+ }, z.core.$strip>;
3811
+ readonly querySchema: z.ZodObject<{
3812
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
3813
+ code: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
3814
+ name: z.ZodOptional<z.ZodString>;
3815
+ type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3816
+ infinite: "infinite";
3817
+ time_based: "time_based";
3818
+ consumption: "consumption";
3819
+ }>, z.ZodArray<z.ZodEnum<{
3820
+ infinite: "infinite";
3821
+ time_based: "time_based";
3822
+ consumption: "consumption";
3823
+ }>>]>>;
3824
+ isActive: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
3825
+ isPurchasable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
3826
+ isAdminOnly: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
3827
+ defaultAutoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
3828
+ 'order[name]': z.ZodOptional<z.ZodEnum<{
3829
+ asc: "asc";
3830
+ desc: "desc";
3831
+ }>>;
3832
+ 'order[code]': z.ZodOptional<z.ZodEnum<{
3833
+ asc: "asc";
3834
+ desc: "desc";
3835
+ }>>;
3836
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
3837
+ asc: "asc";
3838
+ desc: "desc";
3839
+ }>>;
3840
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
3841
+ asc: "asc";
3842
+ desc: "desc";
3843
+ }>>;
3844
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
3845
+ 'createdAt[before]': z.ZodOptional<z.ZodString>;
3846
+ 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
3847
+ 'createdAt[after]': z.ZodOptional<z.ZodString>;
3848
+ 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
3849
+ 'updatedAt[before]': z.ZodOptional<z.ZodString>;
3850
+ 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
3851
+ 'updatedAt[after]': z.ZodOptional<z.ZodString>;
3852
+ 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
3853
+ }, z.core.$strip>;
3854
+ readonly headersSchema: undefined;
3855
+ readonly listItemSchema: z.ZodObject<{
3856
+ id: z.ZodString;
3857
+ code: z.ZodString;
3858
+ name: z.ZodString;
3859
+ description: z.ZodNullable<z.ZodString>;
3860
+ type: z.ZodEnum<{
3861
+ infinite: "infinite";
3862
+ time_based: "time_based";
3863
+ consumption: "consumption";
3864
+ }>;
3865
+ isActive: z.ZodBoolean;
3866
+ isPurchasable: z.ZodBoolean;
3867
+ isAdminOnly: z.ZodBoolean;
3868
+ defaultAutoRenewal: z.ZodBoolean;
3869
+ includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3870
+ renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3871
+ renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3872
+ durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3873
+ renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3874
+ renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3875
+ operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
3876
+ priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
3877
+ id: z.ZodString;
3878
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
3879
+ threshold: z.ZodCoercedNumber<unknown>;
3880
+ unitPrice: z.ZodString;
3881
+ }, z.core.$strip>>>;
3882
+ createdAt: z.ZodString;
3883
+ updatedAt: z.ZodString;
3884
+ }, z.core.$strip>;
3885
+ readonly paginationDefaultEnabled = true;
3886
+ constructor(options?: {
3887
+ query?: GetSubscriptionPlansQueryParams;
3888
+ });
3889
+ getPath(): string;
3890
+ }
3891
+
3892
+ declare const updateSubscriptionPlanInputSchema: z.ZodObject<{
3893
+ code: z.ZodOptional<z.ZodString>;
3894
+ name: z.ZodOptional<z.ZodString>;
3895
+ description: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
3896
+ type: z.ZodOptional<z.ZodEnum<{
3897
+ infinite: "infinite";
3898
+ time_based: "time_based";
3899
+ consumption: "consumption";
3900
+ }>>;
3901
+ isActive: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3902
+ isPurchasable: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3903
+ isAdminOnly: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3904
+ defaultAutoRenewal: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3905
+ includedCredits: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3906
+ renewalCredits: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3907
+ renewalThreshold: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3908
+ durationDays: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3909
+ renewalDays: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3910
+ renewalOffsetDays: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3911
+ operationCosts: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>>>;
3912
+ }, z.core.$strip>;
3913
+ type UpdateSubscriptionPlanInput = z.input<typeof updateSubscriptionPlanInputSchema>;
3914
+ declare const updateSubscriptionPlanResponseSchema: z.ZodObject<{
3915
+ id: z.ZodString;
3916
+ code: z.ZodString;
3917
+ name: z.ZodString;
3918
+ description: z.ZodNullable<z.ZodString>;
3919
+ type: z.ZodEnum<{
3920
+ infinite: "infinite";
3921
+ time_based: "time_based";
3922
+ consumption: "consumption";
3923
+ }>;
3924
+ isActive: z.ZodBoolean;
3925
+ isPurchasable: z.ZodBoolean;
3926
+ isAdminOnly: z.ZodBoolean;
3927
+ defaultAutoRenewal: z.ZodBoolean;
3928
+ includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3929
+ renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3930
+ renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3931
+ durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3932
+ renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3933
+ renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3934
+ operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
3935
+ priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
3936
+ id: z.ZodString;
3937
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
3938
+ threshold: z.ZodCoercedNumber<unknown>;
3939
+ unitPrice: z.ZodString;
3940
+ }, z.core.$strip>>>;
3941
+ createdAt: z.ZodString;
3942
+ updatedAt: z.ZodString;
3943
+ }, z.core.$strip>;
3944
+ type UpdateSubscriptionPlanResponse = z.infer<typeof updateSubscriptionPlanResponseSchema>;
3945
+ declare class UpdateSubscriptionPlan extends AbstractApiRequest<typeof updateSubscriptionPlanInputSchema, typeof updateSubscriptionPlanResponseSchema> {
3946
+ readonly method: "PATCH";
3947
+ readonly contentType: "application/merge-patch+json";
3948
+ readonly accept: "application/json";
3949
+ readonly inputSchema: z.ZodObject<{
3950
+ code: z.ZodOptional<z.ZodString>;
3951
+ name: z.ZodOptional<z.ZodString>;
3952
+ description: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
3953
+ type: z.ZodOptional<z.ZodEnum<{
3954
+ infinite: "infinite";
3955
+ time_based: "time_based";
3956
+ consumption: "consumption";
3957
+ }>>;
3958
+ isActive: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3959
+ isPurchasable: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3960
+ isAdminOnly: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3961
+ defaultAutoRenewal: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3962
+ includedCredits: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3963
+ renewalCredits: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3964
+ renewalThreshold: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3965
+ durationDays: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3966
+ renewalDays: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3967
+ renewalOffsetDays: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
3968
+ operationCosts: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>>>;
2724
3969
  }, z.core.$strip>;
2725
- readonly headersSchema: undefined;
2726
- readonly listItemSchema: z.ZodObject<{
3970
+ readonly outputSchema: z.ZodObject<{
2727
3971
  id: z.ZodString;
2728
- status: z.ZodEnum<{
2729
- created: "created";
2730
- active: "active";
2731
- pending_renewal: "pending_renewal";
2732
- expired: "expired";
2733
- suspended: "suspended";
2734
- cancelled: "cancelled";
3972
+ code: z.ZodString;
3973
+ name: z.ZodString;
3974
+ description: z.ZodNullable<z.ZodString>;
3975
+ type: z.ZodEnum<{
3976
+ infinite: "infinite";
3977
+ time_based: "time_based";
3978
+ consumption: "consumption";
2735
3979
  }>;
2736
- autoRenewal: z.ZodBoolean;
2737
- startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2738
- customUnitPrice: z.ZodNullable<z.ZodString>;
3980
+ isActive: z.ZodBoolean;
3981
+ isPurchasable: z.ZodBoolean;
3982
+ isAdminOnly: z.ZodBoolean;
3983
+ defaultAutoRenewal: z.ZodBoolean;
3984
+ includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3985
+ renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3986
+ renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3987
+ durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3988
+ renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3989
+ renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3990
+ operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
3991
+ priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
3992
+ id: z.ZodString;
3993
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
3994
+ threshold: z.ZodCoercedNumber<unknown>;
3995
+ unitPrice: z.ZodString;
3996
+ }, z.core.$strip>>>;
2739
3997
  createdAt: z.ZodString;
2740
3998
  updatedAt: z.ZodString;
2741
- type: z.ZodLiteral<"infinite">;
2742
3999
  }, z.core.$strip>;
2743
- readonly paginationDefaultEnabled = true;
2744
- constructor(options?: {
2745
- query?: GetSubscriptionInfiniteListQueryParams;
2746
- });
4000
+ readonly querySchema: undefined;
4001
+ readonly headersSchema: undefined;
4002
+ private readonly subscriptionPlanId;
4003
+ constructor(subscriptionPlanId: string, input: UpdateSubscriptionPlanInput);
2747
4004
  getPath(): string;
2748
4005
  }
2749
4006
 
@@ -2753,6 +4010,7 @@ declare const createSubscriptionPriceInputSchema: z.ZodObject<{
2753
4010
  time_based: "time_based";
2754
4011
  consumption: "consumption";
2755
4012
  }>>;
4013
+ plan: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>>;
2756
4014
  threshold: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
2757
4015
  unitPrice: z.ZodNonOptional<z.ZodString>;
2758
4016
  }, z.core.$strip>;
@@ -2764,6 +4022,7 @@ declare const createSubscriptionPriceResponseSchema: z.ZodObject<{
2764
4022
  time_based: "time_based";
2765
4023
  consumption: "consumption";
2766
4024
  }>;
4025
+ plan: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>;
2767
4026
  threshold: z.ZodCoercedNumber<unknown>;
2768
4027
  unitPrice: z.ZodString;
2769
4028
  createdAt: z.ZodString;
@@ -2780,6 +4039,7 @@ declare class CreateSubscriptionPrice extends AbstractApiRequest<typeof createSu
2780
4039
  time_based: "time_based";
2781
4040
  consumption: "consumption";
2782
4041
  }>>;
4042
+ plan: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>>;
2783
4043
  threshold: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
2784
4044
  unitPrice: z.ZodNonOptional<z.ZodString>;
2785
4045
  }, z.core.$strip>;
@@ -2790,6 +4050,7 @@ declare class CreateSubscriptionPrice extends AbstractApiRequest<typeof createSu
2790
4050
  time_based: "time_based";
2791
4051
  consumption: "consumption";
2792
4052
  }>;
4053
+ plan: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>;
2793
4054
  threshold: z.ZodCoercedNumber<unknown>;
2794
4055
  unitPrice: z.ZodString;
2795
4056
  createdAt: z.ZodString;
@@ -2825,6 +4086,7 @@ declare const getSubscriptionPriceDetailsResponseSchema: z.ZodObject<{
2825
4086
  time_based: "time_based";
2826
4087
  consumption: "consumption";
2827
4088
  }>;
4089
+ plan: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>;
2828
4090
  threshold: z.ZodCoercedNumber<unknown>;
2829
4091
  unitPrice: z.ZodString;
2830
4092
  createdAt: z.ZodString;
@@ -2843,6 +4105,7 @@ declare class GetSubscriptionPriceDetails extends AbstractApiRequest<typeof getS
2843
4105
  time_based: "time_based";
2844
4106
  consumption: "consumption";
2845
4107
  }>;
4108
+ plan: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>;
2846
4109
  threshold: z.ZodCoercedNumber<unknown>;
2847
4110
  unitPrice: z.ZodString;
2848
4111
  createdAt: z.ZodString;
@@ -2872,6 +4135,7 @@ declare class GetSubscriptionPrices extends AbstractApiRequest<typeof getSubscri
2872
4135
  time_based: "time_based";
2873
4136
  consumption: "consumption";
2874
4137
  }>;
4138
+ plan: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>;
2875
4139
  threshold: z.ZodCoercedNumber<unknown>;
2876
4140
  unitPrice: z.ZodString;
2877
4141
  createdAt: z.ZodString;
@@ -2897,6 +4161,8 @@ declare class GetSubscriptionPrices extends AbstractApiRequest<typeof getSubscri
2897
4161
  time_based: "time_based";
2898
4162
  consumption: "consumption";
2899
4163
  }>>]>>;
4164
+ 'plan.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
4165
+ 'plan.code': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
2900
4166
  'threshold[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2901
4167
  'threshold[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2902
4168
  'threshold[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
@@ -2937,6 +4203,7 @@ declare class GetSubscriptionPrices extends AbstractApiRequest<typeof getSubscri
2937
4203
  time_based: "time_based";
2938
4204
  consumption: "consumption";
2939
4205
  }>;
4206
+ plan: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>;
2940
4207
  threshold: z.ZodCoercedNumber<unknown>;
2941
4208
  unitPrice: z.ZodString;
2942
4209
  createdAt: z.ZodString;
@@ -2955,6 +4222,7 @@ declare const updateSubscriptionPriceInputSchema: z.ZodObject<{
2955
4222
  time_based: "time_based";
2956
4223
  consumption: "consumption";
2957
4224
  }>>;
4225
+ plan: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>>;
2958
4226
  threshold: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2959
4227
  unitPrice: z.ZodOptional<z.ZodString>;
2960
4228
  }, z.core.$strip>;
@@ -2966,6 +4234,7 @@ declare const updateSubscriptionPriceResponseSchema: z.ZodObject<{
2966
4234
  time_based: "time_based";
2967
4235
  consumption: "consumption";
2968
4236
  }>;
4237
+ plan: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>;
2969
4238
  threshold: z.ZodCoercedNumber<unknown>;
2970
4239
  unitPrice: z.ZodString;
2971
4240
  createdAt: z.ZodString;
@@ -2982,6 +4251,7 @@ declare class UpdateSubscriptionPrice extends AbstractApiRequest<typeof updateSu
2982
4251
  time_based: "time_based";
2983
4252
  consumption: "consumption";
2984
4253
  }>>;
4254
+ plan: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>>;
2985
4255
  threshold: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2986
4256
  unitPrice: z.ZodOptional<z.ZodString>;
2987
4257
  }, z.core.$strip>;
@@ -2992,6 +4262,7 @@ declare class UpdateSubscriptionPrice extends AbstractApiRequest<typeof updateSu
2992
4262
  time_based: "time_based";
2993
4263
  consumption: "consumption";
2994
4264
  }>;
4265
+ plan: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>;
2995
4266
  threshold: z.ZodCoercedNumber<unknown>;
2996
4267
  unitPrice: z.ZodString;
2997
4268
  createdAt: z.ZodString;
@@ -3026,6 +4297,19 @@ declare const createSubscriptionTimeBasedResponseSchema: z.ZodObject<{
3026
4297
  autoRenewal: z.ZodBoolean;
3027
4298
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3028
4299
  customUnitPrice: z.ZodNullable<z.ZodString>;
4300
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4301
+ id: z.ZodString;
4302
+ code: z.ZodString;
4303
+ name: z.ZodString;
4304
+ type: z.ZodEnum<{
4305
+ infinite: "infinite";
4306
+ time_based: "time_based";
4307
+ consumption: "consumption";
4308
+ }>;
4309
+ isActive: z.ZodBoolean;
4310
+ isPurchasable: z.ZodBoolean;
4311
+ isAdminOnly: z.ZodBoolean;
4312
+ }, z.core.$strip>>>;
3029
4313
  createdAt: z.ZodString;
3030
4314
  updatedAt: z.ZodString;
3031
4315
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -3061,6 +4345,19 @@ declare class CreateSubscriptionTimeBased extends AbstractApiRequest<typeof crea
3061
4345
  autoRenewal: z.ZodBoolean;
3062
4346
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3063
4347
  customUnitPrice: z.ZodNullable<z.ZodString>;
4348
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4349
+ id: z.ZodString;
4350
+ code: z.ZodString;
4351
+ name: z.ZodString;
4352
+ type: z.ZodEnum<{
4353
+ infinite: "infinite";
4354
+ time_based: "time_based";
4355
+ consumption: "consumption";
4356
+ }>;
4357
+ isActive: z.ZodBoolean;
4358
+ isPurchasable: z.ZodBoolean;
4359
+ isAdminOnly: z.ZodBoolean;
4360
+ }, z.core.$strip>>>;
3064
4361
  createdAt: z.ZodString;
3065
4362
  updatedAt: z.ZodString;
3066
4363
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -3106,6 +4403,19 @@ declare const getSubscriptionTimeBasedDetailsResponseSchema: z.ZodObject<{
3106
4403
  autoRenewal: z.ZodBoolean;
3107
4404
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3108
4405
  customUnitPrice: z.ZodNullable<z.ZodString>;
4406
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4407
+ id: z.ZodString;
4408
+ code: z.ZodString;
4409
+ name: z.ZodString;
4410
+ type: z.ZodEnum<{
4411
+ infinite: "infinite";
4412
+ time_based: "time_based";
4413
+ consumption: "consumption";
4414
+ }>;
4415
+ isActive: z.ZodBoolean;
4416
+ isPurchasable: z.ZodBoolean;
4417
+ isAdminOnly: z.ZodBoolean;
4418
+ }, z.core.$strip>>>;
3109
4419
  createdAt: z.ZodString;
3110
4420
  updatedAt: z.ZodString;
3111
4421
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -3134,6 +4444,19 @@ declare class GetSubscriptionTimeBasedDetails extends AbstractApiRequest<typeof
3134
4444
  autoRenewal: z.ZodBoolean;
3135
4445
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3136
4446
  customUnitPrice: z.ZodNullable<z.ZodString>;
4447
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4448
+ id: z.ZodString;
4449
+ code: z.ZodString;
4450
+ name: z.ZodString;
4451
+ type: z.ZodEnum<{
4452
+ infinite: "infinite";
4453
+ time_based: "time_based";
4454
+ consumption: "consumption";
4455
+ }>;
4456
+ isActive: z.ZodBoolean;
4457
+ isPurchasable: z.ZodBoolean;
4458
+ isAdminOnly: z.ZodBoolean;
4459
+ }, z.core.$strip>>>;
3137
4460
  createdAt: z.ZodString;
3138
4461
  updatedAt: z.ZodString;
3139
4462
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -3173,6 +4496,19 @@ declare class GetSubscriptionTimeBasedList extends AbstractApiRequest<typeof get
3173
4496
  autoRenewal: z.ZodBoolean;
3174
4497
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3175
4498
  customUnitPrice: z.ZodNullable<z.ZodString>;
4499
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4500
+ id: z.ZodString;
4501
+ code: z.ZodString;
4502
+ name: z.ZodString;
4503
+ type: z.ZodEnum<{
4504
+ infinite: "infinite";
4505
+ time_based: "time_based";
4506
+ consumption: "consumption";
4507
+ }>;
4508
+ isActive: z.ZodBoolean;
4509
+ isPurchasable: z.ZodBoolean;
4510
+ isAdminOnly: z.ZodBoolean;
4511
+ }, z.core.$strip>>>;
3176
4512
  createdAt: z.ZodString;
3177
4513
  updatedAt: z.ZodString;
3178
4514
  type: z.ZodLiteral<"time_based">;
@@ -3263,6 +4599,19 @@ declare class GetSubscriptionTimeBasedList extends AbstractApiRequest<typeof get
3263
4599
  autoRenewal: z.ZodBoolean;
3264
4600
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3265
4601
  customUnitPrice: z.ZodNullable<z.ZodString>;
4602
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4603
+ id: z.ZodString;
4604
+ code: z.ZodString;
4605
+ name: z.ZodString;
4606
+ type: z.ZodEnum<{
4607
+ infinite: "infinite";
4608
+ time_based: "time_based";
4609
+ consumption: "consumption";
4610
+ }>;
4611
+ isActive: z.ZodBoolean;
4612
+ isPurchasable: z.ZodBoolean;
4613
+ isAdminOnly: z.ZodBoolean;
4614
+ }, z.core.$strip>>>;
3266
4615
  createdAt: z.ZodString;
3267
4616
  updatedAt: z.ZodString;
3268
4617
  type: z.ZodLiteral<"time_based">;
@@ -3298,6 +4647,19 @@ declare const updateSubscriptionTimeBasedResponseSchema: z.ZodObject<{
3298
4647
  autoRenewal: z.ZodBoolean;
3299
4648
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3300
4649
  customUnitPrice: z.ZodNullable<z.ZodString>;
4650
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4651
+ id: z.ZodString;
4652
+ code: z.ZodString;
4653
+ name: z.ZodString;
4654
+ type: z.ZodEnum<{
4655
+ infinite: "infinite";
4656
+ time_based: "time_based";
4657
+ consumption: "consumption";
4658
+ }>;
4659
+ isActive: z.ZodBoolean;
4660
+ isPurchasable: z.ZodBoolean;
4661
+ isAdminOnly: z.ZodBoolean;
4662
+ }, z.core.$strip>>>;
3301
4663
  createdAt: z.ZodString;
3302
4664
  updatedAt: z.ZodString;
3303
4665
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -3332,6 +4694,19 @@ declare class UpdateSubscriptionTimeBased extends AbstractApiRequest<typeof upda
3332
4694
  autoRenewal: z.ZodBoolean;
3333
4695
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3334
4696
  customUnitPrice: z.ZodNullable<z.ZodString>;
4697
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4698
+ id: z.ZodString;
4699
+ code: z.ZodString;
4700
+ name: z.ZodString;
4701
+ type: z.ZodEnum<{
4702
+ infinite: "infinite";
4703
+ time_based: "time_based";
4704
+ consumption: "consumption";
4705
+ }>;
4706
+ isActive: z.ZodBoolean;
4707
+ isPurchasable: z.ZodBoolean;
4708
+ isAdminOnly: z.ZodBoolean;
4709
+ }, z.core.$strip>>>;
3335
4710
  createdAt: z.ZodString;
3336
4711
  updatedAt: z.ZodString;
3337
4712
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -3995,6 +5370,19 @@ declare const getSubscriptionDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.Z
3995
5370
  autoRenewal: z.ZodBoolean;
3996
5371
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3997
5372
  customUnitPrice: z.ZodNullable<z.ZodString>;
5373
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5374
+ id: z.ZodString;
5375
+ code: z.ZodString;
5376
+ name: z.ZodString;
5377
+ type: z.ZodEnum<{
5378
+ infinite: "infinite";
5379
+ time_based: "time_based";
5380
+ consumption: "consumption";
5381
+ }>;
5382
+ isActive: z.ZodBoolean;
5383
+ isPurchasable: z.ZodBoolean;
5384
+ isAdminOnly: z.ZodBoolean;
5385
+ }, z.core.$strip>>>;
3998
5386
  createdAt: z.ZodString;
3999
5387
  updatedAt: z.ZodString;
4000
5388
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -4012,6 +5400,19 @@ declare const getSubscriptionDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.Z
4012
5400
  autoRenewal: z.ZodBoolean;
4013
5401
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4014
5402
  customUnitPrice: z.ZodNullable<z.ZodString>;
5403
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5404
+ id: z.ZodString;
5405
+ code: z.ZodString;
5406
+ name: z.ZodString;
5407
+ type: z.ZodEnum<{
5408
+ infinite: "infinite";
5409
+ time_based: "time_based";
5410
+ consumption: "consumption";
5411
+ }>;
5412
+ isActive: z.ZodBoolean;
5413
+ isPurchasable: z.ZodBoolean;
5414
+ isAdminOnly: z.ZodBoolean;
5415
+ }, z.core.$strip>>>;
4015
5416
  createdAt: z.ZodString;
4016
5417
  updatedAt: z.ZodString;
4017
5418
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -4033,6 +5434,19 @@ declare const getSubscriptionDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.Z
4033
5434
  autoRenewal: z.ZodBoolean;
4034
5435
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4035
5436
  customUnitPrice: z.ZodNullable<z.ZodString>;
5437
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5438
+ id: z.ZodString;
5439
+ code: z.ZodString;
5440
+ name: z.ZodString;
5441
+ type: z.ZodEnum<{
5442
+ infinite: "infinite";
5443
+ time_based: "time_based";
5444
+ consumption: "consumption";
5445
+ }>;
5446
+ isActive: z.ZodBoolean;
5447
+ isPurchasable: z.ZodBoolean;
5448
+ isAdminOnly: z.ZodBoolean;
5449
+ }, z.core.$strip>>>;
4036
5450
  createdAt: z.ZodString;
4037
5451
  updatedAt: z.ZodString;
4038
5452
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -4061,6 +5475,19 @@ declare class GetSubscriptionDetails extends AbstractApiRequest<typeof getSubscr
4061
5475
  autoRenewal: z.ZodBoolean;
4062
5476
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4063
5477
  customUnitPrice: z.ZodNullable<z.ZodString>;
5478
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5479
+ id: z.ZodString;
5480
+ code: z.ZodString;
5481
+ name: z.ZodString;
5482
+ type: z.ZodEnum<{
5483
+ infinite: "infinite";
5484
+ time_based: "time_based";
5485
+ consumption: "consumption";
5486
+ }>;
5487
+ isActive: z.ZodBoolean;
5488
+ isPurchasable: z.ZodBoolean;
5489
+ isAdminOnly: z.ZodBoolean;
5490
+ }, z.core.$strip>>>;
4064
5491
  createdAt: z.ZodString;
4065
5492
  updatedAt: z.ZodString;
4066
5493
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -4078,6 +5505,19 @@ declare class GetSubscriptionDetails extends AbstractApiRequest<typeof getSubscr
4078
5505
  autoRenewal: z.ZodBoolean;
4079
5506
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4080
5507
  customUnitPrice: z.ZodNullable<z.ZodString>;
5508
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5509
+ id: z.ZodString;
5510
+ code: z.ZodString;
5511
+ name: z.ZodString;
5512
+ type: z.ZodEnum<{
5513
+ infinite: "infinite";
5514
+ time_based: "time_based";
5515
+ consumption: "consumption";
5516
+ }>;
5517
+ isActive: z.ZodBoolean;
5518
+ isPurchasable: z.ZodBoolean;
5519
+ isAdminOnly: z.ZodBoolean;
5520
+ }, z.core.$strip>>>;
4081
5521
  createdAt: z.ZodString;
4082
5522
  updatedAt: z.ZodString;
4083
5523
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -4099,6 +5539,19 @@ declare class GetSubscriptionDetails extends AbstractApiRequest<typeof getSubscr
4099
5539
  autoRenewal: z.ZodBoolean;
4100
5540
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4101
5541
  customUnitPrice: z.ZodNullable<z.ZodString>;
5542
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5543
+ id: z.ZodString;
5544
+ code: z.ZodString;
5545
+ name: z.ZodString;
5546
+ type: z.ZodEnum<{
5547
+ infinite: "infinite";
5548
+ time_based: "time_based";
5549
+ consumption: "consumption";
5550
+ }>;
5551
+ isActive: z.ZodBoolean;
5552
+ isPurchasable: z.ZodBoolean;
5553
+ isAdminOnly: z.ZodBoolean;
5554
+ }, z.core.$strip>>>;
4102
5555
  createdAt: z.ZodString;
4103
5556
  updatedAt: z.ZodString;
4104
5557
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -4122,6 +5575,20 @@ declare const getSubscriptionOverviewFromPointOfSaleResponseSchema: z.ZodObject<
4122
5575
  subscription: z.ZodNullable<z.ZodObject<{
4123
5576
  id: z.ZodString;
4124
5577
  iri: z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/infinite/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/infinite/:id">, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown>>]>;
5578
+ plan: z.ZodNullable<z.ZodObject<{
5579
+ id: z.ZodString;
5580
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown>>;
5581
+ code: z.ZodString;
5582
+ name: z.ZodString;
5583
+ type: z.ZodEnum<{
5584
+ infinite: "infinite";
5585
+ time_based: "time_based";
5586
+ consumption: "consumption";
5587
+ }>;
5588
+ active: z.ZodBoolean;
5589
+ purchasable: z.ZodBoolean;
5590
+ adminOnly: z.ZodBoolean;
5591
+ }, z.core.$strip>>;
4125
5592
  type: z.ZodEnum<{
4126
5593
  infinite: "infinite";
4127
5594
  time_based: "time_based";
@@ -4177,6 +5644,20 @@ declare class GetSubscriptionOverviewFromPointOfSale extends AbstractApiRequest<
4177
5644
  subscription: z.ZodNullable<z.ZodObject<{
4178
5645
  id: z.ZodString;
4179
5646
  iri: z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/infinite/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/infinite/:id">, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown>>]>;
5647
+ plan: z.ZodNullable<z.ZodObject<{
5648
+ id: z.ZodString;
5649
+ iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown>>;
5650
+ code: z.ZodString;
5651
+ name: z.ZodString;
5652
+ type: z.ZodEnum<{
5653
+ infinite: "infinite";
5654
+ time_based: "time_based";
5655
+ consumption: "consumption";
5656
+ }>;
5657
+ active: z.ZodBoolean;
5658
+ purchasable: z.ZodBoolean;
5659
+ adminOnly: z.ZodBoolean;
5660
+ }, z.core.$strip>>;
4180
5661
  type: z.ZodEnum<{
4181
5662
  infinite: "infinite";
4182
5663
  time_based: "time_based";
@@ -4251,6 +5732,19 @@ declare class GetSubscriptions extends AbstractApiRequest<typeof getSubscription
4251
5732
  autoRenewal: z.ZodBoolean;
4252
5733
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4253
5734
  customUnitPrice: z.ZodNullable<z.ZodString>;
5735
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5736
+ id: z.ZodString;
5737
+ code: z.ZodString;
5738
+ name: z.ZodString;
5739
+ type: z.ZodEnum<{
5740
+ infinite: "infinite";
5741
+ time_based: "time_based";
5742
+ consumption: "consumption";
5743
+ }>;
5744
+ isActive: z.ZodBoolean;
5745
+ isPurchasable: z.ZodBoolean;
5746
+ isAdminOnly: z.ZodBoolean;
5747
+ }, z.core.$strip>>>;
4254
5748
  createdAt: z.ZodString;
4255
5749
  updatedAt: z.ZodString;
4256
5750
  type: z.ZodLiteral<"infinite">;
@@ -4267,6 +5761,19 @@ declare class GetSubscriptions extends AbstractApiRequest<typeof getSubscription
4267
5761
  autoRenewal: z.ZodBoolean;
4268
5762
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4269
5763
  customUnitPrice: z.ZodNullable<z.ZodString>;
5764
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5765
+ id: z.ZodString;
5766
+ code: z.ZodString;
5767
+ name: z.ZodString;
5768
+ type: z.ZodEnum<{
5769
+ infinite: "infinite";
5770
+ time_based: "time_based";
5771
+ consumption: "consumption";
5772
+ }>;
5773
+ isActive: z.ZodBoolean;
5774
+ isPurchasable: z.ZodBoolean;
5775
+ isAdminOnly: z.ZodBoolean;
5776
+ }, z.core.$strip>>>;
4270
5777
  createdAt: z.ZodString;
4271
5778
  updatedAt: z.ZodString;
4272
5779
  type: z.ZodLiteral<"consumption">;
@@ -4287,6 +5794,19 @@ declare class GetSubscriptions extends AbstractApiRequest<typeof getSubscription
4287
5794
  autoRenewal: z.ZodBoolean;
4288
5795
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4289
5796
  customUnitPrice: z.ZodNullable<z.ZodString>;
5797
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5798
+ id: z.ZodString;
5799
+ code: z.ZodString;
5800
+ name: z.ZodString;
5801
+ type: z.ZodEnum<{
5802
+ infinite: "infinite";
5803
+ time_based: "time_based";
5804
+ consumption: "consumption";
5805
+ }>;
5806
+ isActive: z.ZodBoolean;
5807
+ isPurchasable: z.ZodBoolean;
5808
+ isAdminOnly: z.ZodBoolean;
5809
+ }, z.core.$strip>>>;
4290
5810
  createdAt: z.ZodString;
4291
5811
  updatedAt: z.ZodString;
4292
5812
  type: z.ZodLiteral<"time_based">;
@@ -4363,6 +5883,19 @@ declare class GetSubscriptions extends AbstractApiRequest<typeof getSubscription
4363
5883
  autoRenewal: z.ZodBoolean;
4364
5884
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4365
5885
  customUnitPrice: z.ZodNullable<z.ZodString>;
5886
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5887
+ id: z.ZodString;
5888
+ code: z.ZodString;
5889
+ name: z.ZodString;
5890
+ type: z.ZodEnum<{
5891
+ infinite: "infinite";
5892
+ time_based: "time_based";
5893
+ consumption: "consumption";
5894
+ }>;
5895
+ isActive: z.ZodBoolean;
5896
+ isPurchasable: z.ZodBoolean;
5897
+ isAdminOnly: z.ZodBoolean;
5898
+ }, z.core.$strip>>>;
4366
5899
  createdAt: z.ZodString;
4367
5900
  updatedAt: z.ZodString;
4368
5901
  type: z.ZodLiteral<"infinite">;
@@ -4379,6 +5912,19 @@ declare class GetSubscriptions extends AbstractApiRequest<typeof getSubscription
4379
5912
  autoRenewal: z.ZodBoolean;
4380
5913
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4381
5914
  customUnitPrice: z.ZodNullable<z.ZodString>;
5915
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5916
+ id: z.ZodString;
5917
+ code: z.ZodString;
5918
+ name: z.ZodString;
5919
+ type: z.ZodEnum<{
5920
+ infinite: "infinite";
5921
+ time_based: "time_based";
5922
+ consumption: "consumption";
5923
+ }>;
5924
+ isActive: z.ZodBoolean;
5925
+ isPurchasable: z.ZodBoolean;
5926
+ isAdminOnly: z.ZodBoolean;
5927
+ }, z.core.$strip>>>;
4382
5928
  createdAt: z.ZodString;
4383
5929
  updatedAt: z.ZodString;
4384
5930
  type: z.ZodLiteral<"consumption">;
@@ -4399,6 +5945,19 @@ declare class GetSubscriptions extends AbstractApiRequest<typeof getSubscription
4399
5945
  autoRenewal: z.ZodBoolean;
4400
5946
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4401
5947
  customUnitPrice: z.ZodNullable<z.ZodString>;
5948
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5949
+ id: z.ZodString;
5950
+ code: z.ZodString;
5951
+ name: z.ZodString;
5952
+ type: z.ZodEnum<{
5953
+ infinite: "infinite";
5954
+ time_based: "time_based";
5955
+ consumption: "consumption";
5956
+ }>;
5957
+ isActive: z.ZodBoolean;
5958
+ isPurchasable: z.ZodBoolean;
5959
+ isAdminOnly: z.ZodBoolean;
5960
+ }, z.core.$strip>>>;
4402
5961
  createdAt: z.ZodString;
4403
5962
  updatedAt: z.ZodString;
4404
5963
  type: z.ZodLiteral<"time_based">;
@@ -4429,6 +5988,19 @@ declare const getSubscriptionsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDis
4429
5988
  autoRenewal: z.ZodBoolean;
4430
5989
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4431
5990
  customUnitPrice: z.ZodNullable<z.ZodString>;
5991
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5992
+ id: z.ZodString;
5993
+ code: z.ZodString;
5994
+ name: z.ZodString;
5995
+ type: z.ZodEnum<{
5996
+ infinite: "infinite";
5997
+ time_based: "time_based";
5998
+ consumption: "consumption";
5999
+ }>;
6000
+ isActive: z.ZodBoolean;
6001
+ isPurchasable: z.ZodBoolean;
6002
+ isAdminOnly: z.ZodBoolean;
6003
+ }, z.core.$strip>>>;
4432
6004
  createdAt: z.ZodString;
4433
6005
  updatedAt: z.ZodString;
4434
6006
  type: z.ZodLiteral<"infinite">;
@@ -4445,6 +6017,19 @@ declare const getSubscriptionsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDis
4445
6017
  autoRenewal: z.ZodBoolean;
4446
6018
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4447
6019
  customUnitPrice: z.ZodNullable<z.ZodString>;
6020
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6021
+ id: z.ZodString;
6022
+ code: z.ZodString;
6023
+ name: z.ZodString;
6024
+ type: z.ZodEnum<{
6025
+ infinite: "infinite";
6026
+ time_based: "time_based";
6027
+ consumption: "consumption";
6028
+ }>;
6029
+ isActive: z.ZodBoolean;
6030
+ isPurchasable: z.ZodBoolean;
6031
+ isAdminOnly: z.ZodBoolean;
6032
+ }, z.core.$strip>>>;
4448
6033
  createdAt: z.ZodString;
4449
6034
  updatedAt: z.ZodString;
4450
6035
  type: z.ZodLiteral<"consumption">;
@@ -4465,6 +6050,19 @@ declare const getSubscriptionsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDis
4465
6050
  autoRenewal: z.ZodBoolean;
4466
6051
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4467
6052
  customUnitPrice: z.ZodNullable<z.ZodString>;
6053
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6054
+ id: z.ZodString;
6055
+ code: z.ZodString;
6056
+ name: z.ZodString;
6057
+ type: z.ZodEnum<{
6058
+ infinite: "infinite";
6059
+ time_based: "time_based";
6060
+ consumption: "consumption";
6061
+ }>;
6062
+ isActive: z.ZodBoolean;
6063
+ isPurchasable: z.ZodBoolean;
6064
+ isAdminOnly: z.ZodBoolean;
6065
+ }, z.core.$strip>>>;
4468
6066
  createdAt: z.ZodString;
4469
6067
  updatedAt: z.ZodString;
4470
6068
  type: z.ZodLiteral<"time_based">;
@@ -4491,6 +6089,19 @@ declare class GetSubscriptionsFromPointOfSale extends AbstractApiRequest<typeof
4491
6089
  autoRenewal: z.ZodBoolean;
4492
6090
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4493
6091
  customUnitPrice: z.ZodNullable<z.ZodString>;
6092
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6093
+ id: z.ZodString;
6094
+ code: z.ZodString;
6095
+ name: z.ZodString;
6096
+ type: z.ZodEnum<{
6097
+ infinite: "infinite";
6098
+ time_based: "time_based";
6099
+ consumption: "consumption";
6100
+ }>;
6101
+ isActive: z.ZodBoolean;
6102
+ isPurchasable: z.ZodBoolean;
6103
+ isAdminOnly: z.ZodBoolean;
6104
+ }, z.core.$strip>>>;
4494
6105
  createdAt: z.ZodString;
4495
6106
  updatedAt: z.ZodString;
4496
6107
  type: z.ZodLiteral<"infinite">;
@@ -4507,6 +6118,19 @@ declare class GetSubscriptionsFromPointOfSale extends AbstractApiRequest<typeof
4507
6118
  autoRenewal: z.ZodBoolean;
4508
6119
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4509
6120
  customUnitPrice: z.ZodNullable<z.ZodString>;
6121
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6122
+ id: z.ZodString;
6123
+ code: z.ZodString;
6124
+ name: z.ZodString;
6125
+ type: z.ZodEnum<{
6126
+ infinite: "infinite";
6127
+ time_based: "time_based";
6128
+ consumption: "consumption";
6129
+ }>;
6130
+ isActive: z.ZodBoolean;
6131
+ isPurchasable: z.ZodBoolean;
6132
+ isAdminOnly: z.ZodBoolean;
6133
+ }, z.core.$strip>>>;
4510
6134
  createdAt: z.ZodString;
4511
6135
  updatedAt: z.ZodString;
4512
6136
  type: z.ZodLiteral<"consumption">;
@@ -4527,6 +6151,19 @@ declare class GetSubscriptionsFromPointOfSale extends AbstractApiRequest<typeof
4527
6151
  autoRenewal: z.ZodBoolean;
4528
6152
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4529
6153
  customUnitPrice: z.ZodNullable<z.ZodString>;
6154
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6155
+ id: z.ZodString;
6156
+ code: z.ZodString;
6157
+ name: z.ZodString;
6158
+ type: z.ZodEnum<{
6159
+ infinite: "infinite";
6160
+ time_based: "time_based";
6161
+ consumption: "consumption";
6162
+ }>;
6163
+ isActive: z.ZodBoolean;
6164
+ isPurchasable: z.ZodBoolean;
6165
+ isAdminOnly: z.ZodBoolean;
6166
+ }, z.core.$strip>>>;
4530
6167
  createdAt: z.ZodString;
4531
6168
  updatedAt: z.ZodString;
4532
6169
  type: z.ZodLiteral<"time_based">;
@@ -4594,6 +6231,19 @@ declare class GetSubscriptionsFromPointOfSale extends AbstractApiRequest<typeof
4594
6231
  autoRenewal: z.ZodBoolean;
4595
6232
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4596
6233
  customUnitPrice: z.ZodNullable<z.ZodString>;
6234
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6235
+ id: z.ZodString;
6236
+ code: z.ZodString;
6237
+ name: z.ZodString;
6238
+ type: z.ZodEnum<{
6239
+ infinite: "infinite";
6240
+ time_based: "time_based";
6241
+ consumption: "consumption";
6242
+ }>;
6243
+ isActive: z.ZodBoolean;
6244
+ isPurchasable: z.ZodBoolean;
6245
+ isAdminOnly: z.ZodBoolean;
6246
+ }, z.core.$strip>>>;
4597
6247
  createdAt: z.ZodString;
4598
6248
  updatedAt: z.ZodString;
4599
6249
  type: z.ZodLiteral<"infinite">;
@@ -4610,6 +6260,19 @@ declare class GetSubscriptionsFromPointOfSale extends AbstractApiRequest<typeof
4610
6260
  autoRenewal: z.ZodBoolean;
4611
6261
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4612
6262
  customUnitPrice: z.ZodNullable<z.ZodString>;
6263
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6264
+ id: z.ZodString;
6265
+ code: z.ZodString;
6266
+ name: z.ZodString;
6267
+ type: z.ZodEnum<{
6268
+ infinite: "infinite";
6269
+ time_based: "time_based";
6270
+ consumption: "consumption";
6271
+ }>;
6272
+ isActive: z.ZodBoolean;
6273
+ isPurchasable: z.ZodBoolean;
6274
+ isAdminOnly: z.ZodBoolean;
6275
+ }, z.core.$strip>>>;
4613
6276
  createdAt: z.ZodString;
4614
6277
  updatedAt: z.ZodString;
4615
6278
  type: z.ZodLiteral<"consumption">;
@@ -4630,6 +6293,19 @@ declare class GetSubscriptionsFromPointOfSale extends AbstractApiRequest<typeof
4630
6293
  autoRenewal: z.ZodBoolean;
4631
6294
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4632
6295
  customUnitPrice: z.ZodNullable<z.ZodString>;
6296
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6297
+ id: z.ZodString;
6298
+ code: z.ZodString;
6299
+ name: z.ZodString;
6300
+ type: z.ZodEnum<{
6301
+ infinite: "infinite";
6302
+ time_based: "time_based";
6303
+ consumption: "consumption";
6304
+ }>;
6305
+ isActive: z.ZodBoolean;
6306
+ isPurchasable: z.ZodBoolean;
6307
+ isAdminOnly: z.ZodBoolean;
6308
+ }, z.core.$strip>>>;
4633
6309
  createdAt: z.ZodString;
4634
6310
  updatedAt: z.ZodString;
4635
6311
  type: z.ZodLiteral<"time_based">;
@@ -4663,6 +6339,19 @@ declare const updateSubscriptionResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
4663
6339
  autoRenewal: z.ZodBoolean;
4664
6340
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4665
6341
  customUnitPrice: z.ZodNullable<z.ZodString>;
6342
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6343
+ id: z.ZodString;
6344
+ code: z.ZodString;
6345
+ name: z.ZodString;
6346
+ type: z.ZodEnum<{
6347
+ infinite: "infinite";
6348
+ time_based: "time_based";
6349
+ consumption: "consumption";
6350
+ }>;
6351
+ isActive: z.ZodBoolean;
6352
+ isPurchasable: z.ZodBoolean;
6353
+ isAdminOnly: z.ZodBoolean;
6354
+ }, z.core.$strip>>>;
4666
6355
  createdAt: z.ZodString;
4667
6356
  updatedAt: z.ZodString;
4668
6357
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -4680,6 +6369,19 @@ declare const updateSubscriptionResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
4680
6369
  autoRenewal: z.ZodBoolean;
4681
6370
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4682
6371
  customUnitPrice: z.ZodNullable<z.ZodString>;
6372
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6373
+ id: z.ZodString;
6374
+ code: z.ZodString;
6375
+ name: z.ZodString;
6376
+ type: z.ZodEnum<{
6377
+ infinite: "infinite";
6378
+ time_based: "time_based";
6379
+ consumption: "consumption";
6380
+ }>;
6381
+ isActive: z.ZodBoolean;
6382
+ isPurchasable: z.ZodBoolean;
6383
+ isAdminOnly: z.ZodBoolean;
6384
+ }, z.core.$strip>>>;
4683
6385
  createdAt: z.ZodString;
4684
6386
  updatedAt: z.ZodString;
4685
6387
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -4701,6 +6403,19 @@ declare const updateSubscriptionResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
4701
6403
  autoRenewal: z.ZodBoolean;
4702
6404
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4703
6405
  customUnitPrice: z.ZodNullable<z.ZodString>;
6406
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6407
+ id: z.ZodString;
6408
+ code: z.ZodString;
6409
+ name: z.ZodString;
6410
+ type: z.ZodEnum<{
6411
+ infinite: "infinite";
6412
+ time_based: "time_based";
6413
+ consumption: "consumption";
6414
+ }>;
6415
+ isActive: z.ZodBoolean;
6416
+ isPurchasable: z.ZodBoolean;
6417
+ isAdminOnly: z.ZodBoolean;
6418
+ }, z.core.$strip>>>;
4704
6419
  createdAt: z.ZodString;
4705
6420
  updatedAt: z.ZodString;
4706
6421
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -4732,6 +6447,19 @@ declare class UpdateSubscription extends AbstractApiRequest<typeof updateSubscri
4732
6447
  autoRenewal: z.ZodBoolean;
4733
6448
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4734
6449
  customUnitPrice: z.ZodNullable<z.ZodString>;
6450
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6451
+ id: z.ZodString;
6452
+ code: z.ZodString;
6453
+ name: z.ZodString;
6454
+ type: z.ZodEnum<{
6455
+ infinite: "infinite";
6456
+ time_based: "time_based";
6457
+ consumption: "consumption";
6458
+ }>;
6459
+ isActive: z.ZodBoolean;
6460
+ isPurchasable: z.ZodBoolean;
6461
+ isAdminOnly: z.ZodBoolean;
6462
+ }, z.core.$strip>>>;
4735
6463
  createdAt: z.ZodString;
4736
6464
  updatedAt: z.ZodString;
4737
6465
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -4749,6 +6477,19 @@ declare class UpdateSubscription extends AbstractApiRequest<typeof updateSubscri
4749
6477
  autoRenewal: z.ZodBoolean;
4750
6478
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4751
6479
  customUnitPrice: z.ZodNullable<z.ZodString>;
6480
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6481
+ id: z.ZodString;
6482
+ code: z.ZodString;
6483
+ name: z.ZodString;
6484
+ type: z.ZodEnum<{
6485
+ infinite: "infinite";
6486
+ time_based: "time_based";
6487
+ consumption: "consumption";
6488
+ }>;
6489
+ isActive: z.ZodBoolean;
6490
+ isPurchasable: z.ZodBoolean;
6491
+ isAdminOnly: z.ZodBoolean;
6492
+ }, z.core.$strip>>>;
4752
6493
  createdAt: z.ZodString;
4753
6494
  updatedAt: z.ZodString;
4754
6495
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -4770,6 +6511,19 @@ declare class UpdateSubscription extends AbstractApiRequest<typeof updateSubscri
4770
6511
  autoRenewal: z.ZodBoolean;
4771
6512
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4772
6513
  customUnitPrice: z.ZodNullable<z.ZodString>;
6514
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6515
+ id: z.ZodString;
6516
+ code: z.ZodString;
6517
+ name: z.ZodString;
6518
+ type: z.ZodEnum<{
6519
+ infinite: "infinite";
6520
+ time_based: "time_based";
6521
+ consumption: "consumption";
6522
+ }>;
6523
+ isActive: z.ZodBoolean;
6524
+ isPurchasable: z.ZodBoolean;
6525
+ isAdminOnly: z.ZodBoolean;
6526
+ }, z.core.$strip>>>;
4773
6527
  createdAt: z.ZodString;
4774
6528
  updatedAt: z.ZodString;
4775
6529
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
@@ -4786,4 +6540,4 @@ declare class UpdateSubscription extends AbstractApiRequest<typeof updateSubscri
4786
6540
  getPath(): string;
4787
6541
  }
4788
6542
 
4789
- export { AdjustSubscriptionConsumptionCredits, type AdjustSubscriptionConsumptionCreditsInput, type AdjustSubscriptionConsumptionCreditsResponse, type AdjustableCreditTransactionType, CreateSubscriptionConsumption, type CreateSubscriptionConsumptionInput, CreateSubscriptionConsumptionRenewal, type CreateSubscriptionConsumptionRenewalInput, type CreateSubscriptionConsumptionRenewalResponse, type CreateSubscriptionConsumptionResponse, CreateSubscriptionInfinite, type CreateSubscriptionInfiniteInput, type CreateSubscriptionInfiniteResponse, CreateSubscriptionPrice, type CreateSubscriptionPriceInput, type CreateSubscriptionPriceResponse, CreateSubscriptionTimeBased, type CreateSubscriptionTimeBasedInput, CreateSubscriptionTimeBasedRenewal, type CreateSubscriptionTimeBasedRenewalInput, type CreateSubscriptionTimeBasedRenewalResponse, type CreateSubscriptionTimeBasedResponse, type CreditUsageLog, type CreditUsageLogDetails, type CreditUsageLogIri, type CreditUsageLogNullableIri, type CreditUsageLogsQueryParams, DeleteCreditUsageLog, DeleteSubscription, DeleteSubscriptionConsumption, DeleteSubscriptionConsumptionRenewal, DeleteSubscriptionInfinite, DeleteSubscriptionPrice, DeleteSubscriptionTimeBased, DeleteSubscriptionTimeBasedRenewal, GetCreditUsageLogDetails, type GetCreditUsageLogDetailsInput, type GetCreditUsageLogDetailsResponse, GetCreditUsageLogs, GetCreditUsageLogsFromPointOfSale, type GetCreditUsageLogsFromPointOfSaleInput, type GetCreditUsageLogsFromPointOfSaleQueryParams, type GetCreditUsageLogsFromPointOfSaleResponse, type GetCreditUsageLogsInput, type GetCreditUsageLogsQueryParams, type GetCreditUsageLogsResponse, GetSubscriptionConsumptionDetails, type GetSubscriptionConsumptionDetailsInput, type GetSubscriptionConsumptionDetailsResponse, GetSubscriptionConsumptionList, type GetSubscriptionConsumptionListInput, type GetSubscriptionConsumptionListQueryParams, type GetSubscriptionConsumptionListResponse, GetSubscriptionConsumptionRenewalDetails, type GetSubscriptionConsumptionRenewalDetailsInput, type GetSubscriptionConsumptionRenewalDetailsResponse, GetSubscriptionConsumptionRenewals, GetSubscriptionConsumptionRenewalsFromSubscriptionConsumption, type GetSubscriptionConsumptionRenewalsFromSubscriptionConsumptionInput, type GetSubscriptionConsumptionRenewalsFromSubscriptionConsumptionQueryParams, type GetSubscriptionConsumptionRenewalsFromSubscriptionConsumptionResponse, type GetSubscriptionConsumptionRenewalsInput, type GetSubscriptionConsumptionRenewalsQueryParams, type GetSubscriptionConsumptionRenewalsResponse, GetSubscriptionDetails, type GetSubscriptionDetailsInput, type GetSubscriptionDetailsResponse, GetSubscriptionInfiniteDetails, type GetSubscriptionInfiniteDetailsInput, type GetSubscriptionInfiniteDetailsResponse, GetSubscriptionInfiniteList, type GetSubscriptionInfiniteListInput, type GetSubscriptionInfiniteListQueryParams, type GetSubscriptionInfiniteListResponse, GetSubscriptionOverviewFromPointOfSale, type GetSubscriptionOverviewFromPointOfSaleInput, type GetSubscriptionOverviewFromPointOfSaleResponse, GetSubscriptionPriceDetails, type GetSubscriptionPriceDetailsInput, type GetSubscriptionPriceDetailsResponse, GetSubscriptionPrices, type GetSubscriptionPricesInput, type GetSubscriptionPricesQueryParams, type GetSubscriptionPricesResponse, GetSubscriptionTimeBasedDetails, type GetSubscriptionTimeBasedDetailsInput, type GetSubscriptionTimeBasedDetailsResponse, GetSubscriptionTimeBasedList, type GetSubscriptionTimeBasedListInput, type GetSubscriptionTimeBasedListQueryParams, type GetSubscriptionTimeBasedListResponse, GetSubscriptionTimeBasedRenewalDetails, type GetSubscriptionTimeBasedRenewalDetailsInput, type GetSubscriptionTimeBasedRenewalDetailsResponse, GetSubscriptionTimeBasedRenewals, GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased, type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInput, type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedQueryParams, type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedResponse, type GetSubscriptionTimeBasedRenewalsInput, type GetSubscriptionTimeBasedRenewalsQueryParams, type GetSubscriptionTimeBasedRenewalsResponse, GetSubscriptions, GetSubscriptionsFromPointOfSale, type GetSubscriptionsFromPointOfSaleInput, type GetSubscriptionsFromPointOfSaleQueryParams, type GetSubscriptionsFromPointOfSaleResponse, type GetSubscriptionsInput, type GetSubscriptionsQueryParams, type GetSubscriptionsResponse, PaySubscriptionConsumptionRenewal, type PaySubscriptionConsumptionRenewalInput, type PaySubscriptionConsumptionRenewalResponse, type PaySubscriptionRenewalInput, PaySubscriptionTimeBasedRenewal, type PaySubscriptionTimeBasedRenewalInput, type PaySubscriptionTimeBasedRenewalResponse, type PaymentIri, type PaymentNullableIri, type ResolvableRenewalPaymentStatus, ResolveSubscriptionConsumptionRenewalPayment, type ResolveSubscriptionConsumptionRenewalPaymentInput, type ResolveSubscriptionConsumptionRenewalPaymentResponse, type ResolveSubscriptionRenewalPaymentInput, ResolveSubscriptionTimeBasedRenewalPayment, type ResolveSubscriptionTimeBasedRenewalPaymentInput, type ResolveSubscriptionTimeBasedRenewalPaymentResponse, type Subscription, type SubscriptionAvailabilityReason, type SubscriptionConsumption, type SubscriptionConsumptionDetails, type SubscriptionConsumptionIri, type SubscriptionConsumptionNullableIri, type SubscriptionConsumptionQueryParams, type SubscriptionConsumptionRenewal, type SubscriptionConsumptionRenewalDetails, type SubscriptionConsumptionRenewalIri, type SubscriptionConsumptionRenewalNullableIri, type SubscriptionConsumptionRenewalsQueryParams, type SubscriptionDetails, type SubscriptionInfinite, type SubscriptionInfiniteDetails, type SubscriptionInfiniteIri, type SubscriptionInfiniteNullableIri, type SubscriptionIri, type SubscriptionNullableIri, type SubscriptionOperationQuote, type SubscriptionOverviewResponse, type SubscriptionOverviewSubscription, type SubscriptionPrice, type SubscriptionPriceIri, type SubscriptionPriceNullableIri, type SubscriptionPricesQueryParams, type SubscriptionQueryParams, type SubscriptionRenewalPaymentInfo, type SubscriptionTimeBased, type SubscriptionTimeBasedDetails, type SubscriptionTimeBasedIri, type SubscriptionTimeBasedNullableIri, type SubscriptionTimeBasedQueryParams, type SubscriptionTimeBasedRenewal, type SubscriptionTimeBasedRenewalDetails, type SubscriptionTimeBasedRenewalIri, type SubscriptionTimeBasedRenewalNullableIri, type SubscriptionTimeBasedRenewalsQueryParams, UpdateSubscription, UpdateSubscriptionConsumption, type UpdateSubscriptionConsumptionInput, type UpdateSubscriptionConsumptionResponse, type UpdateSubscriptionInput, UpdateSubscriptionPrice, type UpdateSubscriptionPriceInput, type UpdateSubscriptionPriceResponse, type UpdateSubscriptionResponse, UpdateSubscriptionTimeBased, type UpdateSubscriptionTimeBasedInput, type UpdateSubscriptionTimeBasedResponse, type WritableSubscriptionCommon, type WritableSubscriptionConsumption, type WritableSubscriptionConsumptionRenewal, type WritableSubscriptionInfinite, type WritableSubscriptionPrice, type WritableSubscriptionTimeBased, type WritableSubscriptionTimeBasedRenewal, adjustSubscriptionConsumptionCreditsInputSchema, adjustSubscriptionConsumptionCreditsResponseSchema, adjustableCreditTransactionTypeSchema, adjustableCreditTransactionTypes, createSubscriptionConsumptionInputSchema, createSubscriptionConsumptionRenewalInputSchema, createSubscriptionConsumptionRenewalResponseSchema, createSubscriptionConsumptionResponseSchema, createSubscriptionInfiniteInputSchema, createSubscriptionInfiniteResponseSchema, createSubscriptionPriceInputSchema, createSubscriptionPriceResponseSchema, createSubscriptionTimeBasedInputSchema, createSubscriptionTimeBasedRenewalInputSchema, createSubscriptionTimeBasedRenewalResponseSchema, createSubscriptionTimeBasedResponseSchema, creditUsageLogDetailsSchema, creditUsageLogIriSchema, creditUsageLogNullableIriSchema, creditUsageLogSchema, creditUsageLogsQuerySchema, deleteCreditUsageLogInputSchema, deleteCreditUsageLogResponseSchema, deleteSubscriptionConsumptionInputSchema, deleteSubscriptionConsumptionRenewalInputSchema, deleteSubscriptionConsumptionRenewalResponseSchema, deleteSubscriptionConsumptionResponseSchema, deleteSubscriptionInfiniteInputSchema, deleteSubscriptionInfiniteResponseSchema, deleteSubscriptionInputSchema, deleteSubscriptionPriceInputSchema, deleteSubscriptionPriceResponseSchema, deleteSubscriptionResponseSchema, deleteSubscriptionTimeBasedInputSchema, deleteSubscriptionTimeBasedRenewalInputSchema, deleteSubscriptionTimeBasedRenewalResponseSchema, deleteSubscriptionTimeBasedResponseSchema, getCreditUsageLogDetailsInputSchema, getCreditUsageLogDetailsResponseSchema, getCreditUsageLogsFromPointOfSaleInputSchema, getCreditUsageLogsFromPointOfSaleResponseSchema, getCreditUsageLogsInputSchema, getCreditUsageLogsResponseSchema, getSubscriptionConsumptionDetailsInputSchema, getSubscriptionConsumptionDetailsResponseSchema, getSubscriptionConsumptionListInputSchema, getSubscriptionConsumptionListResponseSchema, getSubscriptionConsumptionRenewalDetailsInputSchema, getSubscriptionConsumptionRenewalDetailsResponseSchema, getSubscriptionConsumptionRenewalsFromSubscriptionConsumptionInputSchema, getSubscriptionConsumptionRenewalsInputSchema, getSubscriptionConsumptionRenewalsResponseSchema, getSubscriptionDetailsInputSchema, getSubscriptionDetailsResponseSchema, getSubscriptionInfiniteDetailsInputSchema, getSubscriptionInfiniteDetailsResponseSchema, getSubscriptionInfiniteListInputSchema, getSubscriptionInfiniteListResponseSchema, getSubscriptionOverviewFromPointOfSaleInputSchema, getSubscriptionOverviewFromPointOfSaleResponseSchema, getSubscriptionPriceDetailsInputSchema, getSubscriptionPriceDetailsResponseSchema, getSubscriptionPricesInputSchema, getSubscriptionPricesResponseSchema, getSubscriptionTimeBasedDetailsInputSchema, getSubscriptionTimeBasedDetailsResponseSchema, getSubscriptionTimeBasedListInputSchema, getSubscriptionTimeBasedListResponseSchema, getSubscriptionTimeBasedRenewalDetailsInputSchema, getSubscriptionTimeBasedRenewalDetailsResponseSchema, getSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInputSchema, getSubscriptionTimeBasedRenewalsInputSchema, getSubscriptionTimeBasedRenewalsResponseSchema, getSubscriptionsFromPointOfSaleInputSchema, getSubscriptionsFromPointOfSaleResponseSchema, getSubscriptionsInputSchema, getSubscriptionsResponseSchema, paySubscriptionConsumptionRenewalInputSchema, paySubscriptionConsumptionRenewalResponseSchema, paySubscriptionRenewalInputSchema, paySubscriptionTimeBasedRenewalInputSchema, paySubscriptionTimeBasedRenewalResponseSchema, paymentIriSchema, paymentNullableIriSchema, resolvableRenewalPaymentStatusSchema, resolvableRenewalPaymentStatuses, resolveSubscriptionConsumptionRenewalPaymentInputSchema, resolveSubscriptionConsumptionRenewalPaymentResponseSchema, resolveSubscriptionRenewalPaymentInputSchema, resolveSubscriptionTimeBasedRenewalPaymentInputSchema, resolveSubscriptionTimeBasedRenewalPaymentResponseSchema, subscriptionAvailabilityReasonSchema, subscriptionAvailabilityReasons, subscriptionConsumptionDetailsSchema, subscriptionConsumptionIriSchema, subscriptionConsumptionNullableIriSchema, subscriptionConsumptionQuerySchema, subscriptionConsumptionRenewalDetailsSchema, subscriptionConsumptionRenewalIriSchema, subscriptionConsumptionRenewalNullableIriSchema, subscriptionConsumptionRenewalSchema, subscriptionConsumptionRenewalsQuerySchema, subscriptionConsumptionSchema, subscriptionDetailsSchema, subscriptionInfiniteDetailsSchema, subscriptionInfiniteIriSchema, subscriptionInfiniteNullableIriSchema, subscriptionInfiniteSchema, subscriptionIriSchema, subscriptionNullableIriSchema, subscriptionOperationQuoteSchema, subscriptionOverviewResponseSchema, subscriptionOverviewSubscriptionSchema, subscriptionPriceIriSchema, subscriptionPriceNullableIriSchema, subscriptionPriceSchema, subscriptionPricesQuerySchema, subscriptionQuerySchema, subscriptionRenewalPaymentInfoSchema, subscriptionSchema, subscriptionTimeBasedDetailsSchema, subscriptionTimeBasedIriSchema, subscriptionTimeBasedNullableIriSchema, subscriptionTimeBasedQuerySchema, subscriptionTimeBasedRenewalDetailsSchema, subscriptionTimeBasedRenewalIriSchema, subscriptionTimeBasedRenewalNullableIriSchema, subscriptionTimeBasedRenewalSchema, subscriptionTimeBasedRenewalsQuerySchema, subscriptionTimeBasedSchema, updateSubscriptionConsumptionInputSchema, updateSubscriptionConsumptionResponseSchema, updateSubscriptionInputSchema, updateSubscriptionPriceInputSchema, updateSubscriptionPriceResponseSchema, updateSubscriptionResponseSchema, updateSubscriptionTimeBasedInputSchema, updateSubscriptionTimeBasedResponseSchema, writableSubscriptionCommonSchema, writableSubscriptionConsumptionRenewalSchema, writableSubscriptionConsumptionSchema, writableSubscriptionInfiniteSchema, writableSubscriptionPriceSchema, writableSubscriptionTimeBasedRenewalSchema, writableSubscriptionTimeBasedSchema };
6543
+ export { AdjustSubscriptionConsumptionCredits, type AdjustSubscriptionConsumptionCreditsInput, type AdjustSubscriptionConsumptionCreditsResponse, type AdjustableCreditTransactionType, CreateSubscriptionConsumption, type CreateSubscriptionConsumptionInput, CreateSubscriptionConsumptionRenewal, type CreateSubscriptionConsumptionRenewalInput, type CreateSubscriptionConsumptionRenewalResponse, type CreateSubscriptionConsumptionResponse, CreateSubscriptionInfinite, type CreateSubscriptionInfiniteInput, type CreateSubscriptionInfiniteResponse, CreateSubscriptionPlan, type CreateSubscriptionPlanInput, type CreateSubscriptionPlanResponse, CreateSubscriptionPrice, type CreateSubscriptionPriceInput, type CreateSubscriptionPriceResponse, CreateSubscriptionTimeBased, type CreateSubscriptionTimeBasedInput, CreateSubscriptionTimeBasedRenewal, type CreateSubscriptionTimeBasedRenewalInput, type CreateSubscriptionTimeBasedRenewalResponse, type CreateSubscriptionTimeBasedResponse, type CreditUsageLog, type CreditUsageLogDetails, type CreditUsageLogIri, type CreditUsageLogNullableIri, type CreditUsageLogsQueryParams, DeleteCreditUsageLog, DeleteSubscription, DeleteSubscriptionConsumption, DeleteSubscriptionConsumptionRenewal, DeleteSubscriptionInfinite, DeleteSubscriptionPlan, type DeleteSubscriptionPlanInput, type DeleteSubscriptionPlanResponse, DeleteSubscriptionPrice, DeleteSubscriptionTimeBased, DeleteSubscriptionTimeBasedRenewal, GetCreditUsageLogDetails, type GetCreditUsageLogDetailsInput, type GetCreditUsageLogDetailsResponse, GetCreditUsageLogs, GetCreditUsageLogsFromPointOfSale, type GetCreditUsageLogsFromPointOfSaleInput, type GetCreditUsageLogsFromPointOfSaleQueryParams, type GetCreditUsageLogsFromPointOfSaleResponse, type GetCreditUsageLogsInput, type GetCreditUsageLogsQueryParams, type GetCreditUsageLogsResponse, GetSubscriptionConsumptionDetails, type GetSubscriptionConsumptionDetailsInput, type GetSubscriptionConsumptionDetailsResponse, GetSubscriptionConsumptionList, type GetSubscriptionConsumptionListInput, type GetSubscriptionConsumptionListQueryParams, type GetSubscriptionConsumptionListResponse, GetSubscriptionConsumptionRenewalDetails, type GetSubscriptionConsumptionRenewalDetailsInput, type GetSubscriptionConsumptionRenewalDetailsResponse, GetSubscriptionConsumptionRenewals, GetSubscriptionConsumptionRenewalsFromSubscriptionConsumption, type GetSubscriptionConsumptionRenewalsFromSubscriptionConsumptionInput, type GetSubscriptionConsumptionRenewalsFromSubscriptionConsumptionQueryParams, type GetSubscriptionConsumptionRenewalsFromSubscriptionConsumptionResponse, type GetSubscriptionConsumptionRenewalsInput, type GetSubscriptionConsumptionRenewalsQueryParams, type GetSubscriptionConsumptionRenewalsResponse, GetSubscriptionDetails, type GetSubscriptionDetailsInput, type GetSubscriptionDetailsResponse, GetSubscriptionInfiniteDetails, type GetSubscriptionInfiniteDetailsInput, type GetSubscriptionInfiniteDetailsResponse, GetSubscriptionInfiniteList, type GetSubscriptionInfiniteListInput, type GetSubscriptionInfiniteListQueryParams, type GetSubscriptionInfiniteListResponse, GetSubscriptionOverviewFromPointOfSale, type GetSubscriptionOverviewFromPointOfSaleInput, type GetSubscriptionOverviewFromPointOfSaleResponse, GetSubscriptionPlanCatalog, GetSubscriptionPlanCatalogDetails, type GetSubscriptionPlanCatalogDetailsInput, type GetSubscriptionPlanCatalogDetailsResponse, type GetSubscriptionPlanCatalogInput, type GetSubscriptionPlanCatalogResponse, GetSubscriptionPlanDetails, type GetSubscriptionPlanDetailsInput, type GetSubscriptionPlanDetailsResponse, GetSubscriptionPlans, type GetSubscriptionPlansInput, type GetSubscriptionPlansQueryParams, type GetSubscriptionPlansResponse, GetSubscriptionPriceDetails, type GetSubscriptionPriceDetailsInput, type GetSubscriptionPriceDetailsResponse, GetSubscriptionPrices, type GetSubscriptionPricesInput, type GetSubscriptionPricesQueryParams, type GetSubscriptionPricesResponse, GetSubscriptionTimeBasedDetails, type GetSubscriptionTimeBasedDetailsInput, type GetSubscriptionTimeBasedDetailsResponse, GetSubscriptionTimeBasedList, type GetSubscriptionTimeBasedListInput, type GetSubscriptionTimeBasedListQueryParams, type GetSubscriptionTimeBasedListResponse, GetSubscriptionTimeBasedRenewalDetails, type GetSubscriptionTimeBasedRenewalDetailsInput, type GetSubscriptionTimeBasedRenewalDetailsResponse, GetSubscriptionTimeBasedRenewals, GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased, type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInput, type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedQueryParams, type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedResponse, type GetSubscriptionTimeBasedRenewalsInput, type GetSubscriptionTimeBasedRenewalsQueryParams, type GetSubscriptionTimeBasedRenewalsResponse, GetSubscriptions, GetSubscriptionsFromPointOfSale, type GetSubscriptionsFromPointOfSaleInput, type GetSubscriptionsFromPointOfSaleQueryParams, type GetSubscriptionsFromPointOfSaleResponse, type GetSubscriptionsInput, type GetSubscriptionsQueryParams, type GetSubscriptionsResponse, PaySubscriptionConsumptionRenewal, type PaySubscriptionConsumptionRenewalInput, type PaySubscriptionConsumptionRenewalResponse, type PaySubscriptionRenewalInput, PaySubscriptionTimeBasedRenewal, type PaySubscriptionTimeBasedRenewalInput, type PaySubscriptionTimeBasedRenewalResponse, type PaymentIri, type PaymentNullableIri, type ResolvableRenewalPaymentStatus, ResolveSubscriptionConsumptionRenewalPayment, type ResolveSubscriptionConsumptionRenewalPaymentInput, type ResolveSubscriptionConsumptionRenewalPaymentResponse, type ResolveSubscriptionRenewalPaymentInput, ResolveSubscriptionTimeBasedRenewalPayment, type ResolveSubscriptionTimeBasedRenewalPaymentInput, type ResolveSubscriptionTimeBasedRenewalPaymentResponse, type Subscription, type SubscriptionAvailabilityReason, type SubscriptionConsumption, type SubscriptionConsumptionDetails, type SubscriptionConsumptionIri, type SubscriptionConsumptionNullableIri, type SubscriptionConsumptionQueryParams, type SubscriptionConsumptionRenewal, type SubscriptionConsumptionRenewalDetails, type SubscriptionConsumptionRenewalIri, type SubscriptionConsumptionRenewalNullableIri, type SubscriptionConsumptionRenewalsQueryParams, type SubscriptionDetails, type SubscriptionInfinite, type SubscriptionInfiniteDetails, type SubscriptionInfiniteIri, type SubscriptionInfiniteNullableIri, type SubscriptionIri, type SubscriptionNullableIri, type SubscriptionOperationQuote, type SubscriptionOverviewPlan, type SubscriptionOverviewResponse, type SubscriptionOverviewSubscription, type SubscriptionPlan, type SubscriptionPlanIri, type SubscriptionPlanNullableIri, type SubscriptionPlanPriceOption, type SubscriptionPlanSummary, type SubscriptionPlansQueryParams, type SubscriptionPrice, type SubscriptionPriceIri, type SubscriptionPriceNullableIri, type SubscriptionPricesQueryParams, type SubscriptionQueryParams, type SubscriptionRenewalPaymentInfo, type SubscriptionTimeBased, type SubscriptionTimeBasedDetails, type SubscriptionTimeBasedIri, type SubscriptionTimeBasedNullableIri, type SubscriptionTimeBasedQueryParams, type SubscriptionTimeBasedRenewal, type SubscriptionTimeBasedRenewalDetails, type SubscriptionTimeBasedRenewalIri, type SubscriptionTimeBasedRenewalNullableIri, type SubscriptionTimeBasedRenewalsQueryParams, UpdateSubscription, UpdateSubscriptionConsumption, type UpdateSubscriptionConsumptionInput, type UpdateSubscriptionConsumptionResponse, type UpdateSubscriptionInput, UpdateSubscriptionPlan, type UpdateSubscriptionPlanInput, type UpdateSubscriptionPlanResponse, UpdateSubscriptionPrice, type UpdateSubscriptionPriceInput, type UpdateSubscriptionPriceResponse, type UpdateSubscriptionResponse, UpdateSubscriptionTimeBased, type UpdateSubscriptionTimeBasedInput, type UpdateSubscriptionTimeBasedResponse, type WritableSubscriptionCommon, type WritableSubscriptionConsumption, type WritableSubscriptionConsumptionRenewal, type WritableSubscriptionInfinite, type WritableSubscriptionPlan, type WritableSubscriptionPrice, type WritableSubscriptionTimeBased, type WritableSubscriptionTimeBasedRenewal, adjustSubscriptionConsumptionCreditsInputSchema, adjustSubscriptionConsumptionCreditsResponseSchema, adjustableCreditTransactionTypeSchema, adjustableCreditTransactionTypes, createSubscriptionConsumptionInputSchema, createSubscriptionConsumptionRenewalInputSchema, createSubscriptionConsumptionRenewalResponseSchema, createSubscriptionConsumptionResponseSchema, createSubscriptionInfiniteInputSchema, createSubscriptionInfiniteResponseSchema, createSubscriptionPlanInputSchema, createSubscriptionPlanResponseSchema, createSubscriptionPriceInputSchema, createSubscriptionPriceResponseSchema, createSubscriptionTimeBasedInputSchema, createSubscriptionTimeBasedRenewalInputSchema, createSubscriptionTimeBasedRenewalResponseSchema, createSubscriptionTimeBasedResponseSchema, creditUsageLogDetailsSchema, creditUsageLogIriSchema, creditUsageLogNullableIriSchema, creditUsageLogSchema, creditUsageLogsQuerySchema, deleteCreditUsageLogInputSchema, deleteCreditUsageLogResponseSchema, deleteSubscriptionConsumptionInputSchema, deleteSubscriptionConsumptionRenewalInputSchema, deleteSubscriptionConsumptionRenewalResponseSchema, deleteSubscriptionConsumptionResponseSchema, deleteSubscriptionInfiniteInputSchema, deleteSubscriptionInfiniteResponseSchema, deleteSubscriptionInputSchema, deleteSubscriptionPlanInputSchema, deleteSubscriptionPlanResponseSchema, deleteSubscriptionPriceInputSchema, deleteSubscriptionPriceResponseSchema, deleteSubscriptionResponseSchema, deleteSubscriptionTimeBasedInputSchema, deleteSubscriptionTimeBasedRenewalInputSchema, deleteSubscriptionTimeBasedRenewalResponseSchema, deleteSubscriptionTimeBasedResponseSchema, getCreditUsageLogDetailsInputSchema, getCreditUsageLogDetailsResponseSchema, getCreditUsageLogsFromPointOfSaleInputSchema, getCreditUsageLogsFromPointOfSaleResponseSchema, getCreditUsageLogsInputSchema, getCreditUsageLogsResponseSchema, getSubscriptionConsumptionDetailsInputSchema, getSubscriptionConsumptionDetailsResponseSchema, getSubscriptionConsumptionListInputSchema, getSubscriptionConsumptionListResponseSchema, getSubscriptionConsumptionRenewalDetailsInputSchema, getSubscriptionConsumptionRenewalDetailsResponseSchema, getSubscriptionConsumptionRenewalsFromSubscriptionConsumptionInputSchema, getSubscriptionConsumptionRenewalsInputSchema, getSubscriptionConsumptionRenewalsResponseSchema, getSubscriptionDetailsInputSchema, getSubscriptionDetailsResponseSchema, getSubscriptionInfiniteDetailsInputSchema, getSubscriptionInfiniteDetailsResponseSchema, getSubscriptionInfiniteListInputSchema, getSubscriptionInfiniteListResponseSchema, getSubscriptionOverviewFromPointOfSaleInputSchema, getSubscriptionOverviewFromPointOfSaleResponseSchema, getSubscriptionPlanCatalogDetailsInputSchema, getSubscriptionPlanCatalogDetailsResponseSchema, getSubscriptionPlanCatalogInputSchema, getSubscriptionPlanCatalogResponseSchema, getSubscriptionPlanDetailsInputSchema, getSubscriptionPlanDetailsResponseSchema, getSubscriptionPlansInputSchema, getSubscriptionPlansResponseSchema, getSubscriptionPriceDetailsInputSchema, getSubscriptionPriceDetailsResponseSchema, getSubscriptionPricesInputSchema, getSubscriptionPricesResponseSchema, getSubscriptionTimeBasedDetailsInputSchema, getSubscriptionTimeBasedDetailsResponseSchema, getSubscriptionTimeBasedListInputSchema, getSubscriptionTimeBasedListResponseSchema, getSubscriptionTimeBasedRenewalDetailsInputSchema, getSubscriptionTimeBasedRenewalDetailsResponseSchema, getSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInputSchema, getSubscriptionTimeBasedRenewalsInputSchema, getSubscriptionTimeBasedRenewalsResponseSchema, getSubscriptionsFromPointOfSaleInputSchema, getSubscriptionsFromPointOfSaleResponseSchema, getSubscriptionsInputSchema, getSubscriptionsResponseSchema, paySubscriptionConsumptionRenewalInputSchema, paySubscriptionConsumptionRenewalResponseSchema, paySubscriptionRenewalInputSchema, paySubscriptionTimeBasedRenewalInputSchema, paySubscriptionTimeBasedRenewalResponseSchema, paymentIriSchema, paymentNullableIriSchema, resolvableRenewalPaymentStatusSchema, resolvableRenewalPaymentStatuses, resolveSubscriptionConsumptionRenewalPaymentInputSchema, resolveSubscriptionConsumptionRenewalPaymentResponseSchema, resolveSubscriptionRenewalPaymentInputSchema, resolveSubscriptionTimeBasedRenewalPaymentInputSchema, resolveSubscriptionTimeBasedRenewalPaymentResponseSchema, subscriptionAvailabilityReasonSchema, subscriptionAvailabilityReasons, subscriptionConsumptionDetailsSchema, subscriptionConsumptionIriSchema, subscriptionConsumptionNullableIriSchema, subscriptionConsumptionQuerySchema, subscriptionConsumptionRenewalDetailsSchema, subscriptionConsumptionRenewalIriSchema, subscriptionConsumptionRenewalNullableIriSchema, subscriptionConsumptionRenewalSchema, subscriptionConsumptionRenewalsQuerySchema, subscriptionConsumptionSchema, subscriptionDetailsSchema, subscriptionInfiniteDetailsSchema, subscriptionInfiniteIriSchema, subscriptionInfiniteNullableIriSchema, subscriptionInfiniteSchema, subscriptionIriSchema, subscriptionNullableIriSchema, subscriptionOperationQuoteSchema, subscriptionOverviewPlanSchema, subscriptionOverviewResponseSchema, subscriptionOverviewSubscriptionSchema, subscriptionPlanIriSchema, subscriptionPlanNullableIriSchema, subscriptionPlanPriceOptionSchema, subscriptionPlanSchema, subscriptionPlanSummarySchema, subscriptionPlansQuerySchema, subscriptionPriceIriSchema, subscriptionPriceNullableIriSchema, subscriptionPriceSchema, subscriptionPricesQuerySchema, subscriptionQuerySchema, subscriptionRenewalPaymentInfoSchema, subscriptionSchema, subscriptionTimeBasedDetailsSchema, subscriptionTimeBasedIriSchema, subscriptionTimeBasedNullableIriSchema, subscriptionTimeBasedQuerySchema, subscriptionTimeBasedRenewalDetailsSchema, subscriptionTimeBasedRenewalIriSchema, subscriptionTimeBasedRenewalNullableIriSchema, subscriptionTimeBasedRenewalSchema, subscriptionTimeBasedRenewalsQuerySchema, subscriptionTimeBasedSchema, updateSubscriptionConsumptionInputSchema, updateSubscriptionConsumptionResponseSchema, updateSubscriptionInputSchema, updateSubscriptionPlanInputSchema, updateSubscriptionPlanResponseSchema, updateSubscriptionPriceInputSchema, updateSubscriptionPriceResponseSchema, updateSubscriptionResponseSchema, updateSubscriptionTimeBasedInputSchema, updateSubscriptionTimeBasedResponseSchema, writableSubscriptionCommonSchema, writableSubscriptionConsumptionRenewalSchema, writableSubscriptionConsumptionSchema, writableSubscriptionInfiniteSchema, writableSubscriptionPlanSchema, writableSubscriptionPriceSchema, writableSubscriptionTimeBasedRenewalSchema, writableSubscriptionTimeBasedSchema };