@kl1/contracts 1.1.56-uat → 1.1.57-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/index.js +11 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -3
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +10 -10
- package/dist/src/chat/validation.d.ts +71 -71
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +304 -185
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/contract2.d.ts +2 -0
- package/dist/src/contract2.d.ts.map +1 -0
- package/dist/src/facebook-feed/index.d.ts +65 -65
- package/dist/src/instagram/index.d.ts +30 -30
- package/dist/src/line/index.d.ts +30 -30
- package/dist/src/messenger/index.d.ts +30 -30
- package/dist/src/presence-status/index.d.ts +556 -0
- package/dist/src/presence-status/index.d.ts.map +1 -0
- package/dist/src/presence-status/schema.d.ts +31 -0
- package/dist/src/presence-status/schema.d.ts.map +1 -0
- package/dist/src/presence-status/validation.d.ts +28 -0
- package/dist/src/presence-status/validation.d.ts.map +1 -0
- package/dist/src/subscription/index.d.ts +119 -0
- package/dist/src/subscription/index.d.ts.map +1 -1
- package/dist/src/subscription/schema.d.ts +256 -0
- package/dist/src/subscription/schema.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +30 -30
- package/dist/src/webchat/index.d.ts +30 -30
- package/package.json +1 -1
@@ -0,0 +1,31 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
/**
|
3
|
+
* Channel Types Enum
|
4
|
+
*/
|
5
|
+
export declare const PresenceStatusDesEnum: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
6
|
+
export declare const PresenceStatusSchema: z.ZodObject<{
|
7
|
+
id: z.ZodString;
|
8
|
+
createdAt: z.ZodDate;
|
9
|
+
updatedAt: z.ZodDate;
|
10
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
11
|
+
status: z.ZodString;
|
12
|
+
description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
13
|
+
position: z.ZodNumber;
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
15
|
+
id: string;
|
16
|
+
position: number;
|
17
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
18
|
+
status: string;
|
19
|
+
createdAt: Date;
|
20
|
+
updatedAt: Date;
|
21
|
+
deletedAt: Date | null;
|
22
|
+
}, {
|
23
|
+
id: string;
|
24
|
+
position: number;
|
25
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
26
|
+
status: string;
|
27
|
+
createdAt: Date;
|
28
|
+
updatedAt: Date;
|
29
|
+
deletedAt: Date | null;
|
30
|
+
}>;
|
31
|
+
//# sourceMappingURL=schema.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/presence-status/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB;;GAEG;AACH,eAAO,MAAM,qBAAqB,iHAIhC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;EAQ/B,CAAC"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const CreatePresenceStatusSchema: z.ZodObject<{
|
3
|
+
status: z.ZodString;
|
4
|
+
description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
5
|
+
position: z.ZodNumber;
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
7
|
+
position: number;
|
8
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
9
|
+
status: string;
|
10
|
+
}, {
|
11
|
+
position: number;
|
12
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
13
|
+
status: string;
|
14
|
+
}>;
|
15
|
+
export declare const UpdatePresenceStatusSchema: z.ZodObject<{
|
16
|
+
status: z.ZodString;
|
17
|
+
description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
18
|
+
position: z.ZodNumber;
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
20
|
+
position: number;
|
21
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
22
|
+
status: string;
|
23
|
+
}, {
|
24
|
+
position: number;
|
25
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
26
|
+
status: string;
|
27
|
+
}>;
|
28
|
+
//# sourceMappingURL=validation.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/presence-status/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAIrC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAA6B,CAAC"}
|
@@ -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;
|
@@ -134,6 +209,17 @@ export declare const subscriptionContract: {
|
|
134
209
|
productId: string;
|
135
210
|
omnichannel: string;
|
136
211
|
usageType: string | null;
|
212
|
+
productPrice: {
|
213
|
+
id: string;
|
214
|
+
name: string | null;
|
215
|
+
currency: string | null;
|
216
|
+
createdAt: Date;
|
217
|
+
updatedAt: Date;
|
218
|
+
deletedAt: Date | null;
|
219
|
+
priceId: string;
|
220
|
+
perUnit: number;
|
221
|
+
price: number;
|
222
|
+
};
|
137
223
|
};
|
138
224
|
createdAt: Date;
|
139
225
|
updatedAt: Date;
|
@@ -170,6 +256,17 @@ export declare const subscriptionContract: {
|
|
170
256
|
productId: string;
|
171
257
|
omnichannel: string;
|
172
258
|
usageType: string | null;
|
259
|
+
productPrice: {
|
260
|
+
id: string;
|
261
|
+
name: string | null;
|
262
|
+
currency: string | null;
|
263
|
+
createdAt: Date;
|
264
|
+
updatedAt: Date;
|
265
|
+
deletedAt: Date | null;
|
266
|
+
priceId: string;
|
267
|
+
perUnit: number;
|
268
|
+
price: number;
|
269
|
+
};
|
173
270
|
};
|
174
271
|
createdAt: Date;
|
175
272
|
updatedAt: Date;
|
@@ -209,6 +306,17 @@ export declare const subscriptionContract: {
|
|
209
306
|
productId: string;
|
210
307
|
omnichannel: string;
|
211
308
|
usageType: string | null;
|
309
|
+
productPrice: {
|
310
|
+
id: string;
|
311
|
+
name: string | null;
|
312
|
+
currency: string | null;
|
313
|
+
createdAt: Date;
|
314
|
+
updatedAt: Date;
|
315
|
+
deletedAt: Date | null;
|
316
|
+
priceId: string;
|
317
|
+
perUnit: number;
|
318
|
+
price: number;
|
319
|
+
};
|
212
320
|
};
|
213
321
|
createdAt: Date;
|
214
322
|
updatedAt: Date;
|
@@ -248,6 +356,17 @@ export declare const subscriptionContract: {
|
|
248
356
|
productId: string;
|
249
357
|
omnichannel: string;
|
250
358
|
usageType: string | null;
|
359
|
+
productPrice: {
|
360
|
+
id: string;
|
361
|
+
name: string | null;
|
362
|
+
currency: string | null;
|
363
|
+
createdAt: Date;
|
364
|
+
updatedAt: Date;
|
365
|
+
deletedAt: Date | null;
|
366
|
+
priceId: string;
|
367
|
+
perUnit: number;
|
368
|
+
price: number;
|
369
|
+
};
|
251
370
|
};
|
252
371
|
createdAt: Date;
|
253
372
|
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
|
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,4 +1,35 @@
|
|
1
1
|
import z from 'zod';
|
2
|
+
export declare const ProductPriceSchema: z.ZodObject<{
|
3
|
+
id: z.ZodString;
|
4
|
+
createdAt: z.ZodDate;
|
5
|
+
updatedAt: z.ZodDate;
|
6
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
7
|
+
priceId: z.ZodString;
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
9
|
+
perUnit: z.ZodNumber;
|
10
|
+
price: z.ZodNumber;
|
11
|
+
currency: z.ZodNullable<z.ZodString>;
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
13
|
+
id: string;
|
14
|
+
name: string | null;
|
15
|
+
currency: string | null;
|
16
|
+
createdAt: Date;
|
17
|
+
updatedAt: Date;
|
18
|
+
deletedAt: Date | null;
|
19
|
+
priceId: string;
|
20
|
+
perUnit: number;
|
21
|
+
price: number;
|
22
|
+
}, {
|
23
|
+
id: string;
|
24
|
+
name: string | null;
|
25
|
+
currency: string | null;
|
26
|
+
createdAt: Date;
|
27
|
+
updatedAt: Date;
|
28
|
+
deletedAt: Date | null;
|
29
|
+
priceId: string;
|
30
|
+
perUnit: number;
|
31
|
+
price: number;
|
32
|
+
}>;
|
2
33
|
export declare const ProductSchema: z.ZodObject<{
|
3
34
|
id: z.ZodString;
|
4
35
|
createdAt: z.ZodDate;
|
@@ -10,6 +41,37 @@ export declare const ProductSchema: z.ZodObject<{
|
|
10
41
|
type: z.ZodString;
|
11
42
|
omnichannel: z.ZodString;
|
12
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
|
+
}>;
|
13
75
|
}, "strip", z.ZodTypeAny, {
|
14
76
|
type: string;
|
15
77
|
id: string;
|
@@ -21,6 +83,17 @@ export declare const ProductSchema: z.ZodObject<{
|
|
21
83
|
productId: string;
|
22
84
|
omnichannel: string;
|
23
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
|
+
};
|
24
97
|
}, {
|
25
98
|
type: string;
|
26
99
|
id: string;
|
@@ -32,6 +105,17 @@ export declare const ProductSchema: z.ZodObject<{
|
|
32
105
|
productId: string;
|
33
106
|
omnichannel: string;
|
34
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
|
+
};
|
35
119
|
}>;
|
36
120
|
export declare const SubscriptionProuctSchema: z.ZodObject<{
|
37
121
|
id: z.ZodString;
|
@@ -52,6 +136,37 @@ export declare const SubscriptionProuctSchema: z.ZodObject<{
|
|
52
136
|
type: z.ZodString;
|
53
137
|
omnichannel: z.ZodString;
|
54
138
|
usageType: z.ZodNullable<z.ZodString>;
|
139
|
+
productPrice: z.ZodObject<{
|
140
|
+
id: z.ZodString;
|
141
|
+
createdAt: z.ZodDate;
|
142
|
+
updatedAt: z.ZodDate;
|
143
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
144
|
+
priceId: z.ZodString;
|
145
|
+
name: z.ZodNullable<z.ZodString>;
|
146
|
+
perUnit: z.ZodNumber;
|
147
|
+
price: z.ZodNumber;
|
148
|
+
currency: z.ZodNullable<z.ZodString>;
|
149
|
+
}, "strip", z.ZodTypeAny, {
|
150
|
+
id: string;
|
151
|
+
name: string | null;
|
152
|
+
currency: string | null;
|
153
|
+
createdAt: Date;
|
154
|
+
updatedAt: Date;
|
155
|
+
deletedAt: Date | null;
|
156
|
+
priceId: string;
|
157
|
+
perUnit: number;
|
158
|
+
price: number;
|
159
|
+
}, {
|
160
|
+
id: string;
|
161
|
+
name: string | null;
|
162
|
+
currency: string | null;
|
163
|
+
createdAt: Date;
|
164
|
+
updatedAt: Date;
|
165
|
+
deletedAt: Date | null;
|
166
|
+
priceId: string;
|
167
|
+
perUnit: number;
|
168
|
+
price: number;
|
169
|
+
}>;
|
55
170
|
}, "strip", z.ZodTypeAny, {
|
56
171
|
type: string;
|
57
172
|
id: string;
|
@@ -63,6 +178,17 @@ export declare const SubscriptionProuctSchema: z.ZodObject<{
|
|
63
178
|
productId: string;
|
64
179
|
omnichannel: string;
|
65
180
|
usageType: string | null;
|
181
|
+
productPrice: {
|
182
|
+
id: string;
|
183
|
+
name: string | null;
|
184
|
+
currency: string | null;
|
185
|
+
createdAt: Date;
|
186
|
+
updatedAt: Date;
|
187
|
+
deletedAt: Date | null;
|
188
|
+
priceId: string;
|
189
|
+
perUnit: number;
|
190
|
+
price: number;
|
191
|
+
};
|
66
192
|
}, {
|
67
193
|
type: string;
|
68
194
|
id: string;
|
@@ -74,6 +200,17 @@ export declare const SubscriptionProuctSchema: z.ZodObject<{
|
|
74
200
|
productId: string;
|
75
201
|
omnichannel: string;
|
76
202
|
usageType: string | null;
|
203
|
+
productPrice: {
|
204
|
+
id: string;
|
205
|
+
name: string | null;
|
206
|
+
currency: string | null;
|
207
|
+
createdAt: Date;
|
208
|
+
updatedAt: Date;
|
209
|
+
deletedAt: Date | null;
|
210
|
+
priceId: string;
|
211
|
+
perUnit: number;
|
212
|
+
price: number;
|
213
|
+
};
|
77
214
|
}>;
|
78
215
|
}, "strip", z.ZodTypeAny, {
|
79
216
|
id: string;
|
@@ -88,6 +225,17 @@ export declare const SubscriptionProuctSchema: z.ZodObject<{
|
|
88
225
|
productId: string;
|
89
226
|
omnichannel: string;
|
90
227
|
usageType: string | null;
|
228
|
+
productPrice: {
|
229
|
+
id: string;
|
230
|
+
name: string | null;
|
231
|
+
currency: string | null;
|
232
|
+
createdAt: Date;
|
233
|
+
updatedAt: Date;
|
234
|
+
deletedAt: Date | null;
|
235
|
+
priceId: string;
|
236
|
+
perUnit: number;
|
237
|
+
price: number;
|
238
|
+
};
|
91
239
|
};
|
92
240
|
createdAt: Date;
|
93
241
|
updatedAt: Date;
|
@@ -108,6 +256,17 @@ export declare const SubscriptionProuctSchema: z.ZodObject<{
|
|
108
256
|
productId: string;
|
109
257
|
omnichannel: string;
|
110
258
|
usageType: string | null;
|
259
|
+
productPrice: {
|
260
|
+
id: string;
|
261
|
+
name: string | null;
|
262
|
+
currency: string | null;
|
263
|
+
createdAt: Date;
|
264
|
+
updatedAt: Date;
|
265
|
+
deletedAt: Date | null;
|
266
|
+
priceId: string;
|
267
|
+
perUnit: number;
|
268
|
+
price: number;
|
269
|
+
};
|
111
270
|
};
|
112
271
|
createdAt: Date;
|
113
272
|
updatedAt: Date;
|
@@ -150,6 +309,37 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
150
309
|
type: z.ZodString;
|
151
310
|
omnichannel: z.ZodString;
|
152
311
|
usageType: z.ZodNullable<z.ZodString>;
|
312
|
+
productPrice: z.ZodObject<{
|
313
|
+
id: z.ZodString;
|
314
|
+
createdAt: z.ZodDate;
|
315
|
+
updatedAt: z.ZodDate;
|
316
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
317
|
+
priceId: z.ZodString;
|
318
|
+
name: z.ZodNullable<z.ZodString>;
|
319
|
+
perUnit: z.ZodNumber;
|
320
|
+
price: z.ZodNumber;
|
321
|
+
currency: z.ZodNullable<z.ZodString>;
|
322
|
+
}, "strip", z.ZodTypeAny, {
|
323
|
+
id: string;
|
324
|
+
name: string | null;
|
325
|
+
currency: string | null;
|
326
|
+
createdAt: Date;
|
327
|
+
updatedAt: Date;
|
328
|
+
deletedAt: Date | null;
|
329
|
+
priceId: string;
|
330
|
+
perUnit: number;
|
331
|
+
price: number;
|
332
|
+
}, {
|
333
|
+
id: string;
|
334
|
+
name: string | null;
|
335
|
+
currency: string | null;
|
336
|
+
createdAt: Date;
|
337
|
+
updatedAt: Date;
|
338
|
+
deletedAt: Date | null;
|
339
|
+
priceId: string;
|
340
|
+
perUnit: number;
|
341
|
+
price: number;
|
342
|
+
}>;
|
153
343
|
}, "strip", z.ZodTypeAny, {
|
154
344
|
type: string;
|
155
345
|
id: string;
|
@@ -161,6 +351,17 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
161
351
|
productId: string;
|
162
352
|
omnichannel: string;
|
163
353
|
usageType: string | null;
|
354
|
+
productPrice: {
|
355
|
+
id: string;
|
356
|
+
name: string | null;
|
357
|
+
currency: string | null;
|
358
|
+
createdAt: Date;
|
359
|
+
updatedAt: Date;
|
360
|
+
deletedAt: Date | null;
|
361
|
+
priceId: string;
|
362
|
+
perUnit: number;
|
363
|
+
price: number;
|
364
|
+
};
|
164
365
|
}, {
|
165
366
|
type: string;
|
166
367
|
id: string;
|
@@ -172,6 +373,17 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
172
373
|
productId: string;
|
173
374
|
omnichannel: string;
|
174
375
|
usageType: string | null;
|
376
|
+
productPrice: {
|
377
|
+
id: string;
|
378
|
+
name: string | null;
|
379
|
+
currency: string | null;
|
380
|
+
createdAt: Date;
|
381
|
+
updatedAt: Date;
|
382
|
+
deletedAt: Date | null;
|
383
|
+
priceId: string;
|
384
|
+
perUnit: number;
|
385
|
+
price: number;
|
386
|
+
};
|
175
387
|
}>;
|
176
388
|
}, "strip", z.ZodTypeAny, {
|
177
389
|
id: string;
|
@@ -186,6 +398,17 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
186
398
|
productId: string;
|
187
399
|
omnichannel: string;
|
188
400
|
usageType: string | null;
|
401
|
+
productPrice: {
|
402
|
+
id: string;
|
403
|
+
name: string | null;
|
404
|
+
currency: string | null;
|
405
|
+
createdAt: Date;
|
406
|
+
updatedAt: Date;
|
407
|
+
deletedAt: Date | null;
|
408
|
+
priceId: string;
|
409
|
+
perUnit: number;
|
410
|
+
price: number;
|
411
|
+
};
|
189
412
|
};
|
190
413
|
createdAt: Date;
|
191
414
|
updatedAt: Date;
|
@@ -206,6 +429,17 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
206
429
|
productId: string;
|
207
430
|
omnichannel: string;
|
208
431
|
usageType: string | null;
|
432
|
+
productPrice: {
|
433
|
+
id: string;
|
434
|
+
name: string | null;
|
435
|
+
currency: string | null;
|
436
|
+
createdAt: Date;
|
437
|
+
updatedAt: Date;
|
438
|
+
deletedAt: Date | null;
|
439
|
+
priceId: string;
|
440
|
+
perUnit: number;
|
441
|
+
price: number;
|
442
|
+
};
|
209
443
|
};
|
210
444
|
createdAt: Date;
|
211
445
|
updatedAt: Date;
|
@@ -242,6 +476,17 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
242
476
|
productId: string;
|
243
477
|
omnichannel: string;
|
244
478
|
usageType: string | null;
|
479
|
+
productPrice: {
|
480
|
+
id: string;
|
481
|
+
name: string | null;
|
482
|
+
currency: string | null;
|
483
|
+
createdAt: Date;
|
484
|
+
updatedAt: Date;
|
485
|
+
deletedAt: Date | null;
|
486
|
+
priceId: string;
|
487
|
+
perUnit: number;
|
488
|
+
price: number;
|
489
|
+
};
|
245
490
|
};
|
246
491
|
createdAt: Date;
|
247
492
|
updatedAt: Date;
|
@@ -278,6 +523,17 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
278
523
|
productId: string;
|
279
524
|
omnichannel: string;
|
280
525
|
usageType: string | null;
|
526
|
+
productPrice: {
|
527
|
+
id: string;
|
528
|
+
name: string | null;
|
529
|
+
currency: string | null;
|
530
|
+
createdAt: Date;
|
531
|
+
updatedAt: Date;
|
532
|
+
deletedAt: Date | null;
|
533
|
+
priceId: string;
|
534
|
+
perUnit: number;
|
535
|
+
price: number;
|
536
|
+
};
|
281
537
|
};
|
282
538
|
createdAt: Date;
|
283
539
|
updatedAt: Date;
|
@@ -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,aAAa
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY7B,CAAC"}
|