@kl1/contracts 1.1.51 → 1.1.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +811 -0
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +8 -0
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +5 -0
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +230 -0
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +60 -24
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +79 -0
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/contract.d.ts +2230 -0
  14. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  15. package/dist/api-contracts/src/cx-log/index.d.ts +11 -0
  16. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  17. package/dist/api-contracts/src/cx-log/schema.d.ts +9 -0
  18. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  19. package/dist/api-contracts/src/facebook-feed/index.d.ts +106 -0
  20. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/facebook-feed/schema.d.ts +7 -0
  22. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  23. package/dist/api-contracts/src/facebook-feed/validation.d.ts +5 -0
  24. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  25. package/dist/api-contracts/src/instagram/index.d.ts +83 -0
  26. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  27. package/dist/api-contracts/src/line/index.d.ts +75 -0
  28. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/line/validation.d.ts +9 -0
  30. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  31. package/dist/api-contracts/src/messenger/index.d.ts +186 -0
  32. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  33. package/dist/api-contracts/src/messenger/schema.d.ts +230 -1
  34. package/dist/api-contracts/src/messenger/schema.d.ts.map +1 -1
  35. package/dist/api-contracts/src/messenger/validation.d.ts +42 -0
  36. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  37. package/dist/api-contracts/src/sms/index.d.ts +16 -0
  38. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  39. package/dist/api-contracts/src/telegram/index.d.ts +61 -0
  40. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  41. package/dist/api-contracts/src/viber/index.d.ts +61 -0
  42. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  43. package/dist/api-contracts/src/webchat/index.d.ts +40 -0
  44. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  45. package/dist/api-contracts/src/workflow-rule/index.d.ts +18 -0
  46. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  47. package/dist/index.js +2224 -2154
  48. package/dist/index.js.map +1 -1
  49. package/dist/index.mjs +2224 -2154
  50. package/dist/index.mjs.map +1 -1
  51. package/package.json +1 -1
  52. package/dist/api-contracts/src/hold-label/index.d.ts +0 -315
  53. package/dist/api-contracts/src/hold-label/index.d.ts.map +0 -1
  54. package/dist/api-contracts/src/hold-label/schema.d.ts +0 -24
  55. package/dist/api-contracts/src/hold-label/schema.d.ts.map +0 -1
  56. package/dist/api-contracts/src/hold-label/validation.d.ts +0 -24
  57. package/dist/api-contracts/src/hold-label/validation.d.ts.map +0 -1
  58. package/dist/api-contracts/src/presence-status/index.d.ts +0 -556
  59. package/dist/api-contracts/src/presence-status/index.d.ts.map +0 -1
  60. package/dist/api-contracts/src/presence-status/schema.d.ts +0 -31
  61. package/dist/api-contracts/src/presence-status/schema.d.ts.map +0 -1
  62. package/dist/api-contracts/src/presence-status/validation.d.ts +0 -28
  63. package/dist/api-contracts/src/presence-status/validation.d.ts.map +0 -1
  64. package/dist/api-contracts/src/subscription/index.d.ts +0 -1900
  65. package/dist/api-contracts/src/subscription/index.d.ts.map +0 -1
  66. package/dist/api-contracts/src/subscription/schema.d.ts +0 -2059
  67. package/dist/api-contracts/src/subscription/schema.d.ts.map +0 -1
  68. package/dist/api-contracts/src/subscription/validation.d.ts +0 -37
  69. package/dist/api-contracts/src/subscription/validation.d.ts.map +0 -1
@@ -1,2059 +0,0 @@
1
- import z from 'zod';
2
- export declare const ProductPriceSchema: z.ZodObject<{
3
- id: z.ZodString;
4
- createdAt: z.ZodDate;
5
- updatedAt: z.ZodDate;
6
- deletedAt: z.ZodNullable<z.ZodDate>;
7
- priceId: z.ZodString;
8
- name: z.ZodNullable<z.ZodString>;
9
- perUnit: z.ZodNumber;
10
- price: z.ZodNumber;
11
- currency: z.ZodNullable<z.ZodString>;
12
- }, "strip", z.ZodTypeAny, {
13
- id: string;
14
- name: string | null;
15
- currency: string | null;
16
- createdAt: Date;
17
- updatedAt: Date;
18
- deletedAt: Date | null;
19
- priceId: string;
20
- perUnit: number;
21
- price: number;
22
- }, {
23
- id: string;
24
- name: string | null;
25
- currency: string | null;
26
- createdAt: Date;
27
- updatedAt: Date;
28
- deletedAt: Date | null;
29
- priceId: string;
30
- perUnit: number;
31
- price: number;
32
- }>;
33
- export declare const ProductWithoutRelatedSchema: z.ZodObject<{
34
- id: z.ZodString;
35
- createdAt: z.ZodDate;
36
- updatedAt: z.ZodDate;
37
- deletedAt: z.ZodNullable<z.ZodDate>;
38
- provider: z.ZodString;
39
- productId: z.ZodString;
40
- name: z.ZodString;
41
- type: z.ZodString;
42
- omnichannel: z.ZodString;
43
- usageType: z.ZodNullable<z.ZodString>;
44
- productPrice: z.ZodObject<{
45
- id: z.ZodString;
46
- createdAt: z.ZodDate;
47
- updatedAt: z.ZodDate;
48
- deletedAt: z.ZodNullable<z.ZodDate>;
49
- priceId: z.ZodString;
50
- name: z.ZodNullable<z.ZodString>;
51
- perUnit: z.ZodNumber;
52
- price: z.ZodNumber;
53
- currency: z.ZodNullable<z.ZodString>;
54
- }, "strip", z.ZodTypeAny, {
55
- id: string;
56
- name: string | null;
57
- currency: string | null;
58
- createdAt: Date;
59
- updatedAt: Date;
60
- deletedAt: Date | null;
61
- priceId: string;
62
- perUnit: number;
63
- price: number;
64
- }, {
65
- id: string;
66
- name: string | null;
67
- currency: string | null;
68
- createdAt: Date;
69
- updatedAt: Date;
70
- deletedAt: Date | null;
71
- priceId: string;
72
- perUnit: number;
73
- price: number;
74
- }>;
75
- }, "strip", z.ZodTypeAny, {
76
- type: string;
77
- id: string;
78
- name: string;
79
- createdAt: Date;
80
- updatedAt: Date;
81
- deletedAt: Date | null;
82
- provider: string;
83
- productId: string;
84
- omnichannel: string;
85
- usageType: string | null;
86
- productPrice: {
87
- id: string;
88
- name: string | null;
89
- currency: string | null;
90
- createdAt: Date;
91
- updatedAt: Date;
92
- deletedAt: Date | null;
93
- priceId: string;
94
- perUnit: number;
95
- price: number;
96
- };
97
- }, {
98
- type: string;
99
- id: string;
100
- name: string;
101
- createdAt: Date;
102
- updatedAt: Date;
103
- deletedAt: Date | null;
104
- provider: string;
105
- productId: string;
106
- omnichannel: string;
107
- usageType: string | null;
108
- productPrice: {
109
- id: string;
110
- name: string | null;
111
- currency: string | null;
112
- createdAt: Date;
113
- updatedAt: Date;
114
- deletedAt: Date | null;
115
- priceId: string;
116
- perUnit: number;
117
- price: number;
118
- };
119
- }>;
120
- export declare const RelatedProductSchema: z.ZodObject<{
121
- id: z.ZodString;
122
- createdAt: z.ZodDate;
123
- updatedAt: z.ZodDate;
124
- deletedAt: z.ZodNullable<z.ZodDate>;
125
- includedQuantity: z.ZodNumber;
126
- product: z.ZodObject<{
127
- id: z.ZodString;
128
- createdAt: z.ZodDate;
129
- updatedAt: z.ZodDate;
130
- deletedAt: z.ZodNullable<z.ZodDate>;
131
- provider: z.ZodString;
132
- productId: z.ZodString;
133
- name: z.ZodString;
134
- type: z.ZodString;
135
- omnichannel: z.ZodString;
136
- usageType: z.ZodNullable<z.ZodString>;
137
- productPrice: z.ZodObject<{
138
- id: z.ZodString;
139
- createdAt: z.ZodDate;
140
- updatedAt: z.ZodDate;
141
- deletedAt: z.ZodNullable<z.ZodDate>;
142
- priceId: z.ZodString;
143
- name: z.ZodNullable<z.ZodString>;
144
- perUnit: z.ZodNumber;
145
- price: z.ZodNumber;
146
- currency: z.ZodNullable<z.ZodString>;
147
- }, "strip", z.ZodTypeAny, {
148
- id: string;
149
- name: string | null;
150
- currency: string | null;
151
- createdAt: Date;
152
- updatedAt: Date;
153
- deletedAt: Date | null;
154
- priceId: string;
155
- perUnit: number;
156
- price: number;
157
- }, {
158
- id: string;
159
- name: string | null;
160
- currency: string | null;
161
- createdAt: Date;
162
- updatedAt: Date;
163
- deletedAt: Date | null;
164
- priceId: string;
165
- perUnit: number;
166
- price: number;
167
- }>;
168
- }, "strip", z.ZodTypeAny, {
169
- type: string;
170
- id: string;
171
- name: string;
172
- createdAt: Date;
173
- updatedAt: Date;
174
- deletedAt: Date | null;
175
- provider: string;
176
- productId: string;
177
- omnichannel: string;
178
- usageType: string | null;
179
- productPrice: {
180
- id: string;
181
- name: string | null;
182
- currency: string | null;
183
- createdAt: Date;
184
- updatedAt: Date;
185
- deletedAt: Date | null;
186
- priceId: string;
187
- perUnit: number;
188
- price: number;
189
- };
190
- }, {
191
- type: string;
192
- id: string;
193
- name: string;
194
- createdAt: Date;
195
- updatedAt: Date;
196
- deletedAt: Date | null;
197
- provider: string;
198
- productId: string;
199
- omnichannel: string;
200
- usageType: string | null;
201
- productPrice: {
202
- id: string;
203
- name: string | null;
204
- currency: string | null;
205
- createdAt: Date;
206
- updatedAt: Date;
207
- deletedAt: Date | null;
208
- priceId: string;
209
- perUnit: number;
210
- price: number;
211
- };
212
- }>;
213
- }, "strip", z.ZodTypeAny, {
214
- id: string;
215
- product: {
216
- type: string;
217
- id: string;
218
- name: string;
219
- createdAt: Date;
220
- updatedAt: Date;
221
- deletedAt: Date | null;
222
- provider: string;
223
- productId: string;
224
- omnichannel: string;
225
- usageType: string | null;
226
- productPrice: {
227
- id: string;
228
- name: string | null;
229
- currency: string | null;
230
- createdAt: Date;
231
- updatedAt: Date;
232
- deletedAt: Date | null;
233
- priceId: string;
234
- perUnit: number;
235
- price: number;
236
- };
237
- };
238
- createdAt: Date;
239
- updatedAt: Date;
240
- deletedAt: Date | null;
241
- includedQuantity: number;
242
- }, {
243
- id: string;
244
- product: {
245
- type: string;
246
- id: string;
247
- name: string;
248
- createdAt: Date;
249
- updatedAt: Date;
250
- deletedAt: Date | null;
251
- provider: string;
252
- productId: string;
253
- omnichannel: string;
254
- usageType: string | null;
255
- productPrice: {
256
- id: string;
257
- name: string | null;
258
- currency: string | null;
259
- createdAt: Date;
260
- updatedAt: Date;
261
- deletedAt: Date | null;
262
- priceId: string;
263
- perUnit: number;
264
- price: number;
265
- };
266
- };
267
- createdAt: Date;
268
- updatedAt: Date;
269
- deletedAt: Date | null;
270
- includedQuantity: number;
271
- }>;
272
- export declare const ProductSchema: z.ZodObject<{
273
- id: z.ZodString;
274
- createdAt: z.ZodDate;
275
- updatedAt: z.ZodDate;
276
- deletedAt: z.ZodNullable<z.ZodDate>;
277
- provider: z.ZodString;
278
- productId: z.ZodString;
279
- name: z.ZodString;
280
- type: z.ZodString;
281
- omnichannel: z.ZodString;
282
- usageType: z.ZodNullable<z.ZodString>;
283
- productPrice: z.ZodObject<{
284
- id: z.ZodString;
285
- createdAt: z.ZodDate;
286
- updatedAt: z.ZodDate;
287
- deletedAt: z.ZodNullable<z.ZodDate>;
288
- priceId: z.ZodString;
289
- name: z.ZodNullable<z.ZodString>;
290
- perUnit: z.ZodNumber;
291
- price: z.ZodNumber;
292
- currency: z.ZodNullable<z.ZodString>;
293
- }, "strip", z.ZodTypeAny, {
294
- id: string;
295
- name: string | null;
296
- currency: string | null;
297
- createdAt: Date;
298
- updatedAt: Date;
299
- deletedAt: Date | null;
300
- priceId: string;
301
- perUnit: number;
302
- price: number;
303
- }, {
304
- id: string;
305
- name: string | null;
306
- currency: string | null;
307
- createdAt: Date;
308
- updatedAt: Date;
309
- deletedAt: Date | null;
310
- priceId: string;
311
- perUnit: number;
312
- price: number;
313
- }>;
314
- relatedProducts: z.ZodArray<z.ZodObject<{
315
- id: z.ZodString;
316
- createdAt: z.ZodDate;
317
- updatedAt: z.ZodDate;
318
- deletedAt: z.ZodNullable<z.ZodDate>;
319
- includedQuantity: z.ZodNumber;
320
- product: z.ZodObject<{
321
- id: z.ZodString;
322
- createdAt: z.ZodDate;
323
- updatedAt: z.ZodDate;
324
- deletedAt: z.ZodNullable<z.ZodDate>;
325
- provider: z.ZodString;
326
- productId: z.ZodString;
327
- name: z.ZodString;
328
- type: z.ZodString;
329
- omnichannel: z.ZodString;
330
- usageType: z.ZodNullable<z.ZodString>;
331
- productPrice: z.ZodObject<{
332
- id: z.ZodString;
333
- createdAt: z.ZodDate;
334
- updatedAt: z.ZodDate;
335
- deletedAt: z.ZodNullable<z.ZodDate>;
336
- priceId: z.ZodString;
337
- name: z.ZodNullable<z.ZodString>;
338
- perUnit: z.ZodNumber;
339
- price: z.ZodNumber;
340
- currency: z.ZodNullable<z.ZodString>;
341
- }, "strip", z.ZodTypeAny, {
342
- id: string;
343
- name: string | null;
344
- currency: string | null;
345
- createdAt: Date;
346
- updatedAt: Date;
347
- deletedAt: Date | null;
348
- priceId: string;
349
- perUnit: number;
350
- price: number;
351
- }, {
352
- id: string;
353
- name: string | null;
354
- currency: string | null;
355
- createdAt: Date;
356
- updatedAt: Date;
357
- deletedAt: Date | null;
358
- priceId: string;
359
- perUnit: number;
360
- price: number;
361
- }>;
362
- }, "strip", z.ZodTypeAny, {
363
- type: string;
364
- id: string;
365
- name: string;
366
- createdAt: Date;
367
- updatedAt: Date;
368
- deletedAt: Date | null;
369
- provider: string;
370
- productId: string;
371
- omnichannel: string;
372
- usageType: string | null;
373
- productPrice: {
374
- id: string;
375
- name: string | null;
376
- currency: string | null;
377
- createdAt: Date;
378
- updatedAt: Date;
379
- deletedAt: Date | null;
380
- priceId: string;
381
- perUnit: number;
382
- price: number;
383
- };
384
- }, {
385
- type: string;
386
- id: string;
387
- name: string;
388
- createdAt: Date;
389
- updatedAt: Date;
390
- deletedAt: Date | null;
391
- provider: string;
392
- productId: string;
393
- omnichannel: string;
394
- usageType: string | null;
395
- productPrice: {
396
- id: string;
397
- name: string | null;
398
- currency: string | null;
399
- createdAt: Date;
400
- updatedAt: Date;
401
- deletedAt: Date | null;
402
- priceId: string;
403
- perUnit: number;
404
- price: number;
405
- };
406
- }>;
407
- }, "strip", z.ZodTypeAny, {
408
- id: string;
409
- product: {
410
- type: string;
411
- id: string;
412
- name: string;
413
- createdAt: Date;
414
- updatedAt: Date;
415
- deletedAt: Date | null;
416
- provider: string;
417
- productId: string;
418
- omnichannel: string;
419
- usageType: string | null;
420
- productPrice: {
421
- id: string;
422
- name: string | null;
423
- currency: string | null;
424
- createdAt: Date;
425
- updatedAt: Date;
426
- deletedAt: Date | null;
427
- priceId: string;
428
- perUnit: number;
429
- price: number;
430
- };
431
- };
432
- createdAt: Date;
433
- updatedAt: Date;
434
- deletedAt: Date | null;
435
- includedQuantity: number;
436
- }, {
437
- id: string;
438
- product: {
439
- type: string;
440
- id: string;
441
- name: string;
442
- createdAt: Date;
443
- updatedAt: Date;
444
- deletedAt: Date | null;
445
- provider: string;
446
- productId: string;
447
- omnichannel: string;
448
- usageType: string | null;
449
- productPrice: {
450
- id: string;
451
- name: string | null;
452
- currency: string | null;
453
- createdAt: Date;
454
- updatedAt: Date;
455
- deletedAt: Date | null;
456
- priceId: string;
457
- perUnit: number;
458
- price: number;
459
- };
460
- };
461
- createdAt: Date;
462
- updatedAt: Date;
463
- deletedAt: Date | null;
464
- includedQuantity: number;
465
- }>, "many">;
466
- }, "strip", z.ZodTypeAny, {
467
- type: string;
468
- id: string;
469
- name: string;
470
- createdAt: Date;
471
- updatedAt: Date;
472
- deletedAt: Date | null;
473
- provider: string;
474
- productId: string;
475
- omnichannel: string;
476
- usageType: string | null;
477
- productPrice: {
478
- id: string;
479
- name: string | null;
480
- currency: string | null;
481
- createdAt: Date;
482
- updatedAt: Date;
483
- deletedAt: Date | null;
484
- priceId: string;
485
- perUnit: number;
486
- price: number;
487
- };
488
- relatedProducts: {
489
- id: string;
490
- product: {
491
- type: string;
492
- id: string;
493
- name: string;
494
- createdAt: Date;
495
- updatedAt: Date;
496
- deletedAt: Date | null;
497
- provider: string;
498
- productId: string;
499
- omnichannel: string;
500
- usageType: string | null;
501
- productPrice: {
502
- id: string;
503
- name: string | null;
504
- currency: string | null;
505
- createdAt: Date;
506
- updatedAt: Date;
507
- deletedAt: Date | null;
508
- priceId: string;
509
- perUnit: number;
510
- price: number;
511
- };
512
- };
513
- createdAt: Date;
514
- updatedAt: Date;
515
- deletedAt: Date | null;
516
- includedQuantity: number;
517
- }[];
518
- }, {
519
- type: string;
520
- id: string;
521
- name: string;
522
- createdAt: Date;
523
- updatedAt: Date;
524
- deletedAt: Date | null;
525
- provider: string;
526
- productId: string;
527
- omnichannel: string;
528
- usageType: string | null;
529
- productPrice: {
530
- id: string;
531
- name: string | null;
532
- currency: string | null;
533
- createdAt: Date;
534
- updatedAt: Date;
535
- deletedAt: Date | null;
536
- priceId: string;
537
- perUnit: number;
538
- price: number;
539
- };
540
- relatedProducts: {
541
- id: string;
542
- product: {
543
- type: string;
544
- id: string;
545
- name: string;
546
- createdAt: Date;
547
- updatedAt: Date;
548
- deletedAt: Date | null;
549
- provider: string;
550
- productId: string;
551
- omnichannel: string;
552
- usageType: string | null;
553
- productPrice: {
554
- id: string;
555
- name: string | null;
556
- currency: string | null;
557
- createdAt: Date;
558
- updatedAt: Date;
559
- deletedAt: Date | null;
560
- priceId: string;
561
- perUnit: number;
562
- price: number;
563
- };
564
- };
565
- createdAt: Date;
566
- updatedAt: Date;
567
- deletedAt: Date | null;
568
- includedQuantity: number;
569
- }[];
570
- }>;
571
- export declare const SubscriptionProuctSchema: z.ZodObject<{
572
- id: z.ZodString;
573
- createdAt: z.ZodDate;
574
- updatedAt: z.ZodDate;
575
- deletedAt: z.ZodNullable<z.ZodDate>;
576
- limit: z.ZodNumber;
577
- subscriptionItemId: z.ZodString;
578
- usage: z.ZodNullable<z.ZodNumber>;
579
- product: z.ZodObject<{
580
- id: z.ZodString;
581
- createdAt: z.ZodDate;
582
- updatedAt: z.ZodDate;
583
- deletedAt: z.ZodNullable<z.ZodDate>;
584
- provider: z.ZodString;
585
- productId: z.ZodString;
586
- name: z.ZodString;
587
- type: z.ZodString;
588
- omnichannel: z.ZodString;
589
- usageType: z.ZodNullable<z.ZodString>;
590
- productPrice: z.ZodObject<{
591
- id: z.ZodString;
592
- createdAt: z.ZodDate;
593
- updatedAt: z.ZodDate;
594
- deletedAt: z.ZodNullable<z.ZodDate>;
595
- priceId: z.ZodString;
596
- name: z.ZodNullable<z.ZodString>;
597
- perUnit: z.ZodNumber;
598
- price: z.ZodNumber;
599
- currency: z.ZodNullable<z.ZodString>;
600
- }, "strip", z.ZodTypeAny, {
601
- id: string;
602
- name: string | null;
603
- currency: string | null;
604
- createdAt: Date;
605
- updatedAt: Date;
606
- deletedAt: Date | null;
607
- priceId: string;
608
- perUnit: number;
609
- price: number;
610
- }, {
611
- id: string;
612
- name: string | null;
613
- currency: string | null;
614
- createdAt: Date;
615
- updatedAt: Date;
616
- deletedAt: Date | null;
617
- priceId: string;
618
- perUnit: number;
619
- price: number;
620
- }>;
621
- relatedProducts: z.ZodArray<z.ZodObject<{
622
- id: z.ZodString;
623
- createdAt: z.ZodDate;
624
- updatedAt: z.ZodDate;
625
- deletedAt: z.ZodNullable<z.ZodDate>;
626
- includedQuantity: z.ZodNumber;
627
- product: z.ZodObject<{
628
- id: z.ZodString;
629
- createdAt: z.ZodDate;
630
- updatedAt: z.ZodDate;
631
- deletedAt: z.ZodNullable<z.ZodDate>;
632
- provider: z.ZodString;
633
- productId: z.ZodString;
634
- name: z.ZodString;
635
- type: z.ZodString;
636
- omnichannel: z.ZodString;
637
- usageType: z.ZodNullable<z.ZodString>;
638
- productPrice: z.ZodObject<{
639
- id: z.ZodString;
640
- createdAt: z.ZodDate;
641
- updatedAt: z.ZodDate;
642
- deletedAt: z.ZodNullable<z.ZodDate>;
643
- priceId: z.ZodString;
644
- name: z.ZodNullable<z.ZodString>;
645
- perUnit: z.ZodNumber;
646
- price: z.ZodNumber;
647
- currency: z.ZodNullable<z.ZodString>;
648
- }, "strip", z.ZodTypeAny, {
649
- id: string;
650
- name: string | null;
651
- currency: string | null;
652
- createdAt: Date;
653
- updatedAt: Date;
654
- deletedAt: Date | null;
655
- priceId: string;
656
- perUnit: number;
657
- price: number;
658
- }, {
659
- id: string;
660
- name: string | null;
661
- currency: string | null;
662
- createdAt: Date;
663
- updatedAt: Date;
664
- deletedAt: Date | null;
665
- priceId: string;
666
- perUnit: number;
667
- price: number;
668
- }>;
669
- }, "strip", z.ZodTypeAny, {
670
- type: string;
671
- id: string;
672
- name: string;
673
- createdAt: Date;
674
- updatedAt: Date;
675
- deletedAt: Date | null;
676
- provider: string;
677
- productId: string;
678
- omnichannel: string;
679
- usageType: string | null;
680
- productPrice: {
681
- id: string;
682
- name: string | null;
683
- currency: string | null;
684
- createdAt: Date;
685
- updatedAt: Date;
686
- deletedAt: Date | null;
687
- priceId: string;
688
- perUnit: number;
689
- price: number;
690
- };
691
- }, {
692
- type: string;
693
- id: string;
694
- name: string;
695
- createdAt: Date;
696
- updatedAt: Date;
697
- deletedAt: Date | null;
698
- provider: string;
699
- productId: string;
700
- omnichannel: string;
701
- usageType: string | null;
702
- productPrice: {
703
- id: string;
704
- name: string | null;
705
- currency: string | null;
706
- createdAt: Date;
707
- updatedAt: Date;
708
- deletedAt: Date | null;
709
- priceId: string;
710
- perUnit: number;
711
- price: number;
712
- };
713
- }>;
714
- }, "strip", z.ZodTypeAny, {
715
- id: string;
716
- product: {
717
- type: string;
718
- id: string;
719
- name: string;
720
- createdAt: Date;
721
- updatedAt: Date;
722
- deletedAt: Date | null;
723
- provider: string;
724
- productId: string;
725
- omnichannel: string;
726
- usageType: string | null;
727
- productPrice: {
728
- id: string;
729
- name: string | null;
730
- currency: string | null;
731
- createdAt: Date;
732
- updatedAt: Date;
733
- deletedAt: Date | null;
734
- priceId: string;
735
- perUnit: number;
736
- price: number;
737
- };
738
- };
739
- createdAt: Date;
740
- updatedAt: Date;
741
- deletedAt: Date | null;
742
- includedQuantity: number;
743
- }, {
744
- id: string;
745
- product: {
746
- type: string;
747
- id: string;
748
- name: string;
749
- createdAt: Date;
750
- updatedAt: Date;
751
- deletedAt: Date | null;
752
- provider: string;
753
- productId: string;
754
- omnichannel: string;
755
- usageType: string | null;
756
- productPrice: {
757
- id: string;
758
- name: string | null;
759
- currency: string | null;
760
- createdAt: Date;
761
- updatedAt: Date;
762
- deletedAt: Date | null;
763
- priceId: string;
764
- perUnit: number;
765
- price: number;
766
- };
767
- };
768
- createdAt: Date;
769
- updatedAt: Date;
770
- deletedAt: Date | null;
771
- includedQuantity: number;
772
- }>, "many">;
773
- }, "strip", z.ZodTypeAny, {
774
- type: string;
775
- id: string;
776
- name: string;
777
- createdAt: Date;
778
- updatedAt: Date;
779
- deletedAt: Date | null;
780
- provider: string;
781
- productId: string;
782
- omnichannel: string;
783
- usageType: string | null;
784
- productPrice: {
785
- id: string;
786
- name: string | null;
787
- currency: string | null;
788
- createdAt: Date;
789
- updatedAt: Date;
790
- deletedAt: Date | null;
791
- priceId: string;
792
- perUnit: number;
793
- price: number;
794
- };
795
- relatedProducts: {
796
- id: string;
797
- product: {
798
- type: string;
799
- id: string;
800
- name: string;
801
- createdAt: Date;
802
- updatedAt: Date;
803
- deletedAt: Date | null;
804
- provider: string;
805
- productId: string;
806
- omnichannel: string;
807
- usageType: string | null;
808
- productPrice: {
809
- id: string;
810
- name: string | null;
811
- currency: string | null;
812
- createdAt: Date;
813
- updatedAt: Date;
814
- deletedAt: Date | null;
815
- priceId: string;
816
- perUnit: number;
817
- price: number;
818
- };
819
- };
820
- createdAt: Date;
821
- updatedAt: Date;
822
- deletedAt: Date | null;
823
- includedQuantity: number;
824
- }[];
825
- }, {
826
- type: string;
827
- id: string;
828
- name: string;
829
- createdAt: Date;
830
- updatedAt: Date;
831
- deletedAt: Date | null;
832
- provider: string;
833
- productId: string;
834
- omnichannel: string;
835
- usageType: string | null;
836
- productPrice: {
837
- id: string;
838
- name: string | null;
839
- currency: string | null;
840
- createdAt: Date;
841
- updatedAt: Date;
842
- deletedAt: Date | null;
843
- priceId: string;
844
- perUnit: number;
845
- price: number;
846
- };
847
- relatedProducts: {
848
- id: string;
849
- product: {
850
- type: string;
851
- id: string;
852
- name: string;
853
- createdAt: Date;
854
- updatedAt: Date;
855
- deletedAt: Date | null;
856
- provider: string;
857
- productId: string;
858
- omnichannel: string;
859
- usageType: string | null;
860
- productPrice: {
861
- id: string;
862
- name: string | null;
863
- currency: string | null;
864
- createdAt: Date;
865
- updatedAt: Date;
866
- deletedAt: Date | null;
867
- priceId: string;
868
- perUnit: number;
869
- price: number;
870
- };
871
- };
872
- createdAt: Date;
873
- updatedAt: Date;
874
- deletedAt: Date | null;
875
- includedQuantity: number;
876
- }[];
877
- }>;
878
- }, "strip", z.ZodTypeAny, {
879
- id: string;
880
- product: {
881
- type: string;
882
- id: string;
883
- name: string;
884
- createdAt: Date;
885
- updatedAt: Date;
886
- deletedAt: Date | null;
887
- provider: string;
888
- productId: string;
889
- omnichannel: string;
890
- usageType: string | null;
891
- productPrice: {
892
- id: string;
893
- name: string | null;
894
- currency: string | null;
895
- createdAt: Date;
896
- updatedAt: Date;
897
- deletedAt: Date | null;
898
- priceId: string;
899
- perUnit: number;
900
- price: number;
901
- };
902
- relatedProducts: {
903
- id: string;
904
- product: {
905
- type: string;
906
- id: string;
907
- name: string;
908
- createdAt: Date;
909
- updatedAt: Date;
910
- deletedAt: Date | null;
911
- provider: string;
912
- productId: string;
913
- omnichannel: string;
914
- usageType: string | null;
915
- productPrice: {
916
- id: string;
917
- name: string | null;
918
- currency: string | null;
919
- createdAt: Date;
920
- updatedAt: Date;
921
- deletedAt: Date | null;
922
- priceId: string;
923
- perUnit: number;
924
- price: number;
925
- };
926
- };
927
- createdAt: Date;
928
- updatedAt: Date;
929
- deletedAt: Date | null;
930
- includedQuantity: number;
931
- }[];
932
- };
933
- createdAt: Date;
934
- updatedAt: Date;
935
- deletedAt: Date | null;
936
- limit: number;
937
- subscriptionItemId: string;
938
- usage: number | null;
939
- }, {
940
- id: string;
941
- product: {
942
- type: string;
943
- id: string;
944
- name: string;
945
- createdAt: Date;
946
- updatedAt: Date;
947
- deletedAt: Date | null;
948
- provider: string;
949
- productId: string;
950
- omnichannel: string;
951
- usageType: string | null;
952
- productPrice: {
953
- id: string;
954
- name: string | null;
955
- currency: string | null;
956
- createdAt: Date;
957
- updatedAt: Date;
958
- deletedAt: Date | null;
959
- priceId: string;
960
- perUnit: number;
961
- price: number;
962
- };
963
- relatedProducts: {
964
- id: string;
965
- product: {
966
- type: string;
967
- id: string;
968
- name: string;
969
- createdAt: Date;
970
- updatedAt: Date;
971
- deletedAt: Date | null;
972
- provider: string;
973
- productId: string;
974
- omnichannel: string;
975
- usageType: string | null;
976
- productPrice: {
977
- id: string;
978
- name: string | null;
979
- currency: string | null;
980
- createdAt: Date;
981
- updatedAt: Date;
982
- deletedAt: Date | null;
983
- priceId: string;
984
- perUnit: number;
985
- price: number;
986
- };
987
- };
988
- createdAt: Date;
989
- updatedAt: Date;
990
- deletedAt: Date | null;
991
- includedQuantity: number;
992
- }[];
993
- };
994
- createdAt: Date;
995
- updatedAt: Date;
996
- deletedAt: Date | null;
997
- limit: number;
998
- subscriptionItemId: string;
999
- usage: number | null;
1000
- }>;
1001
- export declare const SubscriptionSchema: z.ZodObject<{
1002
- id: z.ZodString;
1003
- createdAt: z.ZodDate;
1004
- updatedAt: z.ZodDate;
1005
- deletedAt: z.ZodNullable<z.ZodDate>;
1006
- provider: z.ZodString;
1007
- type: z.ZodString;
1008
- subscriptionId: z.ZodString;
1009
- interval: z.ZodString;
1010
- quantity: z.ZodNumber;
1011
- amount: z.ZodNumber;
1012
- startAt: z.ZodNullable<z.ZodDate>;
1013
- expireAt: z.ZodDate;
1014
- status: z.ZodString;
1015
- name: z.ZodNullable<z.ZodString>;
1016
- subscriptionProducts: z.ZodArray<z.ZodObject<{
1017
- id: z.ZodString;
1018
- createdAt: z.ZodDate;
1019
- updatedAt: z.ZodDate;
1020
- deletedAt: z.ZodNullable<z.ZodDate>;
1021
- limit: z.ZodNumber;
1022
- subscriptionItemId: z.ZodString;
1023
- usage: z.ZodNullable<z.ZodNumber>;
1024
- product: z.ZodObject<{
1025
- id: z.ZodString;
1026
- createdAt: z.ZodDate;
1027
- updatedAt: z.ZodDate;
1028
- deletedAt: z.ZodNullable<z.ZodDate>;
1029
- provider: z.ZodString;
1030
- productId: z.ZodString;
1031
- name: z.ZodString;
1032
- type: z.ZodString;
1033
- omnichannel: z.ZodString;
1034
- usageType: z.ZodNullable<z.ZodString>;
1035
- productPrice: z.ZodObject<{
1036
- id: z.ZodString;
1037
- createdAt: z.ZodDate;
1038
- updatedAt: z.ZodDate;
1039
- deletedAt: z.ZodNullable<z.ZodDate>;
1040
- priceId: z.ZodString;
1041
- name: z.ZodNullable<z.ZodString>;
1042
- perUnit: z.ZodNumber;
1043
- price: z.ZodNumber;
1044
- currency: z.ZodNullable<z.ZodString>;
1045
- }, "strip", z.ZodTypeAny, {
1046
- id: string;
1047
- name: string | null;
1048
- currency: string | null;
1049
- createdAt: Date;
1050
- updatedAt: Date;
1051
- deletedAt: Date | null;
1052
- priceId: string;
1053
- perUnit: number;
1054
- price: number;
1055
- }, {
1056
- id: string;
1057
- name: string | null;
1058
- currency: string | null;
1059
- createdAt: Date;
1060
- updatedAt: Date;
1061
- deletedAt: Date | null;
1062
- priceId: string;
1063
- perUnit: number;
1064
- price: number;
1065
- }>;
1066
- relatedProducts: z.ZodArray<z.ZodObject<{
1067
- id: z.ZodString;
1068
- createdAt: z.ZodDate;
1069
- updatedAt: z.ZodDate;
1070
- deletedAt: z.ZodNullable<z.ZodDate>;
1071
- includedQuantity: z.ZodNumber;
1072
- product: z.ZodObject<{
1073
- id: z.ZodString;
1074
- createdAt: z.ZodDate;
1075
- updatedAt: z.ZodDate;
1076
- deletedAt: z.ZodNullable<z.ZodDate>;
1077
- provider: z.ZodString;
1078
- productId: z.ZodString;
1079
- name: z.ZodString;
1080
- type: z.ZodString;
1081
- omnichannel: z.ZodString;
1082
- usageType: z.ZodNullable<z.ZodString>;
1083
- productPrice: z.ZodObject<{
1084
- id: z.ZodString;
1085
- createdAt: z.ZodDate;
1086
- updatedAt: z.ZodDate;
1087
- deletedAt: z.ZodNullable<z.ZodDate>;
1088
- priceId: z.ZodString;
1089
- name: z.ZodNullable<z.ZodString>;
1090
- perUnit: z.ZodNumber;
1091
- price: z.ZodNumber;
1092
- currency: z.ZodNullable<z.ZodString>;
1093
- }, "strip", z.ZodTypeAny, {
1094
- id: string;
1095
- name: string | null;
1096
- currency: string | null;
1097
- createdAt: Date;
1098
- updatedAt: Date;
1099
- deletedAt: Date | null;
1100
- priceId: string;
1101
- perUnit: number;
1102
- price: number;
1103
- }, {
1104
- id: string;
1105
- name: string | null;
1106
- currency: string | null;
1107
- createdAt: Date;
1108
- updatedAt: Date;
1109
- deletedAt: Date | null;
1110
- priceId: string;
1111
- perUnit: number;
1112
- price: number;
1113
- }>;
1114
- }, "strip", z.ZodTypeAny, {
1115
- type: string;
1116
- id: string;
1117
- name: string;
1118
- createdAt: Date;
1119
- updatedAt: Date;
1120
- deletedAt: Date | null;
1121
- provider: string;
1122
- productId: string;
1123
- omnichannel: string;
1124
- usageType: string | null;
1125
- productPrice: {
1126
- id: string;
1127
- name: string | null;
1128
- currency: string | null;
1129
- createdAt: Date;
1130
- updatedAt: Date;
1131
- deletedAt: Date | null;
1132
- priceId: string;
1133
- perUnit: number;
1134
- price: number;
1135
- };
1136
- }, {
1137
- type: string;
1138
- id: string;
1139
- name: string;
1140
- createdAt: Date;
1141
- updatedAt: Date;
1142
- deletedAt: Date | null;
1143
- provider: string;
1144
- productId: string;
1145
- omnichannel: string;
1146
- usageType: string | null;
1147
- productPrice: {
1148
- id: string;
1149
- name: string | null;
1150
- currency: string | null;
1151
- createdAt: Date;
1152
- updatedAt: Date;
1153
- deletedAt: Date | null;
1154
- priceId: string;
1155
- perUnit: number;
1156
- price: number;
1157
- };
1158
- }>;
1159
- }, "strip", z.ZodTypeAny, {
1160
- id: string;
1161
- product: {
1162
- type: string;
1163
- id: string;
1164
- name: string;
1165
- createdAt: Date;
1166
- updatedAt: Date;
1167
- deletedAt: Date | null;
1168
- provider: string;
1169
- productId: string;
1170
- omnichannel: string;
1171
- usageType: string | null;
1172
- productPrice: {
1173
- id: string;
1174
- name: string | null;
1175
- currency: string | null;
1176
- createdAt: Date;
1177
- updatedAt: Date;
1178
- deletedAt: Date | null;
1179
- priceId: string;
1180
- perUnit: number;
1181
- price: number;
1182
- };
1183
- };
1184
- createdAt: Date;
1185
- updatedAt: Date;
1186
- deletedAt: Date | null;
1187
- includedQuantity: number;
1188
- }, {
1189
- id: string;
1190
- product: {
1191
- type: string;
1192
- id: string;
1193
- name: string;
1194
- createdAt: Date;
1195
- updatedAt: Date;
1196
- deletedAt: Date | null;
1197
- provider: string;
1198
- productId: string;
1199
- omnichannel: string;
1200
- usageType: string | null;
1201
- productPrice: {
1202
- id: string;
1203
- name: string | null;
1204
- currency: string | null;
1205
- createdAt: Date;
1206
- updatedAt: Date;
1207
- deletedAt: Date | null;
1208
- priceId: string;
1209
- perUnit: number;
1210
- price: number;
1211
- };
1212
- };
1213
- createdAt: Date;
1214
- updatedAt: Date;
1215
- deletedAt: Date | null;
1216
- includedQuantity: number;
1217
- }>, "many">;
1218
- }, "strip", z.ZodTypeAny, {
1219
- type: string;
1220
- id: string;
1221
- name: string;
1222
- createdAt: Date;
1223
- updatedAt: Date;
1224
- deletedAt: Date | null;
1225
- provider: string;
1226
- productId: string;
1227
- omnichannel: string;
1228
- usageType: string | null;
1229
- productPrice: {
1230
- id: string;
1231
- name: string | null;
1232
- currency: string | null;
1233
- createdAt: Date;
1234
- updatedAt: Date;
1235
- deletedAt: Date | null;
1236
- priceId: string;
1237
- perUnit: number;
1238
- price: number;
1239
- };
1240
- relatedProducts: {
1241
- id: string;
1242
- product: {
1243
- type: string;
1244
- id: string;
1245
- name: string;
1246
- createdAt: Date;
1247
- updatedAt: Date;
1248
- deletedAt: Date | null;
1249
- provider: string;
1250
- productId: string;
1251
- omnichannel: string;
1252
- usageType: string | null;
1253
- productPrice: {
1254
- id: string;
1255
- name: string | null;
1256
- currency: string | null;
1257
- createdAt: Date;
1258
- updatedAt: Date;
1259
- deletedAt: Date | null;
1260
- priceId: string;
1261
- perUnit: number;
1262
- price: number;
1263
- };
1264
- };
1265
- createdAt: Date;
1266
- updatedAt: Date;
1267
- deletedAt: Date | null;
1268
- includedQuantity: number;
1269
- }[];
1270
- }, {
1271
- type: string;
1272
- id: string;
1273
- name: string;
1274
- createdAt: Date;
1275
- updatedAt: Date;
1276
- deletedAt: Date | null;
1277
- provider: string;
1278
- productId: string;
1279
- omnichannel: string;
1280
- usageType: string | null;
1281
- productPrice: {
1282
- id: string;
1283
- name: string | null;
1284
- currency: string | null;
1285
- createdAt: Date;
1286
- updatedAt: Date;
1287
- deletedAt: Date | null;
1288
- priceId: string;
1289
- perUnit: number;
1290
- price: number;
1291
- };
1292
- relatedProducts: {
1293
- id: string;
1294
- product: {
1295
- type: string;
1296
- id: string;
1297
- name: string;
1298
- createdAt: Date;
1299
- updatedAt: Date;
1300
- deletedAt: Date | null;
1301
- provider: string;
1302
- productId: string;
1303
- omnichannel: string;
1304
- usageType: string | null;
1305
- productPrice: {
1306
- id: string;
1307
- name: string | null;
1308
- currency: string | null;
1309
- createdAt: Date;
1310
- updatedAt: Date;
1311
- deletedAt: Date | null;
1312
- priceId: string;
1313
- perUnit: number;
1314
- price: number;
1315
- };
1316
- };
1317
- createdAt: Date;
1318
- updatedAt: Date;
1319
- deletedAt: Date | null;
1320
- includedQuantity: number;
1321
- }[];
1322
- }>;
1323
- }, "strip", z.ZodTypeAny, {
1324
- id: string;
1325
- product: {
1326
- type: string;
1327
- id: string;
1328
- name: string;
1329
- createdAt: Date;
1330
- updatedAt: Date;
1331
- deletedAt: Date | null;
1332
- provider: string;
1333
- productId: string;
1334
- omnichannel: string;
1335
- usageType: string | null;
1336
- productPrice: {
1337
- id: string;
1338
- name: string | null;
1339
- currency: string | null;
1340
- createdAt: Date;
1341
- updatedAt: Date;
1342
- deletedAt: Date | null;
1343
- priceId: string;
1344
- perUnit: number;
1345
- price: number;
1346
- };
1347
- relatedProducts: {
1348
- id: string;
1349
- product: {
1350
- type: string;
1351
- id: string;
1352
- name: string;
1353
- createdAt: Date;
1354
- updatedAt: Date;
1355
- deletedAt: Date | null;
1356
- provider: string;
1357
- productId: string;
1358
- omnichannel: string;
1359
- usageType: string | null;
1360
- productPrice: {
1361
- id: string;
1362
- name: string | null;
1363
- currency: string | null;
1364
- createdAt: Date;
1365
- updatedAt: Date;
1366
- deletedAt: Date | null;
1367
- priceId: string;
1368
- perUnit: number;
1369
- price: number;
1370
- };
1371
- };
1372
- createdAt: Date;
1373
- updatedAt: Date;
1374
- deletedAt: Date | null;
1375
- includedQuantity: number;
1376
- }[];
1377
- };
1378
- createdAt: Date;
1379
- updatedAt: Date;
1380
- deletedAt: Date | null;
1381
- limit: number;
1382
- subscriptionItemId: string;
1383
- usage: number | null;
1384
- }, {
1385
- id: string;
1386
- product: {
1387
- type: string;
1388
- id: string;
1389
- name: string;
1390
- createdAt: Date;
1391
- updatedAt: Date;
1392
- deletedAt: Date | null;
1393
- provider: string;
1394
- productId: string;
1395
- omnichannel: string;
1396
- usageType: string | null;
1397
- productPrice: {
1398
- id: string;
1399
- name: string | null;
1400
- currency: string | null;
1401
- createdAt: Date;
1402
- updatedAt: Date;
1403
- deletedAt: Date | null;
1404
- priceId: string;
1405
- perUnit: number;
1406
- price: number;
1407
- };
1408
- relatedProducts: {
1409
- id: string;
1410
- product: {
1411
- type: string;
1412
- id: string;
1413
- name: string;
1414
- createdAt: Date;
1415
- updatedAt: Date;
1416
- deletedAt: Date | null;
1417
- provider: string;
1418
- productId: string;
1419
- omnichannel: string;
1420
- usageType: string | null;
1421
- productPrice: {
1422
- id: string;
1423
- name: string | null;
1424
- currency: string | null;
1425
- createdAt: Date;
1426
- updatedAt: Date;
1427
- deletedAt: Date | null;
1428
- priceId: string;
1429
- perUnit: number;
1430
- price: number;
1431
- };
1432
- };
1433
- createdAt: Date;
1434
- updatedAt: Date;
1435
- deletedAt: Date | null;
1436
- includedQuantity: number;
1437
- }[];
1438
- };
1439
- createdAt: Date;
1440
- updatedAt: Date;
1441
- deletedAt: Date | null;
1442
- limit: number;
1443
- subscriptionItemId: string;
1444
- usage: number | null;
1445
- }>, "many">;
1446
- productPrice: z.ZodObject<{
1447
- id: z.ZodString;
1448
- createdAt: z.ZodDate;
1449
- updatedAt: z.ZodDate;
1450
- deletedAt: z.ZodNullable<z.ZodDate>;
1451
- priceId: z.ZodString;
1452
- name: z.ZodNullable<z.ZodString>;
1453
- perUnit: z.ZodNumber;
1454
- price: z.ZodNumber;
1455
- currency: z.ZodNullable<z.ZodString>;
1456
- }, "strip", z.ZodTypeAny, {
1457
- id: string;
1458
- name: string | null;
1459
- currency: string | null;
1460
- createdAt: Date;
1461
- updatedAt: Date;
1462
- deletedAt: Date | null;
1463
- priceId: string;
1464
- perUnit: number;
1465
- price: number;
1466
- }, {
1467
- id: string;
1468
- name: string | null;
1469
- currency: string | null;
1470
- createdAt: Date;
1471
- updatedAt: Date;
1472
- deletedAt: Date | null;
1473
- priceId: string;
1474
- perUnit: number;
1475
- price: number;
1476
- }>;
1477
- product: z.ZodObject<{
1478
- id: z.ZodString;
1479
- createdAt: z.ZodDate;
1480
- updatedAt: z.ZodDate;
1481
- deletedAt: z.ZodNullable<z.ZodDate>;
1482
- provider: z.ZodString;
1483
- productId: z.ZodString;
1484
- name: z.ZodString;
1485
- type: z.ZodString;
1486
- omnichannel: z.ZodString;
1487
- usageType: z.ZodNullable<z.ZodString>;
1488
- productPrice: z.ZodObject<{
1489
- id: z.ZodString;
1490
- createdAt: z.ZodDate;
1491
- updatedAt: z.ZodDate;
1492
- deletedAt: z.ZodNullable<z.ZodDate>;
1493
- priceId: z.ZodString;
1494
- name: z.ZodNullable<z.ZodString>;
1495
- perUnit: z.ZodNumber;
1496
- price: z.ZodNumber;
1497
- currency: z.ZodNullable<z.ZodString>;
1498
- }, "strip", z.ZodTypeAny, {
1499
- id: string;
1500
- name: string | null;
1501
- currency: string | null;
1502
- createdAt: Date;
1503
- updatedAt: Date;
1504
- deletedAt: Date | null;
1505
- priceId: string;
1506
- perUnit: number;
1507
- price: number;
1508
- }, {
1509
- id: string;
1510
- name: string | null;
1511
- currency: string | null;
1512
- createdAt: Date;
1513
- updatedAt: Date;
1514
- deletedAt: Date | null;
1515
- priceId: string;
1516
- perUnit: number;
1517
- price: number;
1518
- }>;
1519
- relatedProducts: z.ZodArray<z.ZodObject<{
1520
- id: z.ZodString;
1521
- createdAt: z.ZodDate;
1522
- updatedAt: z.ZodDate;
1523
- deletedAt: z.ZodNullable<z.ZodDate>;
1524
- includedQuantity: z.ZodNumber;
1525
- product: z.ZodObject<{
1526
- id: z.ZodString;
1527
- createdAt: z.ZodDate;
1528
- updatedAt: z.ZodDate;
1529
- deletedAt: z.ZodNullable<z.ZodDate>;
1530
- provider: z.ZodString;
1531
- productId: z.ZodString;
1532
- name: z.ZodString;
1533
- type: z.ZodString;
1534
- omnichannel: z.ZodString;
1535
- usageType: z.ZodNullable<z.ZodString>;
1536
- productPrice: z.ZodObject<{
1537
- id: z.ZodString;
1538
- createdAt: z.ZodDate;
1539
- updatedAt: z.ZodDate;
1540
- deletedAt: z.ZodNullable<z.ZodDate>;
1541
- priceId: z.ZodString;
1542
- name: z.ZodNullable<z.ZodString>;
1543
- perUnit: z.ZodNumber;
1544
- price: z.ZodNumber;
1545
- currency: z.ZodNullable<z.ZodString>;
1546
- }, "strip", z.ZodTypeAny, {
1547
- id: string;
1548
- name: string | null;
1549
- currency: string | null;
1550
- createdAt: Date;
1551
- updatedAt: Date;
1552
- deletedAt: Date | null;
1553
- priceId: string;
1554
- perUnit: number;
1555
- price: number;
1556
- }, {
1557
- id: string;
1558
- name: string | null;
1559
- currency: string | null;
1560
- createdAt: Date;
1561
- updatedAt: Date;
1562
- deletedAt: Date | null;
1563
- priceId: string;
1564
- perUnit: number;
1565
- price: number;
1566
- }>;
1567
- }, "strip", z.ZodTypeAny, {
1568
- type: string;
1569
- id: string;
1570
- name: string;
1571
- createdAt: Date;
1572
- updatedAt: Date;
1573
- deletedAt: Date | null;
1574
- provider: string;
1575
- productId: string;
1576
- omnichannel: string;
1577
- usageType: string | null;
1578
- productPrice: {
1579
- id: string;
1580
- name: string | null;
1581
- currency: string | null;
1582
- createdAt: Date;
1583
- updatedAt: Date;
1584
- deletedAt: Date | null;
1585
- priceId: string;
1586
- perUnit: number;
1587
- price: number;
1588
- };
1589
- }, {
1590
- type: string;
1591
- id: string;
1592
- name: string;
1593
- createdAt: Date;
1594
- updatedAt: Date;
1595
- deletedAt: Date | null;
1596
- provider: string;
1597
- productId: string;
1598
- omnichannel: string;
1599
- usageType: string | null;
1600
- productPrice: {
1601
- id: string;
1602
- name: string | null;
1603
- currency: string | null;
1604
- createdAt: Date;
1605
- updatedAt: Date;
1606
- deletedAt: Date | null;
1607
- priceId: string;
1608
- perUnit: number;
1609
- price: number;
1610
- };
1611
- }>;
1612
- }, "strip", z.ZodTypeAny, {
1613
- id: string;
1614
- product: {
1615
- type: string;
1616
- id: string;
1617
- name: string;
1618
- createdAt: Date;
1619
- updatedAt: Date;
1620
- deletedAt: Date | null;
1621
- provider: string;
1622
- productId: string;
1623
- omnichannel: string;
1624
- usageType: string | null;
1625
- productPrice: {
1626
- id: string;
1627
- name: string | null;
1628
- currency: string | null;
1629
- createdAt: Date;
1630
- updatedAt: Date;
1631
- deletedAt: Date | null;
1632
- priceId: string;
1633
- perUnit: number;
1634
- price: number;
1635
- };
1636
- };
1637
- createdAt: Date;
1638
- updatedAt: Date;
1639
- deletedAt: Date | null;
1640
- includedQuantity: number;
1641
- }, {
1642
- id: string;
1643
- product: {
1644
- type: string;
1645
- id: string;
1646
- name: string;
1647
- createdAt: Date;
1648
- updatedAt: Date;
1649
- deletedAt: Date | null;
1650
- provider: string;
1651
- productId: string;
1652
- omnichannel: string;
1653
- usageType: string | null;
1654
- productPrice: {
1655
- id: string;
1656
- name: string | null;
1657
- currency: string | null;
1658
- createdAt: Date;
1659
- updatedAt: Date;
1660
- deletedAt: Date | null;
1661
- priceId: string;
1662
- perUnit: number;
1663
- price: number;
1664
- };
1665
- };
1666
- createdAt: Date;
1667
- updatedAt: Date;
1668
- deletedAt: Date | null;
1669
- includedQuantity: number;
1670
- }>, "many">;
1671
- }, "strip", z.ZodTypeAny, {
1672
- type: string;
1673
- id: string;
1674
- name: string;
1675
- createdAt: Date;
1676
- updatedAt: Date;
1677
- deletedAt: Date | null;
1678
- provider: string;
1679
- productId: string;
1680
- omnichannel: string;
1681
- usageType: string | null;
1682
- productPrice: {
1683
- id: string;
1684
- name: string | null;
1685
- currency: string | null;
1686
- createdAt: Date;
1687
- updatedAt: Date;
1688
- deletedAt: Date | null;
1689
- priceId: string;
1690
- perUnit: number;
1691
- price: number;
1692
- };
1693
- relatedProducts: {
1694
- id: string;
1695
- product: {
1696
- type: string;
1697
- id: string;
1698
- name: string;
1699
- createdAt: Date;
1700
- updatedAt: Date;
1701
- deletedAt: Date | null;
1702
- provider: string;
1703
- productId: string;
1704
- omnichannel: string;
1705
- usageType: string | null;
1706
- productPrice: {
1707
- id: string;
1708
- name: string | null;
1709
- currency: string | null;
1710
- createdAt: Date;
1711
- updatedAt: Date;
1712
- deletedAt: Date | null;
1713
- priceId: string;
1714
- perUnit: number;
1715
- price: number;
1716
- };
1717
- };
1718
- createdAt: Date;
1719
- updatedAt: Date;
1720
- deletedAt: Date | null;
1721
- includedQuantity: number;
1722
- }[];
1723
- }, {
1724
- type: string;
1725
- id: string;
1726
- name: string;
1727
- createdAt: Date;
1728
- updatedAt: Date;
1729
- deletedAt: Date | null;
1730
- provider: string;
1731
- productId: string;
1732
- omnichannel: string;
1733
- usageType: string | null;
1734
- productPrice: {
1735
- id: string;
1736
- name: string | null;
1737
- currency: string | null;
1738
- createdAt: Date;
1739
- updatedAt: Date;
1740
- deletedAt: Date | null;
1741
- priceId: string;
1742
- perUnit: number;
1743
- price: number;
1744
- };
1745
- relatedProducts: {
1746
- id: string;
1747
- product: {
1748
- type: string;
1749
- id: string;
1750
- name: string;
1751
- createdAt: Date;
1752
- updatedAt: Date;
1753
- deletedAt: Date | null;
1754
- provider: string;
1755
- productId: string;
1756
- omnichannel: string;
1757
- usageType: string | null;
1758
- productPrice: {
1759
- id: string;
1760
- name: string | null;
1761
- currency: string | null;
1762
- createdAt: Date;
1763
- updatedAt: Date;
1764
- deletedAt: Date | null;
1765
- priceId: string;
1766
- perUnit: number;
1767
- price: number;
1768
- };
1769
- };
1770
- createdAt: Date;
1771
- updatedAt: Date;
1772
- deletedAt: Date | null;
1773
- includedQuantity: number;
1774
- }[];
1775
- }>;
1776
- }, "strip", z.ZodTypeAny, {
1777
- type: string;
1778
- interval: string;
1779
- id: string;
1780
- name: string | null;
1781
- product: {
1782
- type: string;
1783
- id: string;
1784
- name: string;
1785
- createdAt: Date;
1786
- updatedAt: Date;
1787
- deletedAt: Date | null;
1788
- provider: string;
1789
- productId: string;
1790
- omnichannel: string;
1791
- usageType: string | null;
1792
- productPrice: {
1793
- id: string;
1794
- name: string | null;
1795
- currency: string | null;
1796
- createdAt: Date;
1797
- updatedAt: Date;
1798
- deletedAt: Date | null;
1799
- priceId: string;
1800
- perUnit: number;
1801
- price: number;
1802
- };
1803
- relatedProducts: {
1804
- id: string;
1805
- product: {
1806
- type: string;
1807
- id: string;
1808
- name: string;
1809
- createdAt: Date;
1810
- updatedAt: Date;
1811
- deletedAt: Date | null;
1812
- provider: string;
1813
- productId: string;
1814
- omnichannel: string;
1815
- usageType: string | null;
1816
- productPrice: {
1817
- id: string;
1818
- name: string | null;
1819
- currency: string | null;
1820
- createdAt: Date;
1821
- updatedAt: Date;
1822
- deletedAt: Date | null;
1823
- priceId: string;
1824
- perUnit: number;
1825
- price: number;
1826
- };
1827
- };
1828
- createdAt: Date;
1829
- updatedAt: Date;
1830
- deletedAt: Date | null;
1831
- includedQuantity: number;
1832
- }[];
1833
- };
1834
- status: string;
1835
- createdAt: Date;
1836
- updatedAt: Date;
1837
- deletedAt: Date | null;
1838
- provider: string;
1839
- productPrice: {
1840
- id: string;
1841
- name: string | null;
1842
- currency: string | null;
1843
- createdAt: Date;
1844
- updatedAt: Date;
1845
- deletedAt: Date | null;
1846
- priceId: string;
1847
- perUnit: number;
1848
- price: number;
1849
- };
1850
- subscriptionId: string;
1851
- quantity: number;
1852
- amount: number;
1853
- startAt: Date | null;
1854
- expireAt: Date;
1855
- subscriptionProducts: {
1856
- id: string;
1857
- product: {
1858
- type: string;
1859
- id: string;
1860
- name: string;
1861
- createdAt: Date;
1862
- updatedAt: Date;
1863
- deletedAt: Date | null;
1864
- provider: string;
1865
- productId: string;
1866
- omnichannel: string;
1867
- usageType: string | null;
1868
- productPrice: {
1869
- id: string;
1870
- name: string | null;
1871
- currency: string | null;
1872
- createdAt: Date;
1873
- updatedAt: Date;
1874
- deletedAt: Date | null;
1875
- priceId: string;
1876
- perUnit: number;
1877
- price: number;
1878
- };
1879
- relatedProducts: {
1880
- id: string;
1881
- product: {
1882
- type: string;
1883
- id: string;
1884
- name: string;
1885
- createdAt: Date;
1886
- updatedAt: Date;
1887
- deletedAt: Date | null;
1888
- provider: string;
1889
- productId: string;
1890
- omnichannel: string;
1891
- usageType: string | null;
1892
- productPrice: {
1893
- id: string;
1894
- name: string | null;
1895
- currency: string | null;
1896
- createdAt: Date;
1897
- updatedAt: Date;
1898
- deletedAt: Date | null;
1899
- priceId: string;
1900
- perUnit: number;
1901
- price: number;
1902
- };
1903
- };
1904
- createdAt: Date;
1905
- updatedAt: Date;
1906
- deletedAt: Date | null;
1907
- includedQuantity: number;
1908
- }[];
1909
- };
1910
- createdAt: Date;
1911
- updatedAt: Date;
1912
- deletedAt: Date | null;
1913
- limit: number;
1914
- subscriptionItemId: string;
1915
- usage: number | null;
1916
- }[];
1917
- }, {
1918
- type: string;
1919
- interval: string;
1920
- id: string;
1921
- name: string | null;
1922
- product: {
1923
- type: string;
1924
- id: string;
1925
- name: string;
1926
- createdAt: Date;
1927
- updatedAt: Date;
1928
- deletedAt: Date | null;
1929
- provider: string;
1930
- productId: string;
1931
- omnichannel: string;
1932
- usageType: string | null;
1933
- productPrice: {
1934
- id: string;
1935
- name: string | null;
1936
- currency: string | null;
1937
- createdAt: Date;
1938
- updatedAt: Date;
1939
- deletedAt: Date | null;
1940
- priceId: string;
1941
- perUnit: number;
1942
- price: number;
1943
- };
1944
- relatedProducts: {
1945
- id: string;
1946
- product: {
1947
- type: string;
1948
- id: string;
1949
- name: string;
1950
- createdAt: Date;
1951
- updatedAt: Date;
1952
- deletedAt: Date | null;
1953
- provider: string;
1954
- productId: string;
1955
- omnichannel: string;
1956
- usageType: string | null;
1957
- productPrice: {
1958
- id: string;
1959
- name: string | null;
1960
- currency: string | null;
1961
- createdAt: Date;
1962
- updatedAt: Date;
1963
- deletedAt: Date | null;
1964
- priceId: string;
1965
- perUnit: number;
1966
- price: number;
1967
- };
1968
- };
1969
- createdAt: Date;
1970
- updatedAt: Date;
1971
- deletedAt: Date | null;
1972
- includedQuantity: number;
1973
- }[];
1974
- };
1975
- status: string;
1976
- createdAt: Date;
1977
- updatedAt: Date;
1978
- deletedAt: Date | null;
1979
- provider: string;
1980
- productPrice: {
1981
- id: string;
1982
- name: string | null;
1983
- currency: string | null;
1984
- createdAt: Date;
1985
- updatedAt: Date;
1986
- deletedAt: Date | null;
1987
- priceId: string;
1988
- perUnit: number;
1989
- price: number;
1990
- };
1991
- subscriptionId: string;
1992
- quantity: number;
1993
- amount: number;
1994
- startAt: Date | null;
1995
- expireAt: Date;
1996
- subscriptionProducts: {
1997
- id: string;
1998
- product: {
1999
- type: string;
2000
- id: string;
2001
- name: string;
2002
- createdAt: Date;
2003
- updatedAt: Date;
2004
- deletedAt: Date | null;
2005
- provider: string;
2006
- productId: string;
2007
- omnichannel: string;
2008
- usageType: string | null;
2009
- productPrice: {
2010
- id: string;
2011
- name: string | null;
2012
- currency: string | null;
2013
- createdAt: Date;
2014
- updatedAt: Date;
2015
- deletedAt: Date | null;
2016
- priceId: string;
2017
- perUnit: number;
2018
- price: number;
2019
- };
2020
- relatedProducts: {
2021
- id: string;
2022
- product: {
2023
- type: string;
2024
- id: string;
2025
- name: string;
2026
- createdAt: Date;
2027
- updatedAt: Date;
2028
- deletedAt: Date | null;
2029
- provider: string;
2030
- productId: string;
2031
- omnichannel: string;
2032
- usageType: string | null;
2033
- productPrice: {
2034
- id: string;
2035
- name: string | null;
2036
- currency: string | null;
2037
- createdAt: Date;
2038
- updatedAt: Date;
2039
- deletedAt: Date | null;
2040
- priceId: string;
2041
- perUnit: number;
2042
- price: number;
2043
- };
2044
- };
2045
- createdAt: Date;
2046
- updatedAt: Date;
2047
- deletedAt: Date | null;
2048
- includedQuantity: number;
2049
- }[];
2050
- };
2051
- createdAt: Date;
2052
- updatedAt: Date;
2053
- deletedAt: Date | null;
2054
- limit: number;
2055
- subscriptionItemId: string;
2056
- usage: number | null;
2057
- }[];
2058
- }>;
2059
- //# sourceMappingURL=schema.d.ts.map