@deliverart/sdk-js-subscription 2.13.3 → 2.13.5
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/README.md +51 -0
- package/dist/index.cjs +571 -46
- package/dist/index.d.cts +2872 -107
- package/dist/index.d.ts +2872 -107
- package/dist/index.js +517 -46
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -4,6 +4,73 @@ export { CreditTransactionType, PaymentMethod, PaymentStatus, RenewalStatus, Sub
|
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
6
6
|
|
|
7
|
+
declare const subscriptionPlanSummarySchema: z.ZodObject<{
|
|
8
|
+
id: z.ZodString;
|
|
9
|
+
code: z.ZodString;
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
type: z.ZodEnum<{
|
|
12
|
+
infinite: "infinite";
|
|
13
|
+
time_based: "time_based";
|
|
14
|
+
consumption: "consumption";
|
|
15
|
+
}>;
|
|
16
|
+
isActive: z.ZodBoolean;
|
|
17
|
+
isPurchasable: z.ZodBoolean;
|
|
18
|
+
isAdminOnly: z.ZodBoolean;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
type SubscriptionPlanSummary = z.infer<typeof subscriptionPlanSummarySchema>;
|
|
21
|
+
declare const subscriptionOverviewPlanSchema: z.ZodObject<{
|
|
22
|
+
id: z.ZodString;
|
|
23
|
+
iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown>>;
|
|
24
|
+
code: z.ZodString;
|
|
25
|
+
name: z.ZodString;
|
|
26
|
+
type: z.ZodEnum<{
|
|
27
|
+
infinite: "infinite";
|
|
28
|
+
time_based: "time_based";
|
|
29
|
+
consumption: "consumption";
|
|
30
|
+
}>;
|
|
31
|
+
active: z.ZodBoolean;
|
|
32
|
+
purchasable: z.ZodBoolean;
|
|
33
|
+
adminOnly: z.ZodBoolean;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
type SubscriptionOverviewPlan = z.infer<typeof subscriptionOverviewPlanSchema>;
|
|
36
|
+
declare const subscriptionPlanPriceOptionSchema: z.ZodObject<{
|
|
37
|
+
id: z.ZodString;
|
|
38
|
+
iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
|
|
39
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
40
|
+
unitPrice: z.ZodString;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
type SubscriptionPlanPriceOption = z.infer<typeof subscriptionPlanPriceOptionSchema>;
|
|
43
|
+
declare const subscriptionPlanSchema: z.ZodObject<{
|
|
44
|
+
id: z.ZodString;
|
|
45
|
+
code: z.ZodString;
|
|
46
|
+
name: z.ZodString;
|
|
47
|
+
description: z.ZodNullable<z.ZodString>;
|
|
48
|
+
type: z.ZodEnum<{
|
|
49
|
+
infinite: "infinite";
|
|
50
|
+
time_based: "time_based";
|
|
51
|
+
consumption: "consumption";
|
|
52
|
+
}>;
|
|
53
|
+
isActive: z.ZodBoolean;
|
|
54
|
+
isPurchasable: z.ZodBoolean;
|
|
55
|
+
isAdminOnly: z.ZodBoolean;
|
|
56
|
+
defaultAutoRenewal: z.ZodBoolean;
|
|
57
|
+
includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
58
|
+
renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
59
|
+
renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
60
|
+
durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
61
|
+
renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
62
|
+
renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
63
|
+
operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
|
|
64
|
+
priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
65
|
+
id: z.ZodString;
|
|
66
|
+
iri: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
|
|
67
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
68
|
+
unitPrice: z.ZodString;
|
|
69
|
+
}, z.core.$strip>>>;
|
|
70
|
+
createdAt: z.ZodString;
|
|
71
|
+
updatedAt: z.ZodString;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
type SubscriptionPlan = z.infer<typeof subscriptionPlanSchema>;
|
|
7
74
|
declare const subscriptionInfiniteSchema: z.ZodObject<{
|
|
8
75
|
id: z.ZodString;
|
|
9
76
|
status: z.ZodEnum<{
|
|
@@ -17,6 +84,19 @@ declare const subscriptionInfiniteSchema: z.ZodObject<{
|
|
|
17
84
|
autoRenewal: z.ZodBoolean;
|
|
18
85
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
19
86
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
87
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
88
|
+
id: z.ZodString;
|
|
89
|
+
code: z.ZodString;
|
|
90
|
+
name: z.ZodString;
|
|
91
|
+
type: z.ZodEnum<{
|
|
92
|
+
infinite: "infinite";
|
|
93
|
+
time_based: "time_based";
|
|
94
|
+
consumption: "consumption";
|
|
95
|
+
}>;
|
|
96
|
+
isActive: z.ZodBoolean;
|
|
97
|
+
isPurchasable: z.ZodBoolean;
|
|
98
|
+
isAdminOnly: z.ZodBoolean;
|
|
99
|
+
}, z.core.$strip>>>;
|
|
20
100
|
createdAt: z.ZodString;
|
|
21
101
|
updatedAt: z.ZodString;
|
|
22
102
|
type: z.ZodLiteral<"infinite">;
|
|
@@ -35,6 +115,19 @@ declare const subscriptionInfiniteDetailsSchema: z.ZodObject<{
|
|
|
35
115
|
autoRenewal: z.ZodBoolean;
|
|
36
116
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
37
117
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
118
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
119
|
+
id: z.ZodString;
|
|
120
|
+
code: z.ZodString;
|
|
121
|
+
name: z.ZodString;
|
|
122
|
+
type: z.ZodEnum<{
|
|
123
|
+
infinite: "infinite";
|
|
124
|
+
time_based: "time_based";
|
|
125
|
+
consumption: "consumption";
|
|
126
|
+
}>;
|
|
127
|
+
isActive: z.ZodBoolean;
|
|
128
|
+
isPurchasable: z.ZodBoolean;
|
|
129
|
+
isAdminOnly: z.ZodBoolean;
|
|
130
|
+
}, z.core.$strip>>>;
|
|
38
131
|
createdAt: z.ZodString;
|
|
39
132
|
updatedAt: z.ZodString;
|
|
40
133
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -54,6 +147,19 @@ declare const subscriptionConsumptionSchema: z.ZodObject<{
|
|
|
54
147
|
autoRenewal: z.ZodBoolean;
|
|
55
148
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
56
149
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
150
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
151
|
+
id: z.ZodString;
|
|
152
|
+
code: z.ZodString;
|
|
153
|
+
name: z.ZodString;
|
|
154
|
+
type: z.ZodEnum<{
|
|
155
|
+
infinite: "infinite";
|
|
156
|
+
time_based: "time_based";
|
|
157
|
+
consumption: "consumption";
|
|
158
|
+
}>;
|
|
159
|
+
isActive: z.ZodBoolean;
|
|
160
|
+
isPurchasable: z.ZodBoolean;
|
|
161
|
+
isAdminOnly: z.ZodBoolean;
|
|
162
|
+
}, z.core.$strip>>>;
|
|
57
163
|
createdAt: z.ZodString;
|
|
58
164
|
updatedAt: z.ZodString;
|
|
59
165
|
type: z.ZodLiteral<"consumption">;
|
|
@@ -76,6 +182,19 @@ declare const subscriptionConsumptionDetailsSchema: z.ZodObject<{
|
|
|
76
182
|
autoRenewal: z.ZodBoolean;
|
|
77
183
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
78
184
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
185
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
186
|
+
id: z.ZodString;
|
|
187
|
+
code: z.ZodString;
|
|
188
|
+
name: z.ZodString;
|
|
189
|
+
type: z.ZodEnum<{
|
|
190
|
+
infinite: "infinite";
|
|
191
|
+
time_based: "time_based";
|
|
192
|
+
consumption: "consumption";
|
|
193
|
+
}>;
|
|
194
|
+
isActive: z.ZodBoolean;
|
|
195
|
+
isPurchasable: z.ZodBoolean;
|
|
196
|
+
isAdminOnly: z.ZodBoolean;
|
|
197
|
+
}, z.core.$strip>>>;
|
|
79
198
|
createdAt: z.ZodString;
|
|
80
199
|
updatedAt: z.ZodString;
|
|
81
200
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -99,6 +218,19 @@ declare const subscriptionTimeBasedSchema: z.ZodObject<{
|
|
|
99
218
|
autoRenewal: z.ZodBoolean;
|
|
100
219
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
101
220
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
221
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
222
|
+
id: z.ZodString;
|
|
223
|
+
code: z.ZodString;
|
|
224
|
+
name: z.ZodString;
|
|
225
|
+
type: z.ZodEnum<{
|
|
226
|
+
infinite: "infinite";
|
|
227
|
+
time_based: "time_based";
|
|
228
|
+
consumption: "consumption";
|
|
229
|
+
}>;
|
|
230
|
+
isActive: z.ZodBoolean;
|
|
231
|
+
isPurchasable: z.ZodBoolean;
|
|
232
|
+
isAdminOnly: z.ZodBoolean;
|
|
233
|
+
}, z.core.$strip>>>;
|
|
102
234
|
createdAt: z.ZodString;
|
|
103
235
|
updatedAt: z.ZodString;
|
|
104
236
|
type: z.ZodLiteral<"time_based">;
|
|
@@ -120,6 +252,19 @@ declare const subscriptionTimeBasedDetailsSchema: z.ZodObject<{
|
|
|
120
252
|
autoRenewal: z.ZodBoolean;
|
|
121
253
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
122
254
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
255
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
256
|
+
id: z.ZodString;
|
|
257
|
+
code: z.ZodString;
|
|
258
|
+
name: z.ZodString;
|
|
259
|
+
type: z.ZodEnum<{
|
|
260
|
+
infinite: "infinite";
|
|
261
|
+
time_based: "time_based";
|
|
262
|
+
consumption: "consumption";
|
|
263
|
+
}>;
|
|
264
|
+
isActive: z.ZodBoolean;
|
|
265
|
+
isPurchasable: z.ZodBoolean;
|
|
266
|
+
isAdminOnly: z.ZodBoolean;
|
|
267
|
+
}, z.core.$strip>>>;
|
|
123
268
|
createdAt: z.ZodString;
|
|
124
269
|
updatedAt: z.ZodString;
|
|
125
270
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -143,6 +288,19 @@ declare const subscriptionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
143
288
|
autoRenewal: z.ZodBoolean;
|
|
144
289
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
145
290
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
291
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
292
|
+
id: z.ZodString;
|
|
293
|
+
code: z.ZodString;
|
|
294
|
+
name: z.ZodString;
|
|
295
|
+
type: z.ZodEnum<{
|
|
296
|
+
infinite: "infinite";
|
|
297
|
+
time_based: "time_based";
|
|
298
|
+
consumption: "consumption";
|
|
299
|
+
}>;
|
|
300
|
+
isActive: z.ZodBoolean;
|
|
301
|
+
isPurchasable: z.ZodBoolean;
|
|
302
|
+
isAdminOnly: z.ZodBoolean;
|
|
303
|
+
}, z.core.$strip>>>;
|
|
146
304
|
createdAt: z.ZodString;
|
|
147
305
|
updatedAt: z.ZodString;
|
|
148
306
|
type: z.ZodLiteral<"infinite">;
|
|
@@ -159,6 +317,19 @@ declare const subscriptionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
159
317
|
autoRenewal: z.ZodBoolean;
|
|
160
318
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
161
319
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
320
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
321
|
+
id: z.ZodString;
|
|
322
|
+
code: z.ZodString;
|
|
323
|
+
name: z.ZodString;
|
|
324
|
+
type: z.ZodEnum<{
|
|
325
|
+
infinite: "infinite";
|
|
326
|
+
time_based: "time_based";
|
|
327
|
+
consumption: "consumption";
|
|
328
|
+
}>;
|
|
329
|
+
isActive: z.ZodBoolean;
|
|
330
|
+
isPurchasable: z.ZodBoolean;
|
|
331
|
+
isAdminOnly: z.ZodBoolean;
|
|
332
|
+
}, z.core.$strip>>>;
|
|
162
333
|
createdAt: z.ZodString;
|
|
163
334
|
updatedAt: z.ZodString;
|
|
164
335
|
type: z.ZodLiteral<"consumption">;
|
|
@@ -179,6 +350,19 @@ declare const subscriptionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
179
350
|
autoRenewal: z.ZodBoolean;
|
|
180
351
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
181
352
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
353
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
354
|
+
id: z.ZodString;
|
|
355
|
+
code: z.ZodString;
|
|
356
|
+
name: z.ZodString;
|
|
357
|
+
type: z.ZodEnum<{
|
|
358
|
+
infinite: "infinite";
|
|
359
|
+
time_based: "time_based";
|
|
360
|
+
consumption: "consumption";
|
|
361
|
+
}>;
|
|
362
|
+
isActive: z.ZodBoolean;
|
|
363
|
+
isPurchasable: z.ZodBoolean;
|
|
364
|
+
isAdminOnly: z.ZodBoolean;
|
|
365
|
+
}, z.core.$strip>>>;
|
|
182
366
|
createdAt: z.ZodString;
|
|
183
367
|
updatedAt: z.ZodString;
|
|
184
368
|
type: z.ZodLiteral<"time_based">;
|
|
@@ -200,6 +384,19 @@ declare const subscriptionDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
200
384
|
autoRenewal: z.ZodBoolean;
|
|
201
385
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
202
386
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
387
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
388
|
+
id: z.ZodString;
|
|
389
|
+
code: z.ZodString;
|
|
390
|
+
name: z.ZodString;
|
|
391
|
+
type: z.ZodEnum<{
|
|
392
|
+
infinite: "infinite";
|
|
393
|
+
time_based: "time_based";
|
|
394
|
+
consumption: "consumption";
|
|
395
|
+
}>;
|
|
396
|
+
isActive: z.ZodBoolean;
|
|
397
|
+
isPurchasable: z.ZodBoolean;
|
|
398
|
+
isAdminOnly: z.ZodBoolean;
|
|
399
|
+
}, z.core.$strip>>>;
|
|
203
400
|
createdAt: z.ZodString;
|
|
204
401
|
updatedAt: z.ZodString;
|
|
205
402
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -217,6 +414,19 @@ declare const subscriptionDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
217
414
|
autoRenewal: z.ZodBoolean;
|
|
218
415
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
219
416
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
417
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
418
|
+
id: z.ZodString;
|
|
419
|
+
code: z.ZodString;
|
|
420
|
+
name: z.ZodString;
|
|
421
|
+
type: z.ZodEnum<{
|
|
422
|
+
infinite: "infinite";
|
|
423
|
+
time_based: "time_based";
|
|
424
|
+
consumption: "consumption";
|
|
425
|
+
}>;
|
|
426
|
+
isActive: z.ZodBoolean;
|
|
427
|
+
isPurchasable: z.ZodBoolean;
|
|
428
|
+
isAdminOnly: z.ZodBoolean;
|
|
429
|
+
}, z.core.$strip>>>;
|
|
220
430
|
createdAt: z.ZodString;
|
|
221
431
|
updatedAt: z.ZodString;
|
|
222
432
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -238,6 +448,19 @@ declare const subscriptionDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
238
448
|
autoRenewal: z.ZodBoolean;
|
|
239
449
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
240
450
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
451
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
452
|
+
id: z.ZodString;
|
|
453
|
+
code: z.ZodString;
|
|
454
|
+
name: z.ZodString;
|
|
455
|
+
type: z.ZodEnum<{
|
|
456
|
+
infinite: "infinite";
|
|
457
|
+
time_based: "time_based";
|
|
458
|
+
consumption: "consumption";
|
|
459
|
+
}>;
|
|
460
|
+
isActive: z.ZodBoolean;
|
|
461
|
+
isPurchasable: z.ZodBoolean;
|
|
462
|
+
isAdminOnly: z.ZodBoolean;
|
|
463
|
+
}, z.core.$strip>>>;
|
|
241
464
|
createdAt: z.ZodString;
|
|
242
465
|
updatedAt: z.ZodString;
|
|
243
466
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -318,6 +541,81 @@ declare const subscriptionTimeBasedRenewalDetailsSchema: z.ZodObject<{
|
|
|
318
541
|
subscription: 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>>;
|
|
319
542
|
}, z.core.$strip>;
|
|
320
543
|
type SubscriptionTimeBasedRenewalDetails = z.infer<typeof subscriptionTimeBasedRenewalDetailsSchema>;
|
|
544
|
+
declare const subscriptionPurchaseSchema: z.ZodObject<{
|
|
545
|
+
id: z.ZodString;
|
|
546
|
+
plan: 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>>;
|
|
547
|
+
status: z.ZodEnum<{
|
|
548
|
+
pending: "pending";
|
|
549
|
+
completed: "completed";
|
|
550
|
+
cancelled: "cancelled";
|
|
551
|
+
failed: "failed";
|
|
552
|
+
}>;
|
|
553
|
+
type: z.ZodEnum<{
|
|
554
|
+
infinite: "infinite";
|
|
555
|
+
time_based: "time_based";
|
|
556
|
+
consumption: "consumption";
|
|
557
|
+
}>;
|
|
558
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
559
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
560
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
561
|
+
amount: z.ZodString;
|
|
562
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
563
|
+
stripe: "stripe";
|
|
564
|
+
bank_transfer: "bank_transfer";
|
|
565
|
+
cash: "cash";
|
|
566
|
+
credit_card: "credit_card";
|
|
567
|
+
}>>;
|
|
568
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
569
|
+
pending: "pending";
|
|
570
|
+
pending_verification: "pending_verification";
|
|
571
|
+
paid: "paid";
|
|
572
|
+
canceled: "canceled";
|
|
573
|
+
refunded: "refunded";
|
|
574
|
+
failed: "failed";
|
|
575
|
+
}>>;
|
|
576
|
+
createdAt: z.ZodString;
|
|
577
|
+
updatedAt: z.ZodString;
|
|
578
|
+
}, z.core.$strip>;
|
|
579
|
+
type SubscriptionPurchase = z.infer<typeof subscriptionPurchaseSchema>;
|
|
580
|
+
declare const subscriptionPurchaseDetailsSchema: z.ZodObject<{
|
|
581
|
+
id: z.ZodString;
|
|
582
|
+
plan: 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>>;
|
|
583
|
+
status: z.ZodEnum<{
|
|
584
|
+
pending: "pending";
|
|
585
|
+
completed: "completed";
|
|
586
|
+
cancelled: "cancelled";
|
|
587
|
+
failed: "failed";
|
|
588
|
+
}>;
|
|
589
|
+
type: z.ZodEnum<{
|
|
590
|
+
infinite: "infinite";
|
|
591
|
+
time_based: "time_based";
|
|
592
|
+
consumption: "consumption";
|
|
593
|
+
}>;
|
|
594
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
595
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
596
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
597
|
+
amount: z.ZodString;
|
|
598
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
599
|
+
stripe: "stripe";
|
|
600
|
+
bank_transfer: "bank_transfer";
|
|
601
|
+
cash: "cash";
|
|
602
|
+
credit_card: "credit_card";
|
|
603
|
+
}>>;
|
|
604
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
605
|
+
pending: "pending";
|
|
606
|
+
pending_verification: "pending_verification";
|
|
607
|
+
paid: "paid";
|
|
608
|
+
canceled: "canceled";
|
|
609
|
+
refunded: "refunded";
|
|
610
|
+
failed: "failed";
|
|
611
|
+
}>>;
|
|
612
|
+
createdAt: z.ZodString;
|
|
613
|
+
updatedAt: z.ZodString;
|
|
614
|
+
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>>;
|
|
615
|
+
payment: z.ZodOptional<z.ZodNullable<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>>>>;
|
|
616
|
+
subscription: z.ZodOptional<z.ZodNullable<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>>>>;
|
|
617
|
+
}, z.core.$strip>;
|
|
618
|
+
type SubscriptionPurchaseDetails = z.infer<typeof subscriptionPurchaseDetailsSchema>;
|
|
321
619
|
declare const subscriptionPriceSchema: z.ZodObject<{
|
|
322
620
|
id: z.ZodString;
|
|
323
621
|
type: z.ZodEnum<{
|
|
@@ -325,6 +623,7 @@ declare const subscriptionPriceSchema: z.ZodObject<{
|
|
|
325
623
|
time_based: "time_based";
|
|
326
624
|
consumption: "consumption";
|
|
327
625
|
}>;
|
|
626
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>;
|
|
328
627
|
threshold: z.ZodCoercedNumber<unknown>;
|
|
329
628
|
unitPrice: z.ZodString;
|
|
330
629
|
createdAt: z.ZodString;
|
|
@@ -452,16 +751,37 @@ declare const subscriptionRenewalPaymentInfoSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
452
751
|
type SubscriptionRenewalPaymentInfo = z.infer<typeof subscriptionRenewalPaymentInfoSchema>;
|
|
453
752
|
declare const resolveSubscriptionRenewalPaymentInputSchema: z.ZodObject<{
|
|
454
753
|
status: z.ZodEnum<{
|
|
455
|
-
paid: "paid";
|
|
456
754
|
failed: "failed";
|
|
755
|
+
paid: "paid";
|
|
457
756
|
canceled: "canceled";
|
|
458
757
|
}>;
|
|
459
758
|
response: z.ZodOptional<z.ZodString>;
|
|
460
759
|
}, z.core.$strip>;
|
|
461
760
|
type ResolveSubscriptionRenewalPaymentInput = z.infer<typeof resolveSubscriptionRenewalPaymentInputSchema>;
|
|
761
|
+
declare const writableSubscriptionPurchaseSchema: z.ZodObject<{
|
|
762
|
+
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>>;
|
|
763
|
+
plan: 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>>;
|
|
764
|
+
autoRenewal: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
765
|
+
startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
766
|
+
}, z.core.$strip>;
|
|
767
|
+
type WritableSubscriptionPurchase = z.infer<typeof writableSubscriptionPurchaseSchema>;
|
|
462
768
|
declare const subscriptionOverviewSubscriptionSchema: z.ZodObject<{
|
|
463
769
|
id: z.ZodString;
|
|
464
770
|
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>>]>;
|
|
771
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
772
|
+
id: z.ZodString;
|
|
773
|
+
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>>;
|
|
774
|
+
code: z.ZodString;
|
|
775
|
+
name: z.ZodString;
|
|
776
|
+
type: z.ZodEnum<{
|
|
777
|
+
infinite: "infinite";
|
|
778
|
+
time_based: "time_based";
|
|
779
|
+
consumption: "consumption";
|
|
780
|
+
}>;
|
|
781
|
+
active: z.ZodBoolean;
|
|
782
|
+
purchasable: z.ZodBoolean;
|
|
783
|
+
adminOnly: z.ZodBoolean;
|
|
784
|
+
}, z.core.$strip>>;
|
|
465
785
|
type: z.ZodEnum<{
|
|
466
786
|
infinite: "infinite";
|
|
467
787
|
time_based: "time_based";
|
|
@@ -511,6 +831,20 @@ declare const subscriptionOverviewResponseSchema: z.ZodObject<{
|
|
|
511
831
|
subscription: z.ZodNullable<z.ZodObject<{
|
|
512
832
|
id: z.ZodString;
|
|
513
833
|
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>>]>;
|
|
834
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
835
|
+
id: z.ZodString;
|
|
836
|
+
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>>;
|
|
837
|
+
code: z.ZodString;
|
|
838
|
+
name: z.ZodString;
|
|
839
|
+
type: z.ZodEnum<{
|
|
840
|
+
infinite: "infinite";
|
|
841
|
+
time_based: "time_based";
|
|
842
|
+
consumption: "consumption";
|
|
843
|
+
}>;
|
|
844
|
+
active: z.ZodBoolean;
|
|
845
|
+
purchasable: z.ZodBoolean;
|
|
846
|
+
adminOnly: z.ZodBoolean;
|
|
847
|
+
}, z.core.$strip>>;
|
|
514
848
|
type: z.ZodEnum<{
|
|
515
849
|
infinite: "infinite";
|
|
516
850
|
time_based: "time_based";
|
|
@@ -591,10 +925,33 @@ declare const writableSubscriptionPriceSchema: z.ZodObject<{
|
|
|
591
925
|
time_based: "time_based";
|
|
592
926
|
consumption: "consumption";
|
|
593
927
|
}>;
|
|
928
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>;
|
|
594
929
|
threshold: z.ZodCoercedNumber<unknown>;
|
|
595
930
|
unitPrice: z.ZodString;
|
|
596
931
|
}, z.core.$strip>;
|
|
597
932
|
type WritableSubscriptionPrice = z.infer<typeof writableSubscriptionPriceSchema>;
|
|
933
|
+
declare const writableSubscriptionPlanSchema: z.ZodObject<{
|
|
934
|
+
code: z.ZodString;
|
|
935
|
+
name: z.ZodString;
|
|
936
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
937
|
+
type: z.ZodEnum<{
|
|
938
|
+
infinite: "infinite";
|
|
939
|
+
time_based: "time_based";
|
|
940
|
+
consumption: "consumption";
|
|
941
|
+
}>;
|
|
942
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
943
|
+
isPurchasable: z.ZodOptional<z.ZodBoolean>;
|
|
944
|
+
isAdminOnly: z.ZodOptional<z.ZodBoolean>;
|
|
945
|
+
defaultAutoRenewal: z.ZodOptional<z.ZodBoolean>;
|
|
946
|
+
includedCredits: z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
947
|
+
renewalCredits: z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
948
|
+
renewalThreshold: z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
949
|
+
durationDays: z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
950
|
+
renewalDays: z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
951
|
+
renewalOffsetDays: z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
952
|
+
operationCosts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>>;
|
|
953
|
+
}, z.core.$strip>;
|
|
954
|
+
type WritableSubscriptionPlan = z.infer<typeof writableSubscriptionPlanSchema>;
|
|
598
955
|
declare const writableSubscriptionConsumptionRenewalSchema: z.ZodObject<{
|
|
599
956
|
subscription: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown>>;
|
|
600
957
|
credits: z.ZodCoercedNumber<unknown>;
|
|
@@ -859,6 +1216,50 @@ declare const subscriptionTimeBasedRenewalsQuerySchema: z.ZodObject<{
|
|
|
859
1216
|
'days[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
860
1217
|
}, z.core.$strip>;
|
|
861
1218
|
type SubscriptionTimeBasedRenewalsQueryParams = z.infer<typeof subscriptionTimeBasedRenewalsQuerySchema>;
|
|
1219
|
+
declare const subscriptionPlansQuerySchema: z.ZodObject<{
|
|
1220
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1221
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1222
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1223
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1224
|
+
infinite: "infinite";
|
|
1225
|
+
time_based: "time_based";
|
|
1226
|
+
consumption: "consumption";
|
|
1227
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1228
|
+
infinite: "infinite";
|
|
1229
|
+
time_based: "time_based";
|
|
1230
|
+
consumption: "consumption";
|
|
1231
|
+
}>>]>>;
|
|
1232
|
+
isActive: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1233
|
+
isPurchasable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1234
|
+
isAdminOnly: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1235
|
+
defaultAutoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1236
|
+
'order[name]': z.ZodOptional<z.ZodEnum<{
|
|
1237
|
+
asc: "asc";
|
|
1238
|
+
desc: "desc";
|
|
1239
|
+
}>>;
|
|
1240
|
+
'order[code]': z.ZodOptional<z.ZodEnum<{
|
|
1241
|
+
asc: "asc";
|
|
1242
|
+
desc: "desc";
|
|
1243
|
+
}>>;
|
|
1244
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
1245
|
+
asc: "asc";
|
|
1246
|
+
desc: "desc";
|
|
1247
|
+
}>>;
|
|
1248
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
1249
|
+
asc: "asc";
|
|
1250
|
+
desc: "desc";
|
|
1251
|
+
}>>;
|
|
1252
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1253
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
1254
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1255
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
1256
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1257
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
1258
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1259
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
1260
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1261
|
+
}, z.core.$strip>;
|
|
1262
|
+
type SubscriptionPlansQueryParams = z.infer<typeof subscriptionPlansQuerySchema>;
|
|
862
1263
|
declare const subscriptionPricesQuerySchema: z.ZodObject<{
|
|
863
1264
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
864
1265
|
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -870,6 +1271,8 @@ declare const subscriptionPricesQuerySchema: z.ZodObject<{
|
|
|
870
1271
|
time_based: "time_based";
|
|
871
1272
|
consumption: "consumption";
|
|
872
1273
|
}>>]>>;
|
|
1274
|
+
'plan.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1275
|
+
'plan.code': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
873
1276
|
'threshold[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
874
1277
|
'threshold[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
875
1278
|
'threshold[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -903,27 +1306,93 @@ declare const subscriptionPricesQuerySchema: z.ZodObject<{
|
|
|
903
1306
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
904
1307
|
}, z.core.$strip>;
|
|
905
1308
|
type SubscriptionPricesQueryParams = z.infer<typeof subscriptionPricesQuerySchema>;
|
|
906
|
-
declare const
|
|
1309
|
+
declare const subscriptionPurchasesQuerySchema: z.ZodObject<{
|
|
907
1310
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1311
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1312
|
+
pending: "pending";
|
|
1313
|
+
completed: "completed";
|
|
1314
|
+
cancelled: "cancelled";
|
|
1315
|
+
failed: "failed";
|
|
1316
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1317
|
+
pending: "pending";
|
|
1318
|
+
completed: "completed";
|
|
1319
|
+
cancelled: "cancelled";
|
|
1320
|
+
failed: "failed";
|
|
1321
|
+
}>>]>>;
|
|
908
1322
|
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1323
|
+
infinite: "infinite";
|
|
1324
|
+
time_based: "time_based";
|
|
909
1325
|
consumption: "consumption";
|
|
910
|
-
renewal: "renewal";
|
|
911
|
-
gift: "gift";
|
|
912
|
-
bonus: "bonus";
|
|
913
|
-
refund: "refund";
|
|
914
|
-
manual_adjustment: "manual_adjustment";
|
|
915
1326
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1327
|
+
infinite: "infinite";
|
|
1328
|
+
time_based: "time_based";
|
|
916
1329
|
consumption: "consumption";
|
|
917
|
-
renewal: "renewal";
|
|
918
|
-
gift: "gift";
|
|
919
|
-
bonus: "bonus";
|
|
920
|
-
refund: "refund";
|
|
921
|
-
manual_adjustment: "manual_adjustment";
|
|
922
1330
|
}>>]>>;
|
|
923
|
-
'
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
1331
|
+
'pointOfSale.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1332
|
+
'plan.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1333
|
+
'plan.code': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1334
|
+
'startsAt[before]': z.ZodOptional<z.ZodString>;
|
|
1335
|
+
'startsAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1336
|
+
'startsAt[after]': z.ZodOptional<z.ZodString>;
|
|
1337
|
+
'startsAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1338
|
+
'threshold[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1339
|
+
'threshold[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1340
|
+
'threshold[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1341
|
+
'threshold[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1342
|
+
'threshold[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1343
|
+
'amount[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1344
|
+
'amount[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1345
|
+
'amount[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1346
|
+
'amount[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1347
|
+
'amount[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1348
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
1349
|
+
asc: "asc";
|
|
1350
|
+
desc: "desc";
|
|
1351
|
+
}>>;
|
|
1352
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
1353
|
+
asc: "asc";
|
|
1354
|
+
desc: "desc";
|
|
1355
|
+
}>>;
|
|
1356
|
+
'order[startsAt]': z.ZodOptional<z.ZodEnum<{
|
|
1357
|
+
asc: "asc";
|
|
1358
|
+
desc: "desc";
|
|
1359
|
+
}>>;
|
|
1360
|
+
'order[amount]': z.ZodOptional<z.ZodEnum<{
|
|
1361
|
+
asc: "asc";
|
|
1362
|
+
desc: "desc";
|
|
1363
|
+
}>>;
|
|
1364
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1365
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
1366
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1367
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
1368
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1369
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
1370
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1371
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
1372
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1373
|
+
}, z.core.$strip>;
|
|
1374
|
+
type SubscriptionPurchasesQueryParams = z.infer<typeof subscriptionPurchasesQuerySchema>;
|
|
1375
|
+
declare const creditUsageLogsQuerySchema: z.ZodObject<{
|
|
1376
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1377
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1378
|
+
consumption: "consumption";
|
|
1379
|
+
renewal: "renewal";
|
|
1380
|
+
gift: "gift";
|
|
1381
|
+
bonus: "bonus";
|
|
1382
|
+
refund: "refund";
|
|
1383
|
+
manual_adjustment: "manual_adjustment";
|
|
1384
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1385
|
+
consumption: "consumption";
|
|
1386
|
+
renewal: "renewal";
|
|
1387
|
+
gift: "gift";
|
|
1388
|
+
bonus: "bonus";
|
|
1389
|
+
refund: "refund";
|
|
1390
|
+
manual_adjustment: "manual_adjustment";
|
|
1391
|
+
}>>]>>;
|
|
1392
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
1393
|
+
asc: "asc";
|
|
1394
|
+
desc: "desc";
|
|
1395
|
+
}>>;
|
|
927
1396
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
928
1397
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
929
1398
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
@@ -945,6 +1414,19 @@ declare const getSubscriptionsResponseSchema: z.ZodObject<{
|
|
|
945
1414
|
autoRenewal: z.ZodBoolean;
|
|
946
1415
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
947
1416
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
1417
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1418
|
+
id: z.ZodString;
|
|
1419
|
+
code: z.ZodString;
|
|
1420
|
+
name: z.ZodString;
|
|
1421
|
+
type: z.ZodEnum<{
|
|
1422
|
+
infinite: "infinite";
|
|
1423
|
+
time_based: "time_based";
|
|
1424
|
+
consumption: "consumption";
|
|
1425
|
+
}>;
|
|
1426
|
+
isActive: z.ZodBoolean;
|
|
1427
|
+
isPurchasable: z.ZodBoolean;
|
|
1428
|
+
isAdminOnly: z.ZodBoolean;
|
|
1429
|
+
}, z.core.$strip>>>;
|
|
948
1430
|
createdAt: z.ZodString;
|
|
949
1431
|
updatedAt: z.ZodString;
|
|
950
1432
|
type: z.ZodLiteral<"infinite">;
|
|
@@ -961,6 +1443,19 @@ declare const getSubscriptionsResponseSchema: z.ZodObject<{
|
|
|
961
1443
|
autoRenewal: z.ZodBoolean;
|
|
962
1444
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
963
1445
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
1446
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1447
|
+
id: z.ZodString;
|
|
1448
|
+
code: z.ZodString;
|
|
1449
|
+
name: z.ZodString;
|
|
1450
|
+
type: z.ZodEnum<{
|
|
1451
|
+
infinite: "infinite";
|
|
1452
|
+
time_based: "time_based";
|
|
1453
|
+
consumption: "consumption";
|
|
1454
|
+
}>;
|
|
1455
|
+
isActive: z.ZodBoolean;
|
|
1456
|
+
isPurchasable: z.ZodBoolean;
|
|
1457
|
+
isAdminOnly: z.ZodBoolean;
|
|
1458
|
+
}, z.core.$strip>>>;
|
|
964
1459
|
createdAt: z.ZodString;
|
|
965
1460
|
updatedAt: z.ZodString;
|
|
966
1461
|
type: z.ZodLiteral<"consumption">;
|
|
@@ -981,6 +1476,19 @@ declare const getSubscriptionsResponseSchema: z.ZodObject<{
|
|
|
981
1476
|
autoRenewal: z.ZodBoolean;
|
|
982
1477
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
983
1478
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
1479
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1480
|
+
id: z.ZodString;
|
|
1481
|
+
code: z.ZodString;
|
|
1482
|
+
name: z.ZodString;
|
|
1483
|
+
type: z.ZodEnum<{
|
|
1484
|
+
infinite: "infinite";
|
|
1485
|
+
time_based: "time_based";
|
|
1486
|
+
consumption: "consumption";
|
|
1487
|
+
}>;
|
|
1488
|
+
isActive: z.ZodBoolean;
|
|
1489
|
+
isPurchasable: z.ZodBoolean;
|
|
1490
|
+
isAdminOnly: z.ZodBoolean;
|
|
1491
|
+
}, z.core.$strip>>>;
|
|
984
1492
|
createdAt: z.ZodString;
|
|
985
1493
|
updatedAt: z.ZodString;
|
|
986
1494
|
type: z.ZodLiteral<"time_based">;
|
|
@@ -1011,6 +1519,19 @@ declare const getSubscriptionConsumptionListResponseSchema: z.ZodObject<{
|
|
|
1011
1519
|
autoRenewal: z.ZodBoolean;
|
|
1012
1520
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1013
1521
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
1522
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1523
|
+
id: z.ZodString;
|
|
1524
|
+
code: z.ZodString;
|
|
1525
|
+
name: z.ZodString;
|
|
1526
|
+
type: z.ZodEnum<{
|
|
1527
|
+
infinite: "infinite";
|
|
1528
|
+
time_based: "time_based";
|
|
1529
|
+
consumption: "consumption";
|
|
1530
|
+
}>;
|
|
1531
|
+
isActive: z.ZodBoolean;
|
|
1532
|
+
isPurchasable: z.ZodBoolean;
|
|
1533
|
+
isAdminOnly: z.ZodBoolean;
|
|
1534
|
+
}, z.core.$strip>>>;
|
|
1014
1535
|
createdAt: z.ZodString;
|
|
1015
1536
|
updatedAt: z.ZodString;
|
|
1016
1537
|
type: z.ZodLiteral<"consumption">;
|
|
@@ -1042,6 +1563,19 @@ declare const getSubscriptionTimeBasedListResponseSchema: z.ZodObject<{
|
|
|
1042
1563
|
autoRenewal: z.ZodBoolean;
|
|
1043
1564
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1044
1565
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
1566
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1567
|
+
id: z.ZodString;
|
|
1568
|
+
code: z.ZodString;
|
|
1569
|
+
name: z.ZodString;
|
|
1570
|
+
type: z.ZodEnum<{
|
|
1571
|
+
infinite: "infinite";
|
|
1572
|
+
time_based: "time_based";
|
|
1573
|
+
consumption: "consumption";
|
|
1574
|
+
}>;
|
|
1575
|
+
isActive: z.ZodBoolean;
|
|
1576
|
+
isPurchasable: z.ZodBoolean;
|
|
1577
|
+
isAdminOnly: z.ZodBoolean;
|
|
1578
|
+
}, z.core.$strip>>>;
|
|
1045
1579
|
createdAt: z.ZodString;
|
|
1046
1580
|
updatedAt: z.ZodString;
|
|
1047
1581
|
type: z.ZodLiteral<"time_based">;
|
|
@@ -1072,6 +1606,19 @@ declare const getSubscriptionInfiniteListResponseSchema: z.ZodObject<{
|
|
|
1072
1606
|
autoRenewal: z.ZodBoolean;
|
|
1073
1607
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1074
1608
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
1609
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1610
|
+
id: z.ZodString;
|
|
1611
|
+
code: z.ZodString;
|
|
1612
|
+
name: z.ZodString;
|
|
1613
|
+
type: z.ZodEnum<{
|
|
1614
|
+
infinite: "infinite";
|
|
1615
|
+
time_based: "time_based";
|
|
1616
|
+
consumption: "consumption";
|
|
1617
|
+
}>;
|
|
1618
|
+
isActive: z.ZodBoolean;
|
|
1619
|
+
isPurchasable: z.ZodBoolean;
|
|
1620
|
+
isAdminOnly: z.ZodBoolean;
|
|
1621
|
+
}, z.core.$strip>>>;
|
|
1075
1622
|
createdAt: z.ZodString;
|
|
1076
1623
|
updatedAt: z.ZodString;
|
|
1077
1624
|
type: z.ZodLiteral<"infinite">;
|
|
@@ -1085,6 +1632,46 @@ declare const getSubscriptionInfiniteListResponseSchema: z.ZodObject<{
|
|
|
1085
1632
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1086
1633
|
}, z.core.$strip>;
|
|
1087
1634
|
}, z.core.$strip>;
|
|
1635
|
+
declare const getSubscriptionPlansResponseSchema: z.ZodObject<{
|
|
1636
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1637
|
+
id: z.ZodString;
|
|
1638
|
+
code: z.ZodString;
|
|
1639
|
+
name: z.ZodString;
|
|
1640
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1641
|
+
type: z.ZodEnum<{
|
|
1642
|
+
infinite: "infinite";
|
|
1643
|
+
time_based: "time_based";
|
|
1644
|
+
consumption: "consumption";
|
|
1645
|
+
}>;
|
|
1646
|
+
isActive: z.ZodBoolean;
|
|
1647
|
+
isPurchasable: z.ZodBoolean;
|
|
1648
|
+
isAdminOnly: z.ZodBoolean;
|
|
1649
|
+
defaultAutoRenewal: z.ZodBoolean;
|
|
1650
|
+
includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1651
|
+
renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1652
|
+
renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1653
|
+
durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1654
|
+
renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1655
|
+
renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1656
|
+
operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
|
|
1657
|
+
priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1658
|
+
id: z.ZodString;
|
|
1659
|
+
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>>;
|
|
1660
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
1661
|
+
unitPrice: z.ZodString;
|
|
1662
|
+
}, z.core.$strip>>>;
|
|
1663
|
+
createdAt: z.ZodString;
|
|
1664
|
+
updatedAt: z.ZodString;
|
|
1665
|
+
}, z.core.$strip>>;
|
|
1666
|
+
pagination: z.ZodObject<{
|
|
1667
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
1668
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
1669
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
1670
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
1671
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1672
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1673
|
+
}, z.core.$strip>;
|
|
1674
|
+
}, z.core.$strip>;
|
|
1088
1675
|
declare const getSubscriptionPricesResponseSchema: z.ZodObject<{
|
|
1089
1676
|
data: z.ZodArray<z.ZodObject<{
|
|
1090
1677
|
id: z.ZodString;
|
|
@@ -1093,6 +1680,7 @@ declare const getSubscriptionPricesResponseSchema: z.ZodObject<{
|
|
|
1093
1680
|
time_based: "time_based";
|
|
1094
1681
|
consumption: "consumption";
|
|
1095
1682
|
}>;
|
|
1683
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>;
|
|
1096
1684
|
threshold: z.ZodCoercedNumber<unknown>;
|
|
1097
1685
|
unitPrice: z.ZodString;
|
|
1098
1686
|
createdAt: z.ZodString;
|
|
@@ -1107,6 +1695,51 @@ declare const getSubscriptionPricesResponseSchema: z.ZodObject<{
|
|
|
1107
1695
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1108
1696
|
}, z.core.$strip>;
|
|
1109
1697
|
}, z.core.$strip>;
|
|
1698
|
+
declare const getSubscriptionPurchasesResponseSchema: z.ZodObject<{
|
|
1699
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1700
|
+
id: z.ZodString;
|
|
1701
|
+
plan: 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>>;
|
|
1702
|
+
status: z.ZodEnum<{
|
|
1703
|
+
pending: "pending";
|
|
1704
|
+
completed: "completed";
|
|
1705
|
+
cancelled: "cancelled";
|
|
1706
|
+
failed: "failed";
|
|
1707
|
+
}>;
|
|
1708
|
+
type: z.ZodEnum<{
|
|
1709
|
+
infinite: "infinite";
|
|
1710
|
+
time_based: "time_based";
|
|
1711
|
+
consumption: "consumption";
|
|
1712
|
+
}>;
|
|
1713
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
1714
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1715
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
1716
|
+
amount: z.ZodString;
|
|
1717
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
1718
|
+
stripe: "stripe";
|
|
1719
|
+
bank_transfer: "bank_transfer";
|
|
1720
|
+
cash: "cash";
|
|
1721
|
+
credit_card: "credit_card";
|
|
1722
|
+
}>>;
|
|
1723
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
1724
|
+
pending: "pending";
|
|
1725
|
+
pending_verification: "pending_verification";
|
|
1726
|
+
paid: "paid";
|
|
1727
|
+
canceled: "canceled";
|
|
1728
|
+
refunded: "refunded";
|
|
1729
|
+
failed: "failed";
|
|
1730
|
+
}>>;
|
|
1731
|
+
createdAt: z.ZodString;
|
|
1732
|
+
updatedAt: z.ZodString;
|
|
1733
|
+
}, z.core.$strip>>;
|
|
1734
|
+
pagination: z.ZodObject<{
|
|
1735
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
1736
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
1737
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
1738
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
1739
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1740
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1741
|
+
}, z.core.$strip>;
|
|
1742
|
+
}, z.core.$strip>;
|
|
1110
1743
|
declare const getCreditUsageLogsResponseSchema: z.ZodObject<{
|
|
1111
1744
|
data: z.ZodArray<z.ZodObject<{
|
|
1112
1745
|
id: z.ZodString;
|
|
@@ -1187,6 +1820,36 @@ declare const getSubscriptionTimeBasedRenewalsResponseSchema: z.ZodObject<{
|
|
|
1187
1820
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1188
1821
|
}, z.core.$strip>;
|
|
1189
1822
|
}, z.core.$strip>;
|
|
1823
|
+
declare const getSubscriptionPlanCatalogResponseSchema: z.ZodArray<z.ZodObject<{
|
|
1824
|
+
id: z.ZodString;
|
|
1825
|
+
code: z.ZodString;
|
|
1826
|
+
name: z.ZodString;
|
|
1827
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1828
|
+
type: z.ZodEnum<{
|
|
1829
|
+
infinite: "infinite";
|
|
1830
|
+
time_based: "time_based";
|
|
1831
|
+
consumption: "consumption";
|
|
1832
|
+
}>;
|
|
1833
|
+
isActive: z.ZodBoolean;
|
|
1834
|
+
isPurchasable: z.ZodBoolean;
|
|
1835
|
+
isAdminOnly: z.ZodBoolean;
|
|
1836
|
+
defaultAutoRenewal: z.ZodBoolean;
|
|
1837
|
+
includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1838
|
+
renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1839
|
+
renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1840
|
+
durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1841
|
+
renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1842
|
+
renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1843
|
+
operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
|
|
1844
|
+
priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1845
|
+
id: z.ZodString;
|
|
1846
|
+
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>>;
|
|
1847
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
1848
|
+
unitPrice: z.ZodString;
|
|
1849
|
+
}, z.core.$strip>>>;
|
|
1850
|
+
createdAt: z.ZodString;
|
|
1851
|
+
updatedAt: z.ZodString;
|
|
1852
|
+
}, z.core.$strip>>;
|
|
1190
1853
|
|
|
1191
1854
|
declare const deleteCreditUsageLogInputSchema: z.ZodUndefined;
|
|
1192
1855
|
declare const deleteCreditUsageLogResponseSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
|
|
@@ -1532,6 +2195,19 @@ declare const createSubscriptionConsumptionResponseSchema: z.ZodObject<{
|
|
|
1532
2195
|
autoRenewal: z.ZodBoolean;
|
|
1533
2196
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1534
2197
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
2198
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2199
|
+
id: z.ZodString;
|
|
2200
|
+
code: z.ZodString;
|
|
2201
|
+
name: z.ZodString;
|
|
2202
|
+
type: z.ZodEnum<{
|
|
2203
|
+
infinite: "infinite";
|
|
2204
|
+
time_based: "time_based";
|
|
2205
|
+
consumption: "consumption";
|
|
2206
|
+
}>;
|
|
2207
|
+
isActive: z.ZodBoolean;
|
|
2208
|
+
isPurchasable: z.ZodBoolean;
|
|
2209
|
+
isAdminOnly: z.ZodBoolean;
|
|
2210
|
+
}, z.core.$strip>>>;
|
|
1535
2211
|
createdAt: z.ZodString;
|
|
1536
2212
|
updatedAt: z.ZodString;
|
|
1537
2213
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -1566,6 +2242,19 @@ declare class CreateSubscriptionConsumption extends AbstractApiRequest<typeof cr
|
|
|
1566
2242
|
autoRenewal: z.ZodBoolean;
|
|
1567
2243
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1568
2244
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
2245
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2246
|
+
id: z.ZodString;
|
|
2247
|
+
code: z.ZodString;
|
|
2248
|
+
name: z.ZodString;
|
|
2249
|
+
type: z.ZodEnum<{
|
|
2250
|
+
infinite: "infinite";
|
|
2251
|
+
time_based: "time_based";
|
|
2252
|
+
consumption: "consumption";
|
|
2253
|
+
}>;
|
|
2254
|
+
isActive: z.ZodBoolean;
|
|
2255
|
+
isPurchasable: z.ZodBoolean;
|
|
2256
|
+
isAdminOnly: z.ZodBoolean;
|
|
2257
|
+
}, z.core.$strip>>>;
|
|
1569
2258
|
createdAt: z.ZodString;
|
|
1570
2259
|
updatedAt: z.ZodString;
|
|
1571
2260
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -1611,6 +2300,19 @@ declare const getSubscriptionConsumptionDetailsResponseSchema: z.ZodObject<{
|
|
|
1611
2300
|
autoRenewal: z.ZodBoolean;
|
|
1612
2301
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1613
2302
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
2303
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2304
|
+
id: z.ZodString;
|
|
2305
|
+
code: z.ZodString;
|
|
2306
|
+
name: z.ZodString;
|
|
2307
|
+
type: z.ZodEnum<{
|
|
2308
|
+
infinite: "infinite";
|
|
2309
|
+
time_based: "time_based";
|
|
2310
|
+
consumption: "consumption";
|
|
2311
|
+
}>;
|
|
2312
|
+
isActive: z.ZodBoolean;
|
|
2313
|
+
isPurchasable: z.ZodBoolean;
|
|
2314
|
+
isAdminOnly: z.ZodBoolean;
|
|
2315
|
+
}, z.core.$strip>>>;
|
|
1614
2316
|
createdAt: z.ZodString;
|
|
1615
2317
|
updatedAt: z.ZodString;
|
|
1616
2318
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -1639,6 +2341,19 @@ declare class GetSubscriptionConsumptionDetails extends AbstractApiRequest<typeo
|
|
|
1639
2341
|
autoRenewal: z.ZodBoolean;
|
|
1640
2342
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1641
2343
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
2344
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2345
|
+
id: z.ZodString;
|
|
2346
|
+
code: z.ZodString;
|
|
2347
|
+
name: z.ZodString;
|
|
2348
|
+
type: z.ZodEnum<{
|
|
2349
|
+
infinite: "infinite";
|
|
2350
|
+
time_based: "time_based";
|
|
2351
|
+
consumption: "consumption";
|
|
2352
|
+
}>;
|
|
2353
|
+
isActive: z.ZodBoolean;
|
|
2354
|
+
isPurchasable: z.ZodBoolean;
|
|
2355
|
+
isAdminOnly: z.ZodBoolean;
|
|
2356
|
+
}, z.core.$strip>>>;
|
|
1642
2357
|
createdAt: z.ZodString;
|
|
1643
2358
|
updatedAt: z.ZodString;
|
|
1644
2359
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -1678,6 +2393,19 @@ declare class GetSubscriptionConsumptionList extends AbstractApiRequest<typeof g
|
|
|
1678
2393
|
autoRenewal: z.ZodBoolean;
|
|
1679
2394
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1680
2395
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
2396
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2397
|
+
id: z.ZodString;
|
|
2398
|
+
code: z.ZodString;
|
|
2399
|
+
name: z.ZodString;
|
|
2400
|
+
type: z.ZodEnum<{
|
|
2401
|
+
infinite: "infinite";
|
|
2402
|
+
time_based: "time_based";
|
|
2403
|
+
consumption: "consumption";
|
|
2404
|
+
}>;
|
|
2405
|
+
isActive: z.ZodBoolean;
|
|
2406
|
+
isPurchasable: z.ZodBoolean;
|
|
2407
|
+
isAdminOnly: z.ZodBoolean;
|
|
2408
|
+
}, z.core.$strip>>>;
|
|
1681
2409
|
createdAt: z.ZodString;
|
|
1682
2410
|
updatedAt: z.ZodString;
|
|
1683
2411
|
type: z.ZodLiteral<"consumption">;
|
|
@@ -1770,6 +2498,19 @@ declare class GetSubscriptionConsumptionList extends AbstractApiRequest<typeof g
|
|
|
1770
2498
|
autoRenewal: z.ZodBoolean;
|
|
1771
2499
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1772
2500
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
2501
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2502
|
+
id: z.ZodString;
|
|
2503
|
+
code: z.ZodString;
|
|
2504
|
+
name: z.ZodString;
|
|
2505
|
+
type: z.ZodEnum<{
|
|
2506
|
+
infinite: "infinite";
|
|
2507
|
+
time_based: "time_based";
|
|
2508
|
+
consumption: "consumption";
|
|
2509
|
+
}>;
|
|
2510
|
+
isActive: z.ZodBoolean;
|
|
2511
|
+
isPurchasable: z.ZodBoolean;
|
|
2512
|
+
isAdminOnly: z.ZodBoolean;
|
|
2513
|
+
}, z.core.$strip>>>;
|
|
1773
2514
|
createdAt: z.ZodString;
|
|
1774
2515
|
updatedAt: z.ZodString;
|
|
1775
2516
|
type: z.ZodLiteral<"consumption">;
|
|
@@ -1805,6 +2546,19 @@ declare const updateSubscriptionConsumptionResponseSchema: z.ZodObject<{
|
|
|
1805
2546
|
autoRenewal: z.ZodBoolean;
|
|
1806
2547
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1807
2548
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
2549
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2550
|
+
id: z.ZodString;
|
|
2551
|
+
code: z.ZodString;
|
|
2552
|
+
name: z.ZodString;
|
|
2553
|
+
type: z.ZodEnum<{
|
|
2554
|
+
infinite: "infinite";
|
|
2555
|
+
time_based: "time_based";
|
|
2556
|
+
consumption: "consumption";
|
|
2557
|
+
}>;
|
|
2558
|
+
isActive: z.ZodBoolean;
|
|
2559
|
+
isPurchasable: z.ZodBoolean;
|
|
2560
|
+
isAdminOnly: z.ZodBoolean;
|
|
2561
|
+
}, z.core.$strip>>>;
|
|
1808
2562
|
createdAt: z.ZodString;
|
|
1809
2563
|
updatedAt: z.ZodString;
|
|
1810
2564
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -1838,6 +2592,19 @@ declare class UpdateSubscriptionConsumption extends AbstractApiRequest<typeof up
|
|
|
1838
2592
|
autoRenewal: z.ZodBoolean;
|
|
1839
2593
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1840
2594
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
2595
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2596
|
+
id: z.ZodString;
|
|
2597
|
+
code: z.ZodString;
|
|
2598
|
+
name: z.ZodString;
|
|
2599
|
+
type: z.ZodEnum<{
|
|
2600
|
+
infinite: "infinite";
|
|
2601
|
+
time_based: "time_based";
|
|
2602
|
+
consumption: "consumption";
|
|
2603
|
+
}>;
|
|
2604
|
+
isActive: z.ZodBoolean;
|
|
2605
|
+
isPurchasable: z.ZodBoolean;
|
|
2606
|
+
isAdminOnly: z.ZodBoolean;
|
|
2607
|
+
}, z.core.$strip>>>;
|
|
1841
2608
|
createdAt: z.ZodString;
|
|
1842
2609
|
updatedAt: z.ZodString;
|
|
1843
2610
|
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>>;
|
|
@@ -2182,10 +2949,18 @@ declare const subscriptionAvailabilityReasonSchema: z.ZodEnum<{
|
|
|
2182
2949
|
operation_not_allowed: "operation_not_allowed";
|
|
2183
2950
|
}>;
|
|
2184
2951
|
type SubscriptionAvailabilityReason = z.infer<typeof subscriptionAvailabilityReasonSchema>;
|
|
2952
|
+
declare const subscriptionPurchaseStatuses: readonly ["pending", "completed", "cancelled", "failed"];
|
|
2953
|
+
declare const subscriptionPurchaseStatusSchema: z.ZodEnum<{
|
|
2954
|
+
pending: "pending";
|
|
2955
|
+
completed: "completed";
|
|
2956
|
+
cancelled: "cancelled";
|
|
2957
|
+
failed: "failed";
|
|
2958
|
+
}>;
|
|
2959
|
+
type SubscriptionPurchaseStatus = z.infer<typeof subscriptionPurchaseStatusSchema>;
|
|
2185
2960
|
declare const resolvableRenewalPaymentStatuses: readonly ["paid", "failed", "canceled"];
|
|
2186
2961
|
declare const resolvableRenewalPaymentStatusSchema: z.ZodEnum<{
|
|
2187
|
-
paid: "paid";
|
|
2188
2962
|
failed: "failed";
|
|
2963
|
+
paid: "paid";
|
|
2189
2964
|
canceled: "canceled";
|
|
2190
2965
|
}>;
|
|
2191
2966
|
type ResolvableRenewalPaymentStatus = z.infer<typeof resolvableRenewalPaymentStatusSchema>;
|
|
@@ -2209,6 +2984,14 @@ declare const subscriptionPriceIriSchema: z.ZodType<_deliverart_sdk_js_global_ty
|
|
|
2209
2984
|
type SubscriptionPriceIri = z.infer<typeof subscriptionPriceIriSchema>;
|
|
2210
2985
|
declare const subscriptionPriceNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id"> | null, unknown>>;
|
|
2211
2986
|
type SubscriptionPriceNullableIri = z.infer<typeof subscriptionPriceNullableIriSchema>;
|
|
2987
|
+
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>>;
|
|
2988
|
+
type SubscriptionPlanIri = z.infer<typeof subscriptionPlanIriSchema>;
|
|
2989
|
+
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>>;
|
|
2990
|
+
type SubscriptionPlanNullableIri = z.infer<typeof subscriptionPlanNullableIriSchema>;
|
|
2991
|
+
declare const subscriptionPurchaseIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/purchases/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/purchases/:id">, unknown>>;
|
|
2992
|
+
type SubscriptionPurchaseIri = z.infer<typeof subscriptionPurchaseIriSchema>;
|
|
2993
|
+
declare const subscriptionPurchaseNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/purchases/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/purchases/:id"> | null, unknown>>;
|
|
2994
|
+
type SubscriptionPurchaseNullableIri = z.infer<typeof subscriptionPurchaseNullableIriSchema>;
|
|
2212
2995
|
declare const subscriptionConsumptionRenewalIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/renewals/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/renewals/:id">, unknown>>;
|
|
2213
2996
|
type SubscriptionConsumptionRenewalIri = z.infer<typeof subscriptionConsumptionRenewalIriSchema>;
|
|
2214
2997
|
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>>;
|
|
@@ -2373,8 +3156,8 @@ declare class PaySubscriptionConsumptionRenewal extends AbstractApiRequest<typeo
|
|
|
2373
3156
|
|
|
2374
3157
|
declare const resolveSubscriptionConsumptionRenewalPaymentInputSchema: z.ZodObject<{
|
|
2375
3158
|
status: z.ZodEnum<{
|
|
2376
|
-
paid: "paid";
|
|
2377
3159
|
failed: "failed";
|
|
3160
|
+
paid: "paid";
|
|
2378
3161
|
canceled: "canceled";
|
|
2379
3162
|
}>;
|
|
2380
3163
|
response: z.ZodOptional<z.ZodString>;
|
|
@@ -2445,8 +3228,8 @@ declare class ResolveSubscriptionConsumptionRenewalPayment extends AbstractApiRe
|
|
|
2445
3228
|
readonly accept = "application/json";
|
|
2446
3229
|
readonly inputSchema: z.ZodObject<{
|
|
2447
3230
|
status: z.ZodEnum<{
|
|
2448
|
-
paid: "paid";
|
|
2449
3231
|
failed: "failed";
|
|
3232
|
+
paid: "paid";
|
|
2450
3233
|
canceled: "canceled";
|
|
2451
3234
|
}>;
|
|
2452
3235
|
response: z.ZodOptional<z.ZodString>;
|
|
@@ -2535,6 +3318,19 @@ declare const createSubscriptionInfiniteResponseSchema: z.ZodObject<{
|
|
|
2535
3318
|
autoRenewal: z.ZodBoolean;
|
|
2536
3319
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
2537
3320
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
3321
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3322
|
+
id: z.ZodString;
|
|
3323
|
+
code: z.ZodString;
|
|
3324
|
+
name: z.ZodString;
|
|
3325
|
+
type: z.ZodEnum<{
|
|
3326
|
+
infinite: "infinite";
|
|
3327
|
+
time_based: "time_based";
|
|
3328
|
+
consumption: "consumption";
|
|
3329
|
+
}>;
|
|
3330
|
+
isActive: z.ZodBoolean;
|
|
3331
|
+
isPurchasable: z.ZodBoolean;
|
|
3332
|
+
isAdminOnly: z.ZodBoolean;
|
|
3333
|
+
}, z.core.$strip>>>;
|
|
2538
3334
|
createdAt: z.ZodString;
|
|
2539
3335
|
updatedAt: z.ZodString;
|
|
2540
3336
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -2563,6 +3359,19 @@ declare class CreateSubscriptionInfinite extends AbstractApiRequest<typeof creat
|
|
|
2563
3359
|
autoRenewal: z.ZodBoolean;
|
|
2564
3360
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
2565
3361
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
3362
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3363
|
+
id: z.ZodString;
|
|
3364
|
+
code: z.ZodString;
|
|
3365
|
+
name: z.ZodString;
|
|
3366
|
+
type: z.ZodEnum<{
|
|
3367
|
+
infinite: "infinite";
|
|
3368
|
+
time_based: "time_based";
|
|
3369
|
+
consumption: "consumption";
|
|
3370
|
+
}>;
|
|
3371
|
+
isActive: z.ZodBoolean;
|
|
3372
|
+
isPurchasable: z.ZodBoolean;
|
|
3373
|
+
isAdminOnly: z.ZodBoolean;
|
|
3374
|
+
}, z.core.$strip>>>;
|
|
2566
3375
|
createdAt: z.ZodString;
|
|
2567
3376
|
updatedAt: z.ZodString;
|
|
2568
3377
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -2604,6 +3413,19 @@ declare const getSubscriptionInfiniteDetailsResponseSchema: z.ZodObject<{
|
|
|
2604
3413
|
autoRenewal: z.ZodBoolean;
|
|
2605
3414
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
2606
3415
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
3416
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3417
|
+
id: z.ZodString;
|
|
3418
|
+
code: z.ZodString;
|
|
3419
|
+
name: z.ZodString;
|
|
3420
|
+
type: z.ZodEnum<{
|
|
3421
|
+
infinite: "infinite";
|
|
3422
|
+
time_based: "time_based";
|
|
3423
|
+
consumption: "consumption";
|
|
3424
|
+
}>;
|
|
3425
|
+
isActive: z.ZodBoolean;
|
|
3426
|
+
isPurchasable: z.ZodBoolean;
|
|
3427
|
+
isAdminOnly: z.ZodBoolean;
|
|
3428
|
+
}, z.core.$strip>>>;
|
|
2607
3429
|
createdAt: z.ZodString;
|
|
2608
3430
|
updatedAt: z.ZodString;
|
|
2609
3431
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -2628,6 +3450,19 @@ declare class GetSubscriptionInfiniteDetails extends AbstractApiRequest<typeof g
|
|
|
2628
3450
|
autoRenewal: z.ZodBoolean;
|
|
2629
3451
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
2630
3452
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
3453
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3454
|
+
id: z.ZodString;
|
|
3455
|
+
code: z.ZodString;
|
|
3456
|
+
name: z.ZodString;
|
|
3457
|
+
type: z.ZodEnum<{
|
|
3458
|
+
infinite: "infinite";
|
|
3459
|
+
time_based: "time_based";
|
|
3460
|
+
consumption: "consumption";
|
|
3461
|
+
}>;
|
|
3462
|
+
isActive: z.ZodBoolean;
|
|
3463
|
+
isPurchasable: z.ZodBoolean;
|
|
3464
|
+
isAdminOnly: z.ZodBoolean;
|
|
3465
|
+
}, z.core.$strip>>>;
|
|
2631
3466
|
createdAt: z.ZodString;
|
|
2632
3467
|
updatedAt: z.ZodString;
|
|
2633
3468
|
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 +3498,19 @@ declare class GetSubscriptionInfiniteList extends AbstractApiRequest<typeof getS
|
|
|
2663
3498
|
autoRenewal: z.ZodBoolean;
|
|
2664
3499
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
2665
3500
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
3501
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3502
|
+
id: z.ZodString;
|
|
3503
|
+
code: z.ZodString;
|
|
3504
|
+
name: z.ZodString;
|
|
3505
|
+
type: z.ZodEnum<{
|
|
3506
|
+
infinite: "infinite";
|
|
3507
|
+
time_based: "time_based";
|
|
3508
|
+
consumption: "consumption";
|
|
3509
|
+
}>;
|
|
3510
|
+
isActive: z.ZodBoolean;
|
|
3511
|
+
isPurchasable: z.ZodBoolean;
|
|
3512
|
+
isAdminOnly: z.ZodBoolean;
|
|
3513
|
+
}, z.core.$strip>>>;
|
|
2666
3514
|
createdAt: z.ZodString;
|
|
2667
3515
|
updatedAt: z.ZodString;
|
|
2668
3516
|
type: z.ZodLiteral<"infinite">;
|
|
@@ -2736,6 +3584,19 @@ declare class GetSubscriptionInfiniteList extends AbstractApiRequest<typeof getS
|
|
|
2736
3584
|
autoRenewal: z.ZodBoolean;
|
|
2737
3585
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
2738
3586
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
3587
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3588
|
+
id: z.ZodString;
|
|
3589
|
+
code: z.ZodString;
|
|
3590
|
+
name: z.ZodString;
|
|
3591
|
+
type: z.ZodEnum<{
|
|
3592
|
+
infinite: "infinite";
|
|
3593
|
+
time_based: "time_based";
|
|
3594
|
+
consumption: "consumption";
|
|
3595
|
+
}>;
|
|
3596
|
+
isActive: z.ZodBoolean;
|
|
3597
|
+
isPurchasable: z.ZodBoolean;
|
|
3598
|
+
isAdminOnly: z.ZodBoolean;
|
|
3599
|
+
}, z.core.$strip>>>;
|
|
2739
3600
|
createdAt: z.ZodString;
|
|
2740
3601
|
updatedAt: z.ZodString;
|
|
2741
3602
|
type: z.ZodLiteral<"infinite">;
|
|
@@ -2747,119 +3608,367 @@ declare class GetSubscriptionInfiniteList extends AbstractApiRequest<typeof getS
|
|
|
2747
3608
|
getPath(): string;
|
|
2748
3609
|
}
|
|
2749
3610
|
|
|
2750
|
-
declare const
|
|
3611
|
+
declare const createSubscriptionPlanInputSchema: z.ZodObject<{
|
|
3612
|
+
code: z.ZodNonOptional<z.ZodString>;
|
|
3613
|
+
name: z.ZodNonOptional<z.ZodString>;
|
|
3614
|
+
description: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
2751
3615
|
type: z.ZodNonOptional<z.ZodEnum<{
|
|
2752
3616
|
infinite: "infinite";
|
|
2753
3617
|
time_based: "time_based";
|
|
2754
3618
|
consumption: "consumption";
|
|
2755
3619
|
}>>;
|
|
2756
|
-
|
|
2757
|
-
|
|
3620
|
+
isActive: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3621
|
+
isPurchasable: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3622
|
+
isAdminOnly: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3623
|
+
defaultAutoRenewal: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3624
|
+
includedCredits: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
3625
|
+
renewalCredits: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
3626
|
+
renewalThreshold: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
3627
|
+
durationDays: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
3628
|
+
renewalDays: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
3629
|
+
renewalOffsetDays: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
3630
|
+
operationCosts: z.ZodNonOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>>>;
|
|
2758
3631
|
}, z.core.$strip>;
|
|
2759
|
-
type
|
|
2760
|
-
declare const
|
|
3632
|
+
type CreateSubscriptionPlanInput = z.input<typeof createSubscriptionPlanInputSchema>;
|
|
3633
|
+
declare const createSubscriptionPlanResponseSchema: z.ZodObject<{
|
|
2761
3634
|
id: z.ZodString;
|
|
3635
|
+
code: z.ZodString;
|
|
3636
|
+
name: z.ZodString;
|
|
3637
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2762
3638
|
type: z.ZodEnum<{
|
|
2763
3639
|
infinite: "infinite";
|
|
2764
3640
|
time_based: "time_based";
|
|
2765
3641
|
consumption: "consumption";
|
|
2766
3642
|
}>;
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
3643
|
+
isActive: z.ZodBoolean;
|
|
3644
|
+
isPurchasable: z.ZodBoolean;
|
|
3645
|
+
isAdminOnly: z.ZodBoolean;
|
|
3646
|
+
defaultAutoRenewal: z.ZodBoolean;
|
|
3647
|
+
includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3648
|
+
renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3649
|
+
renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3650
|
+
durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3651
|
+
renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3652
|
+
renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3653
|
+
operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
|
|
3654
|
+
priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3655
|
+
id: z.ZodString;
|
|
3656
|
+
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>>;
|
|
3657
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
3658
|
+
unitPrice: z.ZodString;
|
|
3659
|
+
}, z.core.$strip>>>;
|
|
3660
|
+
createdAt: z.ZodString;
|
|
3661
|
+
updatedAt: z.ZodString;
|
|
3662
|
+
}, z.core.$strip>;
|
|
3663
|
+
type CreateSubscriptionPlanResponse = z.infer<typeof createSubscriptionPlanResponseSchema>;
|
|
3664
|
+
declare class CreateSubscriptionPlan extends AbstractApiRequest<typeof createSubscriptionPlanInputSchema, typeof createSubscriptionPlanResponseSchema> {
|
|
3665
|
+
readonly method: "POST";
|
|
3666
|
+
readonly contentType: "application/json";
|
|
3667
|
+
readonly accept: "application/json";
|
|
2777
3668
|
readonly inputSchema: z.ZodObject<{
|
|
3669
|
+
code: z.ZodNonOptional<z.ZodString>;
|
|
3670
|
+
name: z.ZodNonOptional<z.ZodString>;
|
|
3671
|
+
description: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
2778
3672
|
type: z.ZodNonOptional<z.ZodEnum<{
|
|
2779
3673
|
infinite: "infinite";
|
|
2780
3674
|
time_based: "time_based";
|
|
2781
3675
|
consumption: "consumption";
|
|
2782
3676
|
}>>;
|
|
2783
|
-
|
|
2784
|
-
|
|
3677
|
+
isActive: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3678
|
+
isPurchasable: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3679
|
+
isAdminOnly: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3680
|
+
defaultAutoRenewal: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3681
|
+
includedCredits: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
3682
|
+
renewalCredits: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
3683
|
+
renewalThreshold: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
3684
|
+
durationDays: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
3685
|
+
renewalDays: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
3686
|
+
renewalOffsetDays: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
3687
|
+
operationCosts: z.ZodNonOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>>>;
|
|
2785
3688
|
}, z.core.$strip>;
|
|
2786
3689
|
readonly outputSchema: z.ZodObject<{
|
|
2787
3690
|
id: z.ZodString;
|
|
3691
|
+
code: z.ZodString;
|
|
3692
|
+
name: z.ZodString;
|
|
3693
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2788
3694
|
type: z.ZodEnum<{
|
|
2789
3695
|
infinite: "infinite";
|
|
2790
3696
|
time_based: "time_based";
|
|
2791
3697
|
consumption: "consumption";
|
|
2792
3698
|
}>;
|
|
2793
|
-
|
|
2794
|
-
|
|
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>>>;
|
|
2795
3716
|
createdAt: z.ZodString;
|
|
2796
3717
|
updatedAt: z.ZodString;
|
|
2797
3718
|
}, z.core.$strip>;
|
|
2798
3719
|
readonly querySchema: undefined;
|
|
2799
3720
|
readonly headersSchema: undefined;
|
|
2800
|
-
constructor(input:
|
|
3721
|
+
constructor(input: CreateSubscriptionPlanInput);
|
|
2801
3722
|
getPath(): string;
|
|
2802
3723
|
}
|
|
2803
3724
|
|
|
2804
|
-
declare const
|
|
2805
|
-
|
|
2806
|
-
declare
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
readonly
|
|
3725
|
+
declare const deleteSubscriptionPlanInputSchema: z.ZodUndefined;
|
|
3726
|
+
type DeleteSubscriptionPlanInput = z.input<typeof deleteSubscriptionPlanInputSchema>;
|
|
3727
|
+
declare const deleteSubscriptionPlanResponseSchema: z.ZodUndefined;
|
|
3728
|
+
type DeleteSubscriptionPlanResponse = z.infer<typeof deleteSubscriptionPlanResponseSchema>;
|
|
3729
|
+
declare class DeleteSubscriptionPlan extends AbstractApiRequest<typeof deleteSubscriptionPlanInputSchema, typeof deleteSubscriptionPlanResponseSchema> {
|
|
3730
|
+
readonly method: "DELETE";
|
|
3731
|
+
readonly contentType: "application/json";
|
|
3732
|
+
readonly accept: "application/json";
|
|
2810
3733
|
readonly inputSchema: z.ZodUndefined;
|
|
2811
|
-
readonly outputSchema: z.
|
|
3734
|
+
readonly outputSchema: z.ZodUndefined;
|
|
2812
3735
|
readonly querySchema: undefined;
|
|
2813
3736
|
readonly headersSchema: undefined;
|
|
2814
|
-
private readonly
|
|
2815
|
-
constructor(
|
|
3737
|
+
private readonly subscriptionPlanId;
|
|
3738
|
+
constructor(subscriptionPlanId: string);
|
|
2816
3739
|
getPath(): string;
|
|
2817
3740
|
}
|
|
2818
3741
|
|
|
2819
|
-
declare const
|
|
2820
|
-
type
|
|
2821
|
-
|
|
3742
|
+
declare const getSubscriptionPlanCatalogInputSchema: z.ZodUndefined;
|
|
3743
|
+
type GetSubscriptionPlanCatalogInput = z.input<typeof getSubscriptionPlanCatalogInputSchema>;
|
|
3744
|
+
type GetSubscriptionPlanCatalogResponse = z.infer<typeof getSubscriptionPlanCatalogResponseSchema>;
|
|
3745
|
+
declare class GetSubscriptionPlanCatalog extends AbstractApiRequest<typeof getSubscriptionPlanCatalogInputSchema, typeof getSubscriptionPlanCatalogResponseSchema> {
|
|
3746
|
+
readonly method: "GET";
|
|
3747
|
+
readonly contentType: "application/json";
|
|
3748
|
+
readonly accept: "application/json";
|
|
3749
|
+
readonly inputSchema: z.ZodUndefined;
|
|
3750
|
+
readonly outputSchema: z.ZodArray<z.ZodObject<{
|
|
3751
|
+
id: z.ZodString;
|
|
3752
|
+
code: z.ZodString;
|
|
3753
|
+
name: z.ZodString;
|
|
3754
|
+
description: z.ZodNullable<z.ZodString>;
|
|
3755
|
+
type: z.ZodEnum<{
|
|
3756
|
+
infinite: "infinite";
|
|
3757
|
+
time_based: "time_based";
|
|
3758
|
+
consumption: "consumption";
|
|
3759
|
+
}>;
|
|
3760
|
+
isActive: z.ZodBoolean;
|
|
3761
|
+
isPurchasable: z.ZodBoolean;
|
|
3762
|
+
isAdminOnly: z.ZodBoolean;
|
|
3763
|
+
defaultAutoRenewal: z.ZodBoolean;
|
|
3764
|
+
includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3765
|
+
renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3766
|
+
renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3767
|
+
durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3768
|
+
renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3769
|
+
renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3770
|
+
operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
|
|
3771
|
+
priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3772
|
+
id: z.ZodString;
|
|
3773
|
+
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>>;
|
|
3774
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
3775
|
+
unitPrice: z.ZodString;
|
|
3776
|
+
}, z.core.$strip>>>;
|
|
3777
|
+
createdAt: z.ZodString;
|
|
3778
|
+
updatedAt: z.ZodString;
|
|
3779
|
+
}, z.core.$strip>>;
|
|
3780
|
+
readonly querySchema: undefined;
|
|
3781
|
+
readonly headersSchema: undefined;
|
|
3782
|
+
readonly listItemSchema: z.ZodObject<{
|
|
3783
|
+
id: z.ZodString;
|
|
3784
|
+
code: z.ZodString;
|
|
3785
|
+
name: z.ZodString;
|
|
3786
|
+
description: z.ZodNullable<z.ZodString>;
|
|
3787
|
+
type: z.ZodEnum<{
|
|
3788
|
+
infinite: "infinite";
|
|
3789
|
+
time_based: "time_based";
|
|
3790
|
+
consumption: "consumption";
|
|
3791
|
+
}>;
|
|
3792
|
+
isActive: z.ZodBoolean;
|
|
3793
|
+
isPurchasable: z.ZodBoolean;
|
|
3794
|
+
isAdminOnly: z.ZodBoolean;
|
|
3795
|
+
defaultAutoRenewal: z.ZodBoolean;
|
|
3796
|
+
includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3797
|
+
renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3798
|
+
renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3799
|
+
durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3800
|
+
renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3801
|
+
renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3802
|
+
operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
|
|
3803
|
+
priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3804
|
+
id: z.ZodString;
|
|
3805
|
+
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>>;
|
|
3806
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
3807
|
+
unitPrice: z.ZodString;
|
|
3808
|
+
}, z.core.$strip>>>;
|
|
3809
|
+
createdAt: z.ZodString;
|
|
3810
|
+
updatedAt: z.ZodString;
|
|
3811
|
+
}, z.core.$strip>;
|
|
3812
|
+
readonly paginationDefaultEnabled = false;
|
|
3813
|
+
constructor();
|
|
3814
|
+
getPath(): string;
|
|
3815
|
+
}
|
|
3816
|
+
|
|
3817
|
+
declare const getSubscriptionPlanCatalogDetailsInputSchema: z.ZodUndefined;
|
|
3818
|
+
type GetSubscriptionPlanCatalogDetailsInput = z.input<typeof getSubscriptionPlanCatalogDetailsInputSchema>;
|
|
3819
|
+
declare const getSubscriptionPlanCatalogDetailsResponseSchema: z.ZodObject<{
|
|
2822
3820
|
id: z.ZodString;
|
|
3821
|
+
code: z.ZodString;
|
|
3822
|
+
name: z.ZodString;
|
|
3823
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2823
3824
|
type: z.ZodEnum<{
|
|
2824
3825
|
infinite: "infinite";
|
|
2825
3826
|
time_based: "time_based";
|
|
2826
3827
|
consumption: "consumption";
|
|
2827
3828
|
}>;
|
|
2828
|
-
|
|
2829
|
-
|
|
3829
|
+
isActive: z.ZodBoolean;
|
|
3830
|
+
isPurchasable: z.ZodBoolean;
|
|
3831
|
+
isAdminOnly: z.ZodBoolean;
|
|
3832
|
+
defaultAutoRenewal: z.ZodBoolean;
|
|
3833
|
+
includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3834
|
+
renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3835
|
+
renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3836
|
+
durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3837
|
+
renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3838
|
+
renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3839
|
+
operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
|
|
3840
|
+
priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3841
|
+
id: z.ZodString;
|
|
3842
|
+
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>>;
|
|
3843
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
3844
|
+
unitPrice: z.ZodString;
|
|
3845
|
+
}, z.core.$strip>>>;
|
|
2830
3846
|
createdAt: z.ZodString;
|
|
2831
3847
|
updatedAt: z.ZodString;
|
|
2832
3848
|
}, z.core.$strip>;
|
|
2833
|
-
type
|
|
2834
|
-
declare class
|
|
2835
|
-
readonly method
|
|
2836
|
-
readonly contentType
|
|
2837
|
-
readonly accept
|
|
3849
|
+
type GetSubscriptionPlanCatalogDetailsResponse = z.infer<typeof getSubscriptionPlanCatalogDetailsResponseSchema>;
|
|
3850
|
+
declare class GetSubscriptionPlanCatalogDetails extends AbstractApiRequest<typeof getSubscriptionPlanCatalogDetailsInputSchema, typeof getSubscriptionPlanCatalogDetailsResponseSchema> {
|
|
3851
|
+
readonly method: "GET";
|
|
3852
|
+
readonly contentType: "application/json";
|
|
3853
|
+
readonly accept: "application/json";
|
|
2838
3854
|
readonly inputSchema: z.ZodUndefined;
|
|
2839
3855
|
readonly outputSchema: z.ZodObject<{
|
|
2840
3856
|
id: z.ZodString;
|
|
3857
|
+
code: z.ZodString;
|
|
3858
|
+
name: z.ZodString;
|
|
3859
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2841
3860
|
type: z.ZodEnum<{
|
|
2842
3861
|
infinite: "infinite";
|
|
2843
3862
|
time_based: "time_based";
|
|
2844
3863
|
consumption: "consumption";
|
|
2845
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 querySchema: undefined;
|
|
3886
|
+
readonly headersSchema: undefined;
|
|
3887
|
+
private readonly subscriptionPlanId;
|
|
3888
|
+
constructor(subscriptionPlanId: string);
|
|
3889
|
+
getPath(): string;
|
|
3890
|
+
}
|
|
3891
|
+
|
|
3892
|
+
declare const getSubscriptionPlanDetailsInputSchema: z.ZodUndefined;
|
|
3893
|
+
type GetSubscriptionPlanDetailsInput = z.input<typeof getSubscriptionPlanDetailsInputSchema>;
|
|
3894
|
+
declare const getSubscriptionPlanDetailsResponseSchema: z.ZodObject<{
|
|
3895
|
+
id: z.ZodString;
|
|
3896
|
+
code: z.ZodString;
|
|
3897
|
+
name: z.ZodString;
|
|
3898
|
+
description: z.ZodNullable<z.ZodString>;
|
|
3899
|
+
type: z.ZodEnum<{
|
|
3900
|
+
infinite: "infinite";
|
|
3901
|
+
time_based: "time_based";
|
|
3902
|
+
consumption: "consumption";
|
|
3903
|
+
}>;
|
|
3904
|
+
isActive: z.ZodBoolean;
|
|
3905
|
+
isPurchasable: z.ZodBoolean;
|
|
3906
|
+
isAdminOnly: z.ZodBoolean;
|
|
3907
|
+
defaultAutoRenewal: z.ZodBoolean;
|
|
3908
|
+
includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3909
|
+
renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3910
|
+
renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3911
|
+
durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3912
|
+
renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3913
|
+
renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3914
|
+
operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
|
|
3915
|
+
priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3916
|
+
id: z.ZodString;
|
|
3917
|
+
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>>;
|
|
2846
3918
|
threshold: z.ZodCoercedNumber<unknown>;
|
|
2847
3919
|
unitPrice: z.ZodString;
|
|
3920
|
+
}, z.core.$strip>>>;
|
|
3921
|
+
createdAt: z.ZodString;
|
|
3922
|
+
updatedAt: z.ZodString;
|
|
3923
|
+
}, z.core.$strip>;
|
|
3924
|
+
type GetSubscriptionPlanDetailsResponse = z.infer<typeof getSubscriptionPlanDetailsResponseSchema>;
|
|
3925
|
+
declare class GetSubscriptionPlanDetails extends AbstractApiRequest<typeof getSubscriptionPlanDetailsInputSchema, typeof getSubscriptionPlanDetailsResponseSchema> {
|
|
3926
|
+
readonly method: "GET";
|
|
3927
|
+
readonly contentType: "application/json";
|
|
3928
|
+
readonly accept: "application/json";
|
|
3929
|
+
readonly inputSchema: z.ZodUndefined;
|
|
3930
|
+
readonly outputSchema: z.ZodObject<{
|
|
3931
|
+
id: z.ZodString;
|
|
3932
|
+
code: z.ZodString;
|
|
3933
|
+
name: z.ZodString;
|
|
3934
|
+
description: z.ZodNullable<z.ZodString>;
|
|
3935
|
+
type: z.ZodEnum<{
|
|
3936
|
+
infinite: "infinite";
|
|
3937
|
+
time_based: "time_based";
|
|
3938
|
+
consumption: "consumption";
|
|
3939
|
+
}>;
|
|
3940
|
+
isActive: z.ZodBoolean;
|
|
3941
|
+
isPurchasable: z.ZodBoolean;
|
|
3942
|
+
isAdminOnly: z.ZodBoolean;
|
|
3943
|
+
defaultAutoRenewal: z.ZodBoolean;
|
|
3944
|
+
includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3945
|
+
renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3946
|
+
renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3947
|
+
durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3948
|
+
renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3949
|
+
renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3950
|
+
operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
|
|
3951
|
+
priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3952
|
+
id: z.ZodString;
|
|
3953
|
+
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>>;
|
|
3954
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
3955
|
+
unitPrice: z.ZodString;
|
|
3956
|
+
}, z.core.$strip>>>;
|
|
2848
3957
|
createdAt: z.ZodString;
|
|
2849
3958
|
updatedAt: z.ZodString;
|
|
2850
3959
|
}, z.core.$strip>;
|
|
2851
3960
|
readonly querySchema: undefined;
|
|
2852
3961
|
readonly headersSchema: undefined;
|
|
2853
|
-
private readonly
|
|
2854
|
-
constructor(
|
|
3962
|
+
private readonly subscriptionPlanId;
|
|
3963
|
+
constructor(subscriptionPlanId: string);
|
|
2855
3964
|
getPath(): string;
|
|
2856
3965
|
}
|
|
2857
3966
|
|
|
2858
|
-
type
|
|
2859
|
-
declare const
|
|
2860
|
-
type
|
|
2861
|
-
type
|
|
2862
|
-
declare class
|
|
3967
|
+
type GetSubscriptionPlansQueryParams = SubscriptionPlansQueryParams;
|
|
3968
|
+
declare const getSubscriptionPlansInputSchema: z.ZodUndefined;
|
|
3969
|
+
type GetSubscriptionPlansInput = z.input<typeof getSubscriptionPlansInputSchema>;
|
|
3970
|
+
type GetSubscriptionPlansResponse = z.infer<typeof getSubscriptionPlansResponseSchema>;
|
|
3971
|
+
declare class GetSubscriptionPlans extends AbstractApiRequest<typeof getSubscriptionPlansInputSchema, typeof getSubscriptionPlansResponseSchema, GetSubscriptionPlansQueryParams> {
|
|
2863
3972
|
readonly method: "GET";
|
|
2864
3973
|
readonly contentType: "application/json";
|
|
2865
3974
|
readonly accept: "application/json";
|
|
@@ -2867,13 +3976,31 @@ declare class GetSubscriptionPrices extends AbstractApiRequest<typeof getSubscri
|
|
|
2867
3976
|
readonly outputSchema: z.ZodObject<{
|
|
2868
3977
|
data: z.ZodArray<z.ZodObject<{
|
|
2869
3978
|
id: z.ZodString;
|
|
3979
|
+
code: z.ZodString;
|
|
3980
|
+
name: z.ZodString;
|
|
3981
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2870
3982
|
type: z.ZodEnum<{
|
|
2871
3983
|
infinite: "infinite";
|
|
2872
3984
|
time_based: "time_based";
|
|
2873
3985
|
consumption: "consumption";
|
|
2874
3986
|
}>;
|
|
2875
|
-
|
|
2876
|
-
|
|
3987
|
+
isActive: z.ZodBoolean;
|
|
3988
|
+
isPurchasable: z.ZodBoolean;
|
|
3989
|
+
isAdminOnly: z.ZodBoolean;
|
|
3990
|
+
defaultAutoRenewal: z.ZodBoolean;
|
|
3991
|
+
includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3992
|
+
renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3993
|
+
renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3994
|
+
durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3995
|
+
renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3996
|
+
renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3997
|
+
operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
|
|
3998
|
+
priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3999
|
+
id: z.ZodString;
|
|
4000
|
+
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>>;
|
|
4001
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4002
|
+
unitPrice: z.ZodString;
|
|
4003
|
+
}, z.core.$strip>>>;
|
|
2877
4004
|
createdAt: z.ZodString;
|
|
2878
4005
|
updatedAt: z.ZodString;
|
|
2879
4006
|
}, z.core.$strip>>;
|
|
@@ -2888,6 +4015,8 @@ declare class GetSubscriptionPrices extends AbstractApiRequest<typeof getSubscri
|
|
|
2888
4015
|
}, z.core.$strip>;
|
|
2889
4016
|
readonly querySchema: z.ZodObject<{
|
|
2890
4017
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4018
|
+
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4019
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2891
4020
|
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2892
4021
|
infinite: "infinite";
|
|
2893
4022
|
time_based: "time_based";
|
|
@@ -2897,17 +4026,15 @@ declare class GetSubscriptionPrices extends AbstractApiRequest<typeof getSubscri
|
|
|
2897
4026
|
time_based: "time_based";
|
|
2898
4027
|
consumption: "consumption";
|
|
2899
4028
|
}>>]>>;
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
'
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
'
|
|
2909
|
-
'unitPrice[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2910
|
-
'order[threshold]': z.ZodOptional<z.ZodEnum<{
|
|
4029
|
+
isActive: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4030
|
+
isPurchasable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4031
|
+
isAdminOnly: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4032
|
+
defaultAutoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4033
|
+
'order[name]': z.ZodOptional<z.ZodEnum<{
|
|
4034
|
+
asc: "asc";
|
|
4035
|
+
desc: "desc";
|
|
4036
|
+
}>>;
|
|
4037
|
+
'order[code]': z.ZodOptional<z.ZodEnum<{
|
|
2911
4038
|
asc: "asc";
|
|
2912
4039
|
desc: "desc";
|
|
2913
4040
|
}>>;
|
|
@@ -2932,75 +4059,1230 @@ declare class GetSubscriptionPrices extends AbstractApiRequest<typeof getSubscri
|
|
|
2932
4059
|
readonly headersSchema: undefined;
|
|
2933
4060
|
readonly listItemSchema: z.ZodObject<{
|
|
2934
4061
|
id: z.ZodString;
|
|
4062
|
+
code: z.ZodString;
|
|
4063
|
+
name: z.ZodString;
|
|
4064
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2935
4065
|
type: z.ZodEnum<{
|
|
2936
4066
|
infinite: "infinite";
|
|
2937
4067
|
time_based: "time_based";
|
|
2938
4068
|
consumption: "consumption";
|
|
2939
4069
|
}>;
|
|
2940
|
-
|
|
2941
|
-
|
|
4070
|
+
isActive: z.ZodBoolean;
|
|
4071
|
+
isPurchasable: z.ZodBoolean;
|
|
4072
|
+
isAdminOnly: z.ZodBoolean;
|
|
4073
|
+
defaultAutoRenewal: z.ZodBoolean;
|
|
4074
|
+
includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4075
|
+
renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4076
|
+
renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4077
|
+
durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4078
|
+
renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4079
|
+
renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4080
|
+
operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
|
|
4081
|
+
priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4082
|
+
id: z.ZodString;
|
|
4083
|
+
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>>;
|
|
4084
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4085
|
+
unitPrice: z.ZodString;
|
|
4086
|
+
}, z.core.$strip>>>;
|
|
2942
4087
|
createdAt: z.ZodString;
|
|
2943
4088
|
updatedAt: z.ZodString;
|
|
2944
4089
|
}, z.core.$strip>;
|
|
2945
4090
|
readonly paginationDefaultEnabled = true;
|
|
2946
4091
|
constructor(options?: {
|
|
2947
|
-
query?:
|
|
4092
|
+
query?: GetSubscriptionPlansQueryParams;
|
|
2948
4093
|
});
|
|
2949
4094
|
getPath(): string;
|
|
2950
4095
|
}
|
|
2951
4096
|
|
|
2952
|
-
declare const
|
|
4097
|
+
declare const updateSubscriptionPlanInputSchema: z.ZodObject<{
|
|
4098
|
+
code: z.ZodOptional<z.ZodString>;
|
|
4099
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4100
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
2953
4101
|
type: z.ZodOptional<z.ZodEnum<{
|
|
2954
4102
|
infinite: "infinite";
|
|
2955
4103
|
time_based: "time_based";
|
|
2956
4104
|
consumption: "consumption";
|
|
2957
4105
|
}>>;
|
|
2958
|
-
|
|
2959
|
-
|
|
4106
|
+
isActive: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4107
|
+
isPurchasable: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4108
|
+
isAdminOnly: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4109
|
+
defaultAutoRenewal: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4110
|
+
includedCredits: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
4111
|
+
renewalCredits: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
4112
|
+
renewalThreshold: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
4113
|
+
durationDays: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
4114
|
+
renewalDays: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
4115
|
+
renewalOffsetDays: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
4116
|
+
operationCosts: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>>>;
|
|
2960
4117
|
}, z.core.$strip>;
|
|
2961
|
-
type
|
|
2962
|
-
declare const
|
|
4118
|
+
type UpdateSubscriptionPlanInput = z.input<typeof updateSubscriptionPlanInputSchema>;
|
|
4119
|
+
declare const updateSubscriptionPlanResponseSchema: z.ZodObject<{
|
|
4120
|
+
id: z.ZodString;
|
|
4121
|
+
code: z.ZodString;
|
|
4122
|
+
name: z.ZodString;
|
|
4123
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4124
|
+
type: z.ZodEnum<{
|
|
4125
|
+
infinite: "infinite";
|
|
4126
|
+
time_based: "time_based";
|
|
4127
|
+
consumption: "consumption";
|
|
4128
|
+
}>;
|
|
4129
|
+
isActive: z.ZodBoolean;
|
|
4130
|
+
isPurchasable: z.ZodBoolean;
|
|
4131
|
+
isAdminOnly: z.ZodBoolean;
|
|
4132
|
+
defaultAutoRenewal: z.ZodBoolean;
|
|
4133
|
+
includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4134
|
+
renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4135
|
+
renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4136
|
+
durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4137
|
+
renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4138
|
+
renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4139
|
+
operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
|
|
4140
|
+
priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4141
|
+
id: z.ZodString;
|
|
4142
|
+
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>>;
|
|
4143
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4144
|
+
unitPrice: z.ZodString;
|
|
4145
|
+
}, z.core.$strip>>>;
|
|
4146
|
+
createdAt: z.ZodString;
|
|
4147
|
+
updatedAt: z.ZodString;
|
|
4148
|
+
}, z.core.$strip>;
|
|
4149
|
+
type UpdateSubscriptionPlanResponse = z.infer<typeof updateSubscriptionPlanResponseSchema>;
|
|
4150
|
+
declare class UpdateSubscriptionPlan extends AbstractApiRequest<typeof updateSubscriptionPlanInputSchema, typeof updateSubscriptionPlanResponseSchema> {
|
|
4151
|
+
readonly method: "PATCH";
|
|
4152
|
+
readonly contentType: "application/merge-patch+json";
|
|
4153
|
+
readonly accept: "application/json";
|
|
4154
|
+
readonly inputSchema: z.ZodObject<{
|
|
4155
|
+
code: z.ZodOptional<z.ZodString>;
|
|
4156
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4157
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
4158
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
4159
|
+
infinite: "infinite";
|
|
4160
|
+
time_based: "time_based";
|
|
4161
|
+
consumption: "consumption";
|
|
4162
|
+
}>>;
|
|
4163
|
+
isActive: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4164
|
+
isPurchasable: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4165
|
+
isAdminOnly: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4166
|
+
defaultAutoRenewal: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4167
|
+
includedCredits: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
4168
|
+
renewalCredits: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
4169
|
+
renewalThreshold: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
4170
|
+
durationDays: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
4171
|
+
renewalDays: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
4172
|
+
renewalOffsetDays: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
|
|
4173
|
+
operationCosts: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>>>;
|
|
4174
|
+
}, z.core.$strip>;
|
|
4175
|
+
readonly outputSchema: z.ZodObject<{
|
|
4176
|
+
id: z.ZodString;
|
|
4177
|
+
code: z.ZodString;
|
|
4178
|
+
name: z.ZodString;
|
|
4179
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4180
|
+
type: z.ZodEnum<{
|
|
4181
|
+
infinite: "infinite";
|
|
4182
|
+
time_based: "time_based";
|
|
4183
|
+
consumption: "consumption";
|
|
4184
|
+
}>;
|
|
4185
|
+
isActive: z.ZodBoolean;
|
|
4186
|
+
isPurchasable: z.ZodBoolean;
|
|
4187
|
+
isAdminOnly: z.ZodBoolean;
|
|
4188
|
+
defaultAutoRenewal: z.ZodBoolean;
|
|
4189
|
+
includedCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4190
|
+
renewalCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4191
|
+
renewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4192
|
+
durationDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4193
|
+
renewalDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4194
|
+
renewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4195
|
+
operationCosts: z.ZodRecord<z.ZodString, z.ZodCoercedNumber<unknown>>;
|
|
4196
|
+
priceOptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4197
|
+
id: z.ZodString;
|
|
4198
|
+
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>>;
|
|
4199
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4200
|
+
unitPrice: z.ZodString;
|
|
4201
|
+
}, z.core.$strip>>>;
|
|
4202
|
+
createdAt: z.ZodString;
|
|
4203
|
+
updatedAt: z.ZodString;
|
|
4204
|
+
}, z.core.$strip>;
|
|
4205
|
+
readonly querySchema: undefined;
|
|
4206
|
+
readonly headersSchema: undefined;
|
|
4207
|
+
private readonly subscriptionPlanId;
|
|
4208
|
+
constructor(subscriptionPlanId: string, input: UpdateSubscriptionPlanInput);
|
|
4209
|
+
getPath(): string;
|
|
4210
|
+
}
|
|
4211
|
+
|
|
4212
|
+
declare const createSubscriptionPriceInputSchema: z.ZodObject<{
|
|
4213
|
+
type: z.ZodNonOptional<z.ZodEnum<{
|
|
4214
|
+
infinite: "infinite";
|
|
4215
|
+
time_based: "time_based";
|
|
4216
|
+
consumption: "consumption";
|
|
4217
|
+
}>>;
|
|
4218
|
+
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>>>>>;
|
|
4219
|
+
threshold: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
4220
|
+
unitPrice: z.ZodNonOptional<z.ZodString>;
|
|
4221
|
+
}, z.core.$strip>;
|
|
4222
|
+
type CreateSubscriptionPriceInput = z.input<typeof createSubscriptionPriceInputSchema>;
|
|
4223
|
+
declare const createSubscriptionPriceResponseSchema: z.ZodObject<{
|
|
2963
4224
|
id: z.ZodString;
|
|
2964
4225
|
type: z.ZodEnum<{
|
|
2965
4226
|
infinite: "infinite";
|
|
2966
4227
|
time_based: "time_based";
|
|
2967
4228
|
consumption: "consumption";
|
|
2968
4229
|
}>;
|
|
4230
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>;
|
|
2969
4231
|
threshold: z.ZodCoercedNumber<unknown>;
|
|
2970
4232
|
unitPrice: z.ZodString;
|
|
2971
4233
|
createdAt: z.ZodString;
|
|
2972
4234
|
updatedAt: z.ZodString;
|
|
2973
4235
|
}, z.core.$strip>;
|
|
2974
|
-
type
|
|
2975
|
-
declare class
|
|
2976
|
-
readonly method = "
|
|
2977
|
-
readonly contentType = "application/
|
|
4236
|
+
type CreateSubscriptionPriceResponse = z.infer<typeof createSubscriptionPriceResponseSchema>;
|
|
4237
|
+
declare class CreateSubscriptionPrice extends AbstractApiRequest<typeof createSubscriptionPriceInputSchema, typeof createSubscriptionPriceResponseSchema> {
|
|
4238
|
+
readonly method = "POST";
|
|
4239
|
+
readonly contentType = "application/json";
|
|
2978
4240
|
readonly accept = "application/json";
|
|
2979
4241
|
readonly inputSchema: z.ZodObject<{
|
|
2980
|
-
type: z.
|
|
4242
|
+
type: z.ZodNonOptional<z.ZodEnum<{
|
|
2981
4243
|
infinite: "infinite";
|
|
2982
4244
|
time_based: "time_based";
|
|
2983
4245
|
consumption: "consumption";
|
|
2984
4246
|
}>>;
|
|
2985
|
-
|
|
2986
|
-
|
|
4247
|
+
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>>>>>;
|
|
4248
|
+
threshold: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
4249
|
+
unitPrice: z.ZodNonOptional<z.ZodString>;
|
|
2987
4250
|
}, z.core.$strip>;
|
|
2988
4251
|
readonly outputSchema: z.ZodObject<{
|
|
2989
4252
|
id: z.ZodString;
|
|
2990
|
-
type: z.ZodEnum<{
|
|
2991
|
-
infinite: "infinite";
|
|
2992
|
-
time_based: "time_based";
|
|
2993
|
-
consumption: "consumption";
|
|
4253
|
+
type: z.ZodEnum<{
|
|
4254
|
+
infinite: "infinite";
|
|
4255
|
+
time_based: "time_based";
|
|
4256
|
+
consumption: "consumption";
|
|
4257
|
+
}>;
|
|
4258
|
+
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>>>>;
|
|
4259
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4260
|
+
unitPrice: z.ZodString;
|
|
4261
|
+
createdAt: z.ZodString;
|
|
4262
|
+
updatedAt: z.ZodString;
|
|
4263
|
+
}, z.core.$strip>;
|
|
4264
|
+
readonly querySchema: undefined;
|
|
4265
|
+
readonly headersSchema: undefined;
|
|
4266
|
+
constructor(input: CreateSubscriptionPriceInput);
|
|
4267
|
+
getPath(): string;
|
|
4268
|
+
}
|
|
4269
|
+
|
|
4270
|
+
declare const deleteSubscriptionPriceInputSchema: z.ZodUndefined;
|
|
4271
|
+
declare const deleteSubscriptionPriceResponseSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
|
|
4272
|
+
declare class DeleteSubscriptionPrice extends AbstractApiRequest<typeof deleteSubscriptionPriceInputSchema, typeof deleteSubscriptionPriceResponseSchema> {
|
|
4273
|
+
readonly method = "DELETE";
|
|
4274
|
+
readonly contentType = "application/json";
|
|
4275
|
+
readonly accept = "application/json";
|
|
4276
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4277
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
|
|
4278
|
+
readonly querySchema: undefined;
|
|
4279
|
+
readonly headersSchema: undefined;
|
|
4280
|
+
private readonly priceId;
|
|
4281
|
+
constructor(priceId: string);
|
|
4282
|
+
getPath(): string;
|
|
4283
|
+
}
|
|
4284
|
+
|
|
4285
|
+
declare const getSubscriptionPriceDetailsInputSchema: z.ZodUndefined;
|
|
4286
|
+
type GetSubscriptionPriceDetailsInput = z.input<typeof getSubscriptionPriceDetailsInputSchema>;
|
|
4287
|
+
declare const getSubscriptionPriceDetailsResponseSchema: z.ZodObject<{
|
|
4288
|
+
id: z.ZodString;
|
|
4289
|
+
type: z.ZodEnum<{
|
|
4290
|
+
infinite: "infinite";
|
|
4291
|
+
time_based: "time_based";
|
|
4292
|
+
consumption: "consumption";
|
|
4293
|
+
}>;
|
|
4294
|
+
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>>>>;
|
|
4295
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4296
|
+
unitPrice: z.ZodString;
|
|
4297
|
+
createdAt: z.ZodString;
|
|
4298
|
+
updatedAt: z.ZodString;
|
|
4299
|
+
}, z.core.$strip>;
|
|
4300
|
+
type GetSubscriptionPriceDetailsResponse = z.infer<typeof getSubscriptionPriceDetailsResponseSchema>;
|
|
4301
|
+
declare class GetSubscriptionPriceDetails extends AbstractApiRequest<typeof getSubscriptionPriceDetailsInputSchema, typeof getSubscriptionPriceDetailsResponseSchema> {
|
|
4302
|
+
readonly method = "GET";
|
|
4303
|
+
readonly contentType = "application/json";
|
|
4304
|
+
readonly accept = "application/json";
|
|
4305
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4306
|
+
readonly outputSchema: z.ZodObject<{
|
|
4307
|
+
id: z.ZodString;
|
|
4308
|
+
type: z.ZodEnum<{
|
|
4309
|
+
infinite: "infinite";
|
|
4310
|
+
time_based: "time_based";
|
|
4311
|
+
consumption: "consumption";
|
|
4312
|
+
}>;
|
|
4313
|
+
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>>>>;
|
|
4314
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4315
|
+
unitPrice: z.ZodString;
|
|
4316
|
+
createdAt: z.ZodString;
|
|
4317
|
+
updatedAt: z.ZodString;
|
|
4318
|
+
}, z.core.$strip>;
|
|
4319
|
+
readonly querySchema: undefined;
|
|
4320
|
+
readonly headersSchema: undefined;
|
|
4321
|
+
private readonly priceId;
|
|
4322
|
+
constructor(priceId: string);
|
|
4323
|
+
getPath(): string;
|
|
4324
|
+
}
|
|
4325
|
+
|
|
4326
|
+
type GetSubscriptionPricesQueryParams = SubscriptionPricesQueryParams;
|
|
4327
|
+
declare const getSubscriptionPricesInputSchema: z.ZodUndefined;
|
|
4328
|
+
type GetSubscriptionPricesInput = z.input<typeof getSubscriptionPricesInputSchema>;
|
|
4329
|
+
type GetSubscriptionPricesResponse = z.infer<typeof getSubscriptionPricesResponseSchema>;
|
|
4330
|
+
declare class GetSubscriptionPrices extends AbstractApiRequest<typeof getSubscriptionPricesInputSchema, typeof getSubscriptionPricesResponseSchema, GetSubscriptionPricesQueryParams> {
|
|
4331
|
+
readonly method: "GET";
|
|
4332
|
+
readonly contentType: "application/json";
|
|
4333
|
+
readonly accept: "application/json";
|
|
4334
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4335
|
+
readonly outputSchema: z.ZodObject<{
|
|
4336
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4337
|
+
id: z.ZodString;
|
|
4338
|
+
type: z.ZodEnum<{
|
|
4339
|
+
infinite: "infinite";
|
|
4340
|
+
time_based: "time_based";
|
|
4341
|
+
consumption: "consumption";
|
|
4342
|
+
}>;
|
|
4343
|
+
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>>>>;
|
|
4344
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4345
|
+
unitPrice: z.ZodString;
|
|
4346
|
+
createdAt: z.ZodString;
|
|
4347
|
+
updatedAt: z.ZodString;
|
|
4348
|
+
}, z.core.$strip>>;
|
|
4349
|
+
pagination: z.ZodObject<{
|
|
4350
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
4351
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
4352
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
4353
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
4354
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4355
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4356
|
+
}, z.core.$strip>;
|
|
4357
|
+
}, z.core.$strip>;
|
|
4358
|
+
readonly querySchema: z.ZodObject<{
|
|
4359
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4360
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4361
|
+
infinite: "infinite";
|
|
4362
|
+
time_based: "time_based";
|
|
4363
|
+
consumption: "consumption";
|
|
4364
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4365
|
+
infinite: "infinite";
|
|
4366
|
+
time_based: "time_based";
|
|
4367
|
+
consumption: "consumption";
|
|
4368
|
+
}>>]>>;
|
|
4369
|
+
'plan.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4370
|
+
'plan.code': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4371
|
+
'threshold[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4372
|
+
'threshold[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4373
|
+
'threshold[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4374
|
+
'threshold[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4375
|
+
'threshold[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4376
|
+
'unitPrice[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4377
|
+
'unitPrice[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4378
|
+
'unitPrice[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4379
|
+
'unitPrice[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4380
|
+
'unitPrice[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4381
|
+
'order[threshold]': z.ZodOptional<z.ZodEnum<{
|
|
4382
|
+
asc: "asc";
|
|
4383
|
+
desc: "desc";
|
|
4384
|
+
}>>;
|
|
4385
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
4386
|
+
asc: "asc";
|
|
4387
|
+
desc: "desc";
|
|
4388
|
+
}>>;
|
|
4389
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
4390
|
+
asc: "asc";
|
|
4391
|
+
desc: "desc";
|
|
4392
|
+
}>>;
|
|
4393
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4394
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
4395
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4396
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
4397
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4398
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
4399
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4400
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
4401
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4402
|
+
}, z.core.$strip>;
|
|
4403
|
+
readonly headersSchema: undefined;
|
|
4404
|
+
readonly listItemSchema: z.ZodObject<{
|
|
4405
|
+
id: z.ZodString;
|
|
4406
|
+
type: z.ZodEnum<{
|
|
4407
|
+
infinite: "infinite";
|
|
4408
|
+
time_based: "time_based";
|
|
4409
|
+
consumption: "consumption";
|
|
4410
|
+
}>;
|
|
4411
|
+
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>>>>;
|
|
4412
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4413
|
+
unitPrice: z.ZodString;
|
|
4414
|
+
createdAt: z.ZodString;
|
|
4415
|
+
updatedAt: z.ZodString;
|
|
4416
|
+
}, z.core.$strip>;
|
|
4417
|
+
readonly paginationDefaultEnabled = true;
|
|
4418
|
+
constructor(options?: {
|
|
4419
|
+
query?: GetSubscriptionPricesQueryParams;
|
|
4420
|
+
});
|
|
4421
|
+
getPath(): string;
|
|
4422
|
+
}
|
|
4423
|
+
|
|
4424
|
+
declare const updateSubscriptionPriceInputSchema: z.ZodObject<{
|
|
4425
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
4426
|
+
infinite: "infinite";
|
|
4427
|
+
time_based: "time_based";
|
|
4428
|
+
consumption: "consumption";
|
|
4429
|
+
}>>;
|
|
4430
|
+
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>>>>>;
|
|
4431
|
+
threshold: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4432
|
+
unitPrice: z.ZodOptional<z.ZodString>;
|
|
4433
|
+
}, z.core.$strip>;
|
|
4434
|
+
type UpdateSubscriptionPriceInput = z.input<typeof updateSubscriptionPriceInputSchema>;
|
|
4435
|
+
declare const updateSubscriptionPriceResponseSchema: z.ZodObject<{
|
|
4436
|
+
id: z.ZodString;
|
|
4437
|
+
type: z.ZodEnum<{
|
|
4438
|
+
infinite: "infinite";
|
|
4439
|
+
time_based: "time_based";
|
|
4440
|
+
consumption: "consumption";
|
|
4441
|
+
}>;
|
|
4442
|
+
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>>>>;
|
|
4443
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4444
|
+
unitPrice: z.ZodString;
|
|
4445
|
+
createdAt: z.ZodString;
|
|
4446
|
+
updatedAt: z.ZodString;
|
|
4447
|
+
}, z.core.$strip>;
|
|
4448
|
+
type UpdateSubscriptionPriceResponse = z.infer<typeof updateSubscriptionPriceResponseSchema>;
|
|
4449
|
+
declare class UpdateSubscriptionPrice extends AbstractApiRequest<typeof updateSubscriptionPriceInputSchema, typeof updateSubscriptionPriceResponseSchema> {
|
|
4450
|
+
readonly method = "PATCH";
|
|
4451
|
+
readonly contentType = "application/merge-patch+json";
|
|
4452
|
+
readonly accept = "application/json";
|
|
4453
|
+
readonly inputSchema: z.ZodObject<{
|
|
4454
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
4455
|
+
infinite: "infinite";
|
|
4456
|
+
time_based: "time_based";
|
|
4457
|
+
consumption: "consumption";
|
|
4458
|
+
}>>;
|
|
4459
|
+
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>>>>>;
|
|
4460
|
+
threshold: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4461
|
+
unitPrice: z.ZodOptional<z.ZodString>;
|
|
4462
|
+
}, z.core.$strip>;
|
|
4463
|
+
readonly outputSchema: z.ZodObject<{
|
|
4464
|
+
id: z.ZodString;
|
|
4465
|
+
type: z.ZodEnum<{
|
|
4466
|
+
infinite: "infinite";
|
|
4467
|
+
time_based: "time_based";
|
|
4468
|
+
consumption: "consumption";
|
|
4469
|
+
}>;
|
|
4470
|
+
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>>>>;
|
|
4471
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4472
|
+
unitPrice: z.ZodString;
|
|
4473
|
+
createdAt: z.ZodString;
|
|
4474
|
+
updatedAt: z.ZodString;
|
|
4475
|
+
}, z.core.$strip>;
|
|
4476
|
+
readonly querySchema: undefined;
|
|
4477
|
+
readonly headersSchema: undefined;
|
|
4478
|
+
private readonly priceId;
|
|
4479
|
+
constructor(priceId: string, input: UpdateSubscriptionPriceInput);
|
|
4480
|
+
getPath(): string;
|
|
4481
|
+
}
|
|
4482
|
+
|
|
4483
|
+
declare const createSubscriptionPurchaseInputSchema: z.ZodObject<{
|
|
4484
|
+
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>>;
|
|
4485
|
+
plan: 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>>;
|
|
4486
|
+
autoRenewal: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
4487
|
+
startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
4488
|
+
}, z.core.$strip>;
|
|
4489
|
+
type CreateSubscriptionPurchaseInput = z.input<typeof createSubscriptionPurchaseInputSchema>;
|
|
4490
|
+
declare const createSubscriptionPurchaseResponseSchema: z.ZodObject<{
|
|
4491
|
+
id: z.ZodString;
|
|
4492
|
+
plan: 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>>;
|
|
4493
|
+
status: z.ZodEnum<{
|
|
4494
|
+
pending: "pending";
|
|
4495
|
+
completed: "completed";
|
|
4496
|
+
cancelled: "cancelled";
|
|
4497
|
+
failed: "failed";
|
|
4498
|
+
}>;
|
|
4499
|
+
type: z.ZodEnum<{
|
|
4500
|
+
infinite: "infinite";
|
|
4501
|
+
time_based: "time_based";
|
|
4502
|
+
consumption: "consumption";
|
|
4503
|
+
}>;
|
|
4504
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
4505
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4506
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4507
|
+
amount: z.ZodString;
|
|
4508
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4509
|
+
stripe: "stripe";
|
|
4510
|
+
bank_transfer: "bank_transfer";
|
|
4511
|
+
cash: "cash";
|
|
4512
|
+
credit_card: "credit_card";
|
|
4513
|
+
}>>;
|
|
4514
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4515
|
+
pending: "pending";
|
|
4516
|
+
pending_verification: "pending_verification";
|
|
4517
|
+
paid: "paid";
|
|
4518
|
+
canceled: "canceled";
|
|
4519
|
+
refunded: "refunded";
|
|
4520
|
+
failed: "failed";
|
|
4521
|
+
}>>;
|
|
4522
|
+
createdAt: z.ZodString;
|
|
4523
|
+
updatedAt: z.ZodString;
|
|
4524
|
+
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>>;
|
|
4525
|
+
payment: z.ZodOptional<z.ZodNullable<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>>>>;
|
|
4526
|
+
subscription: z.ZodOptional<z.ZodNullable<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>>>>;
|
|
4527
|
+
}, z.core.$strip>;
|
|
4528
|
+
type CreateSubscriptionPurchaseResponse = z.infer<typeof createSubscriptionPurchaseResponseSchema>;
|
|
4529
|
+
declare class CreateSubscriptionPurchase extends AbstractApiRequest<typeof createSubscriptionPurchaseInputSchema, typeof createSubscriptionPurchaseResponseSchema> {
|
|
4530
|
+
readonly method: "POST";
|
|
4531
|
+
readonly contentType: "application/json";
|
|
4532
|
+
readonly accept: "application/json";
|
|
4533
|
+
readonly inputSchema: z.ZodObject<{
|
|
4534
|
+
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>>;
|
|
4535
|
+
plan: 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>>;
|
|
4536
|
+
autoRenewal: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
4537
|
+
startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
4538
|
+
}, z.core.$strip>;
|
|
4539
|
+
readonly outputSchema: z.ZodObject<{
|
|
4540
|
+
id: z.ZodString;
|
|
4541
|
+
plan: 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>>;
|
|
4542
|
+
status: z.ZodEnum<{
|
|
4543
|
+
pending: "pending";
|
|
4544
|
+
completed: "completed";
|
|
4545
|
+
cancelled: "cancelled";
|
|
4546
|
+
failed: "failed";
|
|
4547
|
+
}>;
|
|
4548
|
+
type: z.ZodEnum<{
|
|
4549
|
+
infinite: "infinite";
|
|
4550
|
+
time_based: "time_based";
|
|
4551
|
+
consumption: "consumption";
|
|
4552
|
+
}>;
|
|
4553
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
4554
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4555
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4556
|
+
amount: z.ZodString;
|
|
4557
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4558
|
+
stripe: "stripe";
|
|
4559
|
+
bank_transfer: "bank_transfer";
|
|
4560
|
+
cash: "cash";
|
|
4561
|
+
credit_card: "credit_card";
|
|
4562
|
+
}>>;
|
|
4563
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4564
|
+
pending: "pending";
|
|
4565
|
+
pending_verification: "pending_verification";
|
|
4566
|
+
paid: "paid";
|
|
4567
|
+
canceled: "canceled";
|
|
4568
|
+
refunded: "refunded";
|
|
4569
|
+
failed: "failed";
|
|
4570
|
+
}>>;
|
|
4571
|
+
createdAt: z.ZodString;
|
|
4572
|
+
updatedAt: z.ZodString;
|
|
4573
|
+
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>>;
|
|
4574
|
+
payment: z.ZodOptional<z.ZodNullable<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>>>>;
|
|
4575
|
+
subscription: z.ZodOptional<z.ZodNullable<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>>>>;
|
|
4576
|
+
}, z.core.$strip>;
|
|
4577
|
+
readonly querySchema: undefined;
|
|
4578
|
+
readonly headersSchema: undefined;
|
|
4579
|
+
constructor(input: CreateSubscriptionPurchaseInput);
|
|
4580
|
+
getPath(): string;
|
|
4581
|
+
}
|
|
4582
|
+
|
|
4583
|
+
declare const getSubscriptionPurchaseDetailsInputSchema: z.ZodUndefined;
|
|
4584
|
+
type GetSubscriptionPurchaseDetailsInput = z.input<typeof getSubscriptionPurchaseDetailsInputSchema>;
|
|
4585
|
+
declare const getSubscriptionPurchaseDetailsResponseSchema: z.ZodObject<{
|
|
4586
|
+
id: z.ZodString;
|
|
4587
|
+
plan: 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>>;
|
|
4588
|
+
status: z.ZodEnum<{
|
|
4589
|
+
pending: "pending";
|
|
4590
|
+
completed: "completed";
|
|
4591
|
+
cancelled: "cancelled";
|
|
4592
|
+
failed: "failed";
|
|
4593
|
+
}>;
|
|
4594
|
+
type: z.ZodEnum<{
|
|
4595
|
+
infinite: "infinite";
|
|
4596
|
+
time_based: "time_based";
|
|
4597
|
+
consumption: "consumption";
|
|
4598
|
+
}>;
|
|
4599
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
4600
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4601
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4602
|
+
amount: z.ZodString;
|
|
4603
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4604
|
+
stripe: "stripe";
|
|
4605
|
+
bank_transfer: "bank_transfer";
|
|
4606
|
+
cash: "cash";
|
|
4607
|
+
credit_card: "credit_card";
|
|
4608
|
+
}>>;
|
|
4609
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4610
|
+
pending: "pending";
|
|
4611
|
+
pending_verification: "pending_verification";
|
|
4612
|
+
paid: "paid";
|
|
4613
|
+
canceled: "canceled";
|
|
4614
|
+
refunded: "refunded";
|
|
4615
|
+
failed: "failed";
|
|
4616
|
+
}>>;
|
|
4617
|
+
createdAt: z.ZodString;
|
|
4618
|
+
updatedAt: z.ZodString;
|
|
4619
|
+
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>>;
|
|
4620
|
+
payment: z.ZodOptional<z.ZodNullable<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>>>>;
|
|
4621
|
+
subscription: z.ZodOptional<z.ZodNullable<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>>>>;
|
|
4622
|
+
}, z.core.$strip>;
|
|
4623
|
+
type GetSubscriptionPurchaseDetailsResponse = z.infer<typeof getSubscriptionPurchaseDetailsResponseSchema>;
|
|
4624
|
+
declare class GetSubscriptionPurchaseDetails extends AbstractApiRequest<typeof getSubscriptionPurchaseDetailsInputSchema, typeof getSubscriptionPurchaseDetailsResponseSchema> {
|
|
4625
|
+
readonly method: "GET";
|
|
4626
|
+
readonly contentType: "application/json";
|
|
4627
|
+
readonly accept: "application/json";
|
|
4628
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4629
|
+
readonly outputSchema: z.ZodObject<{
|
|
4630
|
+
id: z.ZodString;
|
|
4631
|
+
plan: 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>>;
|
|
4632
|
+
status: z.ZodEnum<{
|
|
4633
|
+
pending: "pending";
|
|
4634
|
+
completed: "completed";
|
|
4635
|
+
cancelled: "cancelled";
|
|
4636
|
+
failed: "failed";
|
|
4637
|
+
}>;
|
|
4638
|
+
type: z.ZodEnum<{
|
|
4639
|
+
infinite: "infinite";
|
|
4640
|
+
time_based: "time_based";
|
|
4641
|
+
consumption: "consumption";
|
|
4642
|
+
}>;
|
|
4643
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
4644
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4645
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4646
|
+
amount: z.ZodString;
|
|
4647
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4648
|
+
stripe: "stripe";
|
|
4649
|
+
bank_transfer: "bank_transfer";
|
|
4650
|
+
cash: "cash";
|
|
4651
|
+
credit_card: "credit_card";
|
|
4652
|
+
}>>;
|
|
4653
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4654
|
+
pending: "pending";
|
|
4655
|
+
pending_verification: "pending_verification";
|
|
4656
|
+
paid: "paid";
|
|
4657
|
+
canceled: "canceled";
|
|
4658
|
+
refunded: "refunded";
|
|
4659
|
+
failed: "failed";
|
|
4660
|
+
}>>;
|
|
4661
|
+
createdAt: z.ZodString;
|
|
4662
|
+
updatedAt: z.ZodString;
|
|
4663
|
+
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>>;
|
|
4664
|
+
payment: z.ZodOptional<z.ZodNullable<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>>>>;
|
|
4665
|
+
subscription: z.ZodOptional<z.ZodNullable<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>>>>;
|
|
4666
|
+
}, z.core.$strip>;
|
|
4667
|
+
readonly querySchema: undefined;
|
|
4668
|
+
readonly headersSchema: undefined;
|
|
4669
|
+
private readonly purchaseId;
|
|
4670
|
+
constructor(purchaseId: string);
|
|
4671
|
+
getPath(): string;
|
|
4672
|
+
}
|
|
4673
|
+
|
|
4674
|
+
type GetSubscriptionPurchasesQueryParams = SubscriptionPurchasesQueryParams;
|
|
4675
|
+
declare const getSubscriptionPurchasesInputSchema: z.ZodUndefined;
|
|
4676
|
+
type GetSubscriptionPurchasesInput = z.input<typeof getSubscriptionPurchasesInputSchema>;
|
|
4677
|
+
type GetSubscriptionPurchasesResponse = z.infer<typeof getSubscriptionPurchasesResponseSchema>;
|
|
4678
|
+
declare class GetSubscriptionPurchases extends AbstractApiRequest<typeof getSubscriptionPurchasesInputSchema, typeof getSubscriptionPurchasesResponseSchema, GetSubscriptionPurchasesQueryParams> {
|
|
4679
|
+
readonly method: "GET";
|
|
4680
|
+
readonly contentType: "application/json";
|
|
4681
|
+
readonly accept: "application/json";
|
|
4682
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4683
|
+
readonly outputSchema: z.ZodObject<{
|
|
4684
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4685
|
+
id: z.ZodString;
|
|
4686
|
+
plan: 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>>;
|
|
4687
|
+
status: z.ZodEnum<{
|
|
4688
|
+
pending: "pending";
|
|
4689
|
+
completed: "completed";
|
|
4690
|
+
cancelled: "cancelled";
|
|
4691
|
+
failed: "failed";
|
|
4692
|
+
}>;
|
|
4693
|
+
type: z.ZodEnum<{
|
|
4694
|
+
infinite: "infinite";
|
|
4695
|
+
time_based: "time_based";
|
|
4696
|
+
consumption: "consumption";
|
|
4697
|
+
}>;
|
|
4698
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
4699
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4700
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4701
|
+
amount: z.ZodString;
|
|
4702
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4703
|
+
stripe: "stripe";
|
|
4704
|
+
bank_transfer: "bank_transfer";
|
|
4705
|
+
cash: "cash";
|
|
4706
|
+
credit_card: "credit_card";
|
|
4707
|
+
}>>;
|
|
4708
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4709
|
+
pending: "pending";
|
|
4710
|
+
pending_verification: "pending_verification";
|
|
4711
|
+
paid: "paid";
|
|
4712
|
+
canceled: "canceled";
|
|
4713
|
+
refunded: "refunded";
|
|
4714
|
+
failed: "failed";
|
|
4715
|
+
}>>;
|
|
4716
|
+
createdAt: z.ZodString;
|
|
4717
|
+
updatedAt: z.ZodString;
|
|
4718
|
+
}, z.core.$strip>>;
|
|
4719
|
+
pagination: z.ZodObject<{
|
|
4720
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
4721
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
4722
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
4723
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
4724
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4725
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4726
|
+
}, z.core.$strip>;
|
|
4727
|
+
}, z.core.$strip>;
|
|
4728
|
+
readonly querySchema: z.ZodObject<{
|
|
4729
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4730
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4731
|
+
pending: "pending";
|
|
4732
|
+
completed: "completed";
|
|
4733
|
+
cancelled: "cancelled";
|
|
4734
|
+
failed: "failed";
|
|
4735
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4736
|
+
pending: "pending";
|
|
4737
|
+
completed: "completed";
|
|
4738
|
+
cancelled: "cancelled";
|
|
4739
|
+
failed: "failed";
|
|
4740
|
+
}>>]>>;
|
|
4741
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4742
|
+
infinite: "infinite";
|
|
4743
|
+
time_based: "time_based";
|
|
4744
|
+
consumption: "consumption";
|
|
4745
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4746
|
+
infinite: "infinite";
|
|
4747
|
+
time_based: "time_based";
|
|
4748
|
+
consumption: "consumption";
|
|
4749
|
+
}>>]>>;
|
|
4750
|
+
'pointOfSale.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4751
|
+
'plan.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4752
|
+
'plan.code': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4753
|
+
'startsAt[before]': z.ZodOptional<z.ZodString>;
|
|
4754
|
+
'startsAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4755
|
+
'startsAt[after]': z.ZodOptional<z.ZodString>;
|
|
4756
|
+
'startsAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4757
|
+
'threshold[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4758
|
+
'threshold[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4759
|
+
'threshold[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4760
|
+
'threshold[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4761
|
+
'threshold[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4762
|
+
'amount[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4763
|
+
'amount[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4764
|
+
'amount[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4765
|
+
'amount[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4766
|
+
'amount[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4767
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
4768
|
+
asc: "asc";
|
|
4769
|
+
desc: "desc";
|
|
4770
|
+
}>>;
|
|
4771
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
4772
|
+
asc: "asc";
|
|
4773
|
+
desc: "desc";
|
|
4774
|
+
}>>;
|
|
4775
|
+
'order[startsAt]': z.ZodOptional<z.ZodEnum<{
|
|
4776
|
+
asc: "asc";
|
|
4777
|
+
desc: "desc";
|
|
4778
|
+
}>>;
|
|
4779
|
+
'order[amount]': z.ZodOptional<z.ZodEnum<{
|
|
4780
|
+
asc: "asc";
|
|
4781
|
+
desc: "desc";
|
|
4782
|
+
}>>;
|
|
4783
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4784
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
4785
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4786
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
4787
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4788
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
4789
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4790
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
4791
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4792
|
+
}, z.core.$strip>;
|
|
4793
|
+
readonly headersSchema: undefined;
|
|
4794
|
+
readonly listItemSchema: z.ZodObject<{
|
|
4795
|
+
id: z.ZodString;
|
|
4796
|
+
plan: 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>>;
|
|
4797
|
+
status: z.ZodEnum<{
|
|
4798
|
+
pending: "pending";
|
|
4799
|
+
completed: "completed";
|
|
4800
|
+
cancelled: "cancelled";
|
|
4801
|
+
failed: "failed";
|
|
4802
|
+
}>;
|
|
4803
|
+
type: z.ZodEnum<{
|
|
4804
|
+
infinite: "infinite";
|
|
4805
|
+
time_based: "time_based";
|
|
4806
|
+
consumption: "consumption";
|
|
4807
|
+
}>;
|
|
4808
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
4809
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4810
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4811
|
+
amount: z.ZodString;
|
|
4812
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4813
|
+
stripe: "stripe";
|
|
4814
|
+
bank_transfer: "bank_transfer";
|
|
4815
|
+
cash: "cash";
|
|
4816
|
+
credit_card: "credit_card";
|
|
4817
|
+
}>>;
|
|
4818
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4819
|
+
pending: "pending";
|
|
4820
|
+
pending_verification: "pending_verification";
|
|
4821
|
+
paid: "paid";
|
|
4822
|
+
canceled: "canceled";
|
|
4823
|
+
refunded: "refunded";
|
|
4824
|
+
failed: "failed";
|
|
4825
|
+
}>>;
|
|
4826
|
+
createdAt: z.ZodString;
|
|
4827
|
+
updatedAt: z.ZodString;
|
|
4828
|
+
}, z.core.$strip>;
|
|
4829
|
+
readonly paginationDefaultEnabled = true;
|
|
4830
|
+
constructor(options?: {
|
|
4831
|
+
query?: GetSubscriptionPurchasesQueryParams;
|
|
4832
|
+
});
|
|
4833
|
+
getPath(): string;
|
|
4834
|
+
}
|
|
4835
|
+
|
|
4836
|
+
type GetSubscriptionPurchasesFromPointOfSaleQueryParams = SubscriptionPurchasesQueryParams;
|
|
4837
|
+
declare const getSubscriptionPurchasesFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
4838
|
+
type GetSubscriptionPurchasesFromPointOfSaleInput = z.input<typeof getSubscriptionPurchasesFromPointOfSaleInputSchema>;
|
|
4839
|
+
type GetSubscriptionPurchasesFromPointOfSaleResponse = z.infer<typeof getSubscriptionPurchasesResponseSchema>;
|
|
4840
|
+
declare class GetSubscriptionPurchasesFromPointOfSale extends AbstractApiRequest<typeof getSubscriptionPurchasesFromPointOfSaleInputSchema, typeof getSubscriptionPurchasesResponseSchema, GetSubscriptionPurchasesFromPointOfSaleQueryParams> {
|
|
4841
|
+
readonly method: "GET";
|
|
4842
|
+
readonly contentType: "application/json";
|
|
4843
|
+
readonly accept: "application/json";
|
|
4844
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4845
|
+
readonly outputSchema: z.ZodObject<{
|
|
4846
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4847
|
+
id: z.ZodString;
|
|
4848
|
+
plan: 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>>;
|
|
4849
|
+
status: z.ZodEnum<{
|
|
4850
|
+
pending: "pending";
|
|
4851
|
+
completed: "completed";
|
|
4852
|
+
cancelled: "cancelled";
|
|
4853
|
+
failed: "failed";
|
|
4854
|
+
}>;
|
|
4855
|
+
type: z.ZodEnum<{
|
|
4856
|
+
infinite: "infinite";
|
|
4857
|
+
time_based: "time_based";
|
|
4858
|
+
consumption: "consumption";
|
|
4859
|
+
}>;
|
|
4860
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
4861
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4862
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4863
|
+
amount: z.ZodString;
|
|
4864
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4865
|
+
stripe: "stripe";
|
|
4866
|
+
bank_transfer: "bank_transfer";
|
|
4867
|
+
cash: "cash";
|
|
4868
|
+
credit_card: "credit_card";
|
|
4869
|
+
}>>;
|
|
4870
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4871
|
+
pending: "pending";
|
|
4872
|
+
pending_verification: "pending_verification";
|
|
4873
|
+
paid: "paid";
|
|
4874
|
+
canceled: "canceled";
|
|
4875
|
+
refunded: "refunded";
|
|
4876
|
+
failed: "failed";
|
|
4877
|
+
}>>;
|
|
4878
|
+
createdAt: z.ZodString;
|
|
4879
|
+
updatedAt: z.ZodString;
|
|
4880
|
+
}, z.core.$strip>>;
|
|
4881
|
+
pagination: z.ZodObject<{
|
|
4882
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
4883
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
4884
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
4885
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
4886
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4887
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4888
|
+
}, z.core.$strip>;
|
|
4889
|
+
}, z.core.$strip>;
|
|
4890
|
+
readonly querySchema: z.ZodObject<{
|
|
4891
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4892
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4893
|
+
pending: "pending";
|
|
4894
|
+
completed: "completed";
|
|
4895
|
+
cancelled: "cancelled";
|
|
4896
|
+
failed: "failed";
|
|
4897
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4898
|
+
pending: "pending";
|
|
4899
|
+
completed: "completed";
|
|
4900
|
+
cancelled: "cancelled";
|
|
4901
|
+
failed: "failed";
|
|
4902
|
+
}>>]>>;
|
|
4903
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4904
|
+
infinite: "infinite";
|
|
4905
|
+
time_based: "time_based";
|
|
4906
|
+
consumption: "consumption";
|
|
4907
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4908
|
+
infinite: "infinite";
|
|
4909
|
+
time_based: "time_based";
|
|
4910
|
+
consumption: "consumption";
|
|
4911
|
+
}>>]>>;
|
|
4912
|
+
'pointOfSale.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4913
|
+
'plan.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4914
|
+
'plan.code': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4915
|
+
'startsAt[before]': z.ZodOptional<z.ZodString>;
|
|
4916
|
+
'startsAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4917
|
+
'startsAt[after]': z.ZodOptional<z.ZodString>;
|
|
4918
|
+
'startsAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4919
|
+
'threshold[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4920
|
+
'threshold[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4921
|
+
'threshold[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4922
|
+
'threshold[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4923
|
+
'threshold[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4924
|
+
'amount[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4925
|
+
'amount[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4926
|
+
'amount[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4927
|
+
'amount[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4928
|
+
'amount[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4929
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
4930
|
+
asc: "asc";
|
|
4931
|
+
desc: "desc";
|
|
4932
|
+
}>>;
|
|
4933
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
4934
|
+
asc: "asc";
|
|
4935
|
+
desc: "desc";
|
|
4936
|
+
}>>;
|
|
4937
|
+
'order[startsAt]': z.ZodOptional<z.ZodEnum<{
|
|
4938
|
+
asc: "asc";
|
|
4939
|
+
desc: "desc";
|
|
4940
|
+
}>>;
|
|
4941
|
+
'order[amount]': z.ZodOptional<z.ZodEnum<{
|
|
4942
|
+
asc: "asc";
|
|
4943
|
+
desc: "desc";
|
|
4944
|
+
}>>;
|
|
4945
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4946
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
4947
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4948
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
4949
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4950
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
4951
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4952
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
4953
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4954
|
+
}, z.core.$strip>;
|
|
4955
|
+
readonly headersSchema: undefined;
|
|
4956
|
+
readonly listItemSchema: z.ZodObject<{
|
|
4957
|
+
id: z.ZodString;
|
|
4958
|
+
plan: 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>>;
|
|
4959
|
+
status: z.ZodEnum<{
|
|
4960
|
+
pending: "pending";
|
|
4961
|
+
completed: "completed";
|
|
4962
|
+
cancelled: "cancelled";
|
|
4963
|
+
failed: "failed";
|
|
4964
|
+
}>;
|
|
4965
|
+
type: z.ZodEnum<{
|
|
4966
|
+
infinite: "infinite";
|
|
4967
|
+
time_based: "time_based";
|
|
4968
|
+
consumption: "consumption";
|
|
4969
|
+
}>;
|
|
4970
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
4971
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4972
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4973
|
+
amount: z.ZodString;
|
|
4974
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4975
|
+
stripe: "stripe";
|
|
4976
|
+
bank_transfer: "bank_transfer";
|
|
4977
|
+
cash: "cash";
|
|
4978
|
+
credit_card: "credit_card";
|
|
4979
|
+
}>>;
|
|
4980
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4981
|
+
pending: "pending";
|
|
4982
|
+
pending_verification: "pending_verification";
|
|
4983
|
+
paid: "paid";
|
|
4984
|
+
canceled: "canceled";
|
|
4985
|
+
refunded: "refunded";
|
|
4986
|
+
failed: "failed";
|
|
4987
|
+
}>>;
|
|
4988
|
+
createdAt: z.ZodString;
|
|
4989
|
+
updatedAt: z.ZodString;
|
|
4990
|
+
}, z.core.$strip>;
|
|
4991
|
+
readonly paginationDefaultEnabled = true;
|
|
4992
|
+
private readonly pointOfSaleId;
|
|
4993
|
+
constructor(pointOfSaleId: string, options?: {
|
|
4994
|
+
query?: GetSubscriptionPurchasesFromPointOfSaleQueryParams;
|
|
4995
|
+
});
|
|
4996
|
+
getPath(): string;
|
|
4997
|
+
}
|
|
4998
|
+
|
|
4999
|
+
declare const paySubscriptionPurchaseInputSchema: z.ZodObject<{
|
|
5000
|
+
method: z.ZodEnum<{
|
|
5001
|
+
stripe: "stripe";
|
|
5002
|
+
bank_transfer: "bank_transfer";
|
|
5003
|
+
cash: "cash";
|
|
5004
|
+
credit_card: "credit_card";
|
|
5005
|
+
}>;
|
|
5006
|
+
}, z.core.$strip>;
|
|
5007
|
+
type PaySubscriptionPurchaseInput = z.input<typeof paySubscriptionPurchaseInputSchema>;
|
|
5008
|
+
declare const paySubscriptionPurchaseResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5009
|
+
id: z.ZodString;
|
|
5010
|
+
status: z.ZodEnum<{
|
|
5011
|
+
pending: "pending";
|
|
5012
|
+
pending_verification: "pending_verification";
|
|
5013
|
+
paid: "paid";
|
|
5014
|
+
canceled: "canceled";
|
|
5015
|
+
refunded: "refunded";
|
|
5016
|
+
failed: "failed";
|
|
5017
|
+
}>;
|
|
5018
|
+
amount: z.ZodString;
|
|
5019
|
+
method: z.ZodLiteral<"stripe">;
|
|
5020
|
+
sessionUrl: z.ZodString;
|
|
5021
|
+
expiresAt: z.ZodString;
|
|
5022
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5023
|
+
id: z.ZodString;
|
|
5024
|
+
status: z.ZodEnum<{
|
|
5025
|
+
pending: "pending";
|
|
5026
|
+
pending_verification: "pending_verification";
|
|
5027
|
+
paid: "paid";
|
|
5028
|
+
canceled: "canceled";
|
|
5029
|
+
refunded: "refunded";
|
|
5030
|
+
failed: "failed";
|
|
5031
|
+
}>;
|
|
5032
|
+
amount: z.ZodString;
|
|
5033
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
5034
|
+
iban: z.ZodString;
|
|
5035
|
+
bic: z.ZodString;
|
|
5036
|
+
accountHolder: z.ZodString;
|
|
5037
|
+
bankName: z.ZodString;
|
|
5038
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
5039
|
+
currency: z.ZodString;
|
|
5040
|
+
description: z.ZodString;
|
|
5041
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5042
|
+
id: z.ZodString;
|
|
5043
|
+
status: z.ZodEnum<{
|
|
5044
|
+
pending: "pending";
|
|
5045
|
+
pending_verification: "pending_verification";
|
|
5046
|
+
paid: "paid";
|
|
5047
|
+
canceled: "canceled";
|
|
5048
|
+
refunded: "refunded";
|
|
5049
|
+
failed: "failed";
|
|
5050
|
+
}>;
|
|
5051
|
+
amount: z.ZodString;
|
|
5052
|
+
method: z.ZodLiteral<"cash">;
|
|
5053
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5054
|
+
id: z.ZodString;
|
|
5055
|
+
status: z.ZodEnum<{
|
|
5056
|
+
pending: "pending";
|
|
5057
|
+
pending_verification: "pending_verification";
|
|
5058
|
+
paid: "paid";
|
|
5059
|
+
canceled: "canceled";
|
|
5060
|
+
refunded: "refunded";
|
|
5061
|
+
failed: "failed";
|
|
5062
|
+
}>;
|
|
5063
|
+
amount: z.ZodString;
|
|
5064
|
+
method: z.ZodLiteral<"credit_card">;
|
|
5065
|
+
}, z.core.$strip>], "method">;
|
|
5066
|
+
type PaySubscriptionPurchaseResponse = z.infer<typeof paySubscriptionPurchaseResponseSchema>;
|
|
5067
|
+
declare class PaySubscriptionPurchase extends AbstractApiRequest<typeof paySubscriptionPurchaseInputSchema, typeof paySubscriptionPurchaseResponseSchema> {
|
|
5068
|
+
readonly method: "POST";
|
|
5069
|
+
readonly contentType: "application/json";
|
|
5070
|
+
readonly accept: "application/json";
|
|
5071
|
+
readonly inputSchema: z.ZodObject<{
|
|
5072
|
+
method: z.ZodEnum<{
|
|
5073
|
+
stripe: "stripe";
|
|
5074
|
+
bank_transfer: "bank_transfer";
|
|
5075
|
+
cash: "cash";
|
|
5076
|
+
credit_card: "credit_card";
|
|
5077
|
+
}>;
|
|
5078
|
+
}, z.core.$strip>;
|
|
5079
|
+
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5080
|
+
id: z.ZodString;
|
|
5081
|
+
status: z.ZodEnum<{
|
|
5082
|
+
pending: "pending";
|
|
5083
|
+
pending_verification: "pending_verification";
|
|
5084
|
+
paid: "paid";
|
|
5085
|
+
canceled: "canceled";
|
|
5086
|
+
refunded: "refunded";
|
|
5087
|
+
failed: "failed";
|
|
5088
|
+
}>;
|
|
5089
|
+
amount: z.ZodString;
|
|
5090
|
+
method: z.ZodLiteral<"stripe">;
|
|
5091
|
+
sessionUrl: z.ZodString;
|
|
5092
|
+
expiresAt: z.ZodString;
|
|
5093
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5094
|
+
id: z.ZodString;
|
|
5095
|
+
status: z.ZodEnum<{
|
|
5096
|
+
pending: "pending";
|
|
5097
|
+
pending_verification: "pending_verification";
|
|
5098
|
+
paid: "paid";
|
|
5099
|
+
canceled: "canceled";
|
|
5100
|
+
refunded: "refunded";
|
|
5101
|
+
failed: "failed";
|
|
5102
|
+
}>;
|
|
5103
|
+
amount: z.ZodString;
|
|
5104
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
5105
|
+
iban: z.ZodString;
|
|
5106
|
+
bic: z.ZodString;
|
|
5107
|
+
accountHolder: z.ZodString;
|
|
5108
|
+
bankName: z.ZodString;
|
|
5109
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
5110
|
+
currency: z.ZodString;
|
|
5111
|
+
description: z.ZodString;
|
|
5112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5113
|
+
id: z.ZodString;
|
|
5114
|
+
status: z.ZodEnum<{
|
|
5115
|
+
pending: "pending";
|
|
5116
|
+
pending_verification: "pending_verification";
|
|
5117
|
+
paid: "paid";
|
|
5118
|
+
canceled: "canceled";
|
|
5119
|
+
refunded: "refunded";
|
|
5120
|
+
failed: "failed";
|
|
5121
|
+
}>;
|
|
5122
|
+
amount: z.ZodString;
|
|
5123
|
+
method: z.ZodLiteral<"cash">;
|
|
5124
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5125
|
+
id: z.ZodString;
|
|
5126
|
+
status: z.ZodEnum<{
|
|
5127
|
+
pending: "pending";
|
|
5128
|
+
pending_verification: "pending_verification";
|
|
5129
|
+
paid: "paid";
|
|
5130
|
+
canceled: "canceled";
|
|
5131
|
+
refunded: "refunded";
|
|
5132
|
+
failed: "failed";
|
|
5133
|
+
}>;
|
|
5134
|
+
amount: z.ZodString;
|
|
5135
|
+
method: z.ZodLiteral<"credit_card">;
|
|
5136
|
+
}, z.core.$strip>], "method">;
|
|
5137
|
+
readonly querySchema: undefined;
|
|
5138
|
+
readonly headersSchema: undefined;
|
|
5139
|
+
private readonly purchaseId;
|
|
5140
|
+
constructor(purchaseId: string, method: PaymentMethod);
|
|
5141
|
+
getPath(): string;
|
|
5142
|
+
}
|
|
5143
|
+
|
|
5144
|
+
declare const resolveSubscriptionPurchasePaymentInputSchema: z.ZodObject<{
|
|
5145
|
+
status: z.ZodEnum<{
|
|
5146
|
+
failed: "failed";
|
|
5147
|
+
paid: "paid";
|
|
5148
|
+
canceled: "canceled";
|
|
5149
|
+
}>;
|
|
5150
|
+
response: z.ZodOptional<z.ZodString>;
|
|
5151
|
+
}, z.core.$strip>;
|
|
5152
|
+
type ResolveSubscriptionPurchasePaymentInput = z.input<typeof resolveSubscriptionPurchasePaymentInputSchema>;
|
|
5153
|
+
declare const resolveSubscriptionPurchasePaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5154
|
+
id: z.ZodString;
|
|
5155
|
+
status: z.ZodEnum<{
|
|
5156
|
+
pending: "pending";
|
|
5157
|
+
pending_verification: "pending_verification";
|
|
5158
|
+
paid: "paid";
|
|
5159
|
+
canceled: "canceled";
|
|
5160
|
+
refunded: "refunded";
|
|
5161
|
+
failed: "failed";
|
|
5162
|
+
}>;
|
|
5163
|
+
amount: z.ZodString;
|
|
5164
|
+
method: z.ZodLiteral<"stripe">;
|
|
5165
|
+
sessionUrl: z.ZodString;
|
|
5166
|
+
expiresAt: z.ZodString;
|
|
5167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5168
|
+
id: z.ZodString;
|
|
5169
|
+
status: z.ZodEnum<{
|
|
5170
|
+
pending: "pending";
|
|
5171
|
+
pending_verification: "pending_verification";
|
|
5172
|
+
paid: "paid";
|
|
5173
|
+
canceled: "canceled";
|
|
5174
|
+
refunded: "refunded";
|
|
5175
|
+
failed: "failed";
|
|
5176
|
+
}>;
|
|
5177
|
+
amount: z.ZodString;
|
|
5178
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
5179
|
+
iban: z.ZodString;
|
|
5180
|
+
bic: z.ZodString;
|
|
5181
|
+
accountHolder: z.ZodString;
|
|
5182
|
+
bankName: z.ZodString;
|
|
5183
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
5184
|
+
currency: z.ZodString;
|
|
5185
|
+
description: z.ZodString;
|
|
5186
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5187
|
+
id: z.ZodString;
|
|
5188
|
+
status: z.ZodEnum<{
|
|
5189
|
+
pending: "pending";
|
|
5190
|
+
pending_verification: "pending_verification";
|
|
5191
|
+
paid: "paid";
|
|
5192
|
+
canceled: "canceled";
|
|
5193
|
+
refunded: "refunded";
|
|
5194
|
+
failed: "failed";
|
|
5195
|
+
}>;
|
|
5196
|
+
amount: z.ZodString;
|
|
5197
|
+
method: z.ZodLiteral<"cash">;
|
|
5198
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5199
|
+
id: z.ZodString;
|
|
5200
|
+
status: z.ZodEnum<{
|
|
5201
|
+
pending: "pending";
|
|
5202
|
+
pending_verification: "pending_verification";
|
|
5203
|
+
paid: "paid";
|
|
5204
|
+
canceled: "canceled";
|
|
5205
|
+
refunded: "refunded";
|
|
5206
|
+
failed: "failed";
|
|
5207
|
+
}>;
|
|
5208
|
+
amount: z.ZodString;
|
|
5209
|
+
method: z.ZodLiteral<"credit_card">;
|
|
5210
|
+
}, z.core.$strip>], "method">;
|
|
5211
|
+
type ResolveSubscriptionPurchasePaymentResponse = z.infer<typeof resolveSubscriptionPurchasePaymentResponseSchema>;
|
|
5212
|
+
declare class ResolveSubscriptionPurchasePayment extends AbstractApiRequest<typeof resolveSubscriptionPurchasePaymentInputSchema, typeof resolveSubscriptionPurchasePaymentResponseSchema> {
|
|
5213
|
+
readonly method: "POST";
|
|
5214
|
+
readonly contentType: "application/json";
|
|
5215
|
+
readonly accept: "application/json";
|
|
5216
|
+
readonly inputSchema: z.ZodObject<{
|
|
5217
|
+
status: z.ZodEnum<{
|
|
5218
|
+
failed: "failed";
|
|
5219
|
+
paid: "paid";
|
|
5220
|
+
canceled: "canceled";
|
|
5221
|
+
}>;
|
|
5222
|
+
response: z.ZodOptional<z.ZodString>;
|
|
5223
|
+
}, z.core.$strip>;
|
|
5224
|
+
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5225
|
+
id: z.ZodString;
|
|
5226
|
+
status: z.ZodEnum<{
|
|
5227
|
+
pending: "pending";
|
|
5228
|
+
pending_verification: "pending_verification";
|
|
5229
|
+
paid: "paid";
|
|
5230
|
+
canceled: "canceled";
|
|
5231
|
+
refunded: "refunded";
|
|
5232
|
+
failed: "failed";
|
|
5233
|
+
}>;
|
|
5234
|
+
amount: z.ZodString;
|
|
5235
|
+
method: z.ZodLiteral<"stripe">;
|
|
5236
|
+
sessionUrl: z.ZodString;
|
|
5237
|
+
expiresAt: z.ZodString;
|
|
5238
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5239
|
+
id: z.ZodString;
|
|
5240
|
+
status: z.ZodEnum<{
|
|
5241
|
+
pending: "pending";
|
|
5242
|
+
pending_verification: "pending_verification";
|
|
5243
|
+
paid: "paid";
|
|
5244
|
+
canceled: "canceled";
|
|
5245
|
+
refunded: "refunded";
|
|
5246
|
+
failed: "failed";
|
|
2994
5247
|
}>;
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
5248
|
+
amount: z.ZodString;
|
|
5249
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
5250
|
+
iban: z.ZodString;
|
|
5251
|
+
bic: z.ZodString;
|
|
5252
|
+
accountHolder: z.ZodString;
|
|
5253
|
+
bankName: z.ZodString;
|
|
5254
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
5255
|
+
currency: z.ZodString;
|
|
5256
|
+
description: z.ZodString;
|
|
5257
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5258
|
+
id: z.ZodString;
|
|
5259
|
+
status: z.ZodEnum<{
|
|
5260
|
+
pending: "pending";
|
|
5261
|
+
pending_verification: "pending_verification";
|
|
5262
|
+
paid: "paid";
|
|
5263
|
+
canceled: "canceled";
|
|
5264
|
+
refunded: "refunded";
|
|
5265
|
+
failed: "failed";
|
|
5266
|
+
}>;
|
|
5267
|
+
amount: z.ZodString;
|
|
5268
|
+
method: z.ZodLiteral<"cash">;
|
|
5269
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5270
|
+
id: z.ZodString;
|
|
5271
|
+
status: z.ZodEnum<{
|
|
5272
|
+
pending: "pending";
|
|
5273
|
+
pending_verification: "pending_verification";
|
|
5274
|
+
paid: "paid";
|
|
5275
|
+
canceled: "canceled";
|
|
5276
|
+
refunded: "refunded";
|
|
5277
|
+
failed: "failed";
|
|
5278
|
+
}>;
|
|
5279
|
+
amount: z.ZodString;
|
|
5280
|
+
method: z.ZodLiteral<"credit_card">;
|
|
5281
|
+
}, z.core.$strip>], "method">;
|
|
3000
5282
|
readonly querySchema: undefined;
|
|
3001
5283
|
readonly headersSchema: undefined;
|
|
3002
|
-
private readonly
|
|
3003
|
-
constructor(
|
|
5284
|
+
private readonly purchaseId;
|
|
5285
|
+
constructor(purchaseId: string, input: ResolveSubscriptionPurchasePaymentInput);
|
|
3004
5286
|
getPath(): string;
|
|
3005
5287
|
}
|
|
3006
5288
|
|
|
@@ -3026,6 +5308,19 @@ declare const createSubscriptionTimeBasedResponseSchema: z.ZodObject<{
|
|
|
3026
5308
|
autoRenewal: z.ZodBoolean;
|
|
3027
5309
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3028
5310
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
5311
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5312
|
+
id: z.ZodString;
|
|
5313
|
+
code: z.ZodString;
|
|
5314
|
+
name: z.ZodString;
|
|
5315
|
+
type: z.ZodEnum<{
|
|
5316
|
+
infinite: "infinite";
|
|
5317
|
+
time_based: "time_based";
|
|
5318
|
+
consumption: "consumption";
|
|
5319
|
+
}>;
|
|
5320
|
+
isActive: z.ZodBoolean;
|
|
5321
|
+
isPurchasable: z.ZodBoolean;
|
|
5322
|
+
isAdminOnly: z.ZodBoolean;
|
|
5323
|
+
}, z.core.$strip>>>;
|
|
3029
5324
|
createdAt: z.ZodString;
|
|
3030
5325
|
updatedAt: z.ZodString;
|
|
3031
5326
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -3061,6 +5356,19 @@ declare class CreateSubscriptionTimeBased extends AbstractApiRequest<typeof crea
|
|
|
3061
5356
|
autoRenewal: z.ZodBoolean;
|
|
3062
5357
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3063
5358
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
5359
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5360
|
+
id: z.ZodString;
|
|
5361
|
+
code: z.ZodString;
|
|
5362
|
+
name: z.ZodString;
|
|
5363
|
+
type: z.ZodEnum<{
|
|
5364
|
+
infinite: "infinite";
|
|
5365
|
+
time_based: "time_based";
|
|
5366
|
+
consumption: "consumption";
|
|
5367
|
+
}>;
|
|
5368
|
+
isActive: z.ZodBoolean;
|
|
5369
|
+
isPurchasable: z.ZodBoolean;
|
|
5370
|
+
isAdminOnly: z.ZodBoolean;
|
|
5371
|
+
}, z.core.$strip>>>;
|
|
3064
5372
|
createdAt: z.ZodString;
|
|
3065
5373
|
updatedAt: z.ZodString;
|
|
3066
5374
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -3106,6 +5414,19 @@ declare const getSubscriptionTimeBasedDetailsResponseSchema: z.ZodObject<{
|
|
|
3106
5414
|
autoRenewal: z.ZodBoolean;
|
|
3107
5415
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3108
5416
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
5417
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5418
|
+
id: z.ZodString;
|
|
5419
|
+
code: z.ZodString;
|
|
5420
|
+
name: z.ZodString;
|
|
5421
|
+
type: z.ZodEnum<{
|
|
5422
|
+
infinite: "infinite";
|
|
5423
|
+
time_based: "time_based";
|
|
5424
|
+
consumption: "consumption";
|
|
5425
|
+
}>;
|
|
5426
|
+
isActive: z.ZodBoolean;
|
|
5427
|
+
isPurchasable: z.ZodBoolean;
|
|
5428
|
+
isAdminOnly: z.ZodBoolean;
|
|
5429
|
+
}, z.core.$strip>>>;
|
|
3109
5430
|
createdAt: z.ZodString;
|
|
3110
5431
|
updatedAt: z.ZodString;
|
|
3111
5432
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -3134,6 +5455,19 @@ declare class GetSubscriptionTimeBasedDetails extends AbstractApiRequest<typeof
|
|
|
3134
5455
|
autoRenewal: z.ZodBoolean;
|
|
3135
5456
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3136
5457
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
5458
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5459
|
+
id: z.ZodString;
|
|
5460
|
+
code: z.ZodString;
|
|
5461
|
+
name: z.ZodString;
|
|
5462
|
+
type: z.ZodEnum<{
|
|
5463
|
+
infinite: "infinite";
|
|
5464
|
+
time_based: "time_based";
|
|
5465
|
+
consumption: "consumption";
|
|
5466
|
+
}>;
|
|
5467
|
+
isActive: z.ZodBoolean;
|
|
5468
|
+
isPurchasable: z.ZodBoolean;
|
|
5469
|
+
isAdminOnly: z.ZodBoolean;
|
|
5470
|
+
}, z.core.$strip>>>;
|
|
3137
5471
|
createdAt: z.ZodString;
|
|
3138
5472
|
updatedAt: z.ZodString;
|
|
3139
5473
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -3173,6 +5507,19 @@ declare class GetSubscriptionTimeBasedList extends AbstractApiRequest<typeof get
|
|
|
3173
5507
|
autoRenewal: z.ZodBoolean;
|
|
3174
5508
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3175
5509
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
5510
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5511
|
+
id: z.ZodString;
|
|
5512
|
+
code: z.ZodString;
|
|
5513
|
+
name: z.ZodString;
|
|
5514
|
+
type: z.ZodEnum<{
|
|
5515
|
+
infinite: "infinite";
|
|
5516
|
+
time_based: "time_based";
|
|
5517
|
+
consumption: "consumption";
|
|
5518
|
+
}>;
|
|
5519
|
+
isActive: z.ZodBoolean;
|
|
5520
|
+
isPurchasable: z.ZodBoolean;
|
|
5521
|
+
isAdminOnly: z.ZodBoolean;
|
|
5522
|
+
}, z.core.$strip>>>;
|
|
3176
5523
|
createdAt: z.ZodString;
|
|
3177
5524
|
updatedAt: z.ZodString;
|
|
3178
5525
|
type: z.ZodLiteral<"time_based">;
|
|
@@ -3263,6 +5610,19 @@ declare class GetSubscriptionTimeBasedList extends AbstractApiRequest<typeof get
|
|
|
3263
5610
|
autoRenewal: z.ZodBoolean;
|
|
3264
5611
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3265
5612
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
5613
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5614
|
+
id: z.ZodString;
|
|
5615
|
+
code: z.ZodString;
|
|
5616
|
+
name: z.ZodString;
|
|
5617
|
+
type: z.ZodEnum<{
|
|
5618
|
+
infinite: "infinite";
|
|
5619
|
+
time_based: "time_based";
|
|
5620
|
+
consumption: "consumption";
|
|
5621
|
+
}>;
|
|
5622
|
+
isActive: z.ZodBoolean;
|
|
5623
|
+
isPurchasable: z.ZodBoolean;
|
|
5624
|
+
isAdminOnly: z.ZodBoolean;
|
|
5625
|
+
}, z.core.$strip>>>;
|
|
3266
5626
|
createdAt: z.ZodString;
|
|
3267
5627
|
updatedAt: z.ZodString;
|
|
3268
5628
|
type: z.ZodLiteral<"time_based">;
|
|
@@ -3298,6 +5658,19 @@ declare const updateSubscriptionTimeBasedResponseSchema: z.ZodObject<{
|
|
|
3298
5658
|
autoRenewal: z.ZodBoolean;
|
|
3299
5659
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3300
5660
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
5661
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5662
|
+
id: z.ZodString;
|
|
5663
|
+
code: z.ZodString;
|
|
5664
|
+
name: z.ZodString;
|
|
5665
|
+
type: z.ZodEnum<{
|
|
5666
|
+
infinite: "infinite";
|
|
5667
|
+
time_based: "time_based";
|
|
5668
|
+
consumption: "consumption";
|
|
5669
|
+
}>;
|
|
5670
|
+
isActive: z.ZodBoolean;
|
|
5671
|
+
isPurchasable: z.ZodBoolean;
|
|
5672
|
+
isAdminOnly: z.ZodBoolean;
|
|
5673
|
+
}, z.core.$strip>>>;
|
|
3301
5674
|
createdAt: z.ZodString;
|
|
3302
5675
|
updatedAt: z.ZodString;
|
|
3303
5676
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -3332,6 +5705,19 @@ declare class UpdateSubscriptionTimeBased extends AbstractApiRequest<typeof upda
|
|
|
3332
5705
|
autoRenewal: z.ZodBoolean;
|
|
3333
5706
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3334
5707
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
5708
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5709
|
+
id: z.ZodString;
|
|
5710
|
+
code: z.ZodString;
|
|
5711
|
+
name: z.ZodString;
|
|
5712
|
+
type: z.ZodEnum<{
|
|
5713
|
+
infinite: "infinite";
|
|
5714
|
+
time_based: "time_based";
|
|
5715
|
+
consumption: "consumption";
|
|
5716
|
+
}>;
|
|
5717
|
+
isActive: z.ZodBoolean;
|
|
5718
|
+
isPurchasable: z.ZodBoolean;
|
|
5719
|
+
isAdminOnly: z.ZodBoolean;
|
|
5720
|
+
}, z.core.$strip>>>;
|
|
3335
5721
|
createdAt: z.ZodString;
|
|
3336
5722
|
updatedAt: z.ZodString;
|
|
3337
5723
|
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>>;
|
|
@@ -3822,8 +6208,8 @@ declare class PaySubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof
|
|
|
3822
6208
|
|
|
3823
6209
|
declare const resolveSubscriptionTimeBasedRenewalPaymentInputSchema: z.ZodObject<{
|
|
3824
6210
|
status: z.ZodEnum<{
|
|
3825
|
-
paid: "paid";
|
|
3826
6211
|
failed: "failed";
|
|
6212
|
+
paid: "paid";
|
|
3827
6213
|
canceled: "canceled";
|
|
3828
6214
|
}>;
|
|
3829
6215
|
response: z.ZodOptional<z.ZodString>;
|
|
@@ -3894,8 +6280,8 @@ declare class ResolveSubscriptionTimeBasedRenewalPayment extends AbstractApiRequ
|
|
|
3894
6280
|
readonly accept = "application/json";
|
|
3895
6281
|
readonly inputSchema: z.ZodObject<{
|
|
3896
6282
|
status: z.ZodEnum<{
|
|
3897
|
-
paid: "paid";
|
|
3898
6283
|
failed: "failed";
|
|
6284
|
+
paid: "paid";
|
|
3899
6285
|
canceled: "canceled";
|
|
3900
6286
|
}>;
|
|
3901
6287
|
response: z.ZodOptional<z.ZodString>;
|
|
@@ -3995,6 +6381,19 @@ declare const getSubscriptionDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
3995
6381
|
autoRenewal: z.ZodBoolean;
|
|
3996
6382
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3997
6383
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
6384
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6385
|
+
id: z.ZodString;
|
|
6386
|
+
code: z.ZodString;
|
|
6387
|
+
name: z.ZodString;
|
|
6388
|
+
type: z.ZodEnum<{
|
|
6389
|
+
infinite: "infinite";
|
|
6390
|
+
time_based: "time_based";
|
|
6391
|
+
consumption: "consumption";
|
|
6392
|
+
}>;
|
|
6393
|
+
isActive: z.ZodBoolean;
|
|
6394
|
+
isPurchasable: z.ZodBoolean;
|
|
6395
|
+
isAdminOnly: z.ZodBoolean;
|
|
6396
|
+
}, z.core.$strip>>>;
|
|
3998
6397
|
createdAt: z.ZodString;
|
|
3999
6398
|
updatedAt: z.ZodString;
|
|
4000
6399
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -4012,6 +6411,19 @@ declare const getSubscriptionDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4012
6411
|
autoRenewal: z.ZodBoolean;
|
|
4013
6412
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4014
6413
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
6414
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6415
|
+
id: z.ZodString;
|
|
6416
|
+
code: z.ZodString;
|
|
6417
|
+
name: z.ZodString;
|
|
6418
|
+
type: z.ZodEnum<{
|
|
6419
|
+
infinite: "infinite";
|
|
6420
|
+
time_based: "time_based";
|
|
6421
|
+
consumption: "consumption";
|
|
6422
|
+
}>;
|
|
6423
|
+
isActive: z.ZodBoolean;
|
|
6424
|
+
isPurchasable: z.ZodBoolean;
|
|
6425
|
+
isAdminOnly: z.ZodBoolean;
|
|
6426
|
+
}, z.core.$strip>>>;
|
|
4015
6427
|
createdAt: z.ZodString;
|
|
4016
6428
|
updatedAt: z.ZodString;
|
|
4017
6429
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -4033,6 +6445,19 @@ declare const getSubscriptionDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4033
6445
|
autoRenewal: z.ZodBoolean;
|
|
4034
6446
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4035
6447
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
6448
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6449
|
+
id: z.ZodString;
|
|
6450
|
+
code: z.ZodString;
|
|
6451
|
+
name: z.ZodString;
|
|
6452
|
+
type: z.ZodEnum<{
|
|
6453
|
+
infinite: "infinite";
|
|
6454
|
+
time_based: "time_based";
|
|
6455
|
+
consumption: "consumption";
|
|
6456
|
+
}>;
|
|
6457
|
+
isActive: z.ZodBoolean;
|
|
6458
|
+
isPurchasable: z.ZodBoolean;
|
|
6459
|
+
isAdminOnly: z.ZodBoolean;
|
|
6460
|
+
}, z.core.$strip>>>;
|
|
4036
6461
|
createdAt: z.ZodString;
|
|
4037
6462
|
updatedAt: z.ZodString;
|
|
4038
6463
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -4061,6 +6486,19 @@ declare class GetSubscriptionDetails extends AbstractApiRequest<typeof getSubscr
|
|
|
4061
6486
|
autoRenewal: z.ZodBoolean;
|
|
4062
6487
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4063
6488
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
6489
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6490
|
+
id: z.ZodString;
|
|
6491
|
+
code: z.ZodString;
|
|
6492
|
+
name: z.ZodString;
|
|
6493
|
+
type: z.ZodEnum<{
|
|
6494
|
+
infinite: "infinite";
|
|
6495
|
+
time_based: "time_based";
|
|
6496
|
+
consumption: "consumption";
|
|
6497
|
+
}>;
|
|
6498
|
+
isActive: z.ZodBoolean;
|
|
6499
|
+
isPurchasable: z.ZodBoolean;
|
|
6500
|
+
isAdminOnly: z.ZodBoolean;
|
|
6501
|
+
}, z.core.$strip>>>;
|
|
4064
6502
|
createdAt: z.ZodString;
|
|
4065
6503
|
updatedAt: z.ZodString;
|
|
4066
6504
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -4078,6 +6516,19 @@ declare class GetSubscriptionDetails extends AbstractApiRequest<typeof getSubscr
|
|
|
4078
6516
|
autoRenewal: z.ZodBoolean;
|
|
4079
6517
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4080
6518
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
6519
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6520
|
+
id: z.ZodString;
|
|
6521
|
+
code: z.ZodString;
|
|
6522
|
+
name: z.ZodString;
|
|
6523
|
+
type: z.ZodEnum<{
|
|
6524
|
+
infinite: "infinite";
|
|
6525
|
+
time_based: "time_based";
|
|
6526
|
+
consumption: "consumption";
|
|
6527
|
+
}>;
|
|
6528
|
+
isActive: z.ZodBoolean;
|
|
6529
|
+
isPurchasable: z.ZodBoolean;
|
|
6530
|
+
isAdminOnly: z.ZodBoolean;
|
|
6531
|
+
}, z.core.$strip>>>;
|
|
4081
6532
|
createdAt: z.ZodString;
|
|
4082
6533
|
updatedAt: z.ZodString;
|
|
4083
6534
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -4099,6 +6550,19 @@ declare class GetSubscriptionDetails extends AbstractApiRequest<typeof getSubscr
|
|
|
4099
6550
|
autoRenewal: z.ZodBoolean;
|
|
4100
6551
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4101
6552
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
6553
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6554
|
+
id: z.ZodString;
|
|
6555
|
+
code: z.ZodString;
|
|
6556
|
+
name: z.ZodString;
|
|
6557
|
+
type: z.ZodEnum<{
|
|
6558
|
+
infinite: "infinite";
|
|
6559
|
+
time_based: "time_based";
|
|
6560
|
+
consumption: "consumption";
|
|
6561
|
+
}>;
|
|
6562
|
+
isActive: z.ZodBoolean;
|
|
6563
|
+
isPurchasable: z.ZodBoolean;
|
|
6564
|
+
isAdminOnly: z.ZodBoolean;
|
|
6565
|
+
}, z.core.$strip>>>;
|
|
4102
6566
|
createdAt: z.ZodString;
|
|
4103
6567
|
updatedAt: z.ZodString;
|
|
4104
6568
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -4122,6 +6586,20 @@ declare const getSubscriptionOverviewFromPointOfSaleResponseSchema: z.ZodObject<
|
|
|
4122
6586
|
subscription: z.ZodNullable<z.ZodObject<{
|
|
4123
6587
|
id: z.ZodString;
|
|
4124
6588
|
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>>]>;
|
|
6589
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
6590
|
+
id: z.ZodString;
|
|
6591
|
+
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>>;
|
|
6592
|
+
code: z.ZodString;
|
|
6593
|
+
name: z.ZodString;
|
|
6594
|
+
type: z.ZodEnum<{
|
|
6595
|
+
infinite: "infinite";
|
|
6596
|
+
time_based: "time_based";
|
|
6597
|
+
consumption: "consumption";
|
|
6598
|
+
}>;
|
|
6599
|
+
active: z.ZodBoolean;
|
|
6600
|
+
purchasable: z.ZodBoolean;
|
|
6601
|
+
adminOnly: z.ZodBoolean;
|
|
6602
|
+
}, z.core.$strip>>;
|
|
4125
6603
|
type: z.ZodEnum<{
|
|
4126
6604
|
infinite: "infinite";
|
|
4127
6605
|
time_based: "time_based";
|
|
@@ -4177,6 +6655,20 @@ declare class GetSubscriptionOverviewFromPointOfSale extends AbstractApiRequest<
|
|
|
4177
6655
|
subscription: z.ZodNullable<z.ZodObject<{
|
|
4178
6656
|
id: z.ZodString;
|
|
4179
6657
|
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>>]>;
|
|
6658
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
6659
|
+
id: z.ZodString;
|
|
6660
|
+
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>>;
|
|
6661
|
+
code: z.ZodString;
|
|
6662
|
+
name: z.ZodString;
|
|
6663
|
+
type: z.ZodEnum<{
|
|
6664
|
+
infinite: "infinite";
|
|
6665
|
+
time_based: "time_based";
|
|
6666
|
+
consumption: "consumption";
|
|
6667
|
+
}>;
|
|
6668
|
+
active: z.ZodBoolean;
|
|
6669
|
+
purchasable: z.ZodBoolean;
|
|
6670
|
+
adminOnly: z.ZodBoolean;
|
|
6671
|
+
}, z.core.$strip>>;
|
|
4180
6672
|
type: z.ZodEnum<{
|
|
4181
6673
|
infinite: "infinite";
|
|
4182
6674
|
time_based: "time_based";
|
|
@@ -4251,6 +6743,19 @@ declare class GetSubscriptions extends AbstractApiRequest<typeof getSubscription
|
|
|
4251
6743
|
autoRenewal: z.ZodBoolean;
|
|
4252
6744
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4253
6745
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
6746
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6747
|
+
id: z.ZodString;
|
|
6748
|
+
code: z.ZodString;
|
|
6749
|
+
name: z.ZodString;
|
|
6750
|
+
type: z.ZodEnum<{
|
|
6751
|
+
infinite: "infinite";
|
|
6752
|
+
time_based: "time_based";
|
|
6753
|
+
consumption: "consumption";
|
|
6754
|
+
}>;
|
|
6755
|
+
isActive: z.ZodBoolean;
|
|
6756
|
+
isPurchasable: z.ZodBoolean;
|
|
6757
|
+
isAdminOnly: z.ZodBoolean;
|
|
6758
|
+
}, z.core.$strip>>>;
|
|
4254
6759
|
createdAt: z.ZodString;
|
|
4255
6760
|
updatedAt: z.ZodString;
|
|
4256
6761
|
type: z.ZodLiteral<"infinite">;
|
|
@@ -4267,6 +6772,19 @@ declare class GetSubscriptions extends AbstractApiRequest<typeof getSubscription
|
|
|
4267
6772
|
autoRenewal: z.ZodBoolean;
|
|
4268
6773
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4269
6774
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
6775
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6776
|
+
id: z.ZodString;
|
|
6777
|
+
code: z.ZodString;
|
|
6778
|
+
name: z.ZodString;
|
|
6779
|
+
type: z.ZodEnum<{
|
|
6780
|
+
infinite: "infinite";
|
|
6781
|
+
time_based: "time_based";
|
|
6782
|
+
consumption: "consumption";
|
|
6783
|
+
}>;
|
|
6784
|
+
isActive: z.ZodBoolean;
|
|
6785
|
+
isPurchasable: z.ZodBoolean;
|
|
6786
|
+
isAdminOnly: z.ZodBoolean;
|
|
6787
|
+
}, z.core.$strip>>>;
|
|
4270
6788
|
createdAt: z.ZodString;
|
|
4271
6789
|
updatedAt: z.ZodString;
|
|
4272
6790
|
type: z.ZodLiteral<"consumption">;
|
|
@@ -4287,6 +6805,19 @@ declare class GetSubscriptions extends AbstractApiRequest<typeof getSubscription
|
|
|
4287
6805
|
autoRenewal: z.ZodBoolean;
|
|
4288
6806
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4289
6807
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
6808
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6809
|
+
id: z.ZodString;
|
|
6810
|
+
code: z.ZodString;
|
|
6811
|
+
name: z.ZodString;
|
|
6812
|
+
type: z.ZodEnum<{
|
|
6813
|
+
infinite: "infinite";
|
|
6814
|
+
time_based: "time_based";
|
|
6815
|
+
consumption: "consumption";
|
|
6816
|
+
}>;
|
|
6817
|
+
isActive: z.ZodBoolean;
|
|
6818
|
+
isPurchasable: z.ZodBoolean;
|
|
6819
|
+
isAdminOnly: z.ZodBoolean;
|
|
6820
|
+
}, z.core.$strip>>>;
|
|
4290
6821
|
createdAt: z.ZodString;
|
|
4291
6822
|
updatedAt: z.ZodString;
|
|
4292
6823
|
type: z.ZodLiteral<"time_based">;
|
|
@@ -4363,6 +6894,19 @@ declare class GetSubscriptions extends AbstractApiRequest<typeof getSubscription
|
|
|
4363
6894
|
autoRenewal: z.ZodBoolean;
|
|
4364
6895
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4365
6896
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
6897
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6898
|
+
id: z.ZodString;
|
|
6899
|
+
code: z.ZodString;
|
|
6900
|
+
name: z.ZodString;
|
|
6901
|
+
type: z.ZodEnum<{
|
|
6902
|
+
infinite: "infinite";
|
|
6903
|
+
time_based: "time_based";
|
|
6904
|
+
consumption: "consumption";
|
|
6905
|
+
}>;
|
|
6906
|
+
isActive: z.ZodBoolean;
|
|
6907
|
+
isPurchasable: z.ZodBoolean;
|
|
6908
|
+
isAdminOnly: z.ZodBoolean;
|
|
6909
|
+
}, z.core.$strip>>>;
|
|
4366
6910
|
createdAt: z.ZodString;
|
|
4367
6911
|
updatedAt: z.ZodString;
|
|
4368
6912
|
type: z.ZodLiteral<"infinite">;
|
|
@@ -4379,6 +6923,19 @@ declare class GetSubscriptions extends AbstractApiRequest<typeof getSubscription
|
|
|
4379
6923
|
autoRenewal: z.ZodBoolean;
|
|
4380
6924
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4381
6925
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
6926
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6927
|
+
id: z.ZodString;
|
|
6928
|
+
code: z.ZodString;
|
|
6929
|
+
name: z.ZodString;
|
|
6930
|
+
type: z.ZodEnum<{
|
|
6931
|
+
infinite: "infinite";
|
|
6932
|
+
time_based: "time_based";
|
|
6933
|
+
consumption: "consumption";
|
|
6934
|
+
}>;
|
|
6935
|
+
isActive: z.ZodBoolean;
|
|
6936
|
+
isPurchasable: z.ZodBoolean;
|
|
6937
|
+
isAdminOnly: z.ZodBoolean;
|
|
6938
|
+
}, z.core.$strip>>>;
|
|
4382
6939
|
createdAt: z.ZodString;
|
|
4383
6940
|
updatedAt: z.ZodString;
|
|
4384
6941
|
type: z.ZodLiteral<"consumption">;
|
|
@@ -4399,6 +6956,19 @@ declare class GetSubscriptions extends AbstractApiRequest<typeof getSubscription
|
|
|
4399
6956
|
autoRenewal: z.ZodBoolean;
|
|
4400
6957
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4401
6958
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
6959
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6960
|
+
id: z.ZodString;
|
|
6961
|
+
code: z.ZodString;
|
|
6962
|
+
name: z.ZodString;
|
|
6963
|
+
type: z.ZodEnum<{
|
|
6964
|
+
infinite: "infinite";
|
|
6965
|
+
time_based: "time_based";
|
|
6966
|
+
consumption: "consumption";
|
|
6967
|
+
}>;
|
|
6968
|
+
isActive: z.ZodBoolean;
|
|
6969
|
+
isPurchasable: z.ZodBoolean;
|
|
6970
|
+
isAdminOnly: z.ZodBoolean;
|
|
6971
|
+
}, z.core.$strip>>>;
|
|
4402
6972
|
createdAt: z.ZodString;
|
|
4403
6973
|
updatedAt: z.ZodString;
|
|
4404
6974
|
type: z.ZodLiteral<"time_based">;
|
|
@@ -4429,6 +6999,19 @@ declare const getSubscriptionsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDis
|
|
|
4429
6999
|
autoRenewal: z.ZodBoolean;
|
|
4430
7000
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4431
7001
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
7002
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7003
|
+
id: z.ZodString;
|
|
7004
|
+
code: z.ZodString;
|
|
7005
|
+
name: z.ZodString;
|
|
7006
|
+
type: z.ZodEnum<{
|
|
7007
|
+
infinite: "infinite";
|
|
7008
|
+
time_based: "time_based";
|
|
7009
|
+
consumption: "consumption";
|
|
7010
|
+
}>;
|
|
7011
|
+
isActive: z.ZodBoolean;
|
|
7012
|
+
isPurchasable: z.ZodBoolean;
|
|
7013
|
+
isAdminOnly: z.ZodBoolean;
|
|
7014
|
+
}, z.core.$strip>>>;
|
|
4432
7015
|
createdAt: z.ZodString;
|
|
4433
7016
|
updatedAt: z.ZodString;
|
|
4434
7017
|
type: z.ZodLiteral<"infinite">;
|
|
@@ -4445,6 +7028,19 @@ declare const getSubscriptionsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDis
|
|
|
4445
7028
|
autoRenewal: z.ZodBoolean;
|
|
4446
7029
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4447
7030
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
7031
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7032
|
+
id: z.ZodString;
|
|
7033
|
+
code: z.ZodString;
|
|
7034
|
+
name: z.ZodString;
|
|
7035
|
+
type: z.ZodEnum<{
|
|
7036
|
+
infinite: "infinite";
|
|
7037
|
+
time_based: "time_based";
|
|
7038
|
+
consumption: "consumption";
|
|
7039
|
+
}>;
|
|
7040
|
+
isActive: z.ZodBoolean;
|
|
7041
|
+
isPurchasable: z.ZodBoolean;
|
|
7042
|
+
isAdminOnly: z.ZodBoolean;
|
|
7043
|
+
}, z.core.$strip>>>;
|
|
4448
7044
|
createdAt: z.ZodString;
|
|
4449
7045
|
updatedAt: z.ZodString;
|
|
4450
7046
|
type: z.ZodLiteral<"consumption">;
|
|
@@ -4465,6 +7061,19 @@ declare const getSubscriptionsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDis
|
|
|
4465
7061
|
autoRenewal: z.ZodBoolean;
|
|
4466
7062
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4467
7063
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
7064
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7065
|
+
id: z.ZodString;
|
|
7066
|
+
code: z.ZodString;
|
|
7067
|
+
name: z.ZodString;
|
|
7068
|
+
type: z.ZodEnum<{
|
|
7069
|
+
infinite: "infinite";
|
|
7070
|
+
time_based: "time_based";
|
|
7071
|
+
consumption: "consumption";
|
|
7072
|
+
}>;
|
|
7073
|
+
isActive: z.ZodBoolean;
|
|
7074
|
+
isPurchasable: z.ZodBoolean;
|
|
7075
|
+
isAdminOnly: z.ZodBoolean;
|
|
7076
|
+
}, z.core.$strip>>>;
|
|
4468
7077
|
createdAt: z.ZodString;
|
|
4469
7078
|
updatedAt: z.ZodString;
|
|
4470
7079
|
type: z.ZodLiteral<"time_based">;
|
|
@@ -4491,6 +7100,19 @@ declare class GetSubscriptionsFromPointOfSale extends AbstractApiRequest<typeof
|
|
|
4491
7100
|
autoRenewal: z.ZodBoolean;
|
|
4492
7101
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4493
7102
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
7103
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7104
|
+
id: z.ZodString;
|
|
7105
|
+
code: z.ZodString;
|
|
7106
|
+
name: z.ZodString;
|
|
7107
|
+
type: z.ZodEnum<{
|
|
7108
|
+
infinite: "infinite";
|
|
7109
|
+
time_based: "time_based";
|
|
7110
|
+
consumption: "consumption";
|
|
7111
|
+
}>;
|
|
7112
|
+
isActive: z.ZodBoolean;
|
|
7113
|
+
isPurchasable: z.ZodBoolean;
|
|
7114
|
+
isAdminOnly: z.ZodBoolean;
|
|
7115
|
+
}, z.core.$strip>>>;
|
|
4494
7116
|
createdAt: z.ZodString;
|
|
4495
7117
|
updatedAt: z.ZodString;
|
|
4496
7118
|
type: z.ZodLiteral<"infinite">;
|
|
@@ -4507,6 +7129,19 @@ declare class GetSubscriptionsFromPointOfSale extends AbstractApiRequest<typeof
|
|
|
4507
7129
|
autoRenewal: z.ZodBoolean;
|
|
4508
7130
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4509
7131
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
7132
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7133
|
+
id: z.ZodString;
|
|
7134
|
+
code: z.ZodString;
|
|
7135
|
+
name: z.ZodString;
|
|
7136
|
+
type: z.ZodEnum<{
|
|
7137
|
+
infinite: "infinite";
|
|
7138
|
+
time_based: "time_based";
|
|
7139
|
+
consumption: "consumption";
|
|
7140
|
+
}>;
|
|
7141
|
+
isActive: z.ZodBoolean;
|
|
7142
|
+
isPurchasable: z.ZodBoolean;
|
|
7143
|
+
isAdminOnly: z.ZodBoolean;
|
|
7144
|
+
}, z.core.$strip>>>;
|
|
4510
7145
|
createdAt: z.ZodString;
|
|
4511
7146
|
updatedAt: z.ZodString;
|
|
4512
7147
|
type: z.ZodLiteral<"consumption">;
|
|
@@ -4527,6 +7162,19 @@ declare class GetSubscriptionsFromPointOfSale extends AbstractApiRequest<typeof
|
|
|
4527
7162
|
autoRenewal: z.ZodBoolean;
|
|
4528
7163
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4529
7164
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
7165
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7166
|
+
id: z.ZodString;
|
|
7167
|
+
code: z.ZodString;
|
|
7168
|
+
name: z.ZodString;
|
|
7169
|
+
type: z.ZodEnum<{
|
|
7170
|
+
infinite: "infinite";
|
|
7171
|
+
time_based: "time_based";
|
|
7172
|
+
consumption: "consumption";
|
|
7173
|
+
}>;
|
|
7174
|
+
isActive: z.ZodBoolean;
|
|
7175
|
+
isPurchasable: z.ZodBoolean;
|
|
7176
|
+
isAdminOnly: z.ZodBoolean;
|
|
7177
|
+
}, z.core.$strip>>>;
|
|
4530
7178
|
createdAt: z.ZodString;
|
|
4531
7179
|
updatedAt: z.ZodString;
|
|
4532
7180
|
type: z.ZodLiteral<"time_based">;
|
|
@@ -4594,6 +7242,19 @@ declare class GetSubscriptionsFromPointOfSale extends AbstractApiRequest<typeof
|
|
|
4594
7242
|
autoRenewal: z.ZodBoolean;
|
|
4595
7243
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4596
7244
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
7245
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7246
|
+
id: z.ZodString;
|
|
7247
|
+
code: z.ZodString;
|
|
7248
|
+
name: z.ZodString;
|
|
7249
|
+
type: z.ZodEnum<{
|
|
7250
|
+
infinite: "infinite";
|
|
7251
|
+
time_based: "time_based";
|
|
7252
|
+
consumption: "consumption";
|
|
7253
|
+
}>;
|
|
7254
|
+
isActive: z.ZodBoolean;
|
|
7255
|
+
isPurchasable: z.ZodBoolean;
|
|
7256
|
+
isAdminOnly: z.ZodBoolean;
|
|
7257
|
+
}, z.core.$strip>>>;
|
|
4597
7258
|
createdAt: z.ZodString;
|
|
4598
7259
|
updatedAt: z.ZodString;
|
|
4599
7260
|
type: z.ZodLiteral<"infinite">;
|
|
@@ -4610,6 +7271,19 @@ declare class GetSubscriptionsFromPointOfSale extends AbstractApiRequest<typeof
|
|
|
4610
7271
|
autoRenewal: z.ZodBoolean;
|
|
4611
7272
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4612
7273
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
7274
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7275
|
+
id: z.ZodString;
|
|
7276
|
+
code: z.ZodString;
|
|
7277
|
+
name: z.ZodString;
|
|
7278
|
+
type: z.ZodEnum<{
|
|
7279
|
+
infinite: "infinite";
|
|
7280
|
+
time_based: "time_based";
|
|
7281
|
+
consumption: "consumption";
|
|
7282
|
+
}>;
|
|
7283
|
+
isActive: z.ZodBoolean;
|
|
7284
|
+
isPurchasable: z.ZodBoolean;
|
|
7285
|
+
isAdminOnly: z.ZodBoolean;
|
|
7286
|
+
}, z.core.$strip>>>;
|
|
4613
7287
|
createdAt: z.ZodString;
|
|
4614
7288
|
updatedAt: z.ZodString;
|
|
4615
7289
|
type: z.ZodLiteral<"consumption">;
|
|
@@ -4630,6 +7304,19 @@ declare class GetSubscriptionsFromPointOfSale extends AbstractApiRequest<typeof
|
|
|
4630
7304
|
autoRenewal: z.ZodBoolean;
|
|
4631
7305
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4632
7306
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
7307
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7308
|
+
id: z.ZodString;
|
|
7309
|
+
code: z.ZodString;
|
|
7310
|
+
name: z.ZodString;
|
|
7311
|
+
type: z.ZodEnum<{
|
|
7312
|
+
infinite: "infinite";
|
|
7313
|
+
time_based: "time_based";
|
|
7314
|
+
consumption: "consumption";
|
|
7315
|
+
}>;
|
|
7316
|
+
isActive: z.ZodBoolean;
|
|
7317
|
+
isPurchasable: z.ZodBoolean;
|
|
7318
|
+
isAdminOnly: z.ZodBoolean;
|
|
7319
|
+
}, z.core.$strip>>>;
|
|
4633
7320
|
createdAt: z.ZodString;
|
|
4634
7321
|
updatedAt: z.ZodString;
|
|
4635
7322
|
type: z.ZodLiteral<"time_based">;
|
|
@@ -4663,6 +7350,19 @@ declare const updateSubscriptionResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4663
7350
|
autoRenewal: z.ZodBoolean;
|
|
4664
7351
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4665
7352
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
7353
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7354
|
+
id: z.ZodString;
|
|
7355
|
+
code: z.ZodString;
|
|
7356
|
+
name: z.ZodString;
|
|
7357
|
+
type: z.ZodEnum<{
|
|
7358
|
+
infinite: "infinite";
|
|
7359
|
+
time_based: "time_based";
|
|
7360
|
+
consumption: "consumption";
|
|
7361
|
+
}>;
|
|
7362
|
+
isActive: z.ZodBoolean;
|
|
7363
|
+
isPurchasable: z.ZodBoolean;
|
|
7364
|
+
isAdminOnly: z.ZodBoolean;
|
|
7365
|
+
}, z.core.$strip>>>;
|
|
4666
7366
|
createdAt: z.ZodString;
|
|
4667
7367
|
updatedAt: z.ZodString;
|
|
4668
7368
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -4680,6 +7380,19 @@ declare const updateSubscriptionResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4680
7380
|
autoRenewal: z.ZodBoolean;
|
|
4681
7381
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4682
7382
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
7383
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7384
|
+
id: z.ZodString;
|
|
7385
|
+
code: z.ZodString;
|
|
7386
|
+
name: z.ZodString;
|
|
7387
|
+
type: z.ZodEnum<{
|
|
7388
|
+
infinite: "infinite";
|
|
7389
|
+
time_based: "time_based";
|
|
7390
|
+
consumption: "consumption";
|
|
7391
|
+
}>;
|
|
7392
|
+
isActive: z.ZodBoolean;
|
|
7393
|
+
isPurchasable: z.ZodBoolean;
|
|
7394
|
+
isAdminOnly: z.ZodBoolean;
|
|
7395
|
+
}, z.core.$strip>>>;
|
|
4683
7396
|
createdAt: z.ZodString;
|
|
4684
7397
|
updatedAt: z.ZodString;
|
|
4685
7398
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -4701,6 +7414,19 @@ declare const updateSubscriptionResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4701
7414
|
autoRenewal: z.ZodBoolean;
|
|
4702
7415
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4703
7416
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
7417
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7418
|
+
id: z.ZodString;
|
|
7419
|
+
code: z.ZodString;
|
|
7420
|
+
name: z.ZodString;
|
|
7421
|
+
type: z.ZodEnum<{
|
|
7422
|
+
infinite: "infinite";
|
|
7423
|
+
time_based: "time_based";
|
|
7424
|
+
consumption: "consumption";
|
|
7425
|
+
}>;
|
|
7426
|
+
isActive: z.ZodBoolean;
|
|
7427
|
+
isPurchasable: z.ZodBoolean;
|
|
7428
|
+
isAdminOnly: z.ZodBoolean;
|
|
7429
|
+
}, z.core.$strip>>>;
|
|
4704
7430
|
createdAt: z.ZodString;
|
|
4705
7431
|
updatedAt: z.ZodString;
|
|
4706
7432
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -4732,6 +7458,19 @@ declare class UpdateSubscription extends AbstractApiRequest<typeof updateSubscri
|
|
|
4732
7458
|
autoRenewal: z.ZodBoolean;
|
|
4733
7459
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4734
7460
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
7461
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7462
|
+
id: z.ZodString;
|
|
7463
|
+
code: z.ZodString;
|
|
7464
|
+
name: z.ZodString;
|
|
7465
|
+
type: z.ZodEnum<{
|
|
7466
|
+
infinite: "infinite";
|
|
7467
|
+
time_based: "time_based";
|
|
7468
|
+
consumption: "consumption";
|
|
7469
|
+
}>;
|
|
7470
|
+
isActive: z.ZodBoolean;
|
|
7471
|
+
isPurchasable: z.ZodBoolean;
|
|
7472
|
+
isAdminOnly: z.ZodBoolean;
|
|
7473
|
+
}, z.core.$strip>>>;
|
|
4735
7474
|
createdAt: z.ZodString;
|
|
4736
7475
|
updatedAt: z.ZodString;
|
|
4737
7476
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -4749,6 +7488,19 @@ declare class UpdateSubscription extends AbstractApiRequest<typeof updateSubscri
|
|
|
4749
7488
|
autoRenewal: z.ZodBoolean;
|
|
4750
7489
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4751
7490
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
7491
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7492
|
+
id: z.ZodString;
|
|
7493
|
+
code: z.ZodString;
|
|
7494
|
+
name: z.ZodString;
|
|
7495
|
+
type: z.ZodEnum<{
|
|
7496
|
+
infinite: "infinite";
|
|
7497
|
+
time_based: "time_based";
|
|
7498
|
+
consumption: "consumption";
|
|
7499
|
+
}>;
|
|
7500
|
+
isActive: z.ZodBoolean;
|
|
7501
|
+
isPurchasable: z.ZodBoolean;
|
|
7502
|
+
isAdminOnly: z.ZodBoolean;
|
|
7503
|
+
}, z.core.$strip>>>;
|
|
4752
7504
|
createdAt: z.ZodString;
|
|
4753
7505
|
updatedAt: z.ZodString;
|
|
4754
7506
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -4770,6 +7522,19 @@ declare class UpdateSubscription extends AbstractApiRequest<typeof updateSubscri
|
|
|
4770
7522
|
autoRenewal: z.ZodBoolean;
|
|
4771
7523
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4772
7524
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
7525
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7526
|
+
id: z.ZodString;
|
|
7527
|
+
code: z.ZodString;
|
|
7528
|
+
name: z.ZodString;
|
|
7529
|
+
type: z.ZodEnum<{
|
|
7530
|
+
infinite: "infinite";
|
|
7531
|
+
time_based: "time_based";
|
|
7532
|
+
consumption: "consumption";
|
|
7533
|
+
}>;
|
|
7534
|
+
isActive: z.ZodBoolean;
|
|
7535
|
+
isPurchasable: z.ZodBoolean;
|
|
7536
|
+
isAdminOnly: z.ZodBoolean;
|
|
7537
|
+
}, z.core.$strip>>>;
|
|
4773
7538
|
createdAt: z.ZodString;
|
|
4774
7539
|
updatedAt: z.ZodString;
|
|
4775
7540
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -4786,4 +7551,4 @@ declare class UpdateSubscription extends AbstractApiRequest<typeof updateSubscri
|
|
|
4786
7551
|
getPath(): string;
|
|
4787
7552
|
}
|
|
4788
7553
|
|
|
4789
|
-
export { AdjustSubscriptionConsumptionCredits, type AdjustSubscriptionConsumptionCreditsInput, type AdjustSubscriptionConsumptionCreditsResponse, type AdjustableCreditTransactionType, CreateSubscriptionConsumption, type CreateSubscriptionConsumptionInput, CreateSubscriptionConsumptionRenewal, type CreateSubscriptionConsumptionRenewalInput, type CreateSubscriptionConsumptionRenewalResponse, type CreateSubscriptionConsumptionResponse, CreateSubscriptionInfinite, type CreateSubscriptionInfiniteInput, type CreateSubscriptionInfiniteResponse, CreateSubscriptionPrice, type CreateSubscriptionPriceInput, type CreateSubscriptionPriceResponse, CreateSubscriptionTimeBased, type CreateSubscriptionTimeBasedInput, CreateSubscriptionTimeBasedRenewal, type CreateSubscriptionTimeBasedRenewalInput, type CreateSubscriptionTimeBasedRenewalResponse, type CreateSubscriptionTimeBasedResponse, type CreditUsageLog, type CreditUsageLogDetails, type CreditUsageLogIri, type CreditUsageLogNullableIri, type CreditUsageLogsQueryParams, DeleteCreditUsageLog, DeleteSubscription, DeleteSubscriptionConsumption, DeleteSubscriptionConsumptionRenewal, DeleteSubscriptionInfinite, DeleteSubscriptionPrice, DeleteSubscriptionTimeBased, DeleteSubscriptionTimeBasedRenewal, GetCreditUsageLogDetails, type GetCreditUsageLogDetailsInput, type GetCreditUsageLogDetailsResponse, GetCreditUsageLogs, GetCreditUsageLogsFromPointOfSale, type GetCreditUsageLogsFromPointOfSaleInput, type GetCreditUsageLogsFromPointOfSaleQueryParams, type GetCreditUsageLogsFromPointOfSaleResponse, type GetCreditUsageLogsInput, type GetCreditUsageLogsQueryParams, type GetCreditUsageLogsResponse, GetSubscriptionConsumptionDetails, type GetSubscriptionConsumptionDetailsInput, type GetSubscriptionConsumptionDetailsResponse, GetSubscriptionConsumptionList, type GetSubscriptionConsumptionListInput, type GetSubscriptionConsumptionListQueryParams, type GetSubscriptionConsumptionListResponse, GetSubscriptionConsumptionRenewalDetails, type GetSubscriptionConsumptionRenewalDetailsInput, type GetSubscriptionConsumptionRenewalDetailsResponse, GetSubscriptionConsumptionRenewals, GetSubscriptionConsumptionRenewalsFromSubscriptionConsumption, type GetSubscriptionConsumptionRenewalsFromSubscriptionConsumptionInput, type GetSubscriptionConsumptionRenewalsFromSubscriptionConsumptionQueryParams, type GetSubscriptionConsumptionRenewalsFromSubscriptionConsumptionResponse, type GetSubscriptionConsumptionRenewalsInput, type GetSubscriptionConsumptionRenewalsQueryParams, type GetSubscriptionConsumptionRenewalsResponse, GetSubscriptionDetails, type GetSubscriptionDetailsInput, type GetSubscriptionDetailsResponse, GetSubscriptionInfiniteDetails, type GetSubscriptionInfiniteDetailsInput, type GetSubscriptionInfiniteDetailsResponse, GetSubscriptionInfiniteList, type GetSubscriptionInfiniteListInput, type GetSubscriptionInfiniteListQueryParams, type GetSubscriptionInfiniteListResponse, GetSubscriptionOverviewFromPointOfSale, type GetSubscriptionOverviewFromPointOfSaleInput, type GetSubscriptionOverviewFromPointOfSaleResponse, GetSubscriptionPriceDetails, type GetSubscriptionPriceDetailsInput, type GetSubscriptionPriceDetailsResponse, GetSubscriptionPrices, type GetSubscriptionPricesInput, type GetSubscriptionPricesQueryParams, type GetSubscriptionPricesResponse, GetSubscriptionTimeBasedDetails, type GetSubscriptionTimeBasedDetailsInput, type GetSubscriptionTimeBasedDetailsResponse, GetSubscriptionTimeBasedList, type GetSubscriptionTimeBasedListInput, type GetSubscriptionTimeBasedListQueryParams, type GetSubscriptionTimeBasedListResponse, GetSubscriptionTimeBasedRenewalDetails, type GetSubscriptionTimeBasedRenewalDetailsInput, type GetSubscriptionTimeBasedRenewalDetailsResponse, GetSubscriptionTimeBasedRenewals, GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased, type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInput, type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedQueryParams, type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedResponse, type GetSubscriptionTimeBasedRenewalsInput, type GetSubscriptionTimeBasedRenewalsQueryParams, type GetSubscriptionTimeBasedRenewalsResponse, GetSubscriptions, GetSubscriptionsFromPointOfSale, type GetSubscriptionsFromPointOfSaleInput, type GetSubscriptionsFromPointOfSaleQueryParams, type GetSubscriptionsFromPointOfSaleResponse, type GetSubscriptionsInput, type GetSubscriptionsQueryParams, type GetSubscriptionsResponse, PaySubscriptionConsumptionRenewal, type PaySubscriptionConsumptionRenewalInput, type PaySubscriptionConsumptionRenewalResponse, type PaySubscriptionRenewalInput, PaySubscriptionTimeBasedRenewal, type PaySubscriptionTimeBasedRenewalInput, type PaySubscriptionTimeBasedRenewalResponse, type PaymentIri, type PaymentNullableIri, type ResolvableRenewalPaymentStatus, ResolveSubscriptionConsumptionRenewalPayment, type ResolveSubscriptionConsumptionRenewalPaymentInput, type ResolveSubscriptionConsumptionRenewalPaymentResponse, type ResolveSubscriptionRenewalPaymentInput, ResolveSubscriptionTimeBasedRenewalPayment, type ResolveSubscriptionTimeBasedRenewalPaymentInput, type ResolveSubscriptionTimeBasedRenewalPaymentResponse, type Subscription, type SubscriptionAvailabilityReason, type SubscriptionConsumption, type SubscriptionConsumptionDetails, type SubscriptionConsumptionIri, type SubscriptionConsumptionNullableIri, type SubscriptionConsumptionQueryParams, type SubscriptionConsumptionRenewal, type SubscriptionConsumptionRenewalDetails, type SubscriptionConsumptionRenewalIri, type SubscriptionConsumptionRenewalNullableIri, type SubscriptionConsumptionRenewalsQueryParams, type SubscriptionDetails, type SubscriptionInfinite, type SubscriptionInfiniteDetails, type SubscriptionInfiniteIri, type SubscriptionInfiniteNullableIri, type SubscriptionIri, type SubscriptionNullableIri, type SubscriptionOperationQuote, type SubscriptionOverviewResponse, type SubscriptionOverviewSubscription, type SubscriptionPrice, type SubscriptionPriceIri, type SubscriptionPriceNullableIri, type SubscriptionPricesQueryParams, type SubscriptionQueryParams, type SubscriptionRenewalPaymentInfo, type SubscriptionTimeBased, type SubscriptionTimeBasedDetails, type SubscriptionTimeBasedIri, type SubscriptionTimeBasedNullableIri, type SubscriptionTimeBasedQueryParams, type SubscriptionTimeBasedRenewal, type SubscriptionTimeBasedRenewalDetails, type SubscriptionTimeBasedRenewalIri, type SubscriptionTimeBasedRenewalNullableIri, type SubscriptionTimeBasedRenewalsQueryParams, UpdateSubscription, UpdateSubscriptionConsumption, type UpdateSubscriptionConsumptionInput, type UpdateSubscriptionConsumptionResponse, type UpdateSubscriptionInput, UpdateSubscriptionPrice, type UpdateSubscriptionPriceInput, type UpdateSubscriptionPriceResponse, type UpdateSubscriptionResponse, UpdateSubscriptionTimeBased, type UpdateSubscriptionTimeBasedInput, type UpdateSubscriptionTimeBasedResponse, type WritableSubscriptionCommon, type WritableSubscriptionConsumption, type WritableSubscriptionConsumptionRenewal, type WritableSubscriptionInfinite, type WritableSubscriptionPrice, type WritableSubscriptionTimeBased, type WritableSubscriptionTimeBasedRenewal, adjustSubscriptionConsumptionCreditsInputSchema, adjustSubscriptionConsumptionCreditsResponseSchema, adjustableCreditTransactionTypeSchema, adjustableCreditTransactionTypes, createSubscriptionConsumptionInputSchema, createSubscriptionConsumptionRenewalInputSchema, createSubscriptionConsumptionRenewalResponseSchema, createSubscriptionConsumptionResponseSchema, createSubscriptionInfiniteInputSchema, createSubscriptionInfiniteResponseSchema, createSubscriptionPriceInputSchema, createSubscriptionPriceResponseSchema, createSubscriptionTimeBasedInputSchema, createSubscriptionTimeBasedRenewalInputSchema, createSubscriptionTimeBasedRenewalResponseSchema, createSubscriptionTimeBasedResponseSchema, creditUsageLogDetailsSchema, creditUsageLogIriSchema, creditUsageLogNullableIriSchema, creditUsageLogSchema, creditUsageLogsQuerySchema, deleteCreditUsageLogInputSchema, deleteCreditUsageLogResponseSchema, deleteSubscriptionConsumptionInputSchema, deleteSubscriptionConsumptionRenewalInputSchema, deleteSubscriptionConsumptionRenewalResponseSchema, deleteSubscriptionConsumptionResponseSchema, deleteSubscriptionInfiniteInputSchema, deleteSubscriptionInfiniteResponseSchema, deleteSubscriptionInputSchema, deleteSubscriptionPriceInputSchema, deleteSubscriptionPriceResponseSchema, deleteSubscriptionResponseSchema, deleteSubscriptionTimeBasedInputSchema, deleteSubscriptionTimeBasedRenewalInputSchema, deleteSubscriptionTimeBasedRenewalResponseSchema, deleteSubscriptionTimeBasedResponseSchema, getCreditUsageLogDetailsInputSchema, getCreditUsageLogDetailsResponseSchema, getCreditUsageLogsFromPointOfSaleInputSchema, getCreditUsageLogsFromPointOfSaleResponseSchema, getCreditUsageLogsInputSchema, getCreditUsageLogsResponseSchema, getSubscriptionConsumptionDetailsInputSchema, getSubscriptionConsumptionDetailsResponseSchema, getSubscriptionConsumptionListInputSchema, getSubscriptionConsumptionListResponseSchema, getSubscriptionConsumptionRenewalDetailsInputSchema, getSubscriptionConsumptionRenewalDetailsResponseSchema, getSubscriptionConsumptionRenewalsFromSubscriptionConsumptionInputSchema, getSubscriptionConsumptionRenewalsInputSchema, getSubscriptionConsumptionRenewalsResponseSchema, getSubscriptionDetailsInputSchema, getSubscriptionDetailsResponseSchema, getSubscriptionInfiniteDetailsInputSchema, getSubscriptionInfiniteDetailsResponseSchema, getSubscriptionInfiniteListInputSchema, getSubscriptionInfiniteListResponseSchema, getSubscriptionOverviewFromPointOfSaleInputSchema, getSubscriptionOverviewFromPointOfSaleResponseSchema, getSubscriptionPriceDetailsInputSchema, getSubscriptionPriceDetailsResponseSchema, getSubscriptionPricesInputSchema, getSubscriptionPricesResponseSchema, getSubscriptionTimeBasedDetailsInputSchema, getSubscriptionTimeBasedDetailsResponseSchema, getSubscriptionTimeBasedListInputSchema, getSubscriptionTimeBasedListResponseSchema, getSubscriptionTimeBasedRenewalDetailsInputSchema, getSubscriptionTimeBasedRenewalDetailsResponseSchema, getSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInputSchema, getSubscriptionTimeBasedRenewalsInputSchema, getSubscriptionTimeBasedRenewalsResponseSchema, getSubscriptionsFromPointOfSaleInputSchema, getSubscriptionsFromPointOfSaleResponseSchema, getSubscriptionsInputSchema, getSubscriptionsResponseSchema, paySubscriptionConsumptionRenewalInputSchema, paySubscriptionConsumptionRenewalResponseSchema, paySubscriptionRenewalInputSchema, paySubscriptionTimeBasedRenewalInputSchema, paySubscriptionTimeBasedRenewalResponseSchema, paymentIriSchema, paymentNullableIriSchema, resolvableRenewalPaymentStatusSchema, resolvableRenewalPaymentStatuses, resolveSubscriptionConsumptionRenewalPaymentInputSchema, resolveSubscriptionConsumptionRenewalPaymentResponseSchema, resolveSubscriptionRenewalPaymentInputSchema, resolveSubscriptionTimeBasedRenewalPaymentInputSchema, resolveSubscriptionTimeBasedRenewalPaymentResponseSchema, subscriptionAvailabilityReasonSchema, subscriptionAvailabilityReasons, subscriptionConsumptionDetailsSchema, subscriptionConsumptionIriSchema, subscriptionConsumptionNullableIriSchema, subscriptionConsumptionQuerySchema, subscriptionConsumptionRenewalDetailsSchema, subscriptionConsumptionRenewalIriSchema, subscriptionConsumptionRenewalNullableIriSchema, subscriptionConsumptionRenewalSchema, subscriptionConsumptionRenewalsQuerySchema, subscriptionConsumptionSchema, subscriptionDetailsSchema, subscriptionInfiniteDetailsSchema, subscriptionInfiniteIriSchema, subscriptionInfiniteNullableIriSchema, subscriptionInfiniteSchema, subscriptionIriSchema, subscriptionNullableIriSchema, subscriptionOperationQuoteSchema, subscriptionOverviewResponseSchema, subscriptionOverviewSubscriptionSchema, subscriptionPriceIriSchema, subscriptionPriceNullableIriSchema, subscriptionPriceSchema, subscriptionPricesQuerySchema, subscriptionQuerySchema, subscriptionRenewalPaymentInfoSchema, subscriptionSchema, subscriptionTimeBasedDetailsSchema, subscriptionTimeBasedIriSchema, subscriptionTimeBasedNullableIriSchema, subscriptionTimeBasedQuerySchema, subscriptionTimeBasedRenewalDetailsSchema, subscriptionTimeBasedRenewalIriSchema, subscriptionTimeBasedRenewalNullableIriSchema, subscriptionTimeBasedRenewalSchema, subscriptionTimeBasedRenewalsQuerySchema, subscriptionTimeBasedSchema, updateSubscriptionConsumptionInputSchema, updateSubscriptionConsumptionResponseSchema, updateSubscriptionInputSchema, updateSubscriptionPriceInputSchema, updateSubscriptionPriceResponseSchema, updateSubscriptionResponseSchema, updateSubscriptionTimeBasedInputSchema, updateSubscriptionTimeBasedResponseSchema, writableSubscriptionCommonSchema, writableSubscriptionConsumptionRenewalSchema, writableSubscriptionConsumptionSchema, writableSubscriptionInfiniteSchema, writableSubscriptionPriceSchema, writableSubscriptionTimeBasedRenewalSchema, writableSubscriptionTimeBasedSchema };
|
|
7554
|
+
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, CreateSubscriptionPurchase, type CreateSubscriptionPurchaseInput, type CreateSubscriptionPurchaseResponse, 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, GetSubscriptionPurchaseDetails, type GetSubscriptionPurchaseDetailsInput, type GetSubscriptionPurchaseDetailsResponse, GetSubscriptionPurchases, GetSubscriptionPurchasesFromPointOfSale, type GetSubscriptionPurchasesFromPointOfSaleInput, type GetSubscriptionPurchasesFromPointOfSaleQueryParams, type GetSubscriptionPurchasesFromPointOfSaleResponse, type GetSubscriptionPurchasesInput, type GetSubscriptionPurchasesQueryParams, type GetSubscriptionPurchasesResponse, 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, PaySubscriptionPurchase, type PaySubscriptionPurchaseInput, type PaySubscriptionPurchaseResponse, type PaySubscriptionRenewalInput, PaySubscriptionTimeBasedRenewal, type PaySubscriptionTimeBasedRenewalInput, type PaySubscriptionTimeBasedRenewalResponse, type PaymentIri, type PaymentNullableIri, type ResolvableRenewalPaymentStatus, ResolveSubscriptionConsumptionRenewalPayment, type ResolveSubscriptionConsumptionRenewalPaymentInput, type ResolveSubscriptionConsumptionRenewalPaymentResponse, ResolveSubscriptionPurchasePayment, type ResolveSubscriptionPurchasePaymentInput, type ResolveSubscriptionPurchasePaymentResponse, 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 SubscriptionPurchase, type SubscriptionPurchaseDetails, type SubscriptionPurchaseIri, type SubscriptionPurchaseNullableIri, type SubscriptionPurchaseStatus, type SubscriptionPurchasesQueryParams, 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 WritableSubscriptionPurchase, type WritableSubscriptionTimeBased, type WritableSubscriptionTimeBasedRenewal, adjustSubscriptionConsumptionCreditsInputSchema, adjustSubscriptionConsumptionCreditsResponseSchema, adjustableCreditTransactionTypeSchema, adjustableCreditTransactionTypes, createSubscriptionConsumptionInputSchema, createSubscriptionConsumptionRenewalInputSchema, createSubscriptionConsumptionRenewalResponseSchema, createSubscriptionConsumptionResponseSchema, createSubscriptionInfiniteInputSchema, createSubscriptionInfiniteResponseSchema, createSubscriptionPlanInputSchema, createSubscriptionPlanResponseSchema, createSubscriptionPriceInputSchema, createSubscriptionPriceResponseSchema, createSubscriptionPurchaseInputSchema, createSubscriptionPurchaseResponseSchema, 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, getSubscriptionPurchaseDetailsInputSchema, getSubscriptionPurchaseDetailsResponseSchema, getSubscriptionPurchasesFromPointOfSaleInputSchema, getSubscriptionPurchasesInputSchema, getSubscriptionPurchasesResponseSchema, getSubscriptionTimeBasedDetailsInputSchema, getSubscriptionTimeBasedDetailsResponseSchema, getSubscriptionTimeBasedListInputSchema, getSubscriptionTimeBasedListResponseSchema, getSubscriptionTimeBasedRenewalDetailsInputSchema, getSubscriptionTimeBasedRenewalDetailsResponseSchema, getSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInputSchema, getSubscriptionTimeBasedRenewalsInputSchema, getSubscriptionTimeBasedRenewalsResponseSchema, getSubscriptionsFromPointOfSaleInputSchema, getSubscriptionsFromPointOfSaleResponseSchema, getSubscriptionsInputSchema, getSubscriptionsResponseSchema, paySubscriptionConsumptionRenewalInputSchema, paySubscriptionConsumptionRenewalResponseSchema, paySubscriptionPurchaseInputSchema, paySubscriptionPurchaseResponseSchema, paySubscriptionRenewalInputSchema, paySubscriptionTimeBasedRenewalInputSchema, paySubscriptionTimeBasedRenewalResponseSchema, paymentIriSchema, paymentNullableIriSchema, resolvableRenewalPaymentStatusSchema, resolvableRenewalPaymentStatuses, resolveSubscriptionConsumptionRenewalPaymentInputSchema, resolveSubscriptionConsumptionRenewalPaymentResponseSchema, resolveSubscriptionPurchasePaymentInputSchema, resolveSubscriptionPurchasePaymentResponseSchema, 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, subscriptionPurchaseDetailsSchema, subscriptionPurchaseIriSchema, subscriptionPurchaseNullableIriSchema, subscriptionPurchaseSchema, subscriptionPurchaseStatusSchema, subscriptionPurchaseStatuses, subscriptionPurchasesQuerySchema, 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, writableSubscriptionPurchaseSchema, writableSubscriptionTimeBasedRenewalSchema, writableSubscriptionTimeBasedSchema };
|