@kl1/contracts 1.1.62-uat → 1.1.64-uat

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,6 +30,245 @@ export declare const ProductPriceSchema: z.ZodObject<{
30
30
  perUnit: number;
31
31
  price: number;
32
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
+ }>;
33
272
  export declare const ProductSchema: z.ZodObject<{
34
273
  id: z.ZodString;
35
274
  createdAt: z.ZodDate;
@@ -68,10 +307,162 @@ export declare const ProductSchema: z.ZodObject<{
68
307
  createdAt: Date;
69
308
  updatedAt: Date;
70
309
  deletedAt: Date | null;
71
- priceId: string;
72
- perUnit: number;
73
- price: number;
74
- }>;
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">;
75
466
  }, "strip", z.ZodTypeAny, {
76
467
  type: string;
77
468
  id: string;
@@ -94,6 +485,36 @@ export declare const ProductSchema: z.ZodObject<{
94
485
  perUnit: number;
95
486
  price: number;
96
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
+ }[];
97
518
  }, {
98
519
  type: string;
99
520
  id: string;
@@ -116,6 +537,36 @@ export declare const ProductSchema: z.ZodObject<{
116
537
  perUnit: number;
117
538
  price: number;
118
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
+ }[];
119
570
  }>;
120
571
  export declare const SubscriptionProuctSchema: z.ZodObject<{
121
572
  id: z.ZodString;
@@ -167,6 +618,158 @@ export declare const SubscriptionProuctSchema: z.ZodObject<{
167
618
  perUnit: number;
168
619
  price: number;
169
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">;
170
773
  }, "strip", z.ZodTypeAny, {
171
774
  type: string;
172
775
  id: string;
@@ -189,6 +792,36 @@ export declare const SubscriptionProuctSchema: z.ZodObject<{
189
792
  perUnit: number;
190
793
  price: number;
191
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
+ }[];
192
825
  }, {
193
826
  type: string;
194
827
  id: string;
@@ -211,6 +844,36 @@ export declare const SubscriptionProuctSchema: z.ZodObject<{
211
844
  perUnit: number;
212
845
  price: number;
213
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
+ }[];
214
877
  }>;
215
878
  }, "strip", z.ZodTypeAny, {
216
879
  id: string;
@@ -236,6 +899,36 @@ export declare const SubscriptionProuctSchema: z.ZodObject<{
236
899
  perUnit: number;
237
900
  price: number;
238
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
+ }[];
239
932
  };
240
933
  createdAt: Date;
241
934
  updatedAt: Date;
@@ -267,6 +960,36 @@ export declare const SubscriptionProuctSchema: z.ZodObject<{
267
960
  perUnit: number;
268
961
  price: number;
269
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
+ }[];
270
993
  };
271
994
  createdAt: Date;
272
995
  updatedAt: Date;
@@ -340,6 +1063,158 @@ export declare const SubscriptionSchema: z.ZodObject<{
340
1063
  perUnit: number;
341
1064
  price: number;
342
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">;
343
1218
  }, "strip", z.ZodTypeAny, {
344
1219
  type: string;
345
1220
  id: string;
@@ -362,6 +1237,36 @@ export declare const SubscriptionSchema: z.ZodObject<{
362
1237
  perUnit: number;
363
1238
  price: number;
364
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
+ }[];
365
1270
  }, {
366
1271
  type: string;
367
1272
  id: string;
@@ -384,6 +1289,36 @@ export declare const SubscriptionSchema: z.ZodObject<{
384
1289
  perUnit: number;
385
1290
  price: number;
386
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
+ }[];
387
1322
  }>;
388
1323
  }, "strip", z.ZodTypeAny, {
389
1324
  id: string;
@@ -409,6 +1344,36 @@ export declare const SubscriptionSchema: z.ZodObject<{
409
1344
  perUnit: number;
410
1345
  price: number;
411
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
+ }[];
412
1377
  };
413
1378
  createdAt: Date;
414
1379
  updatedAt: Date;
@@ -440,6 +1405,36 @@ export declare const SubscriptionSchema: z.ZodObject<{
440
1405
  perUnit: number;
441
1406
  price: number;
442
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
+ }[];
443
1438
  };
444
1439
  createdAt: Date;
445
1440
  updatedAt: Date;
@@ -521,6 +1516,158 @@ export declare const SubscriptionSchema: z.ZodObject<{
521
1516
  perUnit: number;
522
1517
  price: number;
523
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">;
524
1671
  }, "strip", z.ZodTypeAny, {
525
1672
  type: string;
526
1673
  id: string;
@@ -543,6 +1690,36 @@ export declare const SubscriptionSchema: z.ZodObject<{
543
1690
  perUnit: number;
544
1691
  price: number;
545
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
+ }[];
546
1723
  }, {
547
1724
  type: string;
548
1725
  id: string;
@@ -565,6 +1742,36 @@ export declare const SubscriptionSchema: z.ZodObject<{
565
1742
  perUnit: number;
566
1743
  price: number;
567
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
+ }[];
568
1775
  }>;
569
1776
  }, "strip", z.ZodTypeAny, {
570
1777
  type: string;
@@ -593,6 +1800,36 @@ export declare const SubscriptionSchema: z.ZodObject<{
593
1800
  perUnit: number;
594
1801
  price: number;
595
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
+ }[];
596
1833
  };
597
1834
  status: string;
598
1835
  createdAt: Date;
@@ -639,6 +1876,36 @@ export declare const SubscriptionSchema: z.ZodObject<{
639
1876
  perUnit: number;
640
1877
  price: number;
641
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
+ }[];
642
1909
  };
643
1910
  createdAt: Date;
644
1911
  updatedAt: Date;
@@ -674,6 +1941,36 @@ export declare const SubscriptionSchema: z.ZodObject<{
674
1941
  perUnit: number;
675
1942
  price: number;
676
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
+ }[];
677
1974
  };
678
1975
  status: string;
679
1976
  createdAt: Date;
@@ -720,6 +2017,36 @@ export declare const SubscriptionSchema: z.ZodObject<{
720
2017
  perUnit: number;
721
2018
  price: number;
722
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
+ }[];
723
2050
  };
724
2051
  createdAt: Date;
725
2052
  updatedAt: Date;