@kl1/contracts 1.1.32 → 1.1.33

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.
@@ -42,6 +42,37 @@ export declare const subscriptionContract: {
42
42
  type: z.ZodString;
43
43
  omnichannel: z.ZodString;
44
44
  usageType: z.ZodNullable<z.ZodString>;
45
+ productPrice: z.ZodObject<{
46
+ id: z.ZodString;
47
+ createdAt: z.ZodDate;
48
+ updatedAt: z.ZodDate;
49
+ deletedAt: z.ZodNullable<z.ZodDate>;
50
+ priceId: z.ZodString;
51
+ name: z.ZodNullable<z.ZodString>;
52
+ perUnit: z.ZodNumber;
53
+ price: z.ZodNumber;
54
+ currency: z.ZodNullable<z.ZodString>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ id: string;
57
+ name: string | null;
58
+ currency: string | null;
59
+ createdAt: Date;
60
+ updatedAt: Date;
61
+ deletedAt: Date | null;
62
+ priceId: string;
63
+ perUnit: number;
64
+ price: number;
65
+ }, {
66
+ id: string;
67
+ name: string | null;
68
+ currency: string | null;
69
+ createdAt: Date;
70
+ updatedAt: Date;
71
+ deletedAt: Date | null;
72
+ priceId: string;
73
+ perUnit: number;
74
+ price: number;
75
+ }>;
45
76
  }, "strip", z.ZodTypeAny, {
46
77
  type: string;
47
78
  id: string;
@@ -53,6 +84,17 @@ export declare const subscriptionContract: {
53
84
  productId: string;
54
85
  omnichannel: string;
55
86
  usageType: string | null;
87
+ productPrice: {
88
+ id: string;
89
+ name: string | null;
90
+ currency: string | null;
91
+ createdAt: Date;
92
+ updatedAt: Date;
93
+ deletedAt: Date | null;
94
+ priceId: string;
95
+ perUnit: number;
96
+ price: number;
97
+ };
56
98
  }, {
57
99
  type: string;
58
100
  id: string;
@@ -64,6 +106,17 @@ export declare const subscriptionContract: {
64
106
  productId: string;
65
107
  omnichannel: string;
66
108
  usageType: string | null;
109
+ productPrice: {
110
+ id: string;
111
+ name: string | null;
112
+ currency: string | null;
113
+ createdAt: Date;
114
+ updatedAt: Date;
115
+ deletedAt: Date | null;
116
+ priceId: string;
117
+ perUnit: number;
118
+ price: number;
119
+ };
67
120
  }>;
68
121
  }, "strip", z.ZodTypeAny, {
69
122
  id: string;
@@ -78,6 +131,17 @@ export declare const subscriptionContract: {
78
131
  productId: string;
79
132
  omnichannel: string;
80
133
  usageType: string | null;
134
+ productPrice: {
135
+ id: string;
136
+ name: string | null;
137
+ currency: string | null;
138
+ createdAt: Date;
139
+ updatedAt: Date;
140
+ deletedAt: Date | null;
141
+ priceId: string;
142
+ perUnit: number;
143
+ price: number;
144
+ };
81
145
  };
82
146
  createdAt: Date;
83
147
  updatedAt: Date;
@@ -98,6 +162,17 @@ export declare const subscriptionContract: {
98
162
  productId: string;
99
163
  omnichannel: string;
100
164
  usageType: string | null;
165
+ productPrice: {
166
+ id: string;
167
+ name: string | null;
168
+ currency: string | null;
169
+ createdAt: Date;
170
+ updatedAt: Date;
171
+ deletedAt: Date | null;
172
+ priceId: string;
173
+ perUnit: number;
174
+ price: number;
175
+ };
101
176
  };
102
177
  createdAt: Date;
103
178
  updatedAt: Date;
@@ -106,16 +181,168 @@ export declare const subscriptionContract: {
106
181
  subscriptionItemId: string;
107
182
  usage: number | null;
108
183
  }>, "many">;
184
+ productPrice: z.ZodObject<{
185
+ id: z.ZodString;
186
+ createdAt: z.ZodDate;
187
+ updatedAt: z.ZodDate;
188
+ deletedAt: z.ZodNullable<z.ZodDate>;
189
+ priceId: z.ZodString;
190
+ name: z.ZodNullable<z.ZodString>;
191
+ perUnit: z.ZodNumber;
192
+ price: z.ZodNumber;
193
+ currency: z.ZodNullable<z.ZodString>;
194
+ }, "strip", z.ZodTypeAny, {
195
+ id: string;
196
+ name: string | null;
197
+ currency: string | null;
198
+ createdAt: Date;
199
+ updatedAt: Date;
200
+ deletedAt: Date | null;
201
+ priceId: string;
202
+ perUnit: number;
203
+ price: number;
204
+ }, {
205
+ id: string;
206
+ name: string | null;
207
+ currency: string | null;
208
+ createdAt: Date;
209
+ updatedAt: Date;
210
+ deletedAt: Date | null;
211
+ priceId: string;
212
+ perUnit: number;
213
+ price: number;
214
+ }>;
215
+ product: z.ZodObject<{
216
+ id: z.ZodString;
217
+ createdAt: z.ZodDate;
218
+ updatedAt: z.ZodDate;
219
+ deletedAt: z.ZodNullable<z.ZodDate>;
220
+ provider: z.ZodString;
221
+ productId: z.ZodString;
222
+ name: z.ZodString;
223
+ type: z.ZodString;
224
+ omnichannel: z.ZodString;
225
+ usageType: z.ZodNullable<z.ZodString>;
226
+ productPrice: z.ZodObject<{
227
+ id: z.ZodString;
228
+ createdAt: z.ZodDate;
229
+ updatedAt: z.ZodDate;
230
+ deletedAt: z.ZodNullable<z.ZodDate>;
231
+ priceId: z.ZodString;
232
+ name: z.ZodNullable<z.ZodString>;
233
+ perUnit: z.ZodNumber;
234
+ price: z.ZodNumber;
235
+ currency: z.ZodNullable<z.ZodString>;
236
+ }, "strip", z.ZodTypeAny, {
237
+ id: string;
238
+ name: string | null;
239
+ currency: string | null;
240
+ createdAt: Date;
241
+ updatedAt: Date;
242
+ deletedAt: Date | null;
243
+ priceId: string;
244
+ perUnit: number;
245
+ price: number;
246
+ }, {
247
+ id: string;
248
+ name: string | null;
249
+ currency: string | null;
250
+ createdAt: Date;
251
+ updatedAt: Date;
252
+ deletedAt: Date | null;
253
+ priceId: string;
254
+ perUnit: number;
255
+ price: number;
256
+ }>;
257
+ }, "strip", z.ZodTypeAny, {
258
+ type: string;
259
+ id: string;
260
+ name: string;
261
+ createdAt: Date;
262
+ updatedAt: Date;
263
+ deletedAt: Date | null;
264
+ provider: string;
265
+ productId: string;
266
+ omnichannel: string;
267
+ usageType: string | null;
268
+ productPrice: {
269
+ id: string;
270
+ name: string | null;
271
+ currency: string | null;
272
+ createdAt: Date;
273
+ updatedAt: Date;
274
+ deletedAt: Date | null;
275
+ priceId: string;
276
+ perUnit: number;
277
+ price: number;
278
+ };
279
+ }, {
280
+ type: string;
281
+ id: string;
282
+ name: string;
283
+ createdAt: Date;
284
+ updatedAt: Date;
285
+ deletedAt: Date | null;
286
+ provider: string;
287
+ productId: string;
288
+ omnichannel: string;
289
+ usageType: string | null;
290
+ productPrice: {
291
+ id: string;
292
+ name: string | null;
293
+ currency: string | null;
294
+ createdAt: Date;
295
+ updatedAt: Date;
296
+ deletedAt: Date | null;
297
+ priceId: string;
298
+ perUnit: number;
299
+ price: number;
300
+ };
301
+ }>;
109
302
  }, "strip", z.ZodTypeAny, {
110
303
  type: string;
111
304
  interval: string;
112
305
  id: string;
113
306
  name: string | null;
307
+ product: {
308
+ type: string;
309
+ id: string;
310
+ name: string;
311
+ createdAt: Date;
312
+ updatedAt: Date;
313
+ deletedAt: Date | null;
314
+ provider: string;
315
+ productId: string;
316
+ omnichannel: string;
317
+ usageType: string | null;
318
+ productPrice: {
319
+ id: string;
320
+ name: string | null;
321
+ currency: string | null;
322
+ createdAt: Date;
323
+ updatedAt: Date;
324
+ deletedAt: Date | null;
325
+ priceId: string;
326
+ perUnit: number;
327
+ price: number;
328
+ };
329
+ };
114
330
  status: string;
115
331
  createdAt: Date;
116
332
  updatedAt: Date;
117
333
  deletedAt: Date | null;
118
334
  provider: string;
335
+ productPrice: {
336
+ id: string;
337
+ name: string | null;
338
+ currency: string | null;
339
+ createdAt: Date;
340
+ updatedAt: Date;
341
+ deletedAt: Date | null;
342
+ priceId: string;
343
+ perUnit: number;
344
+ price: number;
345
+ };
119
346
  subscriptionId: string;
120
347
  quantity: number;
121
348
  amount: number;
@@ -134,6 +361,17 @@ export declare const subscriptionContract: {
134
361
  productId: string;
135
362
  omnichannel: string;
136
363
  usageType: string | null;
364
+ productPrice: {
365
+ id: string;
366
+ name: string | null;
367
+ currency: string | null;
368
+ createdAt: Date;
369
+ updatedAt: Date;
370
+ deletedAt: Date | null;
371
+ priceId: string;
372
+ perUnit: number;
373
+ price: number;
374
+ };
137
375
  };
138
376
  createdAt: Date;
139
377
  updatedAt: Date;
@@ -147,11 +385,45 @@ export declare const subscriptionContract: {
147
385
  interval: string;
148
386
  id: string;
149
387
  name: string | null;
388
+ product: {
389
+ type: string;
390
+ id: string;
391
+ name: string;
392
+ createdAt: Date;
393
+ updatedAt: Date;
394
+ deletedAt: Date | null;
395
+ provider: string;
396
+ productId: string;
397
+ omnichannel: string;
398
+ usageType: string | null;
399
+ productPrice: {
400
+ id: string;
401
+ name: string | null;
402
+ currency: string | null;
403
+ createdAt: Date;
404
+ updatedAt: Date;
405
+ deletedAt: Date | null;
406
+ priceId: string;
407
+ perUnit: number;
408
+ price: number;
409
+ };
410
+ };
150
411
  status: string;
151
412
  createdAt: Date;
152
413
  updatedAt: Date;
153
414
  deletedAt: Date | null;
154
415
  provider: string;
416
+ productPrice: {
417
+ id: string;
418
+ name: string | null;
419
+ currency: string | null;
420
+ createdAt: Date;
421
+ updatedAt: Date;
422
+ deletedAt: Date | null;
423
+ priceId: string;
424
+ perUnit: number;
425
+ price: number;
426
+ };
155
427
  subscriptionId: string;
156
428
  quantity: number;
157
429
  amount: number;
@@ -170,6 +442,17 @@ export declare const subscriptionContract: {
170
442
  productId: string;
171
443
  omnichannel: string;
172
444
  usageType: string | null;
445
+ productPrice: {
446
+ id: string;
447
+ name: string | null;
448
+ currency: string | null;
449
+ createdAt: Date;
450
+ updatedAt: Date;
451
+ deletedAt: Date | null;
452
+ priceId: string;
453
+ perUnit: number;
454
+ price: number;
455
+ };
173
456
  };
174
457
  createdAt: Date;
175
458
  updatedAt: Date;
@@ -186,11 +469,45 @@ export declare const subscriptionContract: {
186
469
  interval: string;
187
470
  id: string;
188
471
  name: string | null;
472
+ product: {
473
+ type: string;
474
+ id: string;
475
+ name: string;
476
+ createdAt: Date;
477
+ updatedAt: Date;
478
+ deletedAt: Date | null;
479
+ provider: string;
480
+ productId: string;
481
+ omnichannel: string;
482
+ usageType: string | null;
483
+ productPrice: {
484
+ id: string;
485
+ name: string | null;
486
+ currency: string | null;
487
+ createdAt: Date;
488
+ updatedAt: Date;
489
+ deletedAt: Date | null;
490
+ priceId: string;
491
+ perUnit: number;
492
+ price: number;
493
+ };
494
+ };
189
495
  status: string;
190
496
  createdAt: Date;
191
497
  updatedAt: Date;
192
498
  deletedAt: Date | null;
193
499
  provider: string;
500
+ productPrice: {
501
+ id: string;
502
+ name: string | null;
503
+ currency: string | null;
504
+ createdAt: Date;
505
+ updatedAt: Date;
506
+ deletedAt: Date | null;
507
+ priceId: string;
508
+ perUnit: number;
509
+ price: number;
510
+ };
194
511
  subscriptionId: string;
195
512
  quantity: number;
196
513
  amount: number;
@@ -209,6 +526,17 @@ export declare const subscriptionContract: {
209
526
  productId: string;
210
527
  omnichannel: string;
211
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
+ };
212
540
  };
213
541
  createdAt: Date;
214
542
  updatedAt: Date;
@@ -225,11 +553,45 @@ export declare const subscriptionContract: {
225
553
  interval: string;
226
554
  id: string;
227
555
  name: string | null;
556
+ product: {
557
+ type: string;
558
+ id: string;
559
+ name: string;
560
+ createdAt: Date;
561
+ updatedAt: Date;
562
+ deletedAt: Date | null;
563
+ provider: string;
564
+ productId: string;
565
+ omnichannel: string;
566
+ usageType: string | null;
567
+ productPrice: {
568
+ id: string;
569
+ name: string | null;
570
+ currency: string | null;
571
+ createdAt: Date;
572
+ updatedAt: Date;
573
+ deletedAt: Date | null;
574
+ priceId: string;
575
+ perUnit: number;
576
+ price: number;
577
+ };
578
+ };
228
579
  status: string;
229
580
  createdAt: Date;
230
581
  updatedAt: Date;
231
582
  deletedAt: Date | null;
232
583
  provider: string;
584
+ productPrice: {
585
+ id: string;
586
+ name: string | null;
587
+ currency: string | null;
588
+ createdAt: Date;
589
+ updatedAt: Date;
590
+ deletedAt: Date | null;
591
+ priceId: string;
592
+ perUnit: number;
593
+ price: number;
594
+ };
233
595
  subscriptionId: string;
234
596
  quantity: number;
235
597
  amount: number;
@@ -248,6 +610,17 @@ export declare const subscriptionContract: {
248
610
  productId: string;
249
611
  omnichannel: string;
250
612
  usageType: string | null;
613
+ productPrice: {
614
+ id: string;
615
+ name: string | null;
616
+ currency: string | null;
617
+ createdAt: Date;
618
+ updatedAt: Date;
619
+ deletedAt: Date | null;
620
+ priceId: string;
621
+ perUnit: number;
622
+ price: number;
623
+ };
251
624
  };
252
625
  createdAt: Date;
253
626
  updatedAt: Date;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/subscription/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAO,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAExD,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE9E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgChC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/subscription/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAO,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAExD,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE9E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgChC,CAAC"}