@kl1/contracts 1.0.28 → 1.0.30
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 +236 -164
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +235 -164
- package/dist/index.mjs.map +1 -1
- package/dist/src/activity-log/index.d.ts +113 -113
- package/dist/src/activity-log/schema.d.ts +122 -122
- package/dist/src/attribute/index.d.ts +108 -108
- package/dist/src/attribute/schema.d.ts +24 -24
- package/dist/src/attribute-option/schema.d.ts +9 -9
- package/dist/src/auth/index.d.ts +89 -89
- package/dist/src/base-contract.d.ts +9 -9
- package/dist/src/call-log/schema.d.ts +9 -9
- package/dist/src/category/index.d.ts +42 -42
- package/dist/src/category/schema.d.ts +9 -9
- package/dist/src/channel/index.d.ts +361 -367
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +101 -98
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +95 -101
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +13219 -13219
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +2364 -2364
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +3419 -3308
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/comment/index.d.ts +1368 -1368
- package/dist/src/comment/schema.d.ts +388 -388
- package/dist/src/company/index.d.ts +316 -316
- package/dist/src/company/schema.d.ts +95 -95
- package/dist/src/company/validation.d.ts +177 -177
- package/dist/src/contact/index.d.ts +3054 -3054
- package/dist/src/contact/schema.d.ts +362 -362
- package/dist/src/contact/validation.d.ts +1685 -1685
- package/dist/src/contact-email/schema.d.ts +9 -9
- package/dist/src/contact-phone/schema.d.ts +9 -9
- package/dist/src/contract.d.ts +27888 -27736
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/custom-field/schema.d.ts +12 -12
- package/dist/src/custom-field-upload/schema.d.ts +9 -9
- package/dist/src/cx-log/index.d.ts +1644 -1644
- package/dist/src/cx-log/schema.d.ts +1400 -1400
- package/dist/src/evaluate-form/index.d.ts +47 -0
- package/dist/src/evaluate-form/index.d.ts.map +1 -0
- package/dist/src/evaluate-form/schema.d.ts +9 -9
- package/dist/src/evaluate-form/validation.d.ts +28 -0
- package/dist/src/evaluate-form/validation.d.ts.map +1 -0
- package/dist/src/extension/index.d.ts +115 -115
- package/dist/src/extension/schema.d.ts +9 -9
- package/dist/src/group/schema.d.ts +9 -9
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/log-form/schema.d.ts +9 -9
- package/dist/src/mail/account-contract.d.ts +168 -168
- package/dist/src/mail/mail-contract.d.ts +3398 -3398
- package/dist/src/mail/message-contract.d.ts +152 -152
- package/dist/src/mail/room-contract.d.ts +3078 -3078
- package/dist/src/mail/schemas/account-validation.schema.d.ts +168 -168
- package/dist/src/mail/schemas/account.schema.d.ts +33 -33
- package/dist/src/mail/schemas/message.schema.d.ts +108 -108
- package/dist/src/mail/schemas/room-validation.schema.d.ts +1014 -1014
- package/dist/src/mail/schemas/room.schema.d.ts +816 -816
- package/dist/src/messenger/index.d.ts +1981 -1629
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/permission/index.d.ts +15 -15
- package/dist/src/permission/schema.d.ts +9 -9
- package/dist/src/role/index.d.ts +96 -96
- package/dist/src/role/schema.d.ts +24 -24
- package/dist/src/tag/index.d.ts +45 -45
- package/dist/src/tag/schema.d.ts +9 -9
- package/dist/src/tag-group/schema.d.ts +9 -9
- package/dist/src/telephony-agent-presence-status/index.d.ts +386 -386
- package/dist/src/telephony-agent-presence-status/schema.d.ts +122 -122
- package/dist/src/telephony-cdr/schema.d.ts +9 -9
- package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
- package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
- package/dist/src/tenant/schema.d.ts +9 -9
- package/dist/src/ticket/index.d.ts +861 -1097
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +212 -212
- package/dist/src/ticket/validation.d.ts +102 -338
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/dist/src/upload/schema.d.ts +9 -9
- package/dist/src/user/index.d.ts +293 -293
- package/dist/src/user/schema.d.ts +63 -63
- package/dist/src/user-presence-status-log/index.d.ts +88 -88
- package/dist/src/user-presence-status-log/schema.d.ts +128 -128
- package/dist/src/widget/index.d.ts +78 -78
- package/dist/src/widget/schema.d.ts +9 -9
- package/dist/src/wrap-up-form/index.d.ts +96 -96
- package/dist/src/wrap-up-form/schema.d.ts +24 -24
- package/package.json +10 -4
@@ -23,94 +23,92 @@ export declare const channelContract: {
|
|
23
23
|
additionalCredentials?: any;
|
24
24
|
}>;
|
25
25
|
platformId: z.ZodString;
|
26
|
-
brandName: z.ZodString;
|
27
|
-
connectedUserName: z.ZodString;
|
28
26
|
connectedUserId: z.ZodString;
|
29
|
-
actor: z.ZodObject<{
|
27
|
+
actor: z.ZodOptional<z.ZodObject<{
|
30
28
|
id: z.ZodString;
|
31
|
-
createdAt: z.
|
32
|
-
updatedAt: z.
|
33
|
-
deletedAt: z.ZodNullable<z.
|
29
|
+
createdAt: z.ZodDate;
|
30
|
+
updatedAt: z.ZodDate;
|
31
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
34
32
|
name: z.ZodString;
|
35
33
|
email: z.ZodString;
|
36
|
-
emailVerifiedAt: z.ZodNullable<z.
|
34
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
37
35
|
password: z.ZodString;
|
38
36
|
address: z.ZodNullable<z.ZodString>;
|
39
37
|
phone: z.ZodNullable<z.ZodString>;
|
40
38
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
41
39
|
roles: z.ZodArray<z.ZodObject<{
|
42
40
|
id: z.ZodString;
|
43
|
-
createdAt: z.
|
44
|
-
updatedAt: z.
|
45
|
-
deletedAt: z.ZodNullable<z.
|
41
|
+
createdAt: z.ZodDate;
|
42
|
+
updatedAt: z.ZodDate;
|
43
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
46
44
|
systemName: z.ZodString;
|
47
45
|
displayName: z.ZodString;
|
48
46
|
description: z.ZodNullable<z.ZodString>;
|
49
47
|
permissions: z.ZodArray<z.ZodObject<{
|
50
48
|
id: z.ZodString;
|
51
|
-
createdAt: z.
|
52
|
-
updatedAt: z.
|
53
|
-
deletedAt: z.ZodNullable<z.
|
49
|
+
createdAt: z.ZodDate;
|
50
|
+
updatedAt: z.ZodDate;
|
51
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
54
52
|
systemName: z.ZodString;
|
55
53
|
displayName: z.ZodString;
|
56
54
|
description: z.ZodNullable<z.ZodString>;
|
57
55
|
}, "strip", z.ZodTypeAny, {
|
58
56
|
id: string;
|
59
57
|
description: string | null;
|
60
|
-
createdAt:
|
61
|
-
updatedAt:
|
62
|
-
deletedAt:
|
58
|
+
createdAt: Date;
|
59
|
+
updatedAt: Date;
|
60
|
+
deletedAt: Date | null;
|
63
61
|
systemName: string;
|
64
62
|
displayName: string;
|
65
63
|
}, {
|
66
64
|
id: string;
|
67
65
|
description: string | null;
|
68
|
-
createdAt:
|
69
|
-
updatedAt:
|
70
|
-
deletedAt:
|
66
|
+
createdAt: Date;
|
67
|
+
updatedAt: Date;
|
68
|
+
deletedAt: Date | null;
|
71
69
|
systemName: string;
|
72
70
|
displayName: string;
|
73
71
|
}>, "many">;
|
74
72
|
}, "strip", z.ZodTypeAny, {
|
75
73
|
id: string;
|
76
74
|
description: string | null;
|
77
|
-
createdAt:
|
78
|
-
updatedAt:
|
79
|
-
deletedAt:
|
75
|
+
createdAt: Date;
|
76
|
+
updatedAt: Date;
|
77
|
+
deletedAt: Date | null;
|
80
78
|
systemName: string;
|
81
79
|
displayName: string;
|
82
80
|
permissions: {
|
83
81
|
id: string;
|
84
82
|
description: string | null;
|
85
|
-
createdAt:
|
86
|
-
updatedAt:
|
87
|
-
deletedAt:
|
83
|
+
createdAt: Date;
|
84
|
+
updatedAt: Date;
|
85
|
+
deletedAt: Date | null;
|
88
86
|
systemName: string;
|
89
87
|
displayName: string;
|
90
88
|
}[];
|
91
89
|
}, {
|
92
90
|
id: string;
|
93
91
|
description: string | null;
|
94
|
-
createdAt:
|
95
|
-
updatedAt:
|
96
|
-
deletedAt:
|
92
|
+
createdAt: Date;
|
93
|
+
updatedAt: Date;
|
94
|
+
deletedAt: Date | null;
|
97
95
|
systemName: string;
|
98
96
|
displayName: string;
|
99
97
|
permissions: {
|
100
98
|
id: string;
|
101
99
|
description: string | null;
|
102
|
-
createdAt:
|
103
|
-
updatedAt:
|
104
|
-
deletedAt:
|
100
|
+
createdAt: Date;
|
101
|
+
updatedAt: Date;
|
102
|
+
deletedAt: Date | null;
|
105
103
|
systemName: string;
|
106
104
|
displayName: string;
|
107
105
|
}[];
|
108
106
|
}>, "many">;
|
109
107
|
extension: z.ZodOptional<z.ZodObject<{
|
110
108
|
id: z.ZodString;
|
111
|
-
createdAt: z.
|
112
|
-
updatedAt: z.
|
113
|
-
deletedAt: z.ZodNullable<z.
|
109
|
+
createdAt: z.ZodDate;
|
110
|
+
updatedAt: z.ZodDate;
|
111
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
114
112
|
userId: z.ZodNullable<z.ZodString>;
|
115
113
|
sipServerUrl: z.ZodString;
|
116
114
|
sipUserName: z.ZodString;
|
@@ -119,9 +117,9 @@ export declare const channelContract: {
|
|
119
117
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
120
118
|
}, "strip", z.ZodTypeAny, {
|
121
119
|
id: string;
|
122
|
-
createdAt:
|
123
|
-
updatedAt:
|
124
|
-
deletedAt:
|
120
|
+
createdAt: Date;
|
121
|
+
updatedAt: Date;
|
122
|
+
deletedAt: Date | null;
|
125
123
|
userId: string | null;
|
126
124
|
sipServerUrl: string;
|
127
125
|
sipUserName: string;
|
@@ -130,9 +128,9 @@ export declare const channelContract: {
|
|
130
128
|
telephonySignature: string | null;
|
131
129
|
}, {
|
132
130
|
id: string;
|
133
|
-
createdAt:
|
134
|
-
updatedAt:
|
135
|
-
deletedAt:
|
131
|
+
createdAt: Date;
|
132
|
+
updatedAt: Date;
|
133
|
+
deletedAt: Date | null;
|
136
134
|
userId: string | null;
|
137
135
|
sipServerUrl: string;
|
138
136
|
sipUserName: string;
|
@@ -145,36 +143,36 @@ export declare const channelContract: {
|
|
145
143
|
address: string | null;
|
146
144
|
name: string;
|
147
145
|
email: string;
|
148
|
-
createdAt:
|
149
|
-
updatedAt:
|
150
|
-
deletedAt:
|
151
|
-
emailVerifiedAt:
|
146
|
+
createdAt: Date;
|
147
|
+
updatedAt: Date;
|
148
|
+
deletedAt: Date | null;
|
149
|
+
emailVerifiedAt: Date | null;
|
152
150
|
password: string;
|
153
151
|
phone: string | null;
|
154
152
|
notificationCount: number | null;
|
155
153
|
roles: {
|
156
154
|
id: string;
|
157
155
|
description: string | null;
|
158
|
-
createdAt:
|
159
|
-
updatedAt:
|
160
|
-
deletedAt:
|
156
|
+
createdAt: Date;
|
157
|
+
updatedAt: Date;
|
158
|
+
deletedAt: Date | null;
|
161
159
|
systemName: string;
|
162
160
|
displayName: string;
|
163
161
|
permissions: {
|
164
162
|
id: string;
|
165
163
|
description: string | null;
|
166
|
-
createdAt:
|
167
|
-
updatedAt:
|
168
|
-
deletedAt:
|
164
|
+
createdAt: Date;
|
165
|
+
updatedAt: Date;
|
166
|
+
deletedAt: Date | null;
|
169
167
|
systemName: string;
|
170
168
|
displayName: string;
|
171
169
|
}[];
|
172
170
|
}[];
|
173
171
|
extension?: {
|
174
172
|
id: string;
|
175
|
-
createdAt:
|
176
|
-
updatedAt:
|
177
|
-
deletedAt:
|
173
|
+
createdAt: Date;
|
174
|
+
updatedAt: Date;
|
175
|
+
deletedAt: Date | null;
|
178
176
|
userId: string | null;
|
179
177
|
sipServerUrl: string;
|
180
178
|
sipUserName: string;
|
@@ -187,36 +185,36 @@ export declare const channelContract: {
|
|
187
185
|
address: string | null;
|
188
186
|
name: string;
|
189
187
|
email: string;
|
190
|
-
createdAt:
|
191
|
-
updatedAt:
|
192
|
-
deletedAt:
|
193
|
-
emailVerifiedAt:
|
188
|
+
createdAt: Date;
|
189
|
+
updatedAt: Date;
|
190
|
+
deletedAt: Date | null;
|
191
|
+
emailVerifiedAt: Date | null;
|
194
192
|
password: string;
|
195
193
|
phone: string | null;
|
196
194
|
notificationCount: number | null;
|
197
195
|
roles: {
|
198
196
|
id: string;
|
199
197
|
description: string | null;
|
200
|
-
createdAt:
|
201
|
-
updatedAt:
|
202
|
-
deletedAt:
|
198
|
+
createdAt: Date;
|
199
|
+
updatedAt: Date;
|
200
|
+
deletedAt: Date | null;
|
203
201
|
systemName: string;
|
204
202
|
displayName: string;
|
205
203
|
permissions: {
|
206
204
|
id: string;
|
207
205
|
description: string | null;
|
208
|
-
createdAt:
|
209
|
-
updatedAt:
|
210
|
-
deletedAt:
|
206
|
+
createdAt: Date;
|
207
|
+
updatedAt: Date;
|
208
|
+
deletedAt: Date | null;
|
211
209
|
systemName: string;
|
212
210
|
displayName: string;
|
213
211
|
}[];
|
214
212
|
}[];
|
215
213
|
extension?: {
|
216
214
|
id: string;
|
217
|
-
createdAt:
|
218
|
-
updatedAt:
|
219
|
-
deletedAt:
|
215
|
+
createdAt: Date;
|
216
|
+
updatedAt: Date;
|
217
|
+
deletedAt: Date | null;
|
220
218
|
userId: string | null;
|
221
219
|
sipServerUrl: string;
|
222
220
|
sipUserName: string;
|
@@ -224,7 +222,7 @@ export declare const channelContract: {
|
|
224
222
|
extensionName: string;
|
225
223
|
telephonySignature: string | null;
|
226
224
|
} | undefined;
|
227
|
-
}
|
225
|
+
}>>;
|
228
226
|
}, "strip", z.ZodTypeAny, {
|
229
227
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
230
228
|
name: string;
|
@@ -234,45 +232,43 @@ export declare const channelContract: {
|
|
234
232
|
accessToken: string;
|
235
233
|
additionalCredentials?: any;
|
236
234
|
};
|
237
|
-
brandName: string;
|
238
235
|
platformId: string;
|
239
|
-
connectedUserName: string;
|
240
236
|
connectedUserId: string;
|
241
|
-
actor
|
237
|
+
actor?: {
|
242
238
|
id: string;
|
243
239
|
address: string | null;
|
244
240
|
name: string;
|
245
241
|
email: string;
|
246
|
-
createdAt:
|
247
|
-
updatedAt:
|
248
|
-
deletedAt:
|
249
|
-
emailVerifiedAt:
|
242
|
+
createdAt: Date;
|
243
|
+
updatedAt: Date;
|
244
|
+
deletedAt: Date | null;
|
245
|
+
emailVerifiedAt: Date | null;
|
250
246
|
password: string;
|
251
247
|
phone: string | null;
|
252
248
|
notificationCount: number | null;
|
253
249
|
roles: {
|
254
250
|
id: string;
|
255
251
|
description: string | null;
|
256
|
-
createdAt:
|
257
|
-
updatedAt:
|
258
|
-
deletedAt:
|
252
|
+
createdAt: Date;
|
253
|
+
updatedAt: Date;
|
254
|
+
deletedAt: Date | null;
|
259
255
|
systemName: string;
|
260
256
|
displayName: string;
|
261
257
|
permissions: {
|
262
258
|
id: string;
|
263
259
|
description: string | null;
|
264
|
-
createdAt:
|
265
|
-
updatedAt:
|
266
|
-
deletedAt:
|
260
|
+
createdAt: Date;
|
261
|
+
updatedAt: Date;
|
262
|
+
deletedAt: Date | null;
|
267
263
|
systemName: string;
|
268
264
|
displayName: string;
|
269
265
|
}[];
|
270
266
|
}[];
|
271
267
|
extension?: {
|
272
268
|
id: string;
|
273
|
-
createdAt:
|
274
|
-
updatedAt:
|
275
|
-
deletedAt:
|
269
|
+
createdAt: Date;
|
270
|
+
updatedAt: Date;
|
271
|
+
deletedAt: Date | null;
|
276
272
|
userId: string | null;
|
277
273
|
sipServerUrl: string;
|
278
274
|
sipUserName: string;
|
@@ -280,7 +276,7 @@ export declare const channelContract: {
|
|
280
276
|
extensionName: string;
|
281
277
|
telephonySignature: string | null;
|
282
278
|
} | undefined;
|
283
|
-
};
|
279
|
+
} | undefined;
|
284
280
|
}, {
|
285
281
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
286
282
|
name: string;
|
@@ -290,45 +286,43 @@ export declare const channelContract: {
|
|
290
286
|
accessToken: string;
|
291
287
|
additionalCredentials?: any;
|
292
288
|
};
|
293
|
-
brandName: string;
|
294
289
|
platformId: string;
|
295
|
-
connectedUserName: string;
|
296
290
|
connectedUserId: string;
|
297
|
-
actor
|
291
|
+
actor?: {
|
298
292
|
id: string;
|
299
293
|
address: string | null;
|
300
294
|
name: string;
|
301
295
|
email: string;
|
302
|
-
createdAt:
|
303
|
-
updatedAt:
|
304
|
-
deletedAt:
|
305
|
-
emailVerifiedAt:
|
296
|
+
createdAt: Date;
|
297
|
+
updatedAt: Date;
|
298
|
+
deletedAt: Date | null;
|
299
|
+
emailVerifiedAt: Date | null;
|
306
300
|
password: string;
|
307
301
|
phone: string | null;
|
308
302
|
notificationCount: number | null;
|
309
303
|
roles: {
|
310
304
|
id: string;
|
311
305
|
description: string | null;
|
312
|
-
createdAt:
|
313
|
-
updatedAt:
|
314
|
-
deletedAt:
|
306
|
+
createdAt: Date;
|
307
|
+
updatedAt: Date;
|
308
|
+
deletedAt: Date | null;
|
315
309
|
systemName: string;
|
316
310
|
displayName: string;
|
317
311
|
permissions: {
|
318
312
|
id: string;
|
319
313
|
description: string | null;
|
320
|
-
createdAt:
|
321
|
-
updatedAt:
|
322
|
-
deletedAt:
|
314
|
+
createdAt: Date;
|
315
|
+
updatedAt: Date;
|
316
|
+
deletedAt: Date | null;
|
323
317
|
systemName: string;
|
324
318
|
displayName: string;
|
325
319
|
}[];
|
326
320
|
}[];
|
327
321
|
extension?: {
|
328
322
|
id: string;
|
329
|
-
createdAt:
|
330
|
-
updatedAt:
|
331
|
-
deletedAt:
|
323
|
+
createdAt: Date;
|
324
|
+
updatedAt: Date;
|
325
|
+
deletedAt: Date | null;
|
332
326
|
userId: string | null;
|
333
327
|
sipServerUrl: string;
|
334
328
|
sipUserName: string;
|
@@ -336,7 +330,7 @@ export declare const channelContract: {
|
|
336
330
|
extensionName: string;
|
337
331
|
telephonySignature: string | null;
|
338
332
|
} | undefined;
|
339
|
-
};
|
333
|
+
} | undefined;
|
340
334
|
}>;
|
341
335
|
summary: "Connect message channel";
|
342
336
|
method: "POST";
|
@@ -345,9 +339,9 @@ export declare const channelContract: {
|
|
345
339
|
requestId: z.ZodString;
|
346
340
|
channel: z.ZodOptional<z.ZodObject<{
|
347
341
|
id: z.ZodOptional<z.ZodString>;
|
348
|
-
createdAt: z.ZodOptional<z.
|
349
|
-
updatedAt: z.ZodOptional<z.
|
350
|
-
deletedAt: z.ZodOptional<z.ZodNullable<z.
|
342
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
343
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
344
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
351
345
|
name: z.ZodOptional<z.ZodString>;
|
352
346
|
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
|
353
347
|
metadata: z.ZodOptional<z.ZodObject<{
|
@@ -374,89 +368,89 @@ export declare const channelContract: {
|
|
374
368
|
connectedUserId: z.ZodOptional<z.ZodString>;
|
375
369
|
actor: z.ZodOptional<z.ZodObject<{
|
376
370
|
id: z.ZodString;
|
377
|
-
createdAt: z.
|
378
|
-
updatedAt: z.
|
379
|
-
deletedAt: z.ZodNullable<z.
|
371
|
+
createdAt: z.ZodDate;
|
372
|
+
updatedAt: z.ZodDate;
|
373
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
380
374
|
name: z.ZodString;
|
381
375
|
email: z.ZodString;
|
382
|
-
emailVerifiedAt: z.ZodNullable<z.
|
376
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
383
377
|
password: z.ZodString;
|
384
378
|
address: z.ZodNullable<z.ZodString>;
|
385
379
|
phone: z.ZodNullable<z.ZodString>;
|
386
380
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
387
381
|
roles: z.ZodArray<z.ZodObject<{
|
388
382
|
id: z.ZodString;
|
389
|
-
createdAt: z.
|
390
|
-
updatedAt: z.
|
391
|
-
deletedAt: z.ZodNullable<z.
|
383
|
+
createdAt: z.ZodDate;
|
384
|
+
updatedAt: z.ZodDate;
|
385
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
392
386
|
systemName: z.ZodString;
|
393
387
|
displayName: z.ZodString;
|
394
388
|
description: z.ZodNullable<z.ZodString>;
|
395
389
|
permissions: z.ZodArray<z.ZodObject<{
|
396
390
|
id: z.ZodString;
|
397
|
-
createdAt: z.
|
398
|
-
updatedAt: z.
|
399
|
-
deletedAt: z.ZodNullable<z.
|
391
|
+
createdAt: z.ZodDate;
|
392
|
+
updatedAt: z.ZodDate;
|
393
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
400
394
|
systemName: z.ZodString;
|
401
395
|
displayName: z.ZodString;
|
402
396
|
description: z.ZodNullable<z.ZodString>;
|
403
397
|
}, "strip", z.ZodTypeAny, {
|
404
398
|
id: string;
|
405
399
|
description: string | null;
|
406
|
-
createdAt:
|
407
|
-
updatedAt:
|
408
|
-
deletedAt:
|
400
|
+
createdAt: Date;
|
401
|
+
updatedAt: Date;
|
402
|
+
deletedAt: Date | null;
|
409
403
|
systemName: string;
|
410
404
|
displayName: string;
|
411
405
|
}, {
|
412
406
|
id: string;
|
413
407
|
description: string | null;
|
414
|
-
createdAt:
|
415
|
-
updatedAt:
|
416
|
-
deletedAt:
|
408
|
+
createdAt: Date;
|
409
|
+
updatedAt: Date;
|
410
|
+
deletedAt: Date | null;
|
417
411
|
systemName: string;
|
418
412
|
displayName: string;
|
419
413
|
}>, "many">;
|
420
414
|
}, "strip", z.ZodTypeAny, {
|
421
415
|
id: string;
|
422
416
|
description: string | null;
|
423
|
-
createdAt:
|
424
|
-
updatedAt:
|
425
|
-
deletedAt:
|
417
|
+
createdAt: Date;
|
418
|
+
updatedAt: Date;
|
419
|
+
deletedAt: Date | null;
|
426
420
|
systemName: string;
|
427
421
|
displayName: string;
|
428
422
|
permissions: {
|
429
423
|
id: string;
|
430
424
|
description: string | null;
|
431
|
-
createdAt:
|
432
|
-
updatedAt:
|
433
|
-
deletedAt:
|
425
|
+
createdAt: Date;
|
426
|
+
updatedAt: Date;
|
427
|
+
deletedAt: Date | null;
|
434
428
|
systemName: string;
|
435
429
|
displayName: string;
|
436
430
|
}[];
|
437
431
|
}, {
|
438
432
|
id: string;
|
439
433
|
description: string | null;
|
440
|
-
createdAt:
|
441
|
-
updatedAt:
|
442
|
-
deletedAt:
|
434
|
+
createdAt: Date;
|
435
|
+
updatedAt: Date;
|
436
|
+
deletedAt: Date | null;
|
443
437
|
systemName: string;
|
444
438
|
displayName: string;
|
445
439
|
permissions: {
|
446
440
|
id: string;
|
447
441
|
description: string | null;
|
448
|
-
createdAt:
|
449
|
-
updatedAt:
|
450
|
-
deletedAt:
|
442
|
+
createdAt: Date;
|
443
|
+
updatedAt: Date;
|
444
|
+
deletedAt: Date | null;
|
451
445
|
systemName: string;
|
452
446
|
displayName: string;
|
453
447
|
}[];
|
454
448
|
}>, "many">;
|
455
449
|
extension: z.ZodOptional<z.ZodObject<{
|
456
450
|
id: z.ZodString;
|
457
|
-
createdAt: z.
|
458
|
-
updatedAt: z.
|
459
|
-
deletedAt: z.ZodNullable<z.
|
451
|
+
createdAt: z.ZodDate;
|
452
|
+
updatedAt: z.ZodDate;
|
453
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
460
454
|
userId: z.ZodNullable<z.ZodString>;
|
461
455
|
sipServerUrl: z.ZodString;
|
462
456
|
sipUserName: z.ZodString;
|
@@ -465,9 +459,9 @@ export declare const channelContract: {
|
|
465
459
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
466
460
|
}, "strip", z.ZodTypeAny, {
|
467
461
|
id: string;
|
468
|
-
createdAt:
|
469
|
-
updatedAt:
|
470
|
-
deletedAt:
|
462
|
+
createdAt: Date;
|
463
|
+
updatedAt: Date;
|
464
|
+
deletedAt: Date | null;
|
471
465
|
userId: string | null;
|
472
466
|
sipServerUrl: string;
|
473
467
|
sipUserName: string;
|
@@ -476,9 +470,9 @@ export declare const channelContract: {
|
|
476
470
|
telephonySignature: string | null;
|
477
471
|
}, {
|
478
472
|
id: string;
|
479
|
-
createdAt:
|
480
|
-
updatedAt:
|
481
|
-
deletedAt:
|
473
|
+
createdAt: Date;
|
474
|
+
updatedAt: Date;
|
475
|
+
deletedAt: Date | null;
|
482
476
|
userId: string | null;
|
483
477
|
sipServerUrl: string;
|
484
478
|
sipUserName: string;
|
@@ -491,36 +485,36 @@ export declare const channelContract: {
|
|
491
485
|
address: string | null;
|
492
486
|
name: string;
|
493
487
|
email: string;
|
494
|
-
createdAt:
|
495
|
-
updatedAt:
|
496
|
-
deletedAt:
|
497
|
-
emailVerifiedAt:
|
488
|
+
createdAt: Date;
|
489
|
+
updatedAt: Date;
|
490
|
+
deletedAt: Date | null;
|
491
|
+
emailVerifiedAt: Date | null;
|
498
492
|
password: string;
|
499
493
|
phone: string | null;
|
500
494
|
notificationCount: number | null;
|
501
495
|
roles: {
|
502
496
|
id: string;
|
503
497
|
description: string | null;
|
504
|
-
createdAt:
|
505
|
-
updatedAt:
|
506
|
-
deletedAt:
|
498
|
+
createdAt: Date;
|
499
|
+
updatedAt: Date;
|
500
|
+
deletedAt: Date | null;
|
507
501
|
systemName: string;
|
508
502
|
displayName: string;
|
509
503
|
permissions: {
|
510
504
|
id: string;
|
511
505
|
description: string | null;
|
512
|
-
createdAt:
|
513
|
-
updatedAt:
|
514
|
-
deletedAt:
|
506
|
+
createdAt: Date;
|
507
|
+
updatedAt: Date;
|
508
|
+
deletedAt: Date | null;
|
515
509
|
systemName: string;
|
516
510
|
displayName: string;
|
517
511
|
}[];
|
518
512
|
}[];
|
519
513
|
extension?: {
|
520
514
|
id: string;
|
521
|
-
createdAt:
|
522
|
-
updatedAt:
|
523
|
-
deletedAt:
|
515
|
+
createdAt: Date;
|
516
|
+
updatedAt: Date;
|
517
|
+
deletedAt: Date | null;
|
524
518
|
userId: string | null;
|
525
519
|
sipServerUrl: string;
|
526
520
|
sipUserName: string;
|
@@ -533,36 +527,36 @@ export declare const channelContract: {
|
|
533
527
|
address: string | null;
|
534
528
|
name: string;
|
535
529
|
email: string;
|
536
|
-
createdAt:
|
537
|
-
updatedAt:
|
538
|
-
deletedAt:
|
539
|
-
emailVerifiedAt:
|
530
|
+
createdAt: Date;
|
531
|
+
updatedAt: Date;
|
532
|
+
deletedAt: Date | null;
|
533
|
+
emailVerifiedAt: Date | null;
|
540
534
|
password: string;
|
541
535
|
phone: string | null;
|
542
536
|
notificationCount: number | null;
|
543
537
|
roles: {
|
544
538
|
id: string;
|
545
539
|
description: string | null;
|
546
|
-
createdAt:
|
547
|
-
updatedAt:
|
548
|
-
deletedAt:
|
540
|
+
createdAt: Date;
|
541
|
+
updatedAt: Date;
|
542
|
+
deletedAt: Date | null;
|
549
543
|
systemName: string;
|
550
544
|
displayName: string;
|
551
545
|
permissions: {
|
552
546
|
id: string;
|
553
547
|
description: string | null;
|
554
|
-
createdAt:
|
555
|
-
updatedAt:
|
556
|
-
deletedAt:
|
548
|
+
createdAt: Date;
|
549
|
+
updatedAt: Date;
|
550
|
+
deletedAt: Date | null;
|
557
551
|
systemName: string;
|
558
552
|
displayName: string;
|
559
553
|
}[];
|
560
554
|
}[];
|
561
555
|
extension?: {
|
562
556
|
id: string;
|
563
|
-
createdAt:
|
564
|
-
updatedAt:
|
565
|
-
deletedAt:
|
557
|
+
createdAt: Date;
|
558
|
+
updatedAt: Date;
|
559
|
+
deletedAt: Date | null;
|
566
560
|
userId: string | null;
|
567
561
|
sipServerUrl: string;
|
568
562
|
sipUserName: string;
|
@@ -573,9 +567,9 @@ export declare const channelContract: {
|
|
573
567
|
}>>;
|
574
568
|
}, "strip", z.ZodTypeAny, {
|
575
569
|
id?: string | undefined;
|
576
|
-
createdAt?:
|
577
|
-
updatedAt?:
|
578
|
-
deletedAt?:
|
570
|
+
createdAt?: Date | undefined;
|
571
|
+
updatedAt?: Date | undefined;
|
572
|
+
deletedAt?: Date | null | undefined;
|
579
573
|
name?: string | undefined;
|
580
574
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
581
575
|
metadata?: {
|
@@ -595,36 +589,36 @@ export declare const channelContract: {
|
|
595
589
|
address: string | null;
|
596
590
|
name: string;
|
597
591
|
email: string;
|
598
|
-
createdAt:
|
599
|
-
updatedAt:
|
600
|
-
deletedAt:
|
601
|
-
emailVerifiedAt:
|
592
|
+
createdAt: Date;
|
593
|
+
updatedAt: Date;
|
594
|
+
deletedAt: Date | null;
|
595
|
+
emailVerifiedAt: Date | null;
|
602
596
|
password: string;
|
603
597
|
phone: string | null;
|
604
598
|
notificationCount: number | null;
|
605
599
|
roles: {
|
606
600
|
id: string;
|
607
601
|
description: string | null;
|
608
|
-
createdAt:
|
609
|
-
updatedAt:
|
610
|
-
deletedAt:
|
602
|
+
createdAt: Date;
|
603
|
+
updatedAt: Date;
|
604
|
+
deletedAt: Date | null;
|
611
605
|
systemName: string;
|
612
606
|
displayName: string;
|
613
607
|
permissions: {
|
614
608
|
id: string;
|
615
609
|
description: string | null;
|
616
|
-
createdAt:
|
617
|
-
updatedAt:
|
618
|
-
deletedAt:
|
610
|
+
createdAt: Date;
|
611
|
+
updatedAt: Date;
|
612
|
+
deletedAt: Date | null;
|
619
613
|
systemName: string;
|
620
614
|
displayName: string;
|
621
615
|
}[];
|
622
616
|
}[];
|
623
617
|
extension?: {
|
624
618
|
id: string;
|
625
|
-
createdAt:
|
626
|
-
updatedAt:
|
627
|
-
deletedAt:
|
619
|
+
createdAt: Date;
|
620
|
+
updatedAt: Date;
|
621
|
+
deletedAt: Date | null;
|
628
622
|
userId: string | null;
|
629
623
|
sipServerUrl: string;
|
630
624
|
sipUserName: string;
|
@@ -635,9 +629,9 @@ export declare const channelContract: {
|
|
635
629
|
} | undefined;
|
636
630
|
}, {
|
637
631
|
id?: string | undefined;
|
638
|
-
createdAt?:
|
639
|
-
updatedAt?:
|
640
|
-
deletedAt?:
|
632
|
+
createdAt?: Date | undefined;
|
633
|
+
updatedAt?: Date | undefined;
|
634
|
+
deletedAt?: Date | null | undefined;
|
641
635
|
name?: string | undefined;
|
642
636
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
643
637
|
metadata?: {
|
@@ -657,36 +651,36 @@ export declare const channelContract: {
|
|
657
651
|
address: string | null;
|
658
652
|
name: string;
|
659
653
|
email: string;
|
660
|
-
createdAt:
|
661
|
-
updatedAt:
|
662
|
-
deletedAt:
|
663
|
-
emailVerifiedAt:
|
654
|
+
createdAt: Date;
|
655
|
+
updatedAt: Date;
|
656
|
+
deletedAt: Date | null;
|
657
|
+
emailVerifiedAt: Date | null;
|
664
658
|
password: string;
|
665
659
|
phone: string | null;
|
666
660
|
notificationCount: number | null;
|
667
661
|
roles: {
|
668
662
|
id: string;
|
669
663
|
description: string | null;
|
670
|
-
createdAt:
|
671
|
-
updatedAt:
|
672
|
-
deletedAt:
|
664
|
+
createdAt: Date;
|
665
|
+
updatedAt: Date;
|
666
|
+
deletedAt: Date | null;
|
673
667
|
systemName: string;
|
674
668
|
displayName: string;
|
675
669
|
permissions: {
|
676
670
|
id: string;
|
677
671
|
description: string | null;
|
678
|
-
createdAt:
|
679
|
-
updatedAt:
|
680
|
-
deletedAt:
|
672
|
+
createdAt: Date;
|
673
|
+
updatedAt: Date;
|
674
|
+
deletedAt: Date | null;
|
681
675
|
systemName: string;
|
682
676
|
displayName: string;
|
683
677
|
}[];
|
684
678
|
}[];
|
685
679
|
extension?: {
|
686
680
|
id: string;
|
687
|
-
createdAt:
|
688
|
-
updatedAt:
|
689
|
-
deletedAt:
|
681
|
+
createdAt: Date;
|
682
|
+
updatedAt: Date;
|
683
|
+
deletedAt: Date | null;
|
690
684
|
userId: string | null;
|
691
685
|
sipServerUrl: string;
|
692
686
|
sipUserName: string;
|
@@ -700,9 +694,9 @@ export declare const channelContract: {
|
|
700
694
|
requestId: string;
|
701
695
|
channel?: {
|
702
696
|
id?: string | undefined;
|
703
|
-
createdAt?:
|
704
|
-
updatedAt?:
|
705
|
-
deletedAt?:
|
697
|
+
createdAt?: Date | undefined;
|
698
|
+
updatedAt?: Date | undefined;
|
699
|
+
deletedAt?: Date | null | undefined;
|
706
700
|
name?: string | undefined;
|
707
701
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
708
702
|
metadata?: {
|
@@ -722,36 +716,36 @@ export declare const channelContract: {
|
|
722
716
|
address: string | null;
|
723
717
|
name: string;
|
724
718
|
email: string;
|
725
|
-
createdAt:
|
726
|
-
updatedAt:
|
727
|
-
deletedAt:
|
728
|
-
emailVerifiedAt:
|
719
|
+
createdAt: Date;
|
720
|
+
updatedAt: Date;
|
721
|
+
deletedAt: Date | null;
|
722
|
+
emailVerifiedAt: Date | null;
|
729
723
|
password: string;
|
730
724
|
phone: string | null;
|
731
725
|
notificationCount: number | null;
|
732
726
|
roles: {
|
733
727
|
id: string;
|
734
728
|
description: string | null;
|
735
|
-
createdAt:
|
736
|
-
updatedAt:
|
737
|
-
deletedAt:
|
729
|
+
createdAt: Date;
|
730
|
+
updatedAt: Date;
|
731
|
+
deletedAt: Date | null;
|
738
732
|
systemName: string;
|
739
733
|
displayName: string;
|
740
734
|
permissions: {
|
741
735
|
id: string;
|
742
736
|
description: string | null;
|
743
|
-
createdAt:
|
744
|
-
updatedAt:
|
745
|
-
deletedAt:
|
737
|
+
createdAt: Date;
|
738
|
+
updatedAt: Date;
|
739
|
+
deletedAt: Date | null;
|
746
740
|
systemName: string;
|
747
741
|
displayName: string;
|
748
742
|
}[];
|
749
743
|
}[];
|
750
744
|
extension?: {
|
751
745
|
id: string;
|
752
|
-
createdAt:
|
753
|
-
updatedAt:
|
754
|
-
deletedAt:
|
746
|
+
createdAt: Date;
|
747
|
+
updatedAt: Date;
|
748
|
+
deletedAt: Date | null;
|
755
749
|
userId: string | null;
|
756
750
|
sipServerUrl: string;
|
757
751
|
sipUserName: string;
|
@@ -765,9 +759,9 @@ export declare const channelContract: {
|
|
765
759
|
requestId: string;
|
766
760
|
channel?: {
|
767
761
|
id?: string | undefined;
|
768
|
-
createdAt?:
|
769
|
-
updatedAt?:
|
770
|
-
deletedAt?:
|
762
|
+
createdAt?: Date | undefined;
|
763
|
+
updatedAt?: Date | undefined;
|
764
|
+
deletedAt?: Date | null | undefined;
|
771
765
|
name?: string | undefined;
|
772
766
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
773
767
|
metadata?: {
|
@@ -787,36 +781,36 @@ export declare const channelContract: {
|
|
787
781
|
address: string | null;
|
788
782
|
name: string;
|
789
783
|
email: string;
|
790
|
-
createdAt:
|
791
|
-
updatedAt:
|
792
|
-
deletedAt:
|
793
|
-
emailVerifiedAt:
|
784
|
+
createdAt: Date;
|
785
|
+
updatedAt: Date;
|
786
|
+
deletedAt: Date | null;
|
787
|
+
emailVerifiedAt: Date | null;
|
794
788
|
password: string;
|
795
789
|
phone: string | null;
|
796
790
|
notificationCount: number | null;
|
797
791
|
roles: {
|
798
792
|
id: string;
|
799
793
|
description: string | null;
|
800
|
-
createdAt:
|
801
|
-
updatedAt:
|
802
|
-
deletedAt:
|
794
|
+
createdAt: Date;
|
795
|
+
updatedAt: Date;
|
796
|
+
deletedAt: Date | null;
|
803
797
|
systemName: string;
|
804
798
|
displayName: string;
|
805
799
|
permissions: {
|
806
800
|
id: string;
|
807
801
|
description: string | null;
|
808
|
-
createdAt:
|
809
|
-
updatedAt:
|
810
|
-
deletedAt:
|
802
|
+
createdAt: Date;
|
803
|
+
updatedAt: Date;
|
804
|
+
deletedAt: Date | null;
|
811
805
|
systemName: string;
|
812
806
|
displayName: string;
|
813
807
|
}[];
|
814
808
|
}[];
|
815
809
|
extension?: {
|
816
810
|
id: string;
|
817
|
-
createdAt:
|
818
|
-
updatedAt:
|
819
|
-
deletedAt:
|
811
|
+
createdAt: Date;
|
812
|
+
updatedAt: Date;
|
813
|
+
deletedAt: Date | null;
|
820
814
|
userId: string | null;
|
821
815
|
sipServerUrl: string;
|
822
816
|
sipUserName: string;
|
@@ -862,11 +856,11 @@ export declare const channelContract: {
|
|
862
856
|
responses: {
|
863
857
|
200: z.ZodObject<{
|
864
858
|
requestId: z.ZodString;
|
865
|
-
channels: z.ZodOptional<z.ZodObject<{
|
859
|
+
channels: z.ZodArray<z.ZodOptional<z.ZodObject<{
|
866
860
|
id: z.ZodOptional<z.ZodString>;
|
867
|
-
createdAt: z.ZodOptional<z.
|
868
|
-
updatedAt: z.ZodOptional<z.
|
869
|
-
deletedAt: z.ZodOptional<z.ZodNullable<z.
|
861
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
862
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
863
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
870
864
|
name: z.ZodOptional<z.ZodString>;
|
871
865
|
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
|
872
866
|
metadata: z.ZodOptional<z.ZodObject<{
|
@@ -893,89 +887,89 @@ export declare const channelContract: {
|
|
893
887
|
connectedUserId: z.ZodOptional<z.ZodString>;
|
894
888
|
actor: z.ZodOptional<z.ZodObject<{
|
895
889
|
id: z.ZodString;
|
896
|
-
createdAt: z.
|
897
|
-
updatedAt: z.
|
898
|
-
deletedAt: z.ZodNullable<z.
|
890
|
+
createdAt: z.ZodDate;
|
891
|
+
updatedAt: z.ZodDate;
|
892
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
899
893
|
name: z.ZodString;
|
900
894
|
email: z.ZodString;
|
901
|
-
emailVerifiedAt: z.ZodNullable<z.
|
895
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
902
896
|
password: z.ZodString;
|
903
897
|
address: z.ZodNullable<z.ZodString>;
|
904
898
|
phone: z.ZodNullable<z.ZodString>;
|
905
899
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
906
900
|
roles: z.ZodArray<z.ZodObject<{
|
907
901
|
id: z.ZodString;
|
908
|
-
createdAt: z.
|
909
|
-
updatedAt: z.
|
910
|
-
deletedAt: z.ZodNullable<z.
|
902
|
+
createdAt: z.ZodDate;
|
903
|
+
updatedAt: z.ZodDate;
|
904
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
911
905
|
systemName: z.ZodString;
|
912
906
|
displayName: z.ZodString;
|
913
907
|
description: z.ZodNullable<z.ZodString>;
|
914
908
|
permissions: z.ZodArray<z.ZodObject<{
|
915
909
|
id: z.ZodString;
|
916
|
-
createdAt: z.
|
917
|
-
updatedAt: z.
|
918
|
-
deletedAt: z.ZodNullable<z.
|
910
|
+
createdAt: z.ZodDate;
|
911
|
+
updatedAt: z.ZodDate;
|
912
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
919
913
|
systemName: z.ZodString;
|
920
914
|
displayName: z.ZodString;
|
921
915
|
description: z.ZodNullable<z.ZodString>;
|
922
916
|
}, "strip", z.ZodTypeAny, {
|
923
917
|
id: string;
|
924
918
|
description: string | null;
|
925
|
-
createdAt:
|
926
|
-
updatedAt:
|
927
|
-
deletedAt:
|
919
|
+
createdAt: Date;
|
920
|
+
updatedAt: Date;
|
921
|
+
deletedAt: Date | null;
|
928
922
|
systemName: string;
|
929
923
|
displayName: string;
|
930
924
|
}, {
|
931
925
|
id: string;
|
932
926
|
description: string | null;
|
933
|
-
createdAt:
|
934
|
-
updatedAt:
|
935
|
-
deletedAt:
|
927
|
+
createdAt: Date;
|
928
|
+
updatedAt: Date;
|
929
|
+
deletedAt: Date | null;
|
936
930
|
systemName: string;
|
937
931
|
displayName: string;
|
938
932
|
}>, "many">;
|
939
933
|
}, "strip", z.ZodTypeAny, {
|
940
934
|
id: string;
|
941
935
|
description: string | null;
|
942
|
-
createdAt:
|
943
|
-
updatedAt:
|
944
|
-
deletedAt:
|
936
|
+
createdAt: Date;
|
937
|
+
updatedAt: Date;
|
938
|
+
deletedAt: Date | null;
|
945
939
|
systemName: string;
|
946
940
|
displayName: string;
|
947
941
|
permissions: {
|
948
942
|
id: string;
|
949
943
|
description: string | null;
|
950
|
-
createdAt:
|
951
|
-
updatedAt:
|
952
|
-
deletedAt:
|
944
|
+
createdAt: Date;
|
945
|
+
updatedAt: Date;
|
946
|
+
deletedAt: Date | null;
|
953
947
|
systemName: string;
|
954
948
|
displayName: string;
|
955
949
|
}[];
|
956
950
|
}, {
|
957
951
|
id: string;
|
958
952
|
description: string | null;
|
959
|
-
createdAt:
|
960
|
-
updatedAt:
|
961
|
-
deletedAt:
|
953
|
+
createdAt: Date;
|
954
|
+
updatedAt: Date;
|
955
|
+
deletedAt: Date | null;
|
962
956
|
systemName: string;
|
963
957
|
displayName: string;
|
964
958
|
permissions: {
|
965
959
|
id: string;
|
966
960
|
description: string | null;
|
967
|
-
createdAt:
|
968
|
-
updatedAt:
|
969
|
-
deletedAt:
|
961
|
+
createdAt: Date;
|
962
|
+
updatedAt: Date;
|
963
|
+
deletedAt: Date | null;
|
970
964
|
systemName: string;
|
971
965
|
displayName: string;
|
972
966
|
}[];
|
973
967
|
}>, "many">;
|
974
968
|
extension: z.ZodOptional<z.ZodObject<{
|
975
969
|
id: z.ZodString;
|
976
|
-
createdAt: z.
|
977
|
-
updatedAt: z.
|
978
|
-
deletedAt: z.ZodNullable<z.
|
970
|
+
createdAt: z.ZodDate;
|
971
|
+
updatedAt: z.ZodDate;
|
972
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
979
973
|
userId: z.ZodNullable<z.ZodString>;
|
980
974
|
sipServerUrl: z.ZodString;
|
981
975
|
sipUserName: z.ZodString;
|
@@ -984,9 +978,9 @@ export declare const channelContract: {
|
|
984
978
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
985
979
|
}, "strip", z.ZodTypeAny, {
|
986
980
|
id: string;
|
987
|
-
createdAt:
|
988
|
-
updatedAt:
|
989
|
-
deletedAt:
|
981
|
+
createdAt: Date;
|
982
|
+
updatedAt: Date;
|
983
|
+
deletedAt: Date | null;
|
990
984
|
userId: string | null;
|
991
985
|
sipServerUrl: string;
|
992
986
|
sipUserName: string;
|
@@ -995,9 +989,9 @@ export declare const channelContract: {
|
|
995
989
|
telephonySignature: string | null;
|
996
990
|
}, {
|
997
991
|
id: string;
|
998
|
-
createdAt:
|
999
|
-
updatedAt:
|
1000
|
-
deletedAt:
|
992
|
+
createdAt: Date;
|
993
|
+
updatedAt: Date;
|
994
|
+
deletedAt: Date | null;
|
1001
995
|
userId: string | null;
|
1002
996
|
sipServerUrl: string;
|
1003
997
|
sipUserName: string;
|
@@ -1010,36 +1004,36 @@ export declare const channelContract: {
|
|
1010
1004
|
address: string | null;
|
1011
1005
|
name: string;
|
1012
1006
|
email: string;
|
1013
|
-
createdAt:
|
1014
|
-
updatedAt:
|
1015
|
-
deletedAt:
|
1016
|
-
emailVerifiedAt:
|
1007
|
+
createdAt: Date;
|
1008
|
+
updatedAt: Date;
|
1009
|
+
deletedAt: Date | null;
|
1010
|
+
emailVerifiedAt: Date | null;
|
1017
1011
|
password: string;
|
1018
1012
|
phone: string | null;
|
1019
1013
|
notificationCount: number | null;
|
1020
1014
|
roles: {
|
1021
1015
|
id: string;
|
1022
1016
|
description: string | null;
|
1023
|
-
createdAt:
|
1024
|
-
updatedAt:
|
1025
|
-
deletedAt:
|
1017
|
+
createdAt: Date;
|
1018
|
+
updatedAt: Date;
|
1019
|
+
deletedAt: Date | null;
|
1026
1020
|
systemName: string;
|
1027
1021
|
displayName: string;
|
1028
1022
|
permissions: {
|
1029
1023
|
id: string;
|
1030
1024
|
description: string | null;
|
1031
|
-
createdAt:
|
1032
|
-
updatedAt:
|
1033
|
-
deletedAt:
|
1025
|
+
createdAt: Date;
|
1026
|
+
updatedAt: Date;
|
1027
|
+
deletedAt: Date | null;
|
1034
1028
|
systemName: string;
|
1035
1029
|
displayName: string;
|
1036
1030
|
}[];
|
1037
1031
|
}[];
|
1038
1032
|
extension?: {
|
1039
1033
|
id: string;
|
1040
|
-
createdAt:
|
1041
|
-
updatedAt:
|
1042
|
-
deletedAt:
|
1034
|
+
createdAt: Date;
|
1035
|
+
updatedAt: Date;
|
1036
|
+
deletedAt: Date | null;
|
1043
1037
|
userId: string | null;
|
1044
1038
|
sipServerUrl: string;
|
1045
1039
|
sipUserName: string;
|
@@ -1052,36 +1046,36 @@ export declare const channelContract: {
|
|
1052
1046
|
address: string | null;
|
1053
1047
|
name: string;
|
1054
1048
|
email: string;
|
1055
|
-
createdAt:
|
1056
|
-
updatedAt:
|
1057
|
-
deletedAt:
|
1058
|
-
emailVerifiedAt:
|
1049
|
+
createdAt: Date;
|
1050
|
+
updatedAt: Date;
|
1051
|
+
deletedAt: Date | null;
|
1052
|
+
emailVerifiedAt: Date | null;
|
1059
1053
|
password: string;
|
1060
1054
|
phone: string | null;
|
1061
1055
|
notificationCount: number | null;
|
1062
1056
|
roles: {
|
1063
1057
|
id: string;
|
1064
1058
|
description: string | null;
|
1065
|
-
createdAt:
|
1066
|
-
updatedAt:
|
1067
|
-
deletedAt:
|
1059
|
+
createdAt: Date;
|
1060
|
+
updatedAt: Date;
|
1061
|
+
deletedAt: Date | null;
|
1068
1062
|
systemName: string;
|
1069
1063
|
displayName: string;
|
1070
1064
|
permissions: {
|
1071
1065
|
id: string;
|
1072
1066
|
description: string | null;
|
1073
|
-
createdAt:
|
1074
|
-
updatedAt:
|
1075
|
-
deletedAt:
|
1067
|
+
createdAt: Date;
|
1068
|
+
updatedAt: Date;
|
1069
|
+
deletedAt: Date | null;
|
1076
1070
|
systemName: string;
|
1077
1071
|
displayName: string;
|
1078
1072
|
}[];
|
1079
1073
|
}[];
|
1080
1074
|
extension?: {
|
1081
1075
|
id: string;
|
1082
|
-
createdAt:
|
1083
|
-
updatedAt:
|
1084
|
-
deletedAt:
|
1076
|
+
createdAt: Date;
|
1077
|
+
updatedAt: Date;
|
1078
|
+
deletedAt: Date | null;
|
1085
1079
|
userId: string | null;
|
1086
1080
|
sipServerUrl: string;
|
1087
1081
|
sipUserName: string;
|
@@ -1092,9 +1086,9 @@ export declare const channelContract: {
|
|
1092
1086
|
}>>;
|
1093
1087
|
}, "strip", z.ZodTypeAny, {
|
1094
1088
|
id?: string | undefined;
|
1095
|
-
createdAt?:
|
1096
|
-
updatedAt?:
|
1097
|
-
deletedAt?:
|
1089
|
+
createdAt?: Date | undefined;
|
1090
|
+
updatedAt?: Date | undefined;
|
1091
|
+
deletedAt?: Date | null | undefined;
|
1098
1092
|
name?: string | undefined;
|
1099
1093
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
1100
1094
|
metadata?: {
|
@@ -1114,36 +1108,36 @@ export declare const channelContract: {
|
|
1114
1108
|
address: string | null;
|
1115
1109
|
name: string;
|
1116
1110
|
email: string;
|
1117
|
-
createdAt:
|
1118
|
-
updatedAt:
|
1119
|
-
deletedAt:
|
1120
|
-
emailVerifiedAt:
|
1111
|
+
createdAt: Date;
|
1112
|
+
updatedAt: Date;
|
1113
|
+
deletedAt: Date | null;
|
1114
|
+
emailVerifiedAt: Date | null;
|
1121
1115
|
password: string;
|
1122
1116
|
phone: string | null;
|
1123
1117
|
notificationCount: number | null;
|
1124
1118
|
roles: {
|
1125
1119
|
id: string;
|
1126
1120
|
description: string | null;
|
1127
|
-
createdAt:
|
1128
|
-
updatedAt:
|
1129
|
-
deletedAt:
|
1121
|
+
createdAt: Date;
|
1122
|
+
updatedAt: Date;
|
1123
|
+
deletedAt: Date | null;
|
1130
1124
|
systemName: string;
|
1131
1125
|
displayName: string;
|
1132
1126
|
permissions: {
|
1133
1127
|
id: string;
|
1134
1128
|
description: string | null;
|
1135
|
-
createdAt:
|
1136
|
-
updatedAt:
|
1137
|
-
deletedAt:
|
1129
|
+
createdAt: Date;
|
1130
|
+
updatedAt: Date;
|
1131
|
+
deletedAt: Date | null;
|
1138
1132
|
systemName: string;
|
1139
1133
|
displayName: string;
|
1140
1134
|
}[];
|
1141
1135
|
}[];
|
1142
1136
|
extension?: {
|
1143
1137
|
id: string;
|
1144
|
-
createdAt:
|
1145
|
-
updatedAt:
|
1146
|
-
deletedAt:
|
1138
|
+
createdAt: Date;
|
1139
|
+
updatedAt: Date;
|
1140
|
+
deletedAt: Date | null;
|
1147
1141
|
userId: string | null;
|
1148
1142
|
sipServerUrl: string;
|
1149
1143
|
sipUserName: string;
|
@@ -1154,9 +1148,9 @@ export declare const channelContract: {
|
|
1154
1148
|
} | undefined;
|
1155
1149
|
}, {
|
1156
1150
|
id?: string | undefined;
|
1157
|
-
createdAt?:
|
1158
|
-
updatedAt?:
|
1159
|
-
deletedAt?:
|
1151
|
+
createdAt?: Date | undefined;
|
1152
|
+
updatedAt?: Date | undefined;
|
1153
|
+
deletedAt?: Date | null | undefined;
|
1160
1154
|
name?: string | undefined;
|
1161
1155
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
1162
1156
|
metadata?: {
|
@@ -1176,36 +1170,36 @@ export declare const channelContract: {
|
|
1176
1170
|
address: string | null;
|
1177
1171
|
name: string;
|
1178
1172
|
email: string;
|
1179
|
-
createdAt:
|
1180
|
-
updatedAt:
|
1181
|
-
deletedAt:
|
1182
|
-
emailVerifiedAt:
|
1173
|
+
createdAt: Date;
|
1174
|
+
updatedAt: Date;
|
1175
|
+
deletedAt: Date | null;
|
1176
|
+
emailVerifiedAt: Date | null;
|
1183
1177
|
password: string;
|
1184
1178
|
phone: string | null;
|
1185
1179
|
notificationCount: number | null;
|
1186
1180
|
roles: {
|
1187
1181
|
id: string;
|
1188
1182
|
description: string | null;
|
1189
|
-
createdAt:
|
1190
|
-
updatedAt:
|
1191
|
-
deletedAt:
|
1183
|
+
createdAt: Date;
|
1184
|
+
updatedAt: Date;
|
1185
|
+
deletedAt: Date | null;
|
1192
1186
|
systemName: string;
|
1193
1187
|
displayName: string;
|
1194
1188
|
permissions: {
|
1195
1189
|
id: string;
|
1196
1190
|
description: string | null;
|
1197
|
-
createdAt:
|
1198
|
-
updatedAt:
|
1199
|
-
deletedAt:
|
1191
|
+
createdAt: Date;
|
1192
|
+
updatedAt: Date;
|
1193
|
+
deletedAt: Date | null;
|
1200
1194
|
systemName: string;
|
1201
1195
|
displayName: string;
|
1202
1196
|
}[];
|
1203
1197
|
}[];
|
1204
1198
|
extension?: {
|
1205
1199
|
id: string;
|
1206
|
-
createdAt:
|
1207
|
-
updatedAt:
|
1208
|
-
deletedAt:
|
1200
|
+
createdAt: Date;
|
1201
|
+
updatedAt: Date;
|
1202
|
+
deletedAt: Date | null;
|
1209
1203
|
userId: string | null;
|
1210
1204
|
sipServerUrl: string;
|
1211
1205
|
sipUserName: string;
|
@@ -1214,14 +1208,14 @@ export declare const channelContract: {
|
|
1214
1208
|
telephonySignature: string | null;
|
1215
1209
|
} | undefined;
|
1216
1210
|
} | undefined;
|
1217
|
-
}
|
1211
|
+
}>>, "many">;
|
1218
1212
|
}, "strip", z.ZodTypeAny, {
|
1219
1213
|
requestId: string;
|
1220
|
-
channels
|
1214
|
+
channels: ({
|
1221
1215
|
id?: string | undefined;
|
1222
|
-
createdAt?:
|
1223
|
-
updatedAt?:
|
1224
|
-
deletedAt?:
|
1216
|
+
createdAt?: Date | undefined;
|
1217
|
+
updatedAt?: Date | undefined;
|
1218
|
+
deletedAt?: Date | null | undefined;
|
1225
1219
|
name?: string | undefined;
|
1226
1220
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
1227
1221
|
metadata?: {
|
@@ -1241,36 +1235,36 @@ export declare const channelContract: {
|
|
1241
1235
|
address: string | null;
|
1242
1236
|
name: string;
|
1243
1237
|
email: string;
|
1244
|
-
createdAt:
|
1245
|
-
updatedAt:
|
1246
|
-
deletedAt:
|
1247
|
-
emailVerifiedAt:
|
1238
|
+
createdAt: Date;
|
1239
|
+
updatedAt: Date;
|
1240
|
+
deletedAt: Date | null;
|
1241
|
+
emailVerifiedAt: Date | null;
|
1248
1242
|
password: string;
|
1249
1243
|
phone: string | null;
|
1250
1244
|
notificationCount: number | null;
|
1251
1245
|
roles: {
|
1252
1246
|
id: string;
|
1253
1247
|
description: string | null;
|
1254
|
-
createdAt:
|
1255
|
-
updatedAt:
|
1256
|
-
deletedAt:
|
1248
|
+
createdAt: Date;
|
1249
|
+
updatedAt: Date;
|
1250
|
+
deletedAt: Date | null;
|
1257
1251
|
systemName: string;
|
1258
1252
|
displayName: string;
|
1259
1253
|
permissions: {
|
1260
1254
|
id: string;
|
1261
1255
|
description: string | null;
|
1262
|
-
createdAt:
|
1263
|
-
updatedAt:
|
1264
|
-
deletedAt:
|
1256
|
+
createdAt: Date;
|
1257
|
+
updatedAt: Date;
|
1258
|
+
deletedAt: Date | null;
|
1265
1259
|
systemName: string;
|
1266
1260
|
displayName: string;
|
1267
1261
|
}[];
|
1268
1262
|
}[];
|
1269
1263
|
extension?: {
|
1270
1264
|
id: string;
|
1271
|
-
createdAt:
|
1272
|
-
updatedAt:
|
1273
|
-
deletedAt:
|
1265
|
+
createdAt: Date;
|
1266
|
+
updatedAt: Date;
|
1267
|
+
deletedAt: Date | null;
|
1274
1268
|
userId: string | null;
|
1275
1269
|
sipServerUrl: string;
|
1276
1270
|
sipUserName: string;
|
@@ -1279,14 +1273,14 @@ export declare const channelContract: {
|
|
1279
1273
|
telephonySignature: string | null;
|
1280
1274
|
} | undefined;
|
1281
1275
|
} | undefined;
|
1282
|
-
} | undefined;
|
1276
|
+
} | undefined)[];
|
1283
1277
|
}, {
|
1284
1278
|
requestId: string;
|
1285
|
-
channels
|
1279
|
+
channels: ({
|
1286
1280
|
id?: string | undefined;
|
1287
|
-
createdAt?:
|
1288
|
-
updatedAt?:
|
1289
|
-
deletedAt?:
|
1281
|
+
createdAt?: Date | undefined;
|
1282
|
+
updatedAt?: Date | undefined;
|
1283
|
+
deletedAt?: Date | null | undefined;
|
1290
1284
|
name?: string | undefined;
|
1291
1285
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
1292
1286
|
metadata?: {
|
@@ -1306,36 +1300,36 @@ export declare const channelContract: {
|
|
1306
1300
|
address: string | null;
|
1307
1301
|
name: string;
|
1308
1302
|
email: string;
|
1309
|
-
createdAt:
|
1310
|
-
updatedAt:
|
1311
|
-
deletedAt:
|
1312
|
-
emailVerifiedAt:
|
1303
|
+
createdAt: Date;
|
1304
|
+
updatedAt: Date;
|
1305
|
+
deletedAt: Date | null;
|
1306
|
+
emailVerifiedAt: Date | null;
|
1313
1307
|
password: string;
|
1314
1308
|
phone: string | null;
|
1315
1309
|
notificationCount: number | null;
|
1316
1310
|
roles: {
|
1317
1311
|
id: string;
|
1318
1312
|
description: string | null;
|
1319
|
-
createdAt:
|
1320
|
-
updatedAt:
|
1321
|
-
deletedAt:
|
1313
|
+
createdAt: Date;
|
1314
|
+
updatedAt: Date;
|
1315
|
+
deletedAt: Date | null;
|
1322
1316
|
systemName: string;
|
1323
1317
|
displayName: string;
|
1324
1318
|
permissions: {
|
1325
1319
|
id: string;
|
1326
1320
|
description: string | null;
|
1327
|
-
createdAt:
|
1328
|
-
updatedAt:
|
1329
|
-
deletedAt:
|
1321
|
+
createdAt: Date;
|
1322
|
+
updatedAt: Date;
|
1323
|
+
deletedAt: Date | null;
|
1330
1324
|
systemName: string;
|
1331
1325
|
displayName: string;
|
1332
1326
|
}[];
|
1333
1327
|
}[];
|
1334
1328
|
extension?: {
|
1335
1329
|
id: string;
|
1336
|
-
createdAt:
|
1337
|
-
updatedAt:
|
1338
|
-
deletedAt:
|
1330
|
+
createdAt: Date;
|
1331
|
+
updatedAt: Date;
|
1332
|
+
deletedAt: Date | null;
|
1339
1333
|
userId: string | null;
|
1340
1334
|
sipServerUrl: string;
|
1341
1335
|
sipUserName: string;
|
@@ -1344,7 +1338,7 @@ export declare const channelContract: {
|
|
1344
1338
|
telephonySignature: string | null;
|
1345
1339
|
} | undefined;
|
1346
1340
|
} | undefined;
|
1347
|
-
} | undefined;
|
1341
|
+
} | undefined)[];
|
1348
1342
|
}>;
|
1349
1343
|
};
|
1350
1344
|
path: "channel/";
|