@kl1/contracts 1.2.53-uat → 1.2.54-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-contracts/src/subscription/index.d.ts +8 -0
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/validation.d.ts +8 -0
- package/dist/api-contracts/src/subscription/validation.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1431,31 +1431,39 @@ export declare const subscriptionContract: {
|
|
|
1431
1431
|
updateSubscription: {
|
|
1432
1432
|
body: z.ZodObject<{
|
|
1433
1433
|
planProductId: z.ZodString;
|
|
1434
|
+
planProductPriceId: z.ZodString;
|
|
1434
1435
|
subscriptionId: z.ZodString;
|
|
1435
1436
|
subscriptionProducts: z.ZodArray<z.ZodObject<{
|
|
1436
1437
|
productId: z.ZodString;
|
|
1438
|
+
productPriceId: z.ZodString;
|
|
1437
1439
|
quantity: z.ZodNumber;
|
|
1438
1440
|
}, "strip", z.ZodTypeAny, {
|
|
1439
1441
|
productId: string;
|
|
1440
1442
|
quantity: number;
|
|
1443
|
+
productPriceId: string;
|
|
1441
1444
|
}, {
|
|
1442
1445
|
productId: string;
|
|
1443
1446
|
quantity: number;
|
|
1447
|
+
productPriceId: string;
|
|
1444
1448
|
}>, "many">;
|
|
1445
1449
|
}, "strip", z.ZodTypeAny, {
|
|
1446
1450
|
subscriptionId: string;
|
|
1447
1451
|
subscriptionProducts: {
|
|
1448
1452
|
productId: string;
|
|
1449
1453
|
quantity: number;
|
|
1454
|
+
productPriceId: string;
|
|
1450
1455
|
}[];
|
|
1451
1456
|
planProductId: string;
|
|
1457
|
+
planProductPriceId: string;
|
|
1452
1458
|
}, {
|
|
1453
1459
|
subscriptionId: string;
|
|
1454
1460
|
subscriptionProducts: {
|
|
1455
1461
|
productId: string;
|
|
1456
1462
|
quantity: number;
|
|
1463
|
+
productPriceId: string;
|
|
1457
1464
|
}[];
|
|
1458
1465
|
planProductId: string;
|
|
1466
|
+
planProductPriceId: string;
|
|
1459
1467
|
}>;
|
|
1460
1468
|
method: "PATCH";
|
|
1461
1469
|
responses: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/subscription/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAO,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,wBAAwB,EACxB,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC9E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAClE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AACpD,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/subscription/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAO,CAAC,EAAE,MAAM,KAAK,CAAC;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqEhC,CAAC"}
|
|
@@ -11,31 +11,39 @@ export declare const GetAvailablePlanSchema: z.ZodObject<{
|
|
|
11
11
|
}>;
|
|
12
12
|
export declare const UpdateSubscriptionSchema: z.ZodObject<{
|
|
13
13
|
planProductId: z.ZodString;
|
|
14
|
+
planProductPriceId: z.ZodString;
|
|
14
15
|
subscriptionId: z.ZodString;
|
|
15
16
|
subscriptionProducts: z.ZodArray<z.ZodObject<{
|
|
16
17
|
productId: z.ZodString;
|
|
18
|
+
productPriceId: z.ZodString;
|
|
17
19
|
quantity: z.ZodNumber;
|
|
18
20
|
}, "strip", z.ZodTypeAny, {
|
|
19
21
|
productId: string;
|
|
20
22
|
quantity: number;
|
|
23
|
+
productPriceId: string;
|
|
21
24
|
}, {
|
|
22
25
|
productId: string;
|
|
23
26
|
quantity: number;
|
|
27
|
+
productPriceId: string;
|
|
24
28
|
}>, "many">;
|
|
25
29
|
}, "strip", z.ZodTypeAny, {
|
|
26
30
|
subscriptionId: string;
|
|
27
31
|
subscriptionProducts: {
|
|
28
32
|
productId: string;
|
|
29
33
|
quantity: number;
|
|
34
|
+
productPriceId: string;
|
|
30
35
|
}[];
|
|
31
36
|
planProductId: string;
|
|
37
|
+
planProductPriceId: string;
|
|
32
38
|
}, {
|
|
33
39
|
subscriptionId: string;
|
|
34
40
|
subscriptionProducts: {
|
|
35
41
|
productId: string;
|
|
36
42
|
quantity: number;
|
|
43
|
+
productPriceId: string;
|
|
37
44
|
}[];
|
|
38
45
|
planProductId: string;
|
|
46
|
+
planProductPriceId: string;
|
|
39
47
|
}>;
|
|
40
48
|
export declare const TopUpBalanceSchema: z.ZodObject<{
|
|
41
49
|
quantity: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/subscription/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAC;AAEH,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/subscription/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWnC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;EAE7B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -10197,10 +10197,12 @@ var GetAvailablePlanSchema = import_zod136.z.object({
|
|
|
10197
10197
|
});
|
|
10198
10198
|
var UpdateSubscriptionSchema = import_zod136.z.object({
|
|
10199
10199
|
planProductId: import_zod136.z.string(),
|
|
10200
|
+
planProductPriceId: import_zod136.z.string(),
|
|
10200
10201
|
subscriptionId: import_zod136.z.string(),
|
|
10201
10202
|
subscriptionProducts: import_zod136.z.array(
|
|
10202
10203
|
import_zod136.z.object({
|
|
10203
10204
|
productId: import_zod136.z.string(),
|
|
10205
|
+
productPriceId: import_zod136.z.string(),
|
|
10204
10206
|
quantity: import_zod136.z.number()
|
|
10205
10207
|
})
|
|
10206
10208
|
)
|