@deliverart/sdk-js-subscription 2.13.2 → 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.ts CHANGED
@@ -1,8 +1,76 @@
1
1
  import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-types';
2
- export { CreditTransactionType, RenewalStatus, SubscriptionStatus, SubscriptionType, creditTransactionTypeSchema, creditTransactionTypes, renewalStatusSchema, renewalStatuses, subscriptionStatusSchema, subscriptionStatuses, subscriptionTypeSchema, subscriptionTypes } from '@deliverart/sdk-js-global-types';
2
+ import { PaymentMethod } from '@deliverart/sdk-js-global-types';
3
+ export { CreditTransactionType, PaymentMethod, PaymentStatus, RenewalStatus, SubscriptionStatus, SubscriptionType, creditTransactionTypeSchema, creditTransactionTypes, paymentMethodSchema, paymentMethods, paymentStatusSchema, paymentStatuses, renewalStatusSchema, renewalStatuses, subscriptionStatusSchema, subscriptionStatuses, subscriptionTypeSchema, subscriptionTypes } from '@deliverart/sdk-js-global-types';
3
4
  import { z } from 'zod';
4
5
  import { AbstractApiRequest } from '@deliverart/sdk-js-core';
5
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>;
6
74
  declare const subscriptionInfiniteSchema: z.ZodObject<{
7
75
  id: z.ZodString;
8
76
  status: z.ZodEnum<{
@@ -16,6 +84,19 @@ declare const subscriptionInfiniteSchema: z.ZodObject<{
16
84
  autoRenewal: z.ZodBoolean;
17
85
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
18
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>>>;
19
100
  createdAt: z.ZodString;
20
101
  updatedAt: z.ZodString;
21
102
  type: z.ZodLiteral<"infinite">;
@@ -34,6 +115,19 @@ declare const subscriptionInfiniteDetailsSchema: z.ZodObject<{
34
115
  autoRenewal: z.ZodBoolean;
35
116
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
36
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>>>;
37
131
  createdAt: z.ZodString;
38
132
  updatedAt: z.ZodString;
39
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>>;
@@ -53,6 +147,19 @@ declare const subscriptionConsumptionSchema: z.ZodObject<{
53
147
  autoRenewal: z.ZodBoolean;
54
148
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
55
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>>>;
56
163
  createdAt: z.ZodString;
57
164
  updatedAt: z.ZodString;
58
165
  type: z.ZodLiteral<"consumption">;
@@ -75,6 +182,19 @@ declare const subscriptionConsumptionDetailsSchema: z.ZodObject<{
75
182
  autoRenewal: z.ZodBoolean;
76
183
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
77
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>>>;
78
198
  createdAt: z.ZodString;
79
199
  updatedAt: z.ZodString;
80
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>>;
@@ -98,6 +218,19 @@ declare const subscriptionTimeBasedSchema: z.ZodObject<{
98
218
  autoRenewal: z.ZodBoolean;
99
219
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
100
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>>>;
101
234
  createdAt: z.ZodString;
102
235
  updatedAt: z.ZodString;
103
236
  type: z.ZodLiteral<"time_based">;
@@ -119,6 +252,19 @@ declare const subscriptionTimeBasedDetailsSchema: z.ZodObject<{
119
252
  autoRenewal: z.ZodBoolean;
120
253
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
121
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>>>;
122
268
  createdAt: z.ZodString;
123
269
  updatedAt: z.ZodString;
124
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>>;
@@ -142,6 +288,19 @@ declare const subscriptionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
142
288
  autoRenewal: z.ZodBoolean;
143
289
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
144
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>>>;
145
304
  createdAt: z.ZodString;
146
305
  updatedAt: z.ZodString;
147
306
  type: z.ZodLiteral<"infinite">;
@@ -158,6 +317,19 @@ declare const subscriptionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
158
317
  autoRenewal: z.ZodBoolean;
159
318
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
160
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>>>;
161
333
  createdAt: z.ZodString;
162
334
  updatedAt: z.ZodString;
163
335
  type: z.ZodLiteral<"consumption">;
@@ -178,6 +350,19 @@ declare const subscriptionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
178
350
  autoRenewal: z.ZodBoolean;
179
351
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
180
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>>>;
181
366
  createdAt: z.ZodString;
182
367
  updatedAt: z.ZodString;
183
368
  type: z.ZodLiteral<"time_based">;
@@ -199,6 +384,19 @@ declare const subscriptionDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
199
384
  autoRenewal: z.ZodBoolean;
200
385
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
201
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>>>;
202
400
  createdAt: z.ZodString;
203
401
  updatedAt: z.ZodString;
204
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>>;
@@ -216,6 +414,19 @@ declare const subscriptionDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
216
414
  autoRenewal: z.ZodBoolean;
217
415
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
218
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>>>;
219
430
  createdAt: z.ZodString;
220
431
  updatedAt: z.ZodString;
221
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>>;
@@ -237,6 +448,19 @@ declare const subscriptionDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
237
448
  autoRenewal: z.ZodBoolean;
238
449
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
239
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>>>;
240
464
  createdAt: z.ZodString;
241
465
  updatedAt: z.ZodString;
242
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>>;
@@ -258,6 +482,7 @@ declare const subscriptionConsumptionRenewalSchema: z.ZodObject<{
258
482
  price: z.ZodString;
259
483
  createdAt: z.ZodString;
260
484
  updatedAt: z.ZodString;
485
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
261
486
  credits: z.ZodCoercedNumber<unknown>;
262
487
  pricePerCredit: z.ZodCoercedNumber<unknown>;
263
488
  }, z.core.$strip>;
@@ -273,6 +498,7 @@ declare const subscriptionConsumptionRenewalDetailsSchema: z.ZodObject<{
273
498
  price: z.ZodString;
274
499
  createdAt: z.ZodString;
275
500
  updatedAt: z.ZodString;
501
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
276
502
  credits: z.ZodCoercedNumber<unknown>;
277
503
  pricePerCredit: z.ZodCoercedNumber<unknown>;
278
504
  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>>;
@@ -289,6 +515,7 @@ declare const subscriptionTimeBasedRenewalSchema: z.ZodObject<{
289
515
  price: z.ZodString;
290
516
  createdAt: z.ZodString;
291
517
  updatedAt: z.ZodString;
518
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
292
519
  days: z.ZodCoercedNumber<unknown>;
293
520
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
294
521
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -306,6 +533,7 @@ declare const subscriptionTimeBasedRenewalDetailsSchema: z.ZodObject<{
306
533
  price: z.ZodString;
307
534
  createdAt: z.ZodString;
308
535
  updatedAt: z.ZodString;
536
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
309
537
  days: z.ZodCoercedNumber<unknown>;
310
538
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
311
539
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -320,6 +548,7 @@ declare const subscriptionPriceSchema: z.ZodObject<{
320
548
  time_based: "time_based";
321
549
  consumption: "consumption";
322
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>>>>;
323
552
  threshold: z.ZodCoercedNumber<unknown>;
324
553
  unitPrice: z.ZodString;
325
554
  createdAt: z.ZodString;
@@ -377,9 +606,100 @@ declare const adjustSubscriptionConsumptionCreditsInputSchema: z.ZodObject<{
377
606
  reference: z.ZodOptional<z.ZodString>;
378
607
  note: z.ZodOptional<z.ZodString>;
379
608
  }, z.core.$strip>;
609
+ declare const paySubscriptionRenewalInputSchema: z.ZodObject<{
610
+ method: z.ZodEnum<{
611
+ stripe: "stripe";
612
+ bank_transfer: "bank_transfer";
613
+ cash: "cash";
614
+ credit_card: "credit_card";
615
+ }>;
616
+ }, z.core.$strip>;
617
+ type PaySubscriptionRenewalInput = z.infer<typeof paySubscriptionRenewalInputSchema>;
618
+ declare const subscriptionRenewalPaymentInfoSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
619
+ id: z.ZodString;
620
+ status: z.ZodEnum<{
621
+ pending: "pending";
622
+ pending_verification: "pending_verification";
623
+ paid: "paid";
624
+ canceled: "canceled";
625
+ refunded: "refunded";
626
+ failed: "failed";
627
+ }>;
628
+ amount: z.ZodString;
629
+ method: z.ZodLiteral<"stripe">;
630
+ sessionUrl: z.ZodString;
631
+ expiresAt: z.ZodString;
632
+ }, z.core.$strip>, z.ZodObject<{
633
+ id: z.ZodString;
634
+ status: z.ZodEnum<{
635
+ pending: "pending";
636
+ pending_verification: "pending_verification";
637
+ paid: "paid";
638
+ canceled: "canceled";
639
+ refunded: "refunded";
640
+ failed: "failed";
641
+ }>;
642
+ amount: z.ZodString;
643
+ method: z.ZodLiteral<"bank_transfer">;
644
+ iban: z.ZodString;
645
+ bic: z.ZodString;
646
+ accountHolder: z.ZodString;
647
+ bankName: z.ZodString;
648
+ bankAddress: z.ZodNullable<z.ZodString>;
649
+ currency: z.ZodString;
650
+ description: z.ZodString;
651
+ }, z.core.$strip>, z.ZodObject<{
652
+ id: z.ZodString;
653
+ status: z.ZodEnum<{
654
+ pending: "pending";
655
+ pending_verification: "pending_verification";
656
+ paid: "paid";
657
+ canceled: "canceled";
658
+ refunded: "refunded";
659
+ failed: "failed";
660
+ }>;
661
+ amount: z.ZodString;
662
+ method: z.ZodLiteral<"cash">;
663
+ }, z.core.$strip>, z.ZodObject<{
664
+ id: z.ZodString;
665
+ status: z.ZodEnum<{
666
+ pending: "pending";
667
+ pending_verification: "pending_verification";
668
+ paid: "paid";
669
+ canceled: "canceled";
670
+ refunded: "refunded";
671
+ failed: "failed";
672
+ }>;
673
+ amount: z.ZodString;
674
+ method: z.ZodLiteral<"credit_card">;
675
+ }, z.core.$strip>], "method">;
676
+ type SubscriptionRenewalPaymentInfo = z.infer<typeof subscriptionRenewalPaymentInfoSchema>;
677
+ declare const resolveSubscriptionRenewalPaymentInputSchema: z.ZodObject<{
678
+ status: z.ZodEnum<{
679
+ paid: "paid";
680
+ failed: "failed";
681
+ canceled: "canceled";
682
+ }>;
683
+ response: z.ZodOptional<z.ZodString>;
684
+ }, z.core.$strip>;
685
+ type ResolveSubscriptionRenewalPaymentInput = z.infer<typeof resolveSubscriptionRenewalPaymentInputSchema>;
380
686
  declare const subscriptionOverviewSubscriptionSchema: z.ZodObject<{
381
687
  id: z.ZodString;
382
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>>;
383
703
  type: z.ZodEnum<{
384
704
  infinite: "infinite";
385
705
  time_based: "time_based";
@@ -429,6 +749,20 @@ declare const subscriptionOverviewResponseSchema: z.ZodObject<{
429
749
  subscription: z.ZodNullable<z.ZodObject<{
430
750
  id: z.ZodString;
431
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>>;
432
766
  type: z.ZodEnum<{
433
767
  infinite: "infinite";
434
768
  time_based: "time_based";
@@ -509,10 +843,33 @@ declare const writableSubscriptionPriceSchema: z.ZodObject<{
509
843
  time_based: "time_based";
510
844
  consumption: "consumption";
511
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>>>>;
512
847
  threshold: z.ZodCoercedNumber<unknown>;
513
848
  unitPrice: z.ZodString;
514
849
  }, z.core.$strip>;
515
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>;
516
873
  declare const writableSubscriptionConsumptionRenewalSchema: z.ZodObject<{
517
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>>;
518
875
  credits: z.ZodCoercedNumber<unknown>;
@@ -777,6 +1134,50 @@ declare const subscriptionTimeBasedRenewalsQuerySchema: z.ZodObject<{
777
1134
  'days[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
778
1135
  }, z.core.$strip>;
779
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>;
780
1181
  declare const subscriptionPricesQuerySchema: z.ZodObject<{
781
1182
  id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
782
1183
  type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -788,6 +1189,8 @@ declare const subscriptionPricesQuerySchema: z.ZodObject<{
788
1189
  time_based: "time_based";
789
1190
  consumption: "consumption";
790
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>]>>;
791
1194
  'threshold[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
792
1195
  'threshold[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
793
1196
  'threshold[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
@@ -863,6 +1266,19 @@ declare const getSubscriptionsResponseSchema: z.ZodObject<{
863
1266
  autoRenewal: z.ZodBoolean;
864
1267
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
865
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>>>;
866
1282
  createdAt: z.ZodString;
867
1283
  updatedAt: z.ZodString;
868
1284
  type: z.ZodLiteral<"infinite">;
@@ -879,6 +1295,19 @@ declare const getSubscriptionsResponseSchema: z.ZodObject<{
879
1295
  autoRenewal: z.ZodBoolean;
880
1296
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
881
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>>>;
882
1311
  createdAt: z.ZodString;
883
1312
  updatedAt: z.ZodString;
884
1313
  type: z.ZodLiteral<"consumption">;
@@ -899,6 +1328,19 @@ declare const getSubscriptionsResponseSchema: z.ZodObject<{
899
1328
  autoRenewal: z.ZodBoolean;
900
1329
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
901
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>>>;
902
1344
  createdAt: z.ZodString;
903
1345
  updatedAt: z.ZodString;
904
1346
  type: z.ZodLiteral<"time_based">;
@@ -929,6 +1371,19 @@ declare const getSubscriptionConsumptionListResponseSchema: z.ZodObject<{
929
1371
  autoRenewal: z.ZodBoolean;
930
1372
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
931
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>>>;
932
1387
  createdAt: z.ZodString;
933
1388
  updatedAt: z.ZodString;
934
1389
  type: z.ZodLiteral<"consumption">;
@@ -960,6 +1415,19 @@ declare const getSubscriptionTimeBasedListResponseSchema: z.ZodObject<{
960
1415
  autoRenewal: z.ZodBoolean;
961
1416
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
962
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>>>;
963
1431
  createdAt: z.ZodString;
964
1432
  updatedAt: z.ZodString;
965
1433
  type: z.ZodLiteral<"time_based">;
@@ -990,6 +1458,19 @@ declare const getSubscriptionInfiniteListResponseSchema: z.ZodObject<{
990
1458
  autoRenewal: z.ZodBoolean;
991
1459
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
992
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>>>;
993
1474
  createdAt: z.ZodString;
994
1475
  updatedAt: z.ZodString;
995
1476
  type: z.ZodLiteral<"infinite">;
@@ -1003,6 +1484,46 @@ declare const getSubscriptionInfiniteListResponseSchema: z.ZodObject<{
1003
1484
  lastPage: z.ZodCoercedNumber<unknown>;
1004
1485
  }, z.core.$strip>;
1005
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>;
1006
1527
  declare const getSubscriptionPricesResponseSchema: z.ZodObject<{
1007
1528
  data: z.ZodArray<z.ZodObject<{
1008
1529
  id: z.ZodString;
@@ -1011,6 +1532,7 @@ declare const getSubscriptionPricesResponseSchema: z.ZodObject<{
1011
1532
  time_based: "time_based";
1012
1533
  consumption: "consumption";
1013
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>>>>;
1014
1536
  threshold: z.ZodCoercedNumber<unknown>;
1015
1537
  unitPrice: z.ZodString;
1016
1538
  createdAt: z.ZodString;
@@ -1065,6 +1587,7 @@ declare const getSubscriptionConsumptionRenewalsResponseSchema: z.ZodObject<{
1065
1587
  price: z.ZodString;
1066
1588
  createdAt: z.ZodString;
1067
1589
  updatedAt: z.ZodString;
1590
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
1068
1591
  credits: z.ZodCoercedNumber<unknown>;
1069
1592
  pricePerCredit: z.ZodCoercedNumber<unknown>;
1070
1593
  }, z.core.$strip>>;
@@ -1089,6 +1612,7 @@ declare const getSubscriptionTimeBasedRenewalsResponseSchema: z.ZodObject<{
1089
1612
  price: z.ZodString;
1090
1613
  createdAt: z.ZodString;
1091
1614
  updatedAt: z.ZodString;
1615
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
1092
1616
  days: z.ZodCoercedNumber<unknown>;
1093
1617
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1094
1618
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -1103,14 +1627,44 @@ declare const getSubscriptionTimeBasedRenewalsResponseSchema: z.ZodObject<{
1103
1627
  lastPage: z.ZodCoercedNumber<unknown>;
1104
1628
  }, z.core.$strip>;
1105
1629
  }, z.core.$strip>;
1106
-
1107
- declare const deleteCreditUsageLogInputSchema: z.ZodUndefined;
1108
- declare const deleteCreditUsageLogResponseSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
1109
- declare class DeleteCreditUsageLog extends AbstractApiRequest<typeof deleteCreditUsageLogInputSchema, typeof deleteCreditUsageLogResponseSchema> {
1110
- readonly method = "DELETE";
1111
- readonly contentType = "application/json";
1112
- readonly accept = "application/json";
1113
- readonly inputSchema: z.ZodUndefined;
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>>;
1660
+
1661
+ declare const deleteCreditUsageLogInputSchema: z.ZodUndefined;
1662
+ declare const deleteCreditUsageLogResponseSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
1663
+ declare class DeleteCreditUsageLog extends AbstractApiRequest<typeof deleteCreditUsageLogInputSchema, typeof deleteCreditUsageLogResponseSchema> {
1664
+ readonly method = "DELETE";
1665
+ readonly contentType = "application/json";
1666
+ readonly accept = "application/json";
1667
+ readonly inputSchema: z.ZodUndefined;
1114
1668
  readonly outputSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
1115
1669
  readonly querySchema: undefined;
1116
1670
  readonly headersSchema: undefined;
@@ -1448,6 +2002,19 @@ declare const createSubscriptionConsumptionResponseSchema: z.ZodObject<{
1448
2002
  autoRenewal: z.ZodBoolean;
1449
2003
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1450
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>>>;
1451
2018
  createdAt: z.ZodString;
1452
2019
  updatedAt: z.ZodString;
1453
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>>;
@@ -1482,6 +2049,19 @@ declare class CreateSubscriptionConsumption extends AbstractApiRequest<typeof cr
1482
2049
  autoRenewal: z.ZodBoolean;
1483
2050
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1484
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>>>;
1485
2065
  createdAt: z.ZodString;
1486
2066
  updatedAt: z.ZodString;
1487
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>>;
@@ -1527,6 +2107,19 @@ declare const getSubscriptionConsumptionDetailsResponseSchema: z.ZodObject<{
1527
2107
  autoRenewal: z.ZodBoolean;
1528
2108
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1529
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>>>;
1530
2123
  createdAt: z.ZodString;
1531
2124
  updatedAt: z.ZodString;
1532
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>>;
@@ -1555,6 +2148,19 @@ declare class GetSubscriptionConsumptionDetails extends AbstractApiRequest<typeo
1555
2148
  autoRenewal: z.ZodBoolean;
1556
2149
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1557
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>>>;
1558
2164
  createdAt: z.ZodString;
1559
2165
  updatedAt: z.ZodString;
1560
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>>;
@@ -1594,6 +2200,19 @@ declare class GetSubscriptionConsumptionList extends AbstractApiRequest<typeof g
1594
2200
  autoRenewal: z.ZodBoolean;
1595
2201
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1596
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>>>;
1597
2216
  createdAt: z.ZodString;
1598
2217
  updatedAt: z.ZodString;
1599
2218
  type: z.ZodLiteral<"consumption">;
@@ -1686,6 +2305,19 @@ declare class GetSubscriptionConsumptionList extends AbstractApiRequest<typeof g
1686
2305
  autoRenewal: z.ZodBoolean;
1687
2306
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1688
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>>>;
1689
2321
  createdAt: z.ZodString;
1690
2322
  updatedAt: z.ZodString;
1691
2323
  type: z.ZodLiteral<"consumption">;
@@ -1721,6 +2353,19 @@ declare const updateSubscriptionConsumptionResponseSchema: z.ZodObject<{
1721
2353
  autoRenewal: z.ZodBoolean;
1722
2354
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1723
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>>>;
1724
2369
  createdAt: z.ZodString;
1725
2370
  updatedAt: z.ZodString;
1726
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>>;
@@ -1754,6 +2399,19 @@ declare class UpdateSubscriptionConsumption extends AbstractApiRequest<typeof up
1754
2399
  autoRenewal: z.ZodBoolean;
1755
2400
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1756
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>>>;
1757
2415
  createdAt: z.ZodString;
1758
2416
  updatedAt: z.ZodString;
1759
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>>;
@@ -1786,6 +2444,7 @@ declare const createSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
1786
2444
  price: z.ZodString;
1787
2445
  createdAt: z.ZodString;
1788
2446
  updatedAt: z.ZodString;
2447
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
1789
2448
  credits: z.ZodCoercedNumber<unknown>;
1790
2449
  pricePerCredit: z.ZodCoercedNumber<unknown>;
1791
2450
  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>>;
@@ -1810,6 +2469,7 @@ declare class CreateSubscriptionConsumptionRenewal extends AbstractApiRequest<ty
1810
2469
  price: z.ZodString;
1811
2470
  createdAt: z.ZodString;
1812
2471
  updatedAt: z.ZodString;
2472
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
1813
2473
  credits: z.ZodCoercedNumber<unknown>;
1814
2474
  pricePerCredit: z.ZodCoercedNumber<unknown>;
1815
2475
  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>>;
@@ -1848,6 +2508,7 @@ declare const getSubscriptionConsumptionRenewalDetailsResponseSchema: z.ZodObjec
1848
2508
  price: z.ZodString;
1849
2509
  createdAt: z.ZodString;
1850
2510
  updatedAt: z.ZodString;
2511
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
1851
2512
  credits: z.ZodCoercedNumber<unknown>;
1852
2513
  pricePerCredit: z.ZodCoercedNumber<unknown>;
1853
2514
  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>>;
@@ -1869,6 +2530,7 @@ declare class GetSubscriptionConsumptionRenewalDetails extends AbstractApiReques
1869
2530
  price: z.ZodString;
1870
2531
  createdAt: z.ZodString;
1871
2532
  updatedAt: z.ZodString;
2533
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
1872
2534
  credits: z.ZodCoercedNumber<unknown>;
1873
2535
  pricePerCredit: z.ZodCoercedNumber<unknown>;
1874
2536
  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>>;
@@ -1901,6 +2563,7 @@ declare class GetSubscriptionConsumptionRenewals extends AbstractApiRequest<type
1901
2563
  price: z.ZodString;
1902
2564
  createdAt: z.ZodString;
1903
2565
  updatedAt: z.ZodString;
2566
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
1904
2567
  credits: z.ZodCoercedNumber<unknown>;
1905
2568
  pricePerCredit: z.ZodCoercedNumber<unknown>;
1906
2569
  }, z.core.$strip>>;
@@ -1966,6 +2629,7 @@ declare class GetSubscriptionConsumptionRenewals extends AbstractApiRequest<type
1966
2629
  price: z.ZodString;
1967
2630
  createdAt: z.ZodString;
1968
2631
  updatedAt: z.ZodString;
2632
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
1969
2633
  credits: z.ZodCoercedNumber<unknown>;
1970
2634
  pricePerCredit: z.ZodCoercedNumber<unknown>;
1971
2635
  }, z.core.$strip>;
@@ -1997,6 +2661,7 @@ declare class GetSubscriptionConsumptionRenewalsFromSubscriptionConsumption exte
1997
2661
  price: z.ZodString;
1998
2662
  createdAt: z.ZodString;
1999
2663
  updatedAt: z.ZodString;
2664
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
2000
2665
  credits: z.ZodCoercedNumber<unknown>;
2001
2666
  pricePerCredit: z.ZodCoercedNumber<unknown>;
2002
2667
  }, z.core.$strip>>;
@@ -2062,6 +2727,7 @@ declare class GetSubscriptionConsumptionRenewalsFromSubscriptionConsumption exte
2062
2727
  price: z.ZodString;
2063
2728
  createdAt: z.ZodString;
2064
2729
  updatedAt: z.ZodString;
2730
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
2065
2731
  credits: z.ZodCoercedNumber<unknown>;
2066
2732
  pricePerCredit: z.ZodCoercedNumber<unknown>;
2067
2733
  }, z.core.$strip>;
@@ -2073,6 +2739,361 @@ declare class GetSubscriptionConsumptionRenewalsFromSubscriptionConsumption exte
2073
2739
  getPath(): string;
2074
2740
  }
2075
2741
 
2742
+ declare const adjustableCreditTransactionTypes: readonly ["gift", "bonus", "refund", "manual_adjustment"];
2743
+ declare const adjustableCreditTransactionTypeSchema: z.ZodEnum<{
2744
+ gift: "gift";
2745
+ bonus: "bonus";
2746
+ refund: "refund";
2747
+ manual_adjustment: "manual_adjustment";
2748
+ }>;
2749
+ type AdjustableCreditTransactionType = z.infer<typeof adjustableCreditTransactionTypeSchema>;
2750
+ declare const subscriptionAvailabilityReasons: readonly ["available", "no_active_subscription", "expired", "insufficient_credits", "operation_not_allowed"];
2751
+ declare const subscriptionAvailabilityReasonSchema: z.ZodEnum<{
2752
+ available: "available";
2753
+ no_active_subscription: "no_active_subscription";
2754
+ expired: "expired";
2755
+ insufficient_credits: "insufficient_credits";
2756
+ operation_not_allowed: "operation_not_allowed";
2757
+ }>;
2758
+ type SubscriptionAvailabilityReason = z.infer<typeof subscriptionAvailabilityReasonSchema>;
2759
+ declare const resolvableRenewalPaymentStatuses: readonly ["paid", "failed", "canceled"];
2760
+ declare const resolvableRenewalPaymentStatusSchema: z.ZodEnum<{
2761
+ paid: "paid";
2762
+ failed: "failed";
2763
+ canceled: "canceled";
2764
+ }>;
2765
+ type ResolvableRenewalPaymentStatus = z.infer<typeof resolvableRenewalPaymentStatusSchema>;
2766
+ declare const subscriptionIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/:id">, unknown>>;
2767
+ type SubscriptionIri = z.infer<typeof subscriptionIriSchema>;
2768
+ declare const subscriptionNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/:id"> | null, unknown>>;
2769
+ type SubscriptionNullableIri = z.infer<typeof subscriptionNullableIriSchema>;
2770
+ declare const subscriptionInfiniteIriSchema: 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>>;
2771
+ type SubscriptionInfiniteIri = z.infer<typeof subscriptionInfiniteIriSchema>;
2772
+ declare const subscriptionInfiniteNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/infinite/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/infinite/:id"> | null, unknown>>;
2773
+ type SubscriptionInfiniteNullableIri = z.infer<typeof subscriptionInfiniteNullableIriSchema>;
2774
+ declare const subscriptionConsumptionIriSchema: 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>>;
2775
+ type SubscriptionConsumptionIri = z.infer<typeof subscriptionConsumptionIriSchema>;
2776
+ declare const subscriptionConsumptionNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id"> | null, unknown>>;
2777
+ type SubscriptionConsumptionNullableIri = z.infer<typeof subscriptionConsumptionNullableIriSchema>;
2778
+ declare const subscriptionTimeBasedIriSchema: 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>>;
2779
+ type SubscriptionTimeBasedIri = z.infer<typeof subscriptionTimeBasedIriSchema>;
2780
+ declare const subscriptionTimeBasedNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id"> | null, unknown>>;
2781
+ type SubscriptionTimeBasedNullableIri = z.infer<typeof subscriptionTimeBasedNullableIriSchema>;
2782
+ declare const subscriptionPriceIriSchema: 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>>;
2783
+ type SubscriptionPriceIri = z.infer<typeof subscriptionPriceIriSchema>;
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>>;
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>;
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>>;
2791
+ type SubscriptionConsumptionRenewalIri = z.infer<typeof subscriptionConsumptionRenewalIriSchema>;
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>>;
2793
+ type SubscriptionConsumptionRenewalNullableIri = z.infer<typeof subscriptionConsumptionRenewalNullableIriSchema>;
2794
+ declare const subscriptionTimeBasedRenewalIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/renewals/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/renewals/:id">, unknown>>;
2795
+ type SubscriptionTimeBasedRenewalIri = z.infer<typeof subscriptionTimeBasedRenewalIriSchema>;
2796
+ declare const subscriptionTimeBasedRenewalNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/renewals/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/renewals/:id"> | null, unknown>>;
2797
+ type SubscriptionTimeBasedRenewalNullableIri = z.infer<typeof subscriptionTimeBasedRenewalNullableIriSchema>;
2798
+ declare const paymentIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id">, unknown>>;
2799
+ type PaymentIri = z.infer<typeof paymentIriSchema>;
2800
+ declare const paymentNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
2801
+ type PaymentNullableIri = z.infer<typeof paymentNullableIriSchema>;
2802
+ declare const creditUsageLogIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/credit_usage_logs/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/credit_usage_logs/:id">, unknown>>;
2803
+ type CreditUsageLogIri = z.infer<typeof creditUsageLogIriSchema>;
2804
+ declare const creditUsageLogNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/credit_usage_logs/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/credit_usage_logs/:id"> | null, unknown>>;
2805
+ type CreditUsageLogNullableIri = z.infer<typeof creditUsageLogNullableIriSchema>;
2806
+
2807
+ declare const paySubscriptionConsumptionRenewalInputSchema: z.ZodObject<{
2808
+ method: z.ZodEnum<{
2809
+ stripe: "stripe";
2810
+ bank_transfer: "bank_transfer";
2811
+ cash: "cash";
2812
+ credit_card: "credit_card";
2813
+ }>;
2814
+ }, z.core.$strip>;
2815
+ type PaySubscriptionConsumptionRenewalInput = z.input<typeof paySubscriptionConsumptionRenewalInputSchema>;
2816
+ declare const paySubscriptionConsumptionRenewalResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2817
+ id: z.ZodString;
2818
+ status: z.ZodEnum<{
2819
+ pending: "pending";
2820
+ pending_verification: "pending_verification";
2821
+ paid: "paid";
2822
+ canceled: "canceled";
2823
+ refunded: "refunded";
2824
+ failed: "failed";
2825
+ }>;
2826
+ amount: z.ZodString;
2827
+ method: z.ZodLiteral<"stripe">;
2828
+ sessionUrl: z.ZodString;
2829
+ expiresAt: z.ZodString;
2830
+ }, z.core.$strip>, z.ZodObject<{
2831
+ id: z.ZodString;
2832
+ status: z.ZodEnum<{
2833
+ pending: "pending";
2834
+ pending_verification: "pending_verification";
2835
+ paid: "paid";
2836
+ canceled: "canceled";
2837
+ refunded: "refunded";
2838
+ failed: "failed";
2839
+ }>;
2840
+ amount: z.ZodString;
2841
+ method: z.ZodLiteral<"bank_transfer">;
2842
+ iban: z.ZodString;
2843
+ bic: z.ZodString;
2844
+ accountHolder: z.ZodString;
2845
+ bankName: z.ZodString;
2846
+ bankAddress: z.ZodNullable<z.ZodString>;
2847
+ currency: z.ZodString;
2848
+ description: z.ZodString;
2849
+ }, z.core.$strip>, z.ZodObject<{
2850
+ id: z.ZodString;
2851
+ status: z.ZodEnum<{
2852
+ pending: "pending";
2853
+ pending_verification: "pending_verification";
2854
+ paid: "paid";
2855
+ canceled: "canceled";
2856
+ refunded: "refunded";
2857
+ failed: "failed";
2858
+ }>;
2859
+ amount: z.ZodString;
2860
+ method: z.ZodLiteral<"cash">;
2861
+ }, z.core.$strip>, z.ZodObject<{
2862
+ id: z.ZodString;
2863
+ status: z.ZodEnum<{
2864
+ pending: "pending";
2865
+ pending_verification: "pending_verification";
2866
+ paid: "paid";
2867
+ canceled: "canceled";
2868
+ refunded: "refunded";
2869
+ failed: "failed";
2870
+ }>;
2871
+ amount: z.ZodString;
2872
+ method: z.ZodLiteral<"credit_card">;
2873
+ }, z.core.$strip>], "method">;
2874
+ type PaySubscriptionConsumptionRenewalResponse = z.infer<typeof paySubscriptionConsumptionRenewalResponseSchema>;
2875
+ declare class PaySubscriptionConsumptionRenewal extends AbstractApiRequest<typeof paySubscriptionConsumptionRenewalInputSchema, typeof paySubscriptionConsumptionRenewalResponseSchema> {
2876
+ readonly method = "POST";
2877
+ readonly contentType = "application/json";
2878
+ readonly accept = "application/json";
2879
+ readonly inputSchema: z.ZodObject<{
2880
+ method: z.ZodEnum<{
2881
+ stripe: "stripe";
2882
+ bank_transfer: "bank_transfer";
2883
+ cash: "cash";
2884
+ credit_card: "credit_card";
2885
+ }>;
2886
+ }, z.core.$strip>;
2887
+ readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2888
+ id: z.ZodString;
2889
+ status: z.ZodEnum<{
2890
+ pending: "pending";
2891
+ pending_verification: "pending_verification";
2892
+ paid: "paid";
2893
+ canceled: "canceled";
2894
+ refunded: "refunded";
2895
+ failed: "failed";
2896
+ }>;
2897
+ amount: z.ZodString;
2898
+ method: z.ZodLiteral<"stripe">;
2899
+ sessionUrl: z.ZodString;
2900
+ expiresAt: z.ZodString;
2901
+ }, z.core.$strip>, z.ZodObject<{
2902
+ id: z.ZodString;
2903
+ status: z.ZodEnum<{
2904
+ pending: "pending";
2905
+ pending_verification: "pending_verification";
2906
+ paid: "paid";
2907
+ canceled: "canceled";
2908
+ refunded: "refunded";
2909
+ failed: "failed";
2910
+ }>;
2911
+ amount: z.ZodString;
2912
+ method: z.ZodLiteral<"bank_transfer">;
2913
+ iban: z.ZodString;
2914
+ bic: z.ZodString;
2915
+ accountHolder: z.ZodString;
2916
+ bankName: z.ZodString;
2917
+ bankAddress: z.ZodNullable<z.ZodString>;
2918
+ currency: z.ZodString;
2919
+ description: z.ZodString;
2920
+ }, z.core.$strip>, z.ZodObject<{
2921
+ id: z.ZodString;
2922
+ status: z.ZodEnum<{
2923
+ pending: "pending";
2924
+ pending_verification: "pending_verification";
2925
+ paid: "paid";
2926
+ canceled: "canceled";
2927
+ refunded: "refunded";
2928
+ failed: "failed";
2929
+ }>;
2930
+ amount: z.ZodString;
2931
+ method: z.ZodLiteral<"cash">;
2932
+ }, z.core.$strip>, z.ZodObject<{
2933
+ id: z.ZodString;
2934
+ status: z.ZodEnum<{
2935
+ pending: "pending";
2936
+ pending_verification: "pending_verification";
2937
+ paid: "paid";
2938
+ canceled: "canceled";
2939
+ refunded: "refunded";
2940
+ failed: "failed";
2941
+ }>;
2942
+ amount: z.ZodString;
2943
+ method: z.ZodLiteral<"credit_card">;
2944
+ }, z.core.$strip>], "method">;
2945
+ readonly querySchema: undefined;
2946
+ readonly headersSchema: undefined;
2947
+ private readonly renewalId;
2948
+ constructor(renewalId: string, method: PaymentMethod);
2949
+ getPath(): string;
2950
+ }
2951
+
2952
+ declare const resolveSubscriptionConsumptionRenewalPaymentInputSchema: z.ZodObject<{
2953
+ status: z.ZodEnum<{
2954
+ paid: "paid";
2955
+ failed: "failed";
2956
+ canceled: "canceled";
2957
+ }>;
2958
+ response: z.ZodOptional<z.ZodString>;
2959
+ }, z.core.$strip>;
2960
+ type ResolveSubscriptionConsumptionRenewalPaymentInput = z.input<typeof resolveSubscriptionConsumptionRenewalPaymentInputSchema>;
2961
+ declare const resolveSubscriptionConsumptionRenewalPaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2962
+ id: z.ZodString;
2963
+ status: z.ZodEnum<{
2964
+ pending: "pending";
2965
+ pending_verification: "pending_verification";
2966
+ paid: "paid";
2967
+ canceled: "canceled";
2968
+ refunded: "refunded";
2969
+ failed: "failed";
2970
+ }>;
2971
+ amount: z.ZodString;
2972
+ method: z.ZodLiteral<"stripe">;
2973
+ sessionUrl: z.ZodString;
2974
+ expiresAt: z.ZodString;
2975
+ }, z.core.$strip>, z.ZodObject<{
2976
+ id: z.ZodString;
2977
+ status: z.ZodEnum<{
2978
+ pending: "pending";
2979
+ pending_verification: "pending_verification";
2980
+ paid: "paid";
2981
+ canceled: "canceled";
2982
+ refunded: "refunded";
2983
+ failed: "failed";
2984
+ }>;
2985
+ amount: z.ZodString;
2986
+ method: z.ZodLiteral<"bank_transfer">;
2987
+ iban: z.ZodString;
2988
+ bic: z.ZodString;
2989
+ accountHolder: z.ZodString;
2990
+ bankName: z.ZodString;
2991
+ bankAddress: z.ZodNullable<z.ZodString>;
2992
+ currency: z.ZodString;
2993
+ description: z.ZodString;
2994
+ }, z.core.$strip>, z.ZodObject<{
2995
+ id: z.ZodString;
2996
+ status: z.ZodEnum<{
2997
+ pending: "pending";
2998
+ pending_verification: "pending_verification";
2999
+ paid: "paid";
3000
+ canceled: "canceled";
3001
+ refunded: "refunded";
3002
+ failed: "failed";
3003
+ }>;
3004
+ amount: z.ZodString;
3005
+ method: z.ZodLiteral<"cash">;
3006
+ }, z.core.$strip>, z.ZodObject<{
3007
+ id: z.ZodString;
3008
+ status: z.ZodEnum<{
3009
+ pending: "pending";
3010
+ pending_verification: "pending_verification";
3011
+ paid: "paid";
3012
+ canceled: "canceled";
3013
+ refunded: "refunded";
3014
+ failed: "failed";
3015
+ }>;
3016
+ amount: z.ZodString;
3017
+ method: z.ZodLiteral<"credit_card">;
3018
+ }, z.core.$strip>], "method">;
3019
+ type ResolveSubscriptionConsumptionRenewalPaymentResponse = z.infer<typeof resolveSubscriptionConsumptionRenewalPaymentResponseSchema>;
3020
+ declare class ResolveSubscriptionConsumptionRenewalPayment extends AbstractApiRequest<typeof resolveSubscriptionConsumptionRenewalPaymentInputSchema, typeof resolveSubscriptionConsumptionRenewalPaymentResponseSchema> {
3021
+ readonly method = "POST";
3022
+ readonly contentType = "application/json";
3023
+ readonly accept = "application/json";
3024
+ readonly inputSchema: z.ZodObject<{
3025
+ status: z.ZodEnum<{
3026
+ paid: "paid";
3027
+ failed: "failed";
3028
+ canceled: "canceled";
3029
+ }>;
3030
+ response: z.ZodOptional<z.ZodString>;
3031
+ }, z.core.$strip>;
3032
+ readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3033
+ id: z.ZodString;
3034
+ status: z.ZodEnum<{
3035
+ pending: "pending";
3036
+ pending_verification: "pending_verification";
3037
+ paid: "paid";
3038
+ canceled: "canceled";
3039
+ refunded: "refunded";
3040
+ failed: "failed";
3041
+ }>;
3042
+ amount: z.ZodString;
3043
+ method: z.ZodLiteral<"stripe">;
3044
+ sessionUrl: z.ZodString;
3045
+ expiresAt: z.ZodString;
3046
+ }, z.core.$strip>, z.ZodObject<{
3047
+ id: z.ZodString;
3048
+ status: z.ZodEnum<{
3049
+ pending: "pending";
3050
+ pending_verification: "pending_verification";
3051
+ paid: "paid";
3052
+ canceled: "canceled";
3053
+ refunded: "refunded";
3054
+ failed: "failed";
3055
+ }>;
3056
+ amount: z.ZodString;
3057
+ method: z.ZodLiteral<"bank_transfer">;
3058
+ iban: z.ZodString;
3059
+ bic: z.ZodString;
3060
+ accountHolder: z.ZodString;
3061
+ bankName: z.ZodString;
3062
+ bankAddress: z.ZodNullable<z.ZodString>;
3063
+ currency: z.ZodString;
3064
+ description: z.ZodString;
3065
+ }, z.core.$strip>, z.ZodObject<{
3066
+ id: z.ZodString;
3067
+ status: z.ZodEnum<{
3068
+ pending: "pending";
3069
+ pending_verification: "pending_verification";
3070
+ paid: "paid";
3071
+ canceled: "canceled";
3072
+ refunded: "refunded";
3073
+ failed: "failed";
3074
+ }>;
3075
+ amount: z.ZodString;
3076
+ method: z.ZodLiteral<"cash">;
3077
+ }, z.core.$strip>, z.ZodObject<{
3078
+ id: z.ZodString;
3079
+ status: z.ZodEnum<{
3080
+ pending: "pending";
3081
+ pending_verification: "pending_verification";
3082
+ paid: "paid";
3083
+ canceled: "canceled";
3084
+ refunded: "refunded";
3085
+ failed: "failed";
3086
+ }>;
3087
+ amount: z.ZodString;
3088
+ method: z.ZodLiteral<"credit_card">;
3089
+ }, z.core.$strip>], "method">;
3090
+ readonly querySchema: undefined;
3091
+ readonly headersSchema: undefined;
3092
+ private readonly renewalId;
3093
+ constructor(renewalId: string, input: ResolveSubscriptionConsumptionRenewalPaymentInput);
3094
+ getPath(): string;
3095
+ }
3096
+
2076
3097
  declare const createSubscriptionInfiniteInputSchema: z.ZodObject<{
2077
3098
  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>>;
2078
3099
  autoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
@@ -2092,6 +3113,19 @@ declare const createSubscriptionInfiniteResponseSchema: z.ZodObject<{
2092
3113
  autoRenewal: z.ZodBoolean;
2093
3114
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2094
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>>>;
2095
3129
  createdAt: z.ZodString;
2096
3130
  updatedAt: z.ZodString;
2097
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>>;
@@ -2120,6 +3154,19 @@ declare class CreateSubscriptionInfinite extends AbstractApiRequest<typeof creat
2120
3154
  autoRenewal: z.ZodBoolean;
2121
3155
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2122
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>>>;
2123
3170
  createdAt: z.ZodString;
2124
3171
  updatedAt: z.ZodString;
2125
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>>;
@@ -2161,10 +3208,23 @@ declare const getSubscriptionInfiniteDetailsResponseSchema: z.ZodObject<{
2161
3208
  autoRenewal: z.ZodBoolean;
2162
3209
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2163
3210
  customUnitPrice: z.ZodNullable<z.ZodString>;
2164
- createdAt: z.ZodString;
2165
- updatedAt: z.ZodString;
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>>;
2167
- type: z.ZodLiteral<"infinite">;
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>>>;
3224
+ createdAt: z.ZodString;
3225
+ updatedAt: z.ZodString;
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>>;
3227
+ type: z.ZodLiteral<"infinite">;
2168
3228
  }, z.core.$strip>;
2169
3229
  type GetSubscriptionInfiniteDetailsResponse = z.infer<typeof getSubscriptionInfiniteDetailsResponseSchema>;
2170
3230
  declare class GetSubscriptionInfiniteDetails extends AbstractApiRequest<typeof getSubscriptionInfiniteDetailsInputSchema, typeof getSubscriptionInfiniteDetailsResponseSchema> {
@@ -2185,6 +3245,19 @@ declare class GetSubscriptionInfiniteDetails extends AbstractApiRequest<typeof g
2185
3245
  autoRenewal: z.ZodBoolean;
2186
3246
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2187
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>>>;
2188
3261
  createdAt: z.ZodString;
2189
3262
  updatedAt: z.ZodString;
2190
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>>;
@@ -2220,6 +3293,19 @@ declare class GetSubscriptionInfiniteList extends AbstractApiRequest<typeof getS
2220
3293
  autoRenewal: z.ZodBoolean;
2221
3294
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2222
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>>>;
2223
3309
  createdAt: z.ZodString;
2224
3310
  updatedAt: z.ZodString;
2225
3311
  type: z.ZodLiteral<"infinite">;
@@ -2265,42 +3351,656 @@ declare class GetSubscriptionInfiniteList extends AbstractApiRequest<typeof getS
2265
3351
  asc: "asc";
2266
3352
  desc: "desc";
2267
3353
  }>>;
2268
- 'startsAt[before]': z.ZodOptional<z.ZodString>;
2269
- 'startsAt[strictly_before]': z.ZodOptional<z.ZodString>;
2270
- 'startsAt[after]': z.ZodOptional<z.ZodString>;
2271
- 'startsAt[strictly_after]': z.ZodOptional<z.ZodString>;
2272
- page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2273
- 'createdAt[before]': z.ZodOptional<z.ZodString>;
2274
- 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
2275
- 'createdAt[after]': z.ZodOptional<z.ZodString>;
2276
- 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
2277
- 'updatedAt[before]': z.ZodOptional<z.ZodString>;
2278
- 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
2279
- 'updatedAt[after]': z.ZodOptional<z.ZodString>;
2280
- 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
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>>>>;
2281
3969
  }, z.core.$strip>;
2282
- readonly headersSchema: undefined;
2283
- readonly listItemSchema: z.ZodObject<{
3970
+ readonly outputSchema: z.ZodObject<{
2284
3971
  id: z.ZodString;
2285
- status: z.ZodEnum<{
2286
- created: "created";
2287
- active: "active";
2288
- pending_renewal: "pending_renewal";
2289
- expired: "expired";
2290
- suspended: "suspended";
2291
- 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";
2292
3979
  }>;
2293
- autoRenewal: z.ZodBoolean;
2294
- startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2295
- 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>>>;
2296
3997
  createdAt: z.ZodString;
2297
3998
  updatedAt: z.ZodString;
2298
- type: z.ZodLiteral<"infinite">;
2299
3999
  }, z.core.$strip>;
2300
- readonly paginationDefaultEnabled = true;
2301
- constructor(options?: {
2302
- query?: GetSubscriptionInfiniteListQueryParams;
2303
- });
4000
+ readonly querySchema: undefined;
4001
+ readonly headersSchema: undefined;
4002
+ private readonly subscriptionPlanId;
4003
+ constructor(subscriptionPlanId: string, input: UpdateSubscriptionPlanInput);
2304
4004
  getPath(): string;
2305
4005
  }
2306
4006
 
@@ -2310,6 +4010,7 @@ declare const createSubscriptionPriceInputSchema: z.ZodObject<{
2310
4010
  time_based: "time_based";
2311
4011
  consumption: "consumption";
2312
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>>>>>;
2313
4014
  threshold: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
2314
4015
  unitPrice: z.ZodNonOptional<z.ZodString>;
2315
4016
  }, z.core.$strip>;
@@ -2321,6 +4022,7 @@ declare const createSubscriptionPriceResponseSchema: z.ZodObject<{
2321
4022
  time_based: "time_based";
2322
4023
  consumption: "consumption";
2323
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>>>>;
2324
4026
  threshold: z.ZodCoercedNumber<unknown>;
2325
4027
  unitPrice: z.ZodString;
2326
4028
  createdAt: z.ZodString;
@@ -2337,6 +4039,7 @@ declare class CreateSubscriptionPrice extends AbstractApiRequest<typeof createSu
2337
4039
  time_based: "time_based";
2338
4040
  consumption: "consumption";
2339
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>>>>>;
2340
4043
  threshold: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
2341
4044
  unitPrice: z.ZodNonOptional<z.ZodString>;
2342
4045
  }, z.core.$strip>;
@@ -2347,6 +4050,7 @@ declare class CreateSubscriptionPrice extends AbstractApiRequest<typeof createSu
2347
4050
  time_based: "time_based";
2348
4051
  consumption: "consumption";
2349
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>>>>;
2350
4054
  threshold: z.ZodCoercedNumber<unknown>;
2351
4055
  unitPrice: z.ZodString;
2352
4056
  createdAt: z.ZodString;
@@ -2382,6 +4086,7 @@ declare const getSubscriptionPriceDetailsResponseSchema: z.ZodObject<{
2382
4086
  time_based: "time_based";
2383
4087
  consumption: "consumption";
2384
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>>>>;
2385
4090
  threshold: z.ZodCoercedNumber<unknown>;
2386
4091
  unitPrice: z.ZodString;
2387
4092
  createdAt: z.ZodString;
@@ -2400,6 +4105,7 @@ declare class GetSubscriptionPriceDetails extends AbstractApiRequest<typeof getS
2400
4105
  time_based: "time_based";
2401
4106
  consumption: "consumption";
2402
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>>>>;
2403
4109
  threshold: z.ZodCoercedNumber<unknown>;
2404
4110
  unitPrice: z.ZodString;
2405
4111
  createdAt: z.ZodString;
@@ -2429,6 +4135,7 @@ declare class GetSubscriptionPrices extends AbstractApiRequest<typeof getSubscri
2429
4135
  time_based: "time_based";
2430
4136
  consumption: "consumption";
2431
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>>>>;
2432
4139
  threshold: z.ZodCoercedNumber<unknown>;
2433
4140
  unitPrice: z.ZodString;
2434
4141
  createdAt: z.ZodString;
@@ -2454,6 +4161,8 @@ declare class GetSubscriptionPrices extends AbstractApiRequest<typeof getSubscri
2454
4161
  time_based: "time_based";
2455
4162
  consumption: "consumption";
2456
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>]>>;
2457
4166
  'threshold[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2458
4167
  'threshold[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2459
4168
  'threshold[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
@@ -2494,6 +4203,7 @@ declare class GetSubscriptionPrices extends AbstractApiRequest<typeof getSubscri
2494
4203
  time_based: "time_based";
2495
4204
  consumption: "consumption";
2496
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>>>>;
2497
4207
  threshold: z.ZodCoercedNumber<unknown>;
2498
4208
  unitPrice: z.ZodString;
2499
4209
  createdAt: z.ZodString;
@@ -2512,6 +4222,7 @@ declare const updateSubscriptionPriceInputSchema: z.ZodObject<{
2512
4222
  time_based: "time_based";
2513
4223
  consumption: "consumption";
2514
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>>>>>;
2515
4226
  threshold: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2516
4227
  unitPrice: z.ZodOptional<z.ZodString>;
2517
4228
  }, z.core.$strip>;
@@ -2523,6 +4234,7 @@ declare const updateSubscriptionPriceResponseSchema: z.ZodObject<{
2523
4234
  time_based: "time_based";
2524
4235
  consumption: "consumption";
2525
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>>>>;
2526
4238
  threshold: z.ZodCoercedNumber<unknown>;
2527
4239
  unitPrice: z.ZodString;
2528
4240
  createdAt: z.ZodString;
@@ -2539,6 +4251,7 @@ declare class UpdateSubscriptionPrice extends AbstractApiRequest<typeof updateSu
2539
4251
  time_based: "time_based";
2540
4252
  consumption: "consumption";
2541
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>>>>>;
2542
4255
  threshold: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2543
4256
  unitPrice: z.ZodOptional<z.ZodString>;
2544
4257
  }, z.core.$strip>;
@@ -2549,6 +4262,7 @@ declare class UpdateSubscriptionPrice extends AbstractApiRequest<typeof updateSu
2549
4262
  time_based: "time_based";
2550
4263
  consumption: "consumption";
2551
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>>>>;
2552
4266
  threshold: z.ZodCoercedNumber<unknown>;
2553
4267
  unitPrice: z.ZodString;
2554
4268
  createdAt: z.ZodString;
@@ -2583,6 +4297,19 @@ declare const createSubscriptionTimeBasedResponseSchema: z.ZodObject<{
2583
4297
  autoRenewal: z.ZodBoolean;
2584
4298
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2585
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>>>;
2586
4313
  createdAt: z.ZodString;
2587
4314
  updatedAt: z.ZodString;
2588
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>>;
@@ -2618,6 +4345,19 @@ declare class CreateSubscriptionTimeBased extends AbstractApiRequest<typeof crea
2618
4345
  autoRenewal: z.ZodBoolean;
2619
4346
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2620
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>>>;
2621
4361
  createdAt: z.ZodString;
2622
4362
  updatedAt: z.ZodString;
2623
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>>;
@@ -2663,6 +4403,19 @@ declare const getSubscriptionTimeBasedDetailsResponseSchema: z.ZodObject<{
2663
4403
  autoRenewal: z.ZodBoolean;
2664
4404
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2665
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>>>;
2666
4419
  createdAt: z.ZodString;
2667
4420
  updatedAt: z.ZodString;
2668
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>>;
@@ -2691,6 +4444,19 @@ declare class GetSubscriptionTimeBasedDetails extends AbstractApiRequest<typeof
2691
4444
  autoRenewal: z.ZodBoolean;
2692
4445
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2693
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>>>;
2694
4460
  createdAt: z.ZodString;
2695
4461
  updatedAt: z.ZodString;
2696
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>>;
@@ -2730,6 +4496,19 @@ declare class GetSubscriptionTimeBasedList extends AbstractApiRequest<typeof get
2730
4496
  autoRenewal: z.ZodBoolean;
2731
4497
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2732
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>>>;
2733
4512
  createdAt: z.ZodString;
2734
4513
  updatedAt: z.ZodString;
2735
4514
  type: z.ZodLiteral<"time_based">;
@@ -2820,6 +4599,19 @@ declare class GetSubscriptionTimeBasedList extends AbstractApiRequest<typeof get
2820
4599
  autoRenewal: z.ZodBoolean;
2821
4600
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2822
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>>>;
2823
4615
  createdAt: z.ZodString;
2824
4616
  updatedAt: z.ZodString;
2825
4617
  type: z.ZodLiteral<"time_based">;
@@ -2855,6 +4647,19 @@ declare const updateSubscriptionTimeBasedResponseSchema: z.ZodObject<{
2855
4647
  autoRenewal: z.ZodBoolean;
2856
4648
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2857
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>>>;
2858
4663
  createdAt: z.ZodString;
2859
4664
  updatedAt: z.ZodString;
2860
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>>;
@@ -2889,6 +4694,19 @@ declare class UpdateSubscriptionTimeBased extends AbstractApiRequest<typeof upda
2889
4694
  autoRenewal: z.ZodBoolean;
2890
4695
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2891
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>>>;
2892
4710
  createdAt: z.ZodString;
2893
4711
  updatedAt: z.ZodString;
2894
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>>;
@@ -2921,6 +4739,7 @@ declare const createSubscriptionTimeBasedRenewalResponseSchema: z.ZodObject<{
2921
4739
  price: z.ZodString;
2922
4740
  createdAt: z.ZodString;
2923
4741
  updatedAt: z.ZodString;
4742
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
2924
4743
  days: z.ZodCoercedNumber<unknown>;
2925
4744
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2926
4745
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -2947,6 +4766,7 @@ declare class CreateSubscriptionTimeBasedRenewal extends AbstractApiRequest<type
2947
4766
  price: z.ZodString;
2948
4767
  createdAt: z.ZodString;
2949
4768
  updatedAt: z.ZodString;
4769
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
2950
4770
  days: z.ZodCoercedNumber<unknown>;
2951
4771
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2952
4772
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -2987,6 +4807,7 @@ declare const getSubscriptionTimeBasedRenewalDetailsResponseSchema: z.ZodObject<
2987
4807
  price: z.ZodString;
2988
4808
  createdAt: z.ZodString;
2989
4809
  updatedAt: z.ZodString;
4810
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
2990
4811
  days: z.ZodCoercedNumber<unknown>;
2991
4812
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2992
4813
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -3010,6 +4831,7 @@ declare class GetSubscriptionTimeBasedRenewalDetails extends AbstractApiRequest<
3010
4831
  price: z.ZodString;
3011
4832
  createdAt: z.ZodString;
3012
4833
  updatedAt: z.ZodString;
4834
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
3013
4835
  days: z.ZodCoercedNumber<unknown>;
3014
4836
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3015
4837
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -3044,6 +4866,7 @@ declare class GetSubscriptionTimeBasedRenewals extends AbstractApiRequest<typeof
3044
4866
  price: z.ZodString;
3045
4867
  createdAt: z.ZodString;
3046
4868
  updatedAt: z.ZodString;
4869
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
3047
4870
  days: z.ZodCoercedNumber<unknown>;
3048
4871
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3049
4872
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -3111,6 +4934,7 @@ declare class GetSubscriptionTimeBasedRenewals extends AbstractApiRequest<typeof
3111
4934
  price: z.ZodString;
3112
4935
  createdAt: z.ZodString;
3113
4936
  updatedAt: z.ZodString;
4937
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
3114
4938
  days: z.ZodCoercedNumber<unknown>;
3115
4939
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3116
4940
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -3144,6 +4968,7 @@ declare class GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased extends
3144
4968
  price: z.ZodString;
3145
4969
  createdAt: z.ZodString;
3146
4970
  updatedAt: z.ZodString;
4971
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
3147
4972
  days: z.ZodCoercedNumber<unknown>;
3148
4973
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3149
4974
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -3168,59 +4993,350 @@ declare class GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased extends
3168
4993
  }>, z.ZodArray<z.ZodEnum<{
3169
4994
  pending: "pending";
3170
4995
  failed: "failed";
3171
- cancelled: "cancelled";
3172
- completed: "completed";
3173
- }>>]>>;
3174
- 'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
3175
- 'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
3176
- 'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
3177
- 'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
3178
- 'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
3179
- 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
3180
- asc: "asc";
3181
- desc: "desc";
3182
- }>>;
3183
- 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
3184
- asc: "asc";
3185
- desc: "desc";
3186
- }>>;
3187
- page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
3188
- 'createdAt[before]': z.ZodOptional<z.ZodString>;
3189
- 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
3190
- 'createdAt[after]': z.ZodOptional<z.ZodString>;
3191
- 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
3192
- 'updatedAt[before]': z.ZodOptional<z.ZodString>;
3193
- 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
3194
- 'updatedAt[after]': z.ZodOptional<z.ZodString>;
3195
- 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
3196
- 'days[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
3197
- 'days[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
3198
- 'days[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
3199
- 'days[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
3200
- 'days[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
3201
- }, z.core.$strip>;
3202
- readonly headersSchema: undefined;
3203
- readonly listItemSchema: z.ZodObject<{
4996
+ cancelled: "cancelled";
4997
+ completed: "completed";
4998
+ }>>]>>;
4999
+ 'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
5000
+ 'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
5001
+ 'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
5002
+ 'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
5003
+ 'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
5004
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
5005
+ asc: "asc";
5006
+ desc: "desc";
5007
+ }>>;
5008
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
5009
+ asc: "asc";
5010
+ desc: "desc";
5011
+ }>>;
5012
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
5013
+ 'createdAt[before]': z.ZodOptional<z.ZodString>;
5014
+ 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
5015
+ 'createdAt[after]': z.ZodOptional<z.ZodString>;
5016
+ 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
5017
+ 'updatedAt[before]': z.ZodOptional<z.ZodString>;
5018
+ 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
5019
+ 'updatedAt[after]': z.ZodOptional<z.ZodString>;
5020
+ 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
5021
+ 'days[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
5022
+ 'days[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
5023
+ 'days[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
5024
+ 'days[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
5025
+ 'days[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
5026
+ }, z.core.$strip>;
5027
+ readonly headersSchema: undefined;
5028
+ readonly listItemSchema: z.ZodObject<{
5029
+ id: z.ZodString;
5030
+ status: z.ZodEnum<{
5031
+ pending: "pending";
5032
+ failed: "failed";
5033
+ cancelled: "cancelled";
5034
+ completed: "completed";
5035
+ }>;
5036
+ price: z.ZodString;
5037
+ createdAt: z.ZodString;
5038
+ updatedAt: z.ZodString;
5039
+ payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
5040
+ days: z.ZodCoercedNumber<unknown>;
5041
+ previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
5042
+ newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
5043
+ pricePerDay: z.ZodCoercedNumber<unknown>;
5044
+ }, z.core.$strip>;
5045
+ readonly paginationDefaultEnabled = true;
5046
+ private readonly subscriptionId;
5047
+ constructor(subscriptionId: string, options?: {
5048
+ query?: GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedQueryParams;
5049
+ });
5050
+ getPath(): string;
5051
+ }
5052
+
5053
+ declare const paySubscriptionTimeBasedRenewalInputSchema: z.ZodObject<{
5054
+ method: z.ZodEnum<{
5055
+ stripe: "stripe";
5056
+ bank_transfer: "bank_transfer";
5057
+ cash: "cash";
5058
+ credit_card: "credit_card";
5059
+ }>;
5060
+ }, z.core.$strip>;
5061
+ type PaySubscriptionTimeBasedRenewalInput = z.input<typeof paySubscriptionTimeBasedRenewalInputSchema>;
5062
+ declare const paySubscriptionTimeBasedRenewalResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5063
+ id: z.ZodString;
5064
+ status: z.ZodEnum<{
5065
+ pending: "pending";
5066
+ pending_verification: "pending_verification";
5067
+ paid: "paid";
5068
+ canceled: "canceled";
5069
+ refunded: "refunded";
5070
+ failed: "failed";
5071
+ }>;
5072
+ amount: z.ZodString;
5073
+ method: z.ZodLiteral<"stripe">;
5074
+ sessionUrl: z.ZodString;
5075
+ expiresAt: z.ZodString;
5076
+ }, z.core.$strip>, z.ZodObject<{
5077
+ id: z.ZodString;
5078
+ status: z.ZodEnum<{
5079
+ pending: "pending";
5080
+ pending_verification: "pending_verification";
5081
+ paid: "paid";
5082
+ canceled: "canceled";
5083
+ refunded: "refunded";
5084
+ failed: "failed";
5085
+ }>;
5086
+ amount: z.ZodString;
5087
+ method: z.ZodLiteral<"bank_transfer">;
5088
+ iban: z.ZodString;
5089
+ bic: z.ZodString;
5090
+ accountHolder: z.ZodString;
5091
+ bankName: z.ZodString;
5092
+ bankAddress: z.ZodNullable<z.ZodString>;
5093
+ currency: z.ZodString;
5094
+ description: z.ZodString;
5095
+ }, z.core.$strip>, z.ZodObject<{
5096
+ id: z.ZodString;
5097
+ status: z.ZodEnum<{
5098
+ pending: "pending";
5099
+ pending_verification: "pending_verification";
5100
+ paid: "paid";
5101
+ canceled: "canceled";
5102
+ refunded: "refunded";
5103
+ failed: "failed";
5104
+ }>;
5105
+ amount: z.ZodString;
5106
+ method: z.ZodLiteral<"cash">;
5107
+ }, z.core.$strip>, z.ZodObject<{
5108
+ id: z.ZodString;
5109
+ status: z.ZodEnum<{
5110
+ pending: "pending";
5111
+ pending_verification: "pending_verification";
5112
+ paid: "paid";
5113
+ canceled: "canceled";
5114
+ refunded: "refunded";
5115
+ failed: "failed";
5116
+ }>;
5117
+ amount: z.ZodString;
5118
+ method: z.ZodLiteral<"credit_card">;
5119
+ }, z.core.$strip>], "method">;
5120
+ type PaySubscriptionTimeBasedRenewalResponse = z.infer<typeof paySubscriptionTimeBasedRenewalResponseSchema>;
5121
+ declare class PaySubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof paySubscriptionTimeBasedRenewalInputSchema, typeof paySubscriptionTimeBasedRenewalResponseSchema> {
5122
+ readonly method = "POST";
5123
+ readonly contentType = "application/json";
5124
+ readonly accept = "application/json";
5125
+ readonly inputSchema: z.ZodObject<{
5126
+ method: z.ZodEnum<{
5127
+ stripe: "stripe";
5128
+ bank_transfer: "bank_transfer";
5129
+ cash: "cash";
5130
+ credit_card: "credit_card";
5131
+ }>;
5132
+ }, z.core.$strip>;
5133
+ readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5134
+ id: z.ZodString;
5135
+ status: z.ZodEnum<{
5136
+ pending: "pending";
5137
+ pending_verification: "pending_verification";
5138
+ paid: "paid";
5139
+ canceled: "canceled";
5140
+ refunded: "refunded";
5141
+ failed: "failed";
5142
+ }>;
5143
+ amount: z.ZodString;
5144
+ method: z.ZodLiteral<"stripe">;
5145
+ sessionUrl: z.ZodString;
5146
+ expiresAt: z.ZodString;
5147
+ }, z.core.$strip>, z.ZodObject<{
5148
+ id: z.ZodString;
5149
+ status: z.ZodEnum<{
5150
+ pending: "pending";
5151
+ pending_verification: "pending_verification";
5152
+ paid: "paid";
5153
+ canceled: "canceled";
5154
+ refunded: "refunded";
5155
+ failed: "failed";
5156
+ }>;
5157
+ amount: z.ZodString;
5158
+ method: z.ZodLiteral<"bank_transfer">;
5159
+ iban: z.ZodString;
5160
+ bic: z.ZodString;
5161
+ accountHolder: z.ZodString;
5162
+ bankName: z.ZodString;
5163
+ bankAddress: z.ZodNullable<z.ZodString>;
5164
+ currency: z.ZodString;
5165
+ description: z.ZodString;
5166
+ }, z.core.$strip>, z.ZodObject<{
5167
+ id: z.ZodString;
5168
+ status: z.ZodEnum<{
5169
+ pending: "pending";
5170
+ pending_verification: "pending_verification";
5171
+ paid: "paid";
5172
+ canceled: "canceled";
5173
+ refunded: "refunded";
5174
+ failed: "failed";
5175
+ }>;
5176
+ amount: z.ZodString;
5177
+ method: z.ZodLiteral<"cash">;
5178
+ }, z.core.$strip>, z.ZodObject<{
5179
+ id: z.ZodString;
5180
+ status: z.ZodEnum<{
5181
+ pending: "pending";
5182
+ pending_verification: "pending_verification";
5183
+ paid: "paid";
5184
+ canceled: "canceled";
5185
+ refunded: "refunded";
5186
+ failed: "failed";
5187
+ }>;
5188
+ amount: z.ZodString;
5189
+ method: z.ZodLiteral<"credit_card">;
5190
+ }, z.core.$strip>], "method">;
5191
+ readonly querySchema: undefined;
5192
+ readonly headersSchema: undefined;
5193
+ private readonly renewalId;
5194
+ constructor(renewalId: string, method: PaymentMethod);
5195
+ getPath(): string;
5196
+ }
5197
+
5198
+ declare const resolveSubscriptionTimeBasedRenewalPaymentInputSchema: z.ZodObject<{
5199
+ status: z.ZodEnum<{
5200
+ paid: "paid";
5201
+ failed: "failed";
5202
+ canceled: "canceled";
5203
+ }>;
5204
+ response: z.ZodOptional<z.ZodString>;
5205
+ }, z.core.$strip>;
5206
+ type ResolveSubscriptionTimeBasedRenewalPaymentInput = z.input<typeof resolveSubscriptionTimeBasedRenewalPaymentInputSchema>;
5207
+ declare const resolveSubscriptionTimeBasedRenewalPaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5208
+ id: z.ZodString;
5209
+ status: z.ZodEnum<{
5210
+ pending: "pending";
5211
+ pending_verification: "pending_verification";
5212
+ paid: "paid";
5213
+ canceled: "canceled";
5214
+ refunded: "refunded";
5215
+ failed: "failed";
5216
+ }>;
5217
+ amount: z.ZodString;
5218
+ method: z.ZodLiteral<"stripe">;
5219
+ sessionUrl: z.ZodString;
5220
+ expiresAt: z.ZodString;
5221
+ }, z.core.$strip>, z.ZodObject<{
5222
+ id: z.ZodString;
5223
+ status: z.ZodEnum<{
5224
+ pending: "pending";
5225
+ pending_verification: "pending_verification";
5226
+ paid: "paid";
5227
+ canceled: "canceled";
5228
+ refunded: "refunded";
5229
+ failed: "failed";
5230
+ }>;
5231
+ amount: z.ZodString;
5232
+ method: z.ZodLiteral<"bank_transfer">;
5233
+ iban: z.ZodString;
5234
+ bic: z.ZodString;
5235
+ accountHolder: z.ZodString;
5236
+ bankName: z.ZodString;
5237
+ bankAddress: z.ZodNullable<z.ZodString>;
5238
+ currency: z.ZodString;
5239
+ description: z.ZodString;
5240
+ }, z.core.$strip>, z.ZodObject<{
5241
+ id: z.ZodString;
5242
+ status: z.ZodEnum<{
5243
+ pending: "pending";
5244
+ pending_verification: "pending_verification";
5245
+ paid: "paid";
5246
+ canceled: "canceled";
5247
+ refunded: "refunded";
5248
+ failed: "failed";
5249
+ }>;
5250
+ amount: z.ZodString;
5251
+ method: z.ZodLiteral<"cash">;
5252
+ }, z.core.$strip>, z.ZodObject<{
5253
+ id: z.ZodString;
5254
+ status: z.ZodEnum<{
5255
+ pending: "pending";
5256
+ pending_verification: "pending_verification";
5257
+ paid: "paid";
5258
+ canceled: "canceled";
5259
+ refunded: "refunded";
5260
+ failed: "failed";
5261
+ }>;
5262
+ amount: z.ZodString;
5263
+ method: z.ZodLiteral<"credit_card">;
5264
+ }, z.core.$strip>], "method">;
5265
+ type ResolveSubscriptionTimeBasedRenewalPaymentResponse = z.infer<typeof resolveSubscriptionTimeBasedRenewalPaymentResponseSchema>;
5266
+ declare class ResolveSubscriptionTimeBasedRenewalPayment extends AbstractApiRequest<typeof resolveSubscriptionTimeBasedRenewalPaymentInputSchema, typeof resolveSubscriptionTimeBasedRenewalPaymentResponseSchema> {
5267
+ readonly method = "POST";
5268
+ readonly contentType = "application/json";
5269
+ readonly accept = "application/json";
5270
+ readonly inputSchema: z.ZodObject<{
5271
+ status: z.ZodEnum<{
5272
+ paid: "paid";
5273
+ failed: "failed";
5274
+ canceled: "canceled";
5275
+ }>;
5276
+ response: z.ZodOptional<z.ZodString>;
5277
+ }, z.core.$strip>;
5278
+ readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5279
+ id: z.ZodString;
5280
+ status: z.ZodEnum<{
5281
+ pending: "pending";
5282
+ pending_verification: "pending_verification";
5283
+ paid: "paid";
5284
+ canceled: "canceled";
5285
+ refunded: "refunded";
5286
+ failed: "failed";
5287
+ }>;
5288
+ amount: z.ZodString;
5289
+ method: z.ZodLiteral<"stripe">;
5290
+ sessionUrl: z.ZodString;
5291
+ expiresAt: z.ZodString;
5292
+ }, z.core.$strip>, z.ZodObject<{
5293
+ id: z.ZodString;
5294
+ status: z.ZodEnum<{
5295
+ pending: "pending";
5296
+ pending_verification: "pending_verification";
5297
+ paid: "paid";
5298
+ canceled: "canceled";
5299
+ refunded: "refunded";
5300
+ failed: "failed";
5301
+ }>;
5302
+ amount: z.ZodString;
5303
+ method: z.ZodLiteral<"bank_transfer">;
5304
+ iban: z.ZodString;
5305
+ bic: z.ZodString;
5306
+ accountHolder: z.ZodString;
5307
+ bankName: z.ZodString;
5308
+ bankAddress: z.ZodNullable<z.ZodString>;
5309
+ currency: z.ZodString;
5310
+ description: z.ZodString;
5311
+ }, z.core.$strip>, z.ZodObject<{
5312
+ id: z.ZodString;
5313
+ status: z.ZodEnum<{
5314
+ pending: "pending";
5315
+ pending_verification: "pending_verification";
5316
+ paid: "paid";
5317
+ canceled: "canceled";
5318
+ refunded: "refunded";
5319
+ failed: "failed";
5320
+ }>;
5321
+ amount: z.ZodString;
5322
+ method: z.ZodLiteral<"cash">;
5323
+ }, z.core.$strip>, z.ZodObject<{
3204
5324
  id: z.ZodString;
3205
5325
  status: z.ZodEnum<{
3206
5326
  pending: "pending";
5327
+ pending_verification: "pending_verification";
5328
+ paid: "paid";
5329
+ canceled: "canceled";
5330
+ refunded: "refunded";
3207
5331
  failed: "failed";
3208
- cancelled: "cancelled";
3209
- completed: "completed";
3210
5332
  }>;
3211
- price: z.ZodString;
3212
- createdAt: z.ZodString;
3213
- updatedAt: z.ZodString;
3214
- days: z.ZodCoercedNumber<unknown>;
3215
- previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3216
- newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3217
- pricePerDay: z.ZodCoercedNumber<unknown>;
3218
- }, z.core.$strip>;
3219
- readonly paginationDefaultEnabled = true;
3220
- private readonly subscriptionId;
3221
- constructor(subscriptionId: string, options?: {
3222
- query?: GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedQueryParams;
3223
- });
5333
+ amount: z.ZodString;
5334
+ method: z.ZodLiteral<"credit_card">;
5335
+ }, z.core.$strip>], "method">;
5336
+ readonly querySchema: undefined;
5337
+ readonly headersSchema: undefined;
5338
+ private readonly renewalId;
5339
+ constructor(renewalId: string, input: ResolveSubscriptionTimeBasedRenewalPaymentInput);
3224
5340
  getPath(): string;
3225
5341
  }
3226
5342
 
@@ -3254,6 +5370,19 @@ declare const getSubscriptionDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.Z
3254
5370
  autoRenewal: z.ZodBoolean;
3255
5371
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3256
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>>>;
3257
5386
  createdAt: z.ZodString;
3258
5387
  updatedAt: z.ZodString;
3259
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>>;
@@ -3271,6 +5400,19 @@ declare const getSubscriptionDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.Z
3271
5400
  autoRenewal: z.ZodBoolean;
3272
5401
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3273
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>>>;
3274
5416
  createdAt: z.ZodString;
3275
5417
  updatedAt: z.ZodString;
3276
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>>;
@@ -3292,6 +5434,19 @@ declare const getSubscriptionDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.Z
3292
5434
  autoRenewal: z.ZodBoolean;
3293
5435
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3294
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>>>;
3295
5450
  createdAt: z.ZodString;
3296
5451
  updatedAt: z.ZodString;
3297
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>>;
@@ -3320,6 +5475,19 @@ declare class GetSubscriptionDetails extends AbstractApiRequest<typeof getSubscr
3320
5475
  autoRenewal: z.ZodBoolean;
3321
5476
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3322
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>>>;
3323
5491
  createdAt: z.ZodString;
3324
5492
  updatedAt: z.ZodString;
3325
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>>;
@@ -3337,6 +5505,19 @@ declare class GetSubscriptionDetails extends AbstractApiRequest<typeof getSubscr
3337
5505
  autoRenewal: z.ZodBoolean;
3338
5506
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3339
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>>>;
3340
5521
  createdAt: z.ZodString;
3341
5522
  updatedAt: z.ZodString;
3342
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>>;
@@ -3358,6 +5539,19 @@ declare class GetSubscriptionDetails extends AbstractApiRequest<typeof getSubscr
3358
5539
  autoRenewal: z.ZodBoolean;
3359
5540
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3360
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>>>;
3361
5555
  createdAt: z.ZodString;
3362
5556
  updatedAt: z.ZodString;
3363
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>>;
@@ -3381,6 +5575,20 @@ declare const getSubscriptionOverviewFromPointOfSaleResponseSchema: z.ZodObject<
3381
5575
  subscription: z.ZodNullable<z.ZodObject<{
3382
5576
  id: z.ZodString;
3383
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>>;
3384
5592
  type: z.ZodEnum<{
3385
5593
  infinite: "infinite";
3386
5594
  time_based: "time_based";
@@ -3436,6 +5644,20 @@ declare class GetSubscriptionOverviewFromPointOfSale extends AbstractApiRequest<
3436
5644
  subscription: z.ZodNullable<z.ZodObject<{
3437
5645
  id: z.ZodString;
3438
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>>;
3439
5661
  type: z.ZodEnum<{
3440
5662
  infinite: "infinite";
3441
5663
  time_based: "time_based";
@@ -3510,6 +5732,19 @@ declare class GetSubscriptions extends AbstractApiRequest<typeof getSubscription
3510
5732
  autoRenewal: z.ZodBoolean;
3511
5733
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3512
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>>>;
3513
5748
  createdAt: z.ZodString;
3514
5749
  updatedAt: z.ZodString;
3515
5750
  type: z.ZodLiteral<"infinite">;
@@ -3526,6 +5761,19 @@ declare class GetSubscriptions extends AbstractApiRequest<typeof getSubscription
3526
5761
  autoRenewal: z.ZodBoolean;
3527
5762
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3528
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>>>;
3529
5777
  createdAt: z.ZodString;
3530
5778
  updatedAt: z.ZodString;
3531
5779
  type: z.ZodLiteral<"consumption">;
@@ -3546,6 +5794,19 @@ declare class GetSubscriptions extends AbstractApiRequest<typeof getSubscription
3546
5794
  autoRenewal: z.ZodBoolean;
3547
5795
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3548
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>>>;
3549
5810
  createdAt: z.ZodString;
3550
5811
  updatedAt: z.ZodString;
3551
5812
  type: z.ZodLiteral<"time_based">;
@@ -3622,6 +5883,19 @@ declare class GetSubscriptions extends AbstractApiRequest<typeof getSubscription
3622
5883
  autoRenewal: z.ZodBoolean;
3623
5884
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3624
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>>>;
3625
5899
  createdAt: z.ZodString;
3626
5900
  updatedAt: z.ZodString;
3627
5901
  type: z.ZodLiteral<"infinite">;
@@ -3638,6 +5912,19 @@ declare class GetSubscriptions extends AbstractApiRequest<typeof getSubscription
3638
5912
  autoRenewal: z.ZodBoolean;
3639
5913
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3640
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>>>;
3641
5928
  createdAt: z.ZodString;
3642
5929
  updatedAt: z.ZodString;
3643
5930
  type: z.ZodLiteral<"consumption">;
@@ -3658,6 +5945,19 @@ declare class GetSubscriptions extends AbstractApiRequest<typeof getSubscription
3658
5945
  autoRenewal: z.ZodBoolean;
3659
5946
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3660
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>>>;
3661
5961
  createdAt: z.ZodString;
3662
5962
  updatedAt: z.ZodString;
3663
5963
  type: z.ZodLiteral<"time_based">;
@@ -3688,6 +5988,19 @@ declare const getSubscriptionsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDis
3688
5988
  autoRenewal: z.ZodBoolean;
3689
5989
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3690
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>>>;
3691
6004
  createdAt: z.ZodString;
3692
6005
  updatedAt: z.ZodString;
3693
6006
  type: z.ZodLiteral<"infinite">;
@@ -3704,6 +6017,19 @@ declare const getSubscriptionsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDis
3704
6017
  autoRenewal: z.ZodBoolean;
3705
6018
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3706
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>>>;
3707
6033
  createdAt: z.ZodString;
3708
6034
  updatedAt: z.ZodString;
3709
6035
  type: z.ZodLiteral<"consumption">;
@@ -3724,6 +6050,19 @@ declare const getSubscriptionsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDis
3724
6050
  autoRenewal: z.ZodBoolean;
3725
6051
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3726
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>>>;
3727
6066
  createdAt: z.ZodString;
3728
6067
  updatedAt: z.ZodString;
3729
6068
  type: z.ZodLiteral<"time_based">;
@@ -3750,6 +6089,19 @@ declare class GetSubscriptionsFromPointOfSale extends AbstractApiRequest<typeof
3750
6089
  autoRenewal: z.ZodBoolean;
3751
6090
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3752
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>>>;
3753
6105
  createdAt: z.ZodString;
3754
6106
  updatedAt: z.ZodString;
3755
6107
  type: z.ZodLiteral<"infinite">;
@@ -3766,6 +6118,19 @@ declare class GetSubscriptionsFromPointOfSale extends AbstractApiRequest<typeof
3766
6118
  autoRenewal: z.ZodBoolean;
3767
6119
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3768
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>>>;
3769
6134
  createdAt: z.ZodString;
3770
6135
  updatedAt: z.ZodString;
3771
6136
  type: z.ZodLiteral<"consumption">;
@@ -3786,6 +6151,19 @@ declare class GetSubscriptionsFromPointOfSale extends AbstractApiRequest<typeof
3786
6151
  autoRenewal: z.ZodBoolean;
3787
6152
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3788
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>>>;
3789
6167
  createdAt: z.ZodString;
3790
6168
  updatedAt: z.ZodString;
3791
6169
  type: z.ZodLiteral<"time_based">;
@@ -3853,6 +6231,19 @@ declare class GetSubscriptionsFromPointOfSale extends AbstractApiRequest<typeof
3853
6231
  autoRenewal: z.ZodBoolean;
3854
6232
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3855
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>>>;
3856
6247
  createdAt: z.ZodString;
3857
6248
  updatedAt: z.ZodString;
3858
6249
  type: z.ZodLiteral<"infinite">;
@@ -3869,6 +6260,19 @@ declare class GetSubscriptionsFromPointOfSale extends AbstractApiRequest<typeof
3869
6260
  autoRenewal: z.ZodBoolean;
3870
6261
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3871
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>>>;
3872
6276
  createdAt: z.ZodString;
3873
6277
  updatedAt: z.ZodString;
3874
6278
  type: z.ZodLiteral<"consumption">;
@@ -3889,6 +6293,19 @@ declare class GetSubscriptionsFromPointOfSale extends AbstractApiRequest<typeof
3889
6293
  autoRenewal: z.ZodBoolean;
3890
6294
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3891
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>>>;
3892
6309
  createdAt: z.ZodString;
3893
6310
  updatedAt: z.ZodString;
3894
6311
  type: z.ZodLiteral<"time_based">;
@@ -3922,6 +6339,19 @@ declare const updateSubscriptionResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
3922
6339
  autoRenewal: z.ZodBoolean;
3923
6340
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3924
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>>>;
3925
6355
  createdAt: z.ZodString;
3926
6356
  updatedAt: z.ZodString;
3927
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>>;
@@ -3939,6 +6369,19 @@ declare const updateSubscriptionResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
3939
6369
  autoRenewal: z.ZodBoolean;
3940
6370
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3941
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>>>;
3942
6385
  createdAt: z.ZodString;
3943
6386
  updatedAt: z.ZodString;
3944
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>>;
@@ -3960,6 +6403,19 @@ declare const updateSubscriptionResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
3960
6403
  autoRenewal: z.ZodBoolean;
3961
6404
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3962
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>>>;
3963
6419
  createdAt: z.ZodString;
3964
6420
  updatedAt: z.ZodString;
3965
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>>;
@@ -3991,6 +6447,19 @@ declare class UpdateSubscription extends AbstractApiRequest<typeof updateSubscri
3991
6447
  autoRenewal: z.ZodBoolean;
3992
6448
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3993
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>>>;
3994
6463
  createdAt: z.ZodString;
3995
6464
  updatedAt: z.ZodString;
3996
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>>;
@@ -4008,6 +6477,19 @@ declare class UpdateSubscription extends AbstractApiRequest<typeof updateSubscri
4008
6477
  autoRenewal: z.ZodBoolean;
4009
6478
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4010
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>>>;
4011
6493
  createdAt: z.ZodString;
4012
6494
  updatedAt: z.ZodString;
4013
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>>;
@@ -4029,6 +6511,19 @@ declare class UpdateSubscription extends AbstractApiRequest<typeof updateSubscri
4029
6511
  autoRenewal: z.ZodBoolean;
4030
6512
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4031
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>>>;
4032
6527
  createdAt: z.ZodString;
4033
6528
  updatedAt: z.ZodString;
4034
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>>;
@@ -4045,54 +6540,4 @@ declare class UpdateSubscription extends AbstractApiRequest<typeof updateSubscri
4045
6540
  getPath(): string;
4046
6541
  }
4047
6542
 
4048
- declare const adjustableCreditTransactionTypes: readonly ["gift", "bonus", "refund", "manual_adjustment"];
4049
- declare const adjustableCreditTransactionTypeSchema: z.ZodEnum<{
4050
- gift: "gift";
4051
- bonus: "bonus";
4052
- refund: "refund";
4053
- manual_adjustment: "manual_adjustment";
4054
- }>;
4055
- type AdjustableCreditTransactionType = z.infer<typeof adjustableCreditTransactionTypeSchema>;
4056
- declare const subscriptionAvailabilityReasons: readonly ["available", "no_active_subscription", "expired", "insufficient_credits", "operation_not_allowed"];
4057
- declare const subscriptionAvailabilityReasonSchema: z.ZodEnum<{
4058
- available: "available";
4059
- no_active_subscription: "no_active_subscription";
4060
- expired: "expired";
4061
- insufficient_credits: "insufficient_credits";
4062
- operation_not_allowed: "operation_not_allowed";
4063
- }>;
4064
- type SubscriptionAvailabilityReason = z.infer<typeof subscriptionAvailabilityReasonSchema>;
4065
- declare const subscriptionIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/:id">, unknown>>;
4066
- type SubscriptionIri = z.infer<typeof subscriptionIriSchema>;
4067
- declare const subscriptionNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/:id"> | null, unknown>>;
4068
- type SubscriptionNullableIri = z.infer<typeof subscriptionNullableIriSchema>;
4069
- declare const subscriptionInfiniteIriSchema: 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>>;
4070
- type SubscriptionInfiniteIri = z.infer<typeof subscriptionInfiniteIriSchema>;
4071
- declare const subscriptionInfiniteNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/infinite/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/infinite/:id"> | null, unknown>>;
4072
- type SubscriptionInfiniteNullableIri = z.infer<typeof subscriptionInfiniteNullableIriSchema>;
4073
- declare const subscriptionConsumptionIriSchema: 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>>;
4074
- type SubscriptionConsumptionIri = z.infer<typeof subscriptionConsumptionIriSchema>;
4075
- declare const subscriptionConsumptionNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id"> | null, unknown>>;
4076
- type SubscriptionConsumptionNullableIri = z.infer<typeof subscriptionConsumptionNullableIriSchema>;
4077
- declare const subscriptionTimeBasedIriSchema: 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>>;
4078
- type SubscriptionTimeBasedIri = z.infer<typeof subscriptionTimeBasedIriSchema>;
4079
- declare const subscriptionTimeBasedNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id"> | null, unknown>>;
4080
- type SubscriptionTimeBasedNullableIri = z.infer<typeof subscriptionTimeBasedNullableIriSchema>;
4081
- declare const subscriptionPriceIriSchema: 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>>;
4082
- type SubscriptionPriceIri = z.infer<typeof subscriptionPriceIriSchema>;
4083
- 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>>;
4084
- type SubscriptionPriceNullableIri = z.infer<typeof subscriptionPriceNullableIriSchema>;
4085
- 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>>;
4086
- type SubscriptionConsumptionRenewalIri = z.infer<typeof subscriptionConsumptionRenewalIriSchema>;
4087
- 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>>;
4088
- type SubscriptionConsumptionRenewalNullableIri = z.infer<typeof subscriptionConsumptionRenewalNullableIriSchema>;
4089
- declare const subscriptionTimeBasedRenewalIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/renewals/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/renewals/:id">, unknown>>;
4090
- type SubscriptionTimeBasedRenewalIri = z.infer<typeof subscriptionTimeBasedRenewalIriSchema>;
4091
- declare const subscriptionTimeBasedRenewalNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/renewals/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/renewals/:id"> | null, unknown>>;
4092
- type SubscriptionTimeBasedRenewalNullableIri = z.infer<typeof subscriptionTimeBasedRenewalNullableIriSchema>;
4093
- declare const creditUsageLogIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/credit_usage_logs/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/credit_usage_logs/:id">, unknown>>;
4094
- type CreditUsageLogIri = z.infer<typeof creditUsageLogIriSchema>;
4095
- declare const creditUsageLogNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/credit_usage_logs/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/credit_usage_logs/:id"> | null, unknown>>;
4096
- type CreditUsageLogNullableIri = z.infer<typeof creditUsageLogNullableIriSchema>;
4097
-
4098
- 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, 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 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, 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, 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 };