@kl1/contracts 1.2.49-uat → 1.2.50-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 +55 -76
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +0 -53
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { ProductPriceSchema, ProductSchema, SubscriptionProuctSchema, SubscriptionSchema } from './schema';
|
|
2
|
+
import { CustomerSchema, ProductPriceSchema, ProductSchema, SubscriptionProuctSchema, SubscriptionSchema } from './schema';
|
|
3
3
|
import { UpdateSubscriptionSchema, TopUpBalanceSchema } from './validation';
|
|
4
4
|
export type UpdateSubscriptionBody = z.infer<typeof UpdateSubscriptionSchema>;
|
|
5
5
|
export type topUpBalanceBody = z.infer<typeof TopUpBalanceSchema>;
|
|
@@ -7,6 +7,7 @@ export type Subscription = z.infer<typeof SubscriptionSchema>;
|
|
|
7
7
|
export type SubscriptionProuct = z.infer<typeof SubscriptionProuctSchema>;
|
|
8
8
|
export type ProductPrice = z.infer<typeof ProductPriceSchema>;
|
|
9
9
|
export type Product = z.infer<typeof ProductSchema>;
|
|
10
|
+
export type Customer = z.infer<typeof CustomerSchema>;
|
|
10
11
|
export declare const subscriptionContract: {
|
|
11
12
|
getSubscription: {
|
|
12
13
|
method: "GET";
|
|
@@ -14,6 +15,37 @@ export declare const subscriptionContract: {
|
|
|
14
15
|
responses: {
|
|
15
16
|
200: z.ZodObject<{
|
|
16
17
|
requestId: z.ZodString;
|
|
18
|
+
customer: z.ZodObject<{
|
|
19
|
+
id: z.ZodString;
|
|
20
|
+
createdAt: z.ZodDate;
|
|
21
|
+
updatedAt: z.ZodDate;
|
|
22
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
23
|
+
provider: z.ZodString;
|
|
24
|
+
customerId: z.ZodString;
|
|
25
|
+
email: z.ZodString;
|
|
26
|
+
name: z.ZodString;
|
|
27
|
+
balance: z.ZodNumber;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
id: string;
|
|
30
|
+
name: string;
|
|
31
|
+
email: string;
|
|
32
|
+
createdAt: Date;
|
|
33
|
+
updatedAt: Date;
|
|
34
|
+
deletedAt: Date | null;
|
|
35
|
+
provider: string;
|
|
36
|
+
customerId: string;
|
|
37
|
+
balance: number;
|
|
38
|
+
}, {
|
|
39
|
+
id: string;
|
|
40
|
+
name: string;
|
|
41
|
+
email: string;
|
|
42
|
+
createdAt: Date;
|
|
43
|
+
updatedAt: Date;
|
|
44
|
+
deletedAt: Date | null;
|
|
45
|
+
provider: string;
|
|
46
|
+
customerId: string;
|
|
47
|
+
balance: number;
|
|
48
|
+
}>;
|
|
17
49
|
subscription: z.ZodObject<{
|
|
18
50
|
id: z.ZodString;
|
|
19
51
|
createdAt: z.ZodDate;
|
|
@@ -789,37 +821,6 @@ export declare const subscriptionContract: {
|
|
|
789
821
|
includedQuantity: number;
|
|
790
822
|
}[];
|
|
791
823
|
}>;
|
|
792
|
-
customer: z.ZodObject<{
|
|
793
|
-
id: z.ZodString;
|
|
794
|
-
createdAt: z.ZodDate;
|
|
795
|
-
updatedAt: z.ZodDate;
|
|
796
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
797
|
-
provider: z.ZodString;
|
|
798
|
-
customerId: z.ZodString;
|
|
799
|
-
email: z.ZodString;
|
|
800
|
-
name: z.ZodString;
|
|
801
|
-
balance: z.ZodNumber;
|
|
802
|
-
}, "strip", z.ZodTypeAny, {
|
|
803
|
-
id: string;
|
|
804
|
-
name: string;
|
|
805
|
-
email: string;
|
|
806
|
-
createdAt: Date;
|
|
807
|
-
updatedAt: Date;
|
|
808
|
-
deletedAt: Date | null;
|
|
809
|
-
provider: string;
|
|
810
|
-
customerId: string;
|
|
811
|
-
balance: number;
|
|
812
|
-
}, {
|
|
813
|
-
id: string;
|
|
814
|
-
name: string;
|
|
815
|
-
email: string;
|
|
816
|
-
createdAt: Date;
|
|
817
|
-
updatedAt: Date;
|
|
818
|
-
deletedAt: Date | null;
|
|
819
|
-
provider: string;
|
|
820
|
-
customerId: string;
|
|
821
|
-
balance: number;
|
|
822
|
-
}>;
|
|
823
824
|
}, "strip", z.ZodTypeAny, {
|
|
824
825
|
type: string;
|
|
825
826
|
interval: string;
|
|
@@ -961,17 +962,6 @@ export declare const subscriptionContract: {
|
|
|
961
962
|
limit: number;
|
|
962
963
|
subscriptionItemId: string;
|
|
963
964
|
}[];
|
|
964
|
-
customer: {
|
|
965
|
-
id: string;
|
|
966
|
-
name: string;
|
|
967
|
-
email: string;
|
|
968
|
-
createdAt: Date;
|
|
969
|
-
updatedAt: Date;
|
|
970
|
-
deletedAt: Date | null;
|
|
971
|
-
provider: string;
|
|
972
|
-
customerId: string;
|
|
973
|
-
balance: number;
|
|
974
|
-
};
|
|
975
965
|
}, {
|
|
976
966
|
type: string;
|
|
977
967
|
interval: string;
|
|
@@ -1113,20 +1103,20 @@ export declare const subscriptionContract: {
|
|
|
1113
1103
|
limit: number;
|
|
1114
1104
|
subscriptionItemId: string;
|
|
1115
1105
|
}[];
|
|
1116
|
-
customer: {
|
|
1117
|
-
id: string;
|
|
1118
|
-
name: string;
|
|
1119
|
-
email: string;
|
|
1120
|
-
createdAt: Date;
|
|
1121
|
-
updatedAt: Date;
|
|
1122
|
-
deletedAt: Date | null;
|
|
1123
|
-
provider: string;
|
|
1124
|
-
customerId: string;
|
|
1125
|
-
balance: number;
|
|
1126
|
-
};
|
|
1127
1106
|
}>;
|
|
1128
1107
|
}, "strip", z.ZodTypeAny, {
|
|
1129
1108
|
requestId: string;
|
|
1109
|
+
customer: {
|
|
1110
|
+
id: string;
|
|
1111
|
+
name: string;
|
|
1112
|
+
email: string;
|
|
1113
|
+
createdAt: Date;
|
|
1114
|
+
updatedAt: Date;
|
|
1115
|
+
deletedAt: Date | null;
|
|
1116
|
+
provider: string;
|
|
1117
|
+
customerId: string;
|
|
1118
|
+
balance: number;
|
|
1119
|
+
};
|
|
1130
1120
|
subscription: {
|
|
1131
1121
|
type: string;
|
|
1132
1122
|
interval: string;
|
|
@@ -1268,20 +1258,20 @@ export declare const subscriptionContract: {
|
|
|
1268
1258
|
limit: number;
|
|
1269
1259
|
subscriptionItemId: string;
|
|
1270
1260
|
}[];
|
|
1271
|
-
customer: {
|
|
1272
|
-
id: string;
|
|
1273
|
-
name: string;
|
|
1274
|
-
email: string;
|
|
1275
|
-
createdAt: Date;
|
|
1276
|
-
updatedAt: Date;
|
|
1277
|
-
deletedAt: Date | null;
|
|
1278
|
-
provider: string;
|
|
1279
|
-
customerId: string;
|
|
1280
|
-
balance: number;
|
|
1281
|
-
};
|
|
1282
1261
|
};
|
|
1283
1262
|
}, {
|
|
1284
1263
|
requestId: string;
|
|
1264
|
+
customer: {
|
|
1265
|
+
id: string;
|
|
1266
|
+
name: string;
|
|
1267
|
+
email: string;
|
|
1268
|
+
createdAt: Date;
|
|
1269
|
+
updatedAt: Date;
|
|
1270
|
+
deletedAt: Date | null;
|
|
1271
|
+
provider: string;
|
|
1272
|
+
customerId: string;
|
|
1273
|
+
balance: number;
|
|
1274
|
+
};
|
|
1285
1275
|
subscription: {
|
|
1286
1276
|
type: string;
|
|
1287
1277
|
interval: string;
|
|
@@ -1423,17 +1413,6 @@ export declare const subscriptionContract: {
|
|
|
1423
1413
|
limit: number;
|
|
1424
1414
|
subscriptionItemId: string;
|
|
1425
1415
|
}[];
|
|
1426
|
-
customer: {
|
|
1427
|
-
id: string;
|
|
1428
|
-
name: string;
|
|
1429
|
-
email: string;
|
|
1430
|
-
createdAt: Date;
|
|
1431
|
-
updatedAt: Date;
|
|
1432
|
-
deletedAt: Date | null;
|
|
1433
|
-
provider: string;
|
|
1434
|
-
customerId: string;
|
|
1435
|
-
balance: number;
|
|
1436
|
-
};
|
|
1437
1416
|
};
|
|
1438
1417
|
}>;
|
|
1439
1418
|
500: z.ZodObject<{
|
|
@@ -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,kBAAkB,EAClB,aAAa,EACb,wBAAwB,EACxB,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAClB,OAAO,
|
|
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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C,CAAC"}
|
|
@@ -1804,37 +1804,6 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
|
1804
1804
|
includedQuantity: number;
|
|
1805
1805
|
}[];
|
|
1806
1806
|
}>;
|
|
1807
|
-
customer: z.ZodObject<{
|
|
1808
|
-
id: z.ZodString;
|
|
1809
|
-
createdAt: z.ZodDate;
|
|
1810
|
-
updatedAt: z.ZodDate;
|
|
1811
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1812
|
-
provider: z.ZodString;
|
|
1813
|
-
customerId: z.ZodString;
|
|
1814
|
-
email: z.ZodString;
|
|
1815
|
-
name: z.ZodString;
|
|
1816
|
-
balance: z.ZodNumber;
|
|
1817
|
-
}, "strip", z.ZodTypeAny, {
|
|
1818
|
-
id: string;
|
|
1819
|
-
name: string;
|
|
1820
|
-
email: string;
|
|
1821
|
-
createdAt: Date;
|
|
1822
|
-
updatedAt: Date;
|
|
1823
|
-
deletedAt: Date | null;
|
|
1824
|
-
provider: string;
|
|
1825
|
-
customerId: string;
|
|
1826
|
-
balance: number;
|
|
1827
|
-
}, {
|
|
1828
|
-
id: string;
|
|
1829
|
-
name: string;
|
|
1830
|
-
email: string;
|
|
1831
|
-
createdAt: Date;
|
|
1832
|
-
updatedAt: Date;
|
|
1833
|
-
deletedAt: Date | null;
|
|
1834
|
-
provider: string;
|
|
1835
|
-
customerId: string;
|
|
1836
|
-
balance: number;
|
|
1837
|
-
}>;
|
|
1838
1807
|
}, "strip", z.ZodTypeAny, {
|
|
1839
1808
|
type: string;
|
|
1840
1809
|
interval: string;
|
|
@@ -1976,17 +1945,6 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
|
1976
1945
|
limit: number;
|
|
1977
1946
|
subscriptionItemId: string;
|
|
1978
1947
|
}[];
|
|
1979
|
-
customer: {
|
|
1980
|
-
id: string;
|
|
1981
|
-
name: string;
|
|
1982
|
-
email: string;
|
|
1983
|
-
createdAt: Date;
|
|
1984
|
-
updatedAt: Date;
|
|
1985
|
-
deletedAt: Date | null;
|
|
1986
|
-
provider: string;
|
|
1987
|
-
customerId: string;
|
|
1988
|
-
balance: number;
|
|
1989
|
-
};
|
|
1990
1948
|
}, {
|
|
1991
1949
|
type: string;
|
|
1992
1950
|
interval: string;
|
|
@@ -2128,16 +2086,5 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
|
2128
2086
|
limit: number;
|
|
2129
2087
|
subscriptionItemId: string;
|
|
2130
2088
|
}[];
|
|
2131
|
-
customer: {
|
|
2132
|
-
id: string;
|
|
2133
|
-
name: string;
|
|
2134
|
-
email: string;
|
|
2135
|
-
createdAt: Date;
|
|
2136
|
-
updatedAt: Date;
|
|
2137
|
-
deletedAt: Date | null;
|
|
2138
|
-
provider: string;
|
|
2139
|
-
customerId: string;
|
|
2140
|
-
balance: number;
|
|
2141
|
-
};
|
|
2142
2089
|
}>;
|
|
2143
2090
|
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -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,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQtC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG/B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc7B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -10247,8 +10247,7 @@ var SubscriptionSchema = DefaultEntitySchema.extend({
|
|
|
10247
10247
|
name: import_zod136.default.string().nullable(),
|
|
10248
10248
|
subscriptionProducts: import_zod136.default.array(SubscriptionProuctSchema),
|
|
10249
10249
|
productPrice: ProductPriceSchema,
|
|
10250
|
-
product: ProductSchema
|
|
10251
|
-
customer: CustomerSchema
|
|
10250
|
+
product: ProductSchema
|
|
10252
10251
|
});
|
|
10253
10252
|
|
|
10254
10253
|
// src/subscription/validation.ts
|
|
@@ -10280,6 +10279,7 @@ var subscriptionContract = (0, import_core53.initContract)().router(
|
|
|
10280
10279
|
query: null,
|
|
10281
10280
|
responses: {
|
|
10282
10281
|
200: DefaultSuccessResponseSchema.extend({
|
|
10282
|
+
customer: CustomerSchema,
|
|
10283
10283
|
subscription: SubscriptionSchema
|
|
10284
10284
|
}),
|
|
10285
10285
|
500: DefaultErrorResponseSchema
|