@kl1/contracts 1.1.57-uat → 1.1.58-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/dist/src/contract.d.ts +75 -0
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/subscription/index.d.ts +75 -0
- package/dist/src/subscription/index.d.ts.map +1 -1
- package/dist/src/subscription/schema.d.ts +53 -0
- package/dist/src/subscription/schema.d.ts.map +1 -1
- package/package.json +1 -1
@@ -181,6 +181,37 @@ export declare const subscriptionContract: {
|
|
181
181
|
subscriptionItemId: string;
|
182
182
|
usage: number | null;
|
183
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
|
+
}>;
|
184
215
|
}, "strip", z.ZodTypeAny, {
|
185
216
|
type: string;
|
186
217
|
interval: string;
|
@@ -191,6 +222,17 @@ export declare const subscriptionContract: {
|
|
191
222
|
updatedAt: Date;
|
192
223
|
deletedAt: Date | null;
|
193
224
|
provider: string;
|
225
|
+
productPrice: {
|
226
|
+
id: string;
|
227
|
+
name: string | null;
|
228
|
+
currency: string | null;
|
229
|
+
createdAt: Date;
|
230
|
+
updatedAt: Date;
|
231
|
+
deletedAt: Date | null;
|
232
|
+
priceId: string;
|
233
|
+
perUnit: number;
|
234
|
+
price: number;
|
235
|
+
};
|
194
236
|
subscriptionId: string;
|
195
237
|
quantity: number;
|
196
238
|
amount: number;
|
@@ -238,6 +280,17 @@ export declare const subscriptionContract: {
|
|
238
280
|
updatedAt: Date;
|
239
281
|
deletedAt: Date | null;
|
240
282
|
provider: string;
|
283
|
+
productPrice: {
|
284
|
+
id: string;
|
285
|
+
name: string | null;
|
286
|
+
currency: string | null;
|
287
|
+
createdAt: Date;
|
288
|
+
updatedAt: Date;
|
289
|
+
deletedAt: Date | null;
|
290
|
+
priceId: string;
|
291
|
+
perUnit: number;
|
292
|
+
price: number;
|
293
|
+
};
|
241
294
|
subscriptionId: string;
|
242
295
|
quantity: number;
|
243
296
|
amount: number;
|
@@ -288,6 +341,17 @@ export declare const subscriptionContract: {
|
|
288
341
|
updatedAt: Date;
|
289
342
|
deletedAt: Date | null;
|
290
343
|
provider: string;
|
344
|
+
productPrice: {
|
345
|
+
id: string;
|
346
|
+
name: string | null;
|
347
|
+
currency: string | null;
|
348
|
+
createdAt: Date;
|
349
|
+
updatedAt: Date;
|
350
|
+
deletedAt: Date | null;
|
351
|
+
priceId: string;
|
352
|
+
perUnit: number;
|
353
|
+
price: number;
|
354
|
+
};
|
291
355
|
subscriptionId: string;
|
292
356
|
quantity: number;
|
293
357
|
amount: number;
|
@@ -338,6 +402,17 @@ export declare const subscriptionContract: {
|
|
338
402
|
updatedAt: Date;
|
339
403
|
deletedAt: Date | null;
|
340
404
|
provider: string;
|
405
|
+
productPrice: {
|
406
|
+
id: string;
|
407
|
+
name: string | null;
|
408
|
+
currency: string | null;
|
409
|
+
createdAt: Date;
|
410
|
+
updatedAt: Date;
|
411
|
+
deletedAt: Date | null;
|
412
|
+
priceId: string;
|
413
|
+
perUnit: number;
|
414
|
+
price: number;
|
415
|
+
};
|
341
416
|
subscriptionId: string;
|
342
417
|
quantity: number;
|
343
418
|
amount: number;
|
@@ -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
|
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"}
|
@@ -448,6 +448,37 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
448
448
|
subscriptionItemId: string;
|
449
449
|
usage: number | null;
|
450
450
|
}>, "many">;
|
451
|
+
productPrice: z.ZodObject<{
|
452
|
+
id: z.ZodString;
|
453
|
+
createdAt: z.ZodDate;
|
454
|
+
updatedAt: z.ZodDate;
|
455
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
456
|
+
priceId: z.ZodString;
|
457
|
+
name: z.ZodNullable<z.ZodString>;
|
458
|
+
perUnit: z.ZodNumber;
|
459
|
+
price: z.ZodNumber;
|
460
|
+
currency: z.ZodNullable<z.ZodString>;
|
461
|
+
}, "strip", z.ZodTypeAny, {
|
462
|
+
id: string;
|
463
|
+
name: string | null;
|
464
|
+
currency: string | null;
|
465
|
+
createdAt: Date;
|
466
|
+
updatedAt: Date;
|
467
|
+
deletedAt: Date | null;
|
468
|
+
priceId: string;
|
469
|
+
perUnit: number;
|
470
|
+
price: number;
|
471
|
+
}, {
|
472
|
+
id: string;
|
473
|
+
name: string | null;
|
474
|
+
currency: string | null;
|
475
|
+
createdAt: Date;
|
476
|
+
updatedAt: Date;
|
477
|
+
deletedAt: Date | null;
|
478
|
+
priceId: string;
|
479
|
+
perUnit: number;
|
480
|
+
price: number;
|
481
|
+
}>;
|
451
482
|
}, "strip", z.ZodTypeAny, {
|
452
483
|
type: string;
|
453
484
|
interval: string;
|
@@ -458,6 +489,17 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
458
489
|
updatedAt: Date;
|
459
490
|
deletedAt: Date | null;
|
460
491
|
provider: string;
|
492
|
+
productPrice: {
|
493
|
+
id: string;
|
494
|
+
name: string | null;
|
495
|
+
currency: string | null;
|
496
|
+
createdAt: Date;
|
497
|
+
updatedAt: Date;
|
498
|
+
deletedAt: Date | null;
|
499
|
+
priceId: string;
|
500
|
+
perUnit: number;
|
501
|
+
price: number;
|
502
|
+
};
|
461
503
|
subscriptionId: string;
|
462
504
|
quantity: number;
|
463
505
|
amount: number;
|
@@ -505,6 +547,17 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
505
547
|
updatedAt: Date;
|
506
548
|
deletedAt: Date | null;
|
507
549
|
provider: string;
|
550
|
+
productPrice: {
|
551
|
+
id: string;
|
552
|
+
name: string | null;
|
553
|
+
currency: string | null;
|
554
|
+
createdAt: Date;
|
555
|
+
updatedAt: Date;
|
556
|
+
deletedAt: Date | null;
|
557
|
+
priceId: string;
|
558
|
+
perUnit: number;
|
559
|
+
price: number;
|
560
|
+
};
|
508
561
|
subscriptionId: string;
|
509
562
|
quantity: number;
|
510
563
|
amount: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/subscription/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM7B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQxB,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKnC,CAAC;AAEH,eAAO,MAAM,kBAAkB
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/subscription/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