@kl1/contracts 1.0.28 → 1.0.29
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 +179 -124
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +178 -124
- 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/app/index.d.ts +17 -0
- package/dist/src/app/index.d.ts.map +1 -0
- 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 +357 -357
- 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 +89 -89
- package/dist/src/chat/index.d.ts +13187 -13187
- package/dist/src/chat/schema.d.ts +2360 -2360
- package/dist/src/chat/validation.d.ts +3251 -3251
- 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 +2171 -2171
- 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 +26474 -26668
- 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/mail-server.d.ts +216 -0
- package/dist/src/mail/mail-server.d.ts.map +1 -0
- 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 +1569 -1569
- package/dist/src/permission/index.d.ts +15 -15
- package/dist/src/permission/schema.d.ts +9 -9
- package/dist/src/platform-contact/schema.d.ts +30 -0
- package/dist/src/platform-contact/schema.d.ts.map +1 -0
- 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 +858 -1094
- 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
@@ -28,89 +28,89 @@ export declare const channelContract: {
|
|
28
28
|
connectedUserId: z.ZodString;
|
29
29
|
actor: z.ZodObject<{
|
30
30
|
id: z.ZodString;
|
31
|
-
createdAt: z.
|
32
|
-
updatedAt: z.
|
33
|
-
deletedAt: z.ZodNullable<z.
|
31
|
+
createdAt: z.ZodDate;
|
32
|
+
updatedAt: z.ZodDate;
|
33
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
34
34
|
name: z.ZodString;
|
35
35
|
email: z.ZodString;
|
36
|
-
emailVerifiedAt: z.ZodNullable<z.
|
36
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
37
37
|
password: z.ZodString;
|
38
38
|
address: z.ZodNullable<z.ZodString>;
|
39
39
|
phone: z.ZodNullable<z.ZodString>;
|
40
40
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
41
41
|
roles: z.ZodArray<z.ZodObject<{
|
42
42
|
id: z.ZodString;
|
43
|
-
createdAt: z.
|
44
|
-
updatedAt: z.
|
45
|
-
deletedAt: z.ZodNullable<z.
|
43
|
+
createdAt: z.ZodDate;
|
44
|
+
updatedAt: z.ZodDate;
|
45
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
46
46
|
systemName: z.ZodString;
|
47
47
|
displayName: z.ZodString;
|
48
48
|
description: z.ZodNullable<z.ZodString>;
|
49
49
|
permissions: z.ZodArray<z.ZodObject<{
|
50
50
|
id: z.ZodString;
|
51
|
-
createdAt: z.
|
52
|
-
updatedAt: z.
|
53
|
-
deletedAt: z.ZodNullable<z.
|
51
|
+
createdAt: z.ZodDate;
|
52
|
+
updatedAt: z.ZodDate;
|
53
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
54
54
|
systemName: z.ZodString;
|
55
55
|
displayName: z.ZodString;
|
56
56
|
description: z.ZodNullable<z.ZodString>;
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
58
58
|
id: string;
|
59
59
|
description: string | null;
|
60
|
-
createdAt:
|
61
|
-
updatedAt:
|
62
|
-
deletedAt:
|
60
|
+
createdAt: Date;
|
61
|
+
updatedAt: Date;
|
62
|
+
deletedAt: Date | null;
|
63
63
|
systemName: string;
|
64
64
|
displayName: string;
|
65
65
|
}, {
|
66
66
|
id: string;
|
67
67
|
description: string | null;
|
68
|
-
createdAt:
|
69
|
-
updatedAt:
|
70
|
-
deletedAt:
|
68
|
+
createdAt: Date;
|
69
|
+
updatedAt: Date;
|
70
|
+
deletedAt: Date | null;
|
71
71
|
systemName: string;
|
72
72
|
displayName: string;
|
73
73
|
}>, "many">;
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
75
75
|
id: string;
|
76
76
|
description: string | null;
|
77
|
-
createdAt:
|
78
|
-
updatedAt:
|
79
|
-
deletedAt:
|
77
|
+
createdAt: Date;
|
78
|
+
updatedAt: Date;
|
79
|
+
deletedAt: Date | null;
|
80
80
|
systemName: string;
|
81
81
|
displayName: string;
|
82
82
|
permissions: {
|
83
83
|
id: string;
|
84
84
|
description: string | null;
|
85
|
-
createdAt:
|
86
|
-
updatedAt:
|
87
|
-
deletedAt:
|
85
|
+
createdAt: Date;
|
86
|
+
updatedAt: Date;
|
87
|
+
deletedAt: Date | null;
|
88
88
|
systemName: string;
|
89
89
|
displayName: string;
|
90
90
|
}[];
|
91
91
|
}, {
|
92
92
|
id: string;
|
93
93
|
description: string | null;
|
94
|
-
createdAt:
|
95
|
-
updatedAt:
|
96
|
-
deletedAt:
|
94
|
+
createdAt: Date;
|
95
|
+
updatedAt: Date;
|
96
|
+
deletedAt: Date | null;
|
97
97
|
systemName: string;
|
98
98
|
displayName: string;
|
99
99
|
permissions: {
|
100
100
|
id: string;
|
101
101
|
description: string | null;
|
102
|
-
createdAt:
|
103
|
-
updatedAt:
|
104
|
-
deletedAt:
|
102
|
+
createdAt: Date;
|
103
|
+
updatedAt: Date;
|
104
|
+
deletedAt: Date | null;
|
105
105
|
systemName: string;
|
106
106
|
displayName: string;
|
107
107
|
}[];
|
108
108
|
}>, "many">;
|
109
109
|
extension: z.ZodOptional<z.ZodObject<{
|
110
110
|
id: z.ZodString;
|
111
|
-
createdAt: z.
|
112
|
-
updatedAt: z.
|
113
|
-
deletedAt: z.ZodNullable<z.
|
111
|
+
createdAt: z.ZodDate;
|
112
|
+
updatedAt: z.ZodDate;
|
113
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
114
114
|
userId: z.ZodNullable<z.ZodString>;
|
115
115
|
sipServerUrl: z.ZodString;
|
116
116
|
sipUserName: z.ZodString;
|
@@ -119,9 +119,9 @@ export declare const channelContract: {
|
|
119
119
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
121
121
|
id: string;
|
122
|
-
createdAt:
|
123
|
-
updatedAt:
|
124
|
-
deletedAt:
|
122
|
+
createdAt: Date;
|
123
|
+
updatedAt: Date;
|
124
|
+
deletedAt: Date | null;
|
125
125
|
userId: string | null;
|
126
126
|
sipServerUrl: string;
|
127
127
|
sipUserName: string;
|
@@ -130,9 +130,9 @@ export declare const channelContract: {
|
|
130
130
|
telephonySignature: string | null;
|
131
131
|
}, {
|
132
132
|
id: string;
|
133
|
-
createdAt:
|
134
|
-
updatedAt:
|
135
|
-
deletedAt:
|
133
|
+
createdAt: Date;
|
134
|
+
updatedAt: Date;
|
135
|
+
deletedAt: Date | null;
|
136
136
|
userId: string | null;
|
137
137
|
sipServerUrl: string;
|
138
138
|
sipUserName: string;
|
@@ -145,36 +145,36 @@ export declare const channelContract: {
|
|
145
145
|
address: string | null;
|
146
146
|
name: string;
|
147
147
|
email: string;
|
148
|
-
createdAt:
|
149
|
-
updatedAt:
|
150
|
-
deletedAt:
|
151
|
-
emailVerifiedAt:
|
148
|
+
createdAt: Date;
|
149
|
+
updatedAt: Date;
|
150
|
+
deletedAt: Date | null;
|
151
|
+
emailVerifiedAt: Date | null;
|
152
152
|
password: string;
|
153
153
|
phone: string | null;
|
154
154
|
notificationCount: number | null;
|
155
155
|
roles: {
|
156
156
|
id: string;
|
157
157
|
description: string | null;
|
158
|
-
createdAt:
|
159
|
-
updatedAt:
|
160
|
-
deletedAt:
|
158
|
+
createdAt: Date;
|
159
|
+
updatedAt: Date;
|
160
|
+
deletedAt: Date | null;
|
161
161
|
systemName: string;
|
162
162
|
displayName: string;
|
163
163
|
permissions: {
|
164
164
|
id: string;
|
165
165
|
description: string | null;
|
166
|
-
createdAt:
|
167
|
-
updatedAt:
|
168
|
-
deletedAt:
|
166
|
+
createdAt: Date;
|
167
|
+
updatedAt: Date;
|
168
|
+
deletedAt: Date | null;
|
169
169
|
systemName: string;
|
170
170
|
displayName: string;
|
171
171
|
}[];
|
172
172
|
}[];
|
173
173
|
extension?: {
|
174
174
|
id: string;
|
175
|
-
createdAt:
|
176
|
-
updatedAt:
|
177
|
-
deletedAt:
|
175
|
+
createdAt: Date;
|
176
|
+
updatedAt: Date;
|
177
|
+
deletedAt: Date | null;
|
178
178
|
userId: string | null;
|
179
179
|
sipServerUrl: string;
|
180
180
|
sipUserName: string;
|
@@ -187,36 +187,36 @@ export declare const channelContract: {
|
|
187
187
|
address: string | null;
|
188
188
|
name: string;
|
189
189
|
email: string;
|
190
|
-
createdAt:
|
191
|
-
updatedAt:
|
192
|
-
deletedAt:
|
193
|
-
emailVerifiedAt:
|
190
|
+
createdAt: Date;
|
191
|
+
updatedAt: Date;
|
192
|
+
deletedAt: Date | null;
|
193
|
+
emailVerifiedAt: Date | null;
|
194
194
|
password: string;
|
195
195
|
phone: string | null;
|
196
196
|
notificationCount: number | null;
|
197
197
|
roles: {
|
198
198
|
id: string;
|
199
199
|
description: string | null;
|
200
|
-
createdAt:
|
201
|
-
updatedAt:
|
202
|
-
deletedAt:
|
200
|
+
createdAt: Date;
|
201
|
+
updatedAt: Date;
|
202
|
+
deletedAt: Date | null;
|
203
203
|
systemName: string;
|
204
204
|
displayName: string;
|
205
205
|
permissions: {
|
206
206
|
id: string;
|
207
207
|
description: string | null;
|
208
|
-
createdAt:
|
209
|
-
updatedAt:
|
210
|
-
deletedAt:
|
208
|
+
createdAt: Date;
|
209
|
+
updatedAt: Date;
|
210
|
+
deletedAt: Date | null;
|
211
211
|
systemName: string;
|
212
212
|
displayName: string;
|
213
213
|
}[];
|
214
214
|
}[];
|
215
215
|
extension?: {
|
216
216
|
id: string;
|
217
|
-
createdAt:
|
218
|
-
updatedAt:
|
219
|
-
deletedAt:
|
217
|
+
createdAt: Date;
|
218
|
+
updatedAt: Date;
|
219
|
+
deletedAt: Date | null;
|
220
220
|
userId: string | null;
|
221
221
|
sipServerUrl: string;
|
222
222
|
sipUserName: string;
|
@@ -243,36 +243,36 @@ export declare const channelContract: {
|
|
243
243
|
address: string | null;
|
244
244
|
name: string;
|
245
245
|
email: string;
|
246
|
-
createdAt:
|
247
|
-
updatedAt:
|
248
|
-
deletedAt:
|
249
|
-
emailVerifiedAt:
|
246
|
+
createdAt: Date;
|
247
|
+
updatedAt: Date;
|
248
|
+
deletedAt: Date | null;
|
249
|
+
emailVerifiedAt: Date | null;
|
250
250
|
password: string;
|
251
251
|
phone: string | null;
|
252
252
|
notificationCount: number | null;
|
253
253
|
roles: {
|
254
254
|
id: string;
|
255
255
|
description: string | null;
|
256
|
-
createdAt:
|
257
|
-
updatedAt:
|
258
|
-
deletedAt:
|
256
|
+
createdAt: Date;
|
257
|
+
updatedAt: Date;
|
258
|
+
deletedAt: Date | null;
|
259
259
|
systemName: string;
|
260
260
|
displayName: string;
|
261
261
|
permissions: {
|
262
262
|
id: string;
|
263
263
|
description: string | null;
|
264
|
-
createdAt:
|
265
|
-
updatedAt:
|
266
|
-
deletedAt:
|
264
|
+
createdAt: Date;
|
265
|
+
updatedAt: Date;
|
266
|
+
deletedAt: Date | null;
|
267
267
|
systemName: string;
|
268
268
|
displayName: string;
|
269
269
|
}[];
|
270
270
|
}[];
|
271
271
|
extension?: {
|
272
272
|
id: string;
|
273
|
-
createdAt:
|
274
|
-
updatedAt:
|
275
|
-
deletedAt:
|
273
|
+
createdAt: Date;
|
274
|
+
updatedAt: Date;
|
275
|
+
deletedAt: Date | null;
|
276
276
|
userId: string | null;
|
277
277
|
sipServerUrl: string;
|
278
278
|
sipUserName: string;
|
@@ -299,36 +299,36 @@ export declare const channelContract: {
|
|
299
299
|
address: string | null;
|
300
300
|
name: string;
|
301
301
|
email: string;
|
302
|
-
createdAt:
|
303
|
-
updatedAt:
|
304
|
-
deletedAt:
|
305
|
-
emailVerifiedAt:
|
302
|
+
createdAt: Date;
|
303
|
+
updatedAt: Date;
|
304
|
+
deletedAt: Date | null;
|
305
|
+
emailVerifiedAt: Date | null;
|
306
306
|
password: string;
|
307
307
|
phone: string | null;
|
308
308
|
notificationCount: number | null;
|
309
309
|
roles: {
|
310
310
|
id: string;
|
311
311
|
description: string | null;
|
312
|
-
createdAt:
|
313
|
-
updatedAt:
|
314
|
-
deletedAt:
|
312
|
+
createdAt: Date;
|
313
|
+
updatedAt: Date;
|
314
|
+
deletedAt: Date | null;
|
315
315
|
systemName: string;
|
316
316
|
displayName: string;
|
317
317
|
permissions: {
|
318
318
|
id: string;
|
319
319
|
description: string | null;
|
320
|
-
createdAt:
|
321
|
-
updatedAt:
|
322
|
-
deletedAt:
|
320
|
+
createdAt: Date;
|
321
|
+
updatedAt: Date;
|
322
|
+
deletedAt: Date | null;
|
323
323
|
systemName: string;
|
324
324
|
displayName: string;
|
325
325
|
}[];
|
326
326
|
}[];
|
327
327
|
extension?: {
|
328
328
|
id: string;
|
329
|
-
createdAt:
|
330
|
-
updatedAt:
|
331
|
-
deletedAt:
|
329
|
+
createdAt: Date;
|
330
|
+
updatedAt: Date;
|
331
|
+
deletedAt: Date | null;
|
332
332
|
userId: string | null;
|
333
333
|
sipServerUrl: string;
|
334
334
|
sipUserName: string;
|
@@ -343,11 +343,11 @@ export declare const channelContract: {
|
|
343
343
|
responses: {
|
344
344
|
200: z.ZodObject<{
|
345
345
|
requestId: z.ZodString;
|
346
|
-
channel: z.ZodOptional<z.ZodObject<{
|
346
|
+
channel: z.ZodArray<z.ZodOptional<z.ZodObject<{
|
347
347
|
id: z.ZodOptional<z.ZodString>;
|
348
|
-
createdAt: z.ZodOptional<z.
|
349
|
-
updatedAt: z.ZodOptional<z.
|
350
|
-
deletedAt: z.ZodOptional<z.ZodNullable<z.
|
348
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
349
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
350
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
351
351
|
name: z.ZodOptional<z.ZodString>;
|
352
352
|
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
|
353
353
|
metadata: z.ZodOptional<z.ZodObject<{
|
@@ -374,89 +374,89 @@ export declare const channelContract: {
|
|
374
374
|
connectedUserId: z.ZodOptional<z.ZodString>;
|
375
375
|
actor: z.ZodOptional<z.ZodObject<{
|
376
376
|
id: z.ZodString;
|
377
|
-
createdAt: z.
|
378
|
-
updatedAt: z.
|
379
|
-
deletedAt: z.ZodNullable<z.
|
377
|
+
createdAt: z.ZodDate;
|
378
|
+
updatedAt: z.ZodDate;
|
379
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
380
380
|
name: z.ZodString;
|
381
381
|
email: z.ZodString;
|
382
|
-
emailVerifiedAt: z.ZodNullable<z.
|
382
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
383
383
|
password: z.ZodString;
|
384
384
|
address: z.ZodNullable<z.ZodString>;
|
385
385
|
phone: z.ZodNullable<z.ZodString>;
|
386
386
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
387
387
|
roles: z.ZodArray<z.ZodObject<{
|
388
388
|
id: z.ZodString;
|
389
|
-
createdAt: z.
|
390
|
-
updatedAt: z.
|
391
|
-
deletedAt: z.ZodNullable<z.
|
389
|
+
createdAt: z.ZodDate;
|
390
|
+
updatedAt: z.ZodDate;
|
391
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
392
392
|
systemName: z.ZodString;
|
393
393
|
displayName: z.ZodString;
|
394
394
|
description: z.ZodNullable<z.ZodString>;
|
395
395
|
permissions: z.ZodArray<z.ZodObject<{
|
396
396
|
id: z.ZodString;
|
397
|
-
createdAt: z.
|
398
|
-
updatedAt: z.
|
399
|
-
deletedAt: z.ZodNullable<z.
|
397
|
+
createdAt: z.ZodDate;
|
398
|
+
updatedAt: z.ZodDate;
|
399
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
400
400
|
systemName: z.ZodString;
|
401
401
|
displayName: z.ZodString;
|
402
402
|
description: z.ZodNullable<z.ZodString>;
|
403
403
|
}, "strip", z.ZodTypeAny, {
|
404
404
|
id: string;
|
405
405
|
description: string | null;
|
406
|
-
createdAt:
|
407
|
-
updatedAt:
|
408
|
-
deletedAt:
|
406
|
+
createdAt: Date;
|
407
|
+
updatedAt: Date;
|
408
|
+
deletedAt: Date | null;
|
409
409
|
systemName: string;
|
410
410
|
displayName: string;
|
411
411
|
}, {
|
412
412
|
id: string;
|
413
413
|
description: string | null;
|
414
|
-
createdAt:
|
415
|
-
updatedAt:
|
416
|
-
deletedAt:
|
414
|
+
createdAt: Date;
|
415
|
+
updatedAt: Date;
|
416
|
+
deletedAt: Date | null;
|
417
417
|
systemName: string;
|
418
418
|
displayName: string;
|
419
419
|
}>, "many">;
|
420
420
|
}, "strip", z.ZodTypeAny, {
|
421
421
|
id: string;
|
422
422
|
description: string | null;
|
423
|
-
createdAt:
|
424
|
-
updatedAt:
|
425
|
-
deletedAt:
|
423
|
+
createdAt: Date;
|
424
|
+
updatedAt: Date;
|
425
|
+
deletedAt: Date | null;
|
426
426
|
systemName: string;
|
427
427
|
displayName: string;
|
428
428
|
permissions: {
|
429
429
|
id: string;
|
430
430
|
description: string | null;
|
431
|
-
createdAt:
|
432
|
-
updatedAt:
|
433
|
-
deletedAt:
|
431
|
+
createdAt: Date;
|
432
|
+
updatedAt: Date;
|
433
|
+
deletedAt: Date | null;
|
434
434
|
systemName: string;
|
435
435
|
displayName: string;
|
436
436
|
}[];
|
437
437
|
}, {
|
438
438
|
id: string;
|
439
439
|
description: string | null;
|
440
|
-
createdAt:
|
441
|
-
updatedAt:
|
442
|
-
deletedAt:
|
440
|
+
createdAt: Date;
|
441
|
+
updatedAt: Date;
|
442
|
+
deletedAt: Date | null;
|
443
443
|
systemName: string;
|
444
444
|
displayName: string;
|
445
445
|
permissions: {
|
446
446
|
id: string;
|
447
447
|
description: string | null;
|
448
|
-
createdAt:
|
449
|
-
updatedAt:
|
450
|
-
deletedAt:
|
448
|
+
createdAt: Date;
|
449
|
+
updatedAt: Date;
|
450
|
+
deletedAt: Date | null;
|
451
451
|
systemName: string;
|
452
452
|
displayName: string;
|
453
453
|
}[];
|
454
454
|
}>, "many">;
|
455
455
|
extension: z.ZodOptional<z.ZodObject<{
|
456
456
|
id: z.ZodString;
|
457
|
-
createdAt: z.
|
458
|
-
updatedAt: z.
|
459
|
-
deletedAt: z.ZodNullable<z.
|
457
|
+
createdAt: z.ZodDate;
|
458
|
+
updatedAt: z.ZodDate;
|
459
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
460
460
|
userId: z.ZodNullable<z.ZodString>;
|
461
461
|
sipServerUrl: z.ZodString;
|
462
462
|
sipUserName: z.ZodString;
|
@@ -465,9 +465,9 @@ export declare const channelContract: {
|
|
465
465
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
466
466
|
}, "strip", z.ZodTypeAny, {
|
467
467
|
id: string;
|
468
|
-
createdAt:
|
469
|
-
updatedAt:
|
470
|
-
deletedAt:
|
468
|
+
createdAt: Date;
|
469
|
+
updatedAt: Date;
|
470
|
+
deletedAt: Date | null;
|
471
471
|
userId: string | null;
|
472
472
|
sipServerUrl: string;
|
473
473
|
sipUserName: string;
|
@@ -476,9 +476,9 @@ export declare const channelContract: {
|
|
476
476
|
telephonySignature: string | null;
|
477
477
|
}, {
|
478
478
|
id: string;
|
479
|
-
createdAt:
|
480
|
-
updatedAt:
|
481
|
-
deletedAt:
|
479
|
+
createdAt: Date;
|
480
|
+
updatedAt: Date;
|
481
|
+
deletedAt: Date | null;
|
482
482
|
userId: string | null;
|
483
483
|
sipServerUrl: string;
|
484
484
|
sipUserName: string;
|
@@ -491,36 +491,36 @@ export declare const channelContract: {
|
|
491
491
|
address: string | null;
|
492
492
|
name: string;
|
493
493
|
email: string;
|
494
|
-
createdAt:
|
495
|
-
updatedAt:
|
496
|
-
deletedAt:
|
497
|
-
emailVerifiedAt:
|
494
|
+
createdAt: Date;
|
495
|
+
updatedAt: Date;
|
496
|
+
deletedAt: Date | null;
|
497
|
+
emailVerifiedAt: Date | null;
|
498
498
|
password: string;
|
499
499
|
phone: string | null;
|
500
500
|
notificationCount: number | null;
|
501
501
|
roles: {
|
502
502
|
id: string;
|
503
503
|
description: string | null;
|
504
|
-
createdAt:
|
505
|
-
updatedAt:
|
506
|
-
deletedAt:
|
504
|
+
createdAt: Date;
|
505
|
+
updatedAt: Date;
|
506
|
+
deletedAt: Date | null;
|
507
507
|
systemName: string;
|
508
508
|
displayName: string;
|
509
509
|
permissions: {
|
510
510
|
id: string;
|
511
511
|
description: string | null;
|
512
|
-
createdAt:
|
513
|
-
updatedAt:
|
514
|
-
deletedAt:
|
512
|
+
createdAt: Date;
|
513
|
+
updatedAt: Date;
|
514
|
+
deletedAt: Date | null;
|
515
515
|
systemName: string;
|
516
516
|
displayName: string;
|
517
517
|
}[];
|
518
518
|
}[];
|
519
519
|
extension?: {
|
520
520
|
id: string;
|
521
|
-
createdAt:
|
522
|
-
updatedAt:
|
523
|
-
deletedAt:
|
521
|
+
createdAt: Date;
|
522
|
+
updatedAt: Date;
|
523
|
+
deletedAt: Date | null;
|
524
524
|
userId: string | null;
|
525
525
|
sipServerUrl: string;
|
526
526
|
sipUserName: string;
|
@@ -533,36 +533,36 @@ export declare const channelContract: {
|
|
533
533
|
address: string | null;
|
534
534
|
name: string;
|
535
535
|
email: string;
|
536
|
-
createdAt:
|
537
|
-
updatedAt:
|
538
|
-
deletedAt:
|
539
|
-
emailVerifiedAt:
|
536
|
+
createdAt: Date;
|
537
|
+
updatedAt: Date;
|
538
|
+
deletedAt: Date | null;
|
539
|
+
emailVerifiedAt: Date | null;
|
540
540
|
password: string;
|
541
541
|
phone: string | null;
|
542
542
|
notificationCount: number | null;
|
543
543
|
roles: {
|
544
544
|
id: string;
|
545
545
|
description: string | null;
|
546
|
-
createdAt:
|
547
|
-
updatedAt:
|
548
|
-
deletedAt:
|
546
|
+
createdAt: Date;
|
547
|
+
updatedAt: Date;
|
548
|
+
deletedAt: Date | null;
|
549
549
|
systemName: string;
|
550
550
|
displayName: string;
|
551
551
|
permissions: {
|
552
552
|
id: string;
|
553
553
|
description: string | null;
|
554
|
-
createdAt:
|
555
|
-
updatedAt:
|
556
|
-
deletedAt:
|
554
|
+
createdAt: Date;
|
555
|
+
updatedAt: Date;
|
556
|
+
deletedAt: Date | null;
|
557
557
|
systemName: string;
|
558
558
|
displayName: string;
|
559
559
|
}[];
|
560
560
|
}[];
|
561
561
|
extension?: {
|
562
562
|
id: string;
|
563
|
-
createdAt:
|
564
|
-
updatedAt:
|
565
|
-
deletedAt:
|
563
|
+
createdAt: Date;
|
564
|
+
updatedAt: Date;
|
565
|
+
deletedAt: Date | null;
|
566
566
|
userId: string | null;
|
567
567
|
sipServerUrl: string;
|
568
568
|
sipUserName: string;
|
@@ -573,9 +573,9 @@ export declare const channelContract: {
|
|
573
573
|
}>>;
|
574
574
|
}, "strip", z.ZodTypeAny, {
|
575
575
|
id?: string | undefined;
|
576
|
-
createdAt?:
|
577
|
-
updatedAt?:
|
578
|
-
deletedAt?:
|
576
|
+
createdAt?: Date | undefined;
|
577
|
+
updatedAt?: Date | undefined;
|
578
|
+
deletedAt?: Date | null | undefined;
|
579
579
|
name?: string | undefined;
|
580
580
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
581
581
|
metadata?: {
|
@@ -595,36 +595,36 @@ export declare const channelContract: {
|
|
595
595
|
address: string | null;
|
596
596
|
name: string;
|
597
597
|
email: string;
|
598
|
-
createdAt:
|
599
|
-
updatedAt:
|
600
|
-
deletedAt:
|
601
|
-
emailVerifiedAt:
|
598
|
+
createdAt: Date;
|
599
|
+
updatedAt: Date;
|
600
|
+
deletedAt: Date | null;
|
601
|
+
emailVerifiedAt: Date | null;
|
602
602
|
password: string;
|
603
603
|
phone: string | null;
|
604
604
|
notificationCount: number | null;
|
605
605
|
roles: {
|
606
606
|
id: string;
|
607
607
|
description: string | null;
|
608
|
-
createdAt:
|
609
|
-
updatedAt:
|
610
|
-
deletedAt:
|
608
|
+
createdAt: Date;
|
609
|
+
updatedAt: Date;
|
610
|
+
deletedAt: Date | null;
|
611
611
|
systemName: string;
|
612
612
|
displayName: string;
|
613
613
|
permissions: {
|
614
614
|
id: string;
|
615
615
|
description: string | null;
|
616
|
-
createdAt:
|
617
|
-
updatedAt:
|
618
|
-
deletedAt:
|
616
|
+
createdAt: Date;
|
617
|
+
updatedAt: Date;
|
618
|
+
deletedAt: Date | null;
|
619
619
|
systemName: string;
|
620
620
|
displayName: string;
|
621
621
|
}[];
|
622
622
|
}[];
|
623
623
|
extension?: {
|
624
624
|
id: string;
|
625
|
-
createdAt:
|
626
|
-
updatedAt:
|
627
|
-
deletedAt:
|
625
|
+
createdAt: Date;
|
626
|
+
updatedAt: Date;
|
627
|
+
deletedAt: Date | null;
|
628
628
|
userId: string | null;
|
629
629
|
sipServerUrl: string;
|
630
630
|
sipUserName: string;
|
@@ -635,9 +635,9 @@ export declare const channelContract: {
|
|
635
635
|
} | undefined;
|
636
636
|
}, {
|
637
637
|
id?: string | undefined;
|
638
|
-
createdAt?:
|
639
|
-
updatedAt?:
|
640
|
-
deletedAt?:
|
638
|
+
createdAt?: Date | undefined;
|
639
|
+
updatedAt?: Date | undefined;
|
640
|
+
deletedAt?: Date | null | undefined;
|
641
641
|
name?: string | undefined;
|
642
642
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
643
643
|
metadata?: {
|
@@ -657,36 +657,36 @@ export declare const channelContract: {
|
|
657
657
|
address: string | null;
|
658
658
|
name: string;
|
659
659
|
email: string;
|
660
|
-
createdAt:
|
661
|
-
updatedAt:
|
662
|
-
deletedAt:
|
663
|
-
emailVerifiedAt:
|
660
|
+
createdAt: Date;
|
661
|
+
updatedAt: Date;
|
662
|
+
deletedAt: Date | null;
|
663
|
+
emailVerifiedAt: Date | null;
|
664
664
|
password: string;
|
665
665
|
phone: string | null;
|
666
666
|
notificationCount: number | null;
|
667
667
|
roles: {
|
668
668
|
id: string;
|
669
669
|
description: string | null;
|
670
|
-
createdAt:
|
671
|
-
updatedAt:
|
672
|
-
deletedAt:
|
670
|
+
createdAt: Date;
|
671
|
+
updatedAt: Date;
|
672
|
+
deletedAt: Date | null;
|
673
673
|
systemName: string;
|
674
674
|
displayName: string;
|
675
675
|
permissions: {
|
676
676
|
id: string;
|
677
677
|
description: string | null;
|
678
|
-
createdAt:
|
679
|
-
updatedAt:
|
680
|
-
deletedAt:
|
678
|
+
createdAt: Date;
|
679
|
+
updatedAt: Date;
|
680
|
+
deletedAt: Date | null;
|
681
681
|
systemName: string;
|
682
682
|
displayName: string;
|
683
683
|
}[];
|
684
684
|
}[];
|
685
685
|
extension?: {
|
686
686
|
id: string;
|
687
|
-
createdAt:
|
688
|
-
updatedAt:
|
689
|
-
deletedAt:
|
687
|
+
createdAt: Date;
|
688
|
+
updatedAt: Date;
|
689
|
+
deletedAt: Date | null;
|
690
690
|
userId: string | null;
|
691
691
|
sipServerUrl: string;
|
692
692
|
sipUserName: string;
|
@@ -695,14 +695,13 @@ export declare const channelContract: {
|
|
695
695
|
telephonySignature: string | null;
|
696
696
|
} | undefined;
|
697
697
|
} | undefined;
|
698
|
-
}
|
698
|
+
}>>, "many">;
|
699
699
|
}, "strip", z.ZodTypeAny, {
|
700
|
-
|
701
|
-
channel?: {
|
700
|
+
channel: ({
|
702
701
|
id?: string | undefined;
|
703
|
-
createdAt?:
|
704
|
-
updatedAt?:
|
705
|
-
deletedAt?:
|
702
|
+
createdAt?: Date | undefined;
|
703
|
+
updatedAt?: Date | undefined;
|
704
|
+
deletedAt?: Date | null | undefined;
|
706
705
|
name?: string | undefined;
|
707
706
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
708
707
|
metadata?: {
|
@@ -722,36 +721,36 @@ export declare const channelContract: {
|
|
722
721
|
address: string | null;
|
723
722
|
name: string;
|
724
723
|
email: string;
|
725
|
-
createdAt:
|
726
|
-
updatedAt:
|
727
|
-
deletedAt:
|
728
|
-
emailVerifiedAt:
|
724
|
+
createdAt: Date;
|
725
|
+
updatedAt: Date;
|
726
|
+
deletedAt: Date | null;
|
727
|
+
emailVerifiedAt: Date | null;
|
729
728
|
password: string;
|
730
729
|
phone: string | null;
|
731
730
|
notificationCount: number | null;
|
732
731
|
roles: {
|
733
732
|
id: string;
|
734
733
|
description: string | null;
|
735
|
-
createdAt:
|
736
|
-
updatedAt:
|
737
|
-
deletedAt:
|
734
|
+
createdAt: Date;
|
735
|
+
updatedAt: Date;
|
736
|
+
deletedAt: Date | null;
|
738
737
|
systemName: string;
|
739
738
|
displayName: string;
|
740
739
|
permissions: {
|
741
740
|
id: string;
|
742
741
|
description: string | null;
|
743
|
-
createdAt:
|
744
|
-
updatedAt:
|
745
|
-
deletedAt:
|
742
|
+
createdAt: Date;
|
743
|
+
updatedAt: Date;
|
744
|
+
deletedAt: Date | null;
|
746
745
|
systemName: string;
|
747
746
|
displayName: string;
|
748
747
|
}[];
|
749
748
|
}[];
|
750
749
|
extension?: {
|
751
750
|
id: string;
|
752
|
-
createdAt:
|
753
|
-
updatedAt:
|
754
|
-
deletedAt:
|
751
|
+
createdAt: Date;
|
752
|
+
updatedAt: Date;
|
753
|
+
deletedAt: Date | null;
|
755
754
|
userId: string | null;
|
756
755
|
sipServerUrl: string;
|
757
756
|
sipUserName: string;
|
@@ -760,14 +759,14 @@ export declare const channelContract: {
|
|
760
759
|
telephonySignature: string | null;
|
761
760
|
} | undefined;
|
762
761
|
} | undefined;
|
763
|
-
} | undefined;
|
764
|
-
}, {
|
762
|
+
} | undefined)[];
|
765
763
|
requestId: string;
|
766
|
-
|
764
|
+
}, {
|
765
|
+
channel: ({
|
767
766
|
id?: string | undefined;
|
768
|
-
createdAt?:
|
769
|
-
updatedAt?:
|
770
|
-
deletedAt?:
|
767
|
+
createdAt?: Date | undefined;
|
768
|
+
updatedAt?: Date | undefined;
|
769
|
+
deletedAt?: Date | null | undefined;
|
771
770
|
name?: string | undefined;
|
772
771
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
773
772
|
metadata?: {
|
@@ -787,36 +786,36 @@ export declare const channelContract: {
|
|
787
786
|
address: string | null;
|
788
787
|
name: string;
|
789
788
|
email: string;
|
790
|
-
createdAt:
|
791
|
-
updatedAt:
|
792
|
-
deletedAt:
|
793
|
-
emailVerifiedAt:
|
789
|
+
createdAt: Date;
|
790
|
+
updatedAt: Date;
|
791
|
+
deletedAt: Date | null;
|
792
|
+
emailVerifiedAt: Date | null;
|
794
793
|
password: string;
|
795
794
|
phone: string | null;
|
796
795
|
notificationCount: number | null;
|
797
796
|
roles: {
|
798
797
|
id: string;
|
799
798
|
description: string | null;
|
800
|
-
createdAt:
|
801
|
-
updatedAt:
|
802
|
-
deletedAt:
|
799
|
+
createdAt: Date;
|
800
|
+
updatedAt: Date;
|
801
|
+
deletedAt: Date | null;
|
803
802
|
systemName: string;
|
804
803
|
displayName: string;
|
805
804
|
permissions: {
|
806
805
|
id: string;
|
807
806
|
description: string | null;
|
808
|
-
createdAt:
|
809
|
-
updatedAt:
|
810
|
-
deletedAt:
|
807
|
+
createdAt: Date;
|
808
|
+
updatedAt: Date;
|
809
|
+
deletedAt: Date | null;
|
811
810
|
systemName: string;
|
812
811
|
displayName: string;
|
813
812
|
}[];
|
814
813
|
}[];
|
815
814
|
extension?: {
|
816
815
|
id: string;
|
817
|
-
createdAt:
|
818
|
-
updatedAt:
|
819
|
-
deletedAt:
|
816
|
+
createdAt: Date;
|
817
|
+
updatedAt: Date;
|
818
|
+
deletedAt: Date | null;
|
820
819
|
userId: string | null;
|
821
820
|
sipServerUrl: string;
|
822
821
|
sipUserName: string;
|
@@ -825,7 +824,8 @@ export declare const channelContract: {
|
|
825
824
|
telephonySignature: string | null;
|
826
825
|
} | undefined;
|
827
826
|
} | undefined;
|
828
|
-
} | undefined;
|
827
|
+
} | undefined)[];
|
828
|
+
requestId: string;
|
829
829
|
}>;
|
830
830
|
408: z.ZodObject<{
|
831
831
|
message: z.ZodString;
|
@@ -864,9 +864,9 @@ export declare const channelContract: {
|
|
864
864
|
requestId: z.ZodString;
|
865
865
|
channels: z.ZodOptional<z.ZodObject<{
|
866
866
|
id: z.ZodOptional<z.ZodString>;
|
867
|
-
createdAt: z.ZodOptional<z.
|
868
|
-
updatedAt: z.ZodOptional<z.
|
869
|
-
deletedAt: z.ZodOptional<z.ZodNullable<z.
|
867
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
868
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
869
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
870
870
|
name: z.ZodOptional<z.ZodString>;
|
871
871
|
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
|
872
872
|
metadata: z.ZodOptional<z.ZodObject<{
|
@@ -893,89 +893,89 @@ export declare const channelContract: {
|
|
893
893
|
connectedUserId: z.ZodOptional<z.ZodString>;
|
894
894
|
actor: z.ZodOptional<z.ZodObject<{
|
895
895
|
id: z.ZodString;
|
896
|
-
createdAt: z.
|
897
|
-
updatedAt: z.
|
898
|
-
deletedAt: z.ZodNullable<z.
|
896
|
+
createdAt: z.ZodDate;
|
897
|
+
updatedAt: z.ZodDate;
|
898
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
899
899
|
name: z.ZodString;
|
900
900
|
email: z.ZodString;
|
901
|
-
emailVerifiedAt: z.ZodNullable<z.
|
901
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
902
902
|
password: z.ZodString;
|
903
903
|
address: z.ZodNullable<z.ZodString>;
|
904
904
|
phone: z.ZodNullable<z.ZodString>;
|
905
905
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
906
906
|
roles: z.ZodArray<z.ZodObject<{
|
907
907
|
id: z.ZodString;
|
908
|
-
createdAt: z.
|
909
|
-
updatedAt: z.
|
910
|
-
deletedAt: z.ZodNullable<z.
|
908
|
+
createdAt: z.ZodDate;
|
909
|
+
updatedAt: z.ZodDate;
|
910
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
911
911
|
systemName: z.ZodString;
|
912
912
|
displayName: z.ZodString;
|
913
913
|
description: z.ZodNullable<z.ZodString>;
|
914
914
|
permissions: z.ZodArray<z.ZodObject<{
|
915
915
|
id: z.ZodString;
|
916
|
-
createdAt: z.
|
917
|
-
updatedAt: z.
|
918
|
-
deletedAt: z.ZodNullable<z.
|
916
|
+
createdAt: z.ZodDate;
|
917
|
+
updatedAt: z.ZodDate;
|
918
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
919
919
|
systemName: z.ZodString;
|
920
920
|
displayName: z.ZodString;
|
921
921
|
description: z.ZodNullable<z.ZodString>;
|
922
922
|
}, "strip", z.ZodTypeAny, {
|
923
923
|
id: string;
|
924
924
|
description: string | null;
|
925
|
-
createdAt:
|
926
|
-
updatedAt:
|
927
|
-
deletedAt:
|
925
|
+
createdAt: Date;
|
926
|
+
updatedAt: Date;
|
927
|
+
deletedAt: Date | null;
|
928
928
|
systemName: string;
|
929
929
|
displayName: string;
|
930
930
|
}, {
|
931
931
|
id: string;
|
932
932
|
description: string | null;
|
933
|
-
createdAt:
|
934
|
-
updatedAt:
|
935
|
-
deletedAt:
|
933
|
+
createdAt: Date;
|
934
|
+
updatedAt: Date;
|
935
|
+
deletedAt: Date | null;
|
936
936
|
systemName: string;
|
937
937
|
displayName: string;
|
938
938
|
}>, "many">;
|
939
939
|
}, "strip", z.ZodTypeAny, {
|
940
940
|
id: string;
|
941
941
|
description: string | null;
|
942
|
-
createdAt:
|
943
|
-
updatedAt:
|
944
|
-
deletedAt:
|
942
|
+
createdAt: Date;
|
943
|
+
updatedAt: Date;
|
944
|
+
deletedAt: Date | null;
|
945
945
|
systemName: string;
|
946
946
|
displayName: string;
|
947
947
|
permissions: {
|
948
948
|
id: string;
|
949
949
|
description: string | null;
|
950
|
-
createdAt:
|
951
|
-
updatedAt:
|
952
|
-
deletedAt:
|
950
|
+
createdAt: Date;
|
951
|
+
updatedAt: Date;
|
952
|
+
deletedAt: Date | null;
|
953
953
|
systemName: string;
|
954
954
|
displayName: string;
|
955
955
|
}[];
|
956
956
|
}, {
|
957
957
|
id: string;
|
958
958
|
description: string | null;
|
959
|
-
createdAt:
|
960
|
-
updatedAt:
|
961
|
-
deletedAt:
|
959
|
+
createdAt: Date;
|
960
|
+
updatedAt: Date;
|
961
|
+
deletedAt: Date | null;
|
962
962
|
systemName: string;
|
963
963
|
displayName: string;
|
964
964
|
permissions: {
|
965
965
|
id: string;
|
966
966
|
description: string | null;
|
967
|
-
createdAt:
|
968
|
-
updatedAt:
|
969
|
-
deletedAt:
|
967
|
+
createdAt: Date;
|
968
|
+
updatedAt: Date;
|
969
|
+
deletedAt: Date | null;
|
970
970
|
systemName: string;
|
971
971
|
displayName: string;
|
972
972
|
}[];
|
973
973
|
}>, "many">;
|
974
974
|
extension: z.ZodOptional<z.ZodObject<{
|
975
975
|
id: z.ZodString;
|
976
|
-
createdAt: z.
|
977
|
-
updatedAt: z.
|
978
|
-
deletedAt: z.ZodNullable<z.
|
976
|
+
createdAt: z.ZodDate;
|
977
|
+
updatedAt: z.ZodDate;
|
978
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
979
979
|
userId: z.ZodNullable<z.ZodString>;
|
980
980
|
sipServerUrl: z.ZodString;
|
981
981
|
sipUserName: z.ZodString;
|
@@ -984,9 +984,9 @@ export declare const channelContract: {
|
|
984
984
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
985
985
|
}, "strip", z.ZodTypeAny, {
|
986
986
|
id: string;
|
987
|
-
createdAt:
|
988
|
-
updatedAt:
|
989
|
-
deletedAt:
|
987
|
+
createdAt: Date;
|
988
|
+
updatedAt: Date;
|
989
|
+
deletedAt: Date | null;
|
990
990
|
userId: string | null;
|
991
991
|
sipServerUrl: string;
|
992
992
|
sipUserName: string;
|
@@ -995,9 +995,9 @@ export declare const channelContract: {
|
|
995
995
|
telephonySignature: string | null;
|
996
996
|
}, {
|
997
997
|
id: string;
|
998
|
-
createdAt:
|
999
|
-
updatedAt:
|
1000
|
-
deletedAt:
|
998
|
+
createdAt: Date;
|
999
|
+
updatedAt: Date;
|
1000
|
+
deletedAt: Date | null;
|
1001
1001
|
userId: string | null;
|
1002
1002
|
sipServerUrl: string;
|
1003
1003
|
sipUserName: string;
|
@@ -1010,36 +1010,36 @@ export declare const channelContract: {
|
|
1010
1010
|
address: string | null;
|
1011
1011
|
name: string;
|
1012
1012
|
email: string;
|
1013
|
-
createdAt:
|
1014
|
-
updatedAt:
|
1015
|
-
deletedAt:
|
1016
|
-
emailVerifiedAt:
|
1013
|
+
createdAt: Date;
|
1014
|
+
updatedAt: Date;
|
1015
|
+
deletedAt: Date | null;
|
1016
|
+
emailVerifiedAt: Date | null;
|
1017
1017
|
password: string;
|
1018
1018
|
phone: string | null;
|
1019
1019
|
notificationCount: number | null;
|
1020
1020
|
roles: {
|
1021
1021
|
id: string;
|
1022
1022
|
description: string | null;
|
1023
|
-
createdAt:
|
1024
|
-
updatedAt:
|
1025
|
-
deletedAt:
|
1023
|
+
createdAt: Date;
|
1024
|
+
updatedAt: Date;
|
1025
|
+
deletedAt: Date | null;
|
1026
1026
|
systemName: string;
|
1027
1027
|
displayName: string;
|
1028
1028
|
permissions: {
|
1029
1029
|
id: string;
|
1030
1030
|
description: string | null;
|
1031
|
-
createdAt:
|
1032
|
-
updatedAt:
|
1033
|
-
deletedAt:
|
1031
|
+
createdAt: Date;
|
1032
|
+
updatedAt: Date;
|
1033
|
+
deletedAt: Date | null;
|
1034
1034
|
systemName: string;
|
1035
1035
|
displayName: string;
|
1036
1036
|
}[];
|
1037
1037
|
}[];
|
1038
1038
|
extension?: {
|
1039
1039
|
id: string;
|
1040
|
-
createdAt:
|
1041
|
-
updatedAt:
|
1042
|
-
deletedAt:
|
1040
|
+
createdAt: Date;
|
1041
|
+
updatedAt: Date;
|
1042
|
+
deletedAt: Date | null;
|
1043
1043
|
userId: string | null;
|
1044
1044
|
sipServerUrl: string;
|
1045
1045
|
sipUserName: string;
|
@@ -1052,36 +1052,36 @@ export declare const channelContract: {
|
|
1052
1052
|
address: string | null;
|
1053
1053
|
name: string;
|
1054
1054
|
email: string;
|
1055
|
-
createdAt:
|
1056
|
-
updatedAt:
|
1057
|
-
deletedAt:
|
1058
|
-
emailVerifiedAt:
|
1055
|
+
createdAt: Date;
|
1056
|
+
updatedAt: Date;
|
1057
|
+
deletedAt: Date | null;
|
1058
|
+
emailVerifiedAt: Date | null;
|
1059
1059
|
password: string;
|
1060
1060
|
phone: string | null;
|
1061
1061
|
notificationCount: number | null;
|
1062
1062
|
roles: {
|
1063
1063
|
id: string;
|
1064
1064
|
description: string | null;
|
1065
|
-
createdAt:
|
1066
|
-
updatedAt:
|
1067
|
-
deletedAt:
|
1065
|
+
createdAt: Date;
|
1066
|
+
updatedAt: Date;
|
1067
|
+
deletedAt: Date | null;
|
1068
1068
|
systemName: string;
|
1069
1069
|
displayName: string;
|
1070
1070
|
permissions: {
|
1071
1071
|
id: string;
|
1072
1072
|
description: string | null;
|
1073
|
-
createdAt:
|
1074
|
-
updatedAt:
|
1075
|
-
deletedAt:
|
1073
|
+
createdAt: Date;
|
1074
|
+
updatedAt: Date;
|
1075
|
+
deletedAt: Date | null;
|
1076
1076
|
systemName: string;
|
1077
1077
|
displayName: string;
|
1078
1078
|
}[];
|
1079
1079
|
}[];
|
1080
1080
|
extension?: {
|
1081
1081
|
id: string;
|
1082
|
-
createdAt:
|
1083
|
-
updatedAt:
|
1084
|
-
deletedAt:
|
1082
|
+
createdAt: Date;
|
1083
|
+
updatedAt: Date;
|
1084
|
+
deletedAt: Date | null;
|
1085
1085
|
userId: string | null;
|
1086
1086
|
sipServerUrl: string;
|
1087
1087
|
sipUserName: string;
|
@@ -1092,9 +1092,9 @@ export declare const channelContract: {
|
|
1092
1092
|
}>>;
|
1093
1093
|
}, "strip", z.ZodTypeAny, {
|
1094
1094
|
id?: string | undefined;
|
1095
|
-
createdAt?:
|
1096
|
-
updatedAt?:
|
1097
|
-
deletedAt?:
|
1095
|
+
createdAt?: Date | undefined;
|
1096
|
+
updatedAt?: Date | undefined;
|
1097
|
+
deletedAt?: Date | null | undefined;
|
1098
1098
|
name?: string | undefined;
|
1099
1099
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
1100
1100
|
metadata?: {
|
@@ -1114,36 +1114,36 @@ export declare const channelContract: {
|
|
1114
1114
|
address: string | null;
|
1115
1115
|
name: string;
|
1116
1116
|
email: string;
|
1117
|
-
createdAt:
|
1118
|
-
updatedAt:
|
1119
|
-
deletedAt:
|
1120
|
-
emailVerifiedAt:
|
1117
|
+
createdAt: Date;
|
1118
|
+
updatedAt: Date;
|
1119
|
+
deletedAt: Date | null;
|
1120
|
+
emailVerifiedAt: Date | null;
|
1121
1121
|
password: string;
|
1122
1122
|
phone: string | null;
|
1123
1123
|
notificationCount: number | null;
|
1124
1124
|
roles: {
|
1125
1125
|
id: string;
|
1126
1126
|
description: string | null;
|
1127
|
-
createdAt:
|
1128
|
-
updatedAt:
|
1129
|
-
deletedAt:
|
1127
|
+
createdAt: Date;
|
1128
|
+
updatedAt: Date;
|
1129
|
+
deletedAt: Date | null;
|
1130
1130
|
systemName: string;
|
1131
1131
|
displayName: string;
|
1132
1132
|
permissions: {
|
1133
1133
|
id: string;
|
1134
1134
|
description: string | null;
|
1135
|
-
createdAt:
|
1136
|
-
updatedAt:
|
1137
|
-
deletedAt:
|
1135
|
+
createdAt: Date;
|
1136
|
+
updatedAt: Date;
|
1137
|
+
deletedAt: Date | null;
|
1138
1138
|
systemName: string;
|
1139
1139
|
displayName: string;
|
1140
1140
|
}[];
|
1141
1141
|
}[];
|
1142
1142
|
extension?: {
|
1143
1143
|
id: string;
|
1144
|
-
createdAt:
|
1145
|
-
updatedAt:
|
1146
|
-
deletedAt:
|
1144
|
+
createdAt: Date;
|
1145
|
+
updatedAt: Date;
|
1146
|
+
deletedAt: Date | null;
|
1147
1147
|
userId: string | null;
|
1148
1148
|
sipServerUrl: string;
|
1149
1149
|
sipUserName: string;
|
@@ -1154,9 +1154,9 @@ export declare const channelContract: {
|
|
1154
1154
|
} | undefined;
|
1155
1155
|
}, {
|
1156
1156
|
id?: string | undefined;
|
1157
|
-
createdAt?:
|
1158
|
-
updatedAt?:
|
1159
|
-
deletedAt?:
|
1157
|
+
createdAt?: Date | undefined;
|
1158
|
+
updatedAt?: Date | undefined;
|
1159
|
+
deletedAt?: Date | null | undefined;
|
1160
1160
|
name?: string | undefined;
|
1161
1161
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
1162
1162
|
metadata?: {
|
@@ -1176,36 +1176,36 @@ export declare const channelContract: {
|
|
1176
1176
|
address: string | null;
|
1177
1177
|
name: string;
|
1178
1178
|
email: string;
|
1179
|
-
createdAt:
|
1180
|
-
updatedAt:
|
1181
|
-
deletedAt:
|
1182
|
-
emailVerifiedAt:
|
1179
|
+
createdAt: Date;
|
1180
|
+
updatedAt: Date;
|
1181
|
+
deletedAt: Date | null;
|
1182
|
+
emailVerifiedAt: Date | null;
|
1183
1183
|
password: string;
|
1184
1184
|
phone: string | null;
|
1185
1185
|
notificationCount: number | null;
|
1186
1186
|
roles: {
|
1187
1187
|
id: string;
|
1188
1188
|
description: string | null;
|
1189
|
-
createdAt:
|
1190
|
-
updatedAt:
|
1191
|
-
deletedAt:
|
1189
|
+
createdAt: Date;
|
1190
|
+
updatedAt: Date;
|
1191
|
+
deletedAt: Date | null;
|
1192
1192
|
systemName: string;
|
1193
1193
|
displayName: string;
|
1194
1194
|
permissions: {
|
1195
1195
|
id: string;
|
1196
1196
|
description: string | null;
|
1197
|
-
createdAt:
|
1198
|
-
updatedAt:
|
1199
|
-
deletedAt:
|
1197
|
+
createdAt: Date;
|
1198
|
+
updatedAt: Date;
|
1199
|
+
deletedAt: Date | null;
|
1200
1200
|
systemName: string;
|
1201
1201
|
displayName: string;
|
1202
1202
|
}[];
|
1203
1203
|
}[];
|
1204
1204
|
extension?: {
|
1205
1205
|
id: string;
|
1206
|
-
createdAt:
|
1207
|
-
updatedAt:
|
1208
|
-
deletedAt:
|
1206
|
+
createdAt: Date;
|
1207
|
+
updatedAt: Date;
|
1208
|
+
deletedAt: Date | null;
|
1209
1209
|
userId: string | null;
|
1210
1210
|
sipServerUrl: string;
|
1211
1211
|
sipUserName: string;
|
@@ -1219,9 +1219,9 @@ export declare const channelContract: {
|
|
1219
1219
|
requestId: string;
|
1220
1220
|
channels?: {
|
1221
1221
|
id?: string | undefined;
|
1222
|
-
createdAt?:
|
1223
|
-
updatedAt?:
|
1224
|
-
deletedAt?:
|
1222
|
+
createdAt?: Date | undefined;
|
1223
|
+
updatedAt?: Date | undefined;
|
1224
|
+
deletedAt?: Date | null | undefined;
|
1225
1225
|
name?: string | undefined;
|
1226
1226
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
1227
1227
|
metadata?: {
|
@@ -1241,36 +1241,36 @@ export declare const channelContract: {
|
|
1241
1241
|
address: string | null;
|
1242
1242
|
name: string;
|
1243
1243
|
email: string;
|
1244
|
-
createdAt:
|
1245
|
-
updatedAt:
|
1246
|
-
deletedAt:
|
1247
|
-
emailVerifiedAt:
|
1244
|
+
createdAt: Date;
|
1245
|
+
updatedAt: Date;
|
1246
|
+
deletedAt: Date | null;
|
1247
|
+
emailVerifiedAt: Date | null;
|
1248
1248
|
password: string;
|
1249
1249
|
phone: string | null;
|
1250
1250
|
notificationCount: number | null;
|
1251
1251
|
roles: {
|
1252
1252
|
id: string;
|
1253
1253
|
description: string | null;
|
1254
|
-
createdAt:
|
1255
|
-
updatedAt:
|
1256
|
-
deletedAt:
|
1254
|
+
createdAt: Date;
|
1255
|
+
updatedAt: Date;
|
1256
|
+
deletedAt: Date | null;
|
1257
1257
|
systemName: string;
|
1258
1258
|
displayName: string;
|
1259
1259
|
permissions: {
|
1260
1260
|
id: string;
|
1261
1261
|
description: string | null;
|
1262
|
-
createdAt:
|
1263
|
-
updatedAt:
|
1264
|
-
deletedAt:
|
1262
|
+
createdAt: Date;
|
1263
|
+
updatedAt: Date;
|
1264
|
+
deletedAt: Date | null;
|
1265
1265
|
systemName: string;
|
1266
1266
|
displayName: string;
|
1267
1267
|
}[];
|
1268
1268
|
}[];
|
1269
1269
|
extension?: {
|
1270
1270
|
id: string;
|
1271
|
-
createdAt:
|
1272
|
-
updatedAt:
|
1273
|
-
deletedAt:
|
1271
|
+
createdAt: Date;
|
1272
|
+
updatedAt: Date;
|
1273
|
+
deletedAt: Date | null;
|
1274
1274
|
userId: string | null;
|
1275
1275
|
sipServerUrl: string;
|
1276
1276
|
sipUserName: string;
|
@@ -1284,9 +1284,9 @@ export declare const channelContract: {
|
|
1284
1284
|
requestId: string;
|
1285
1285
|
channels?: {
|
1286
1286
|
id?: string | undefined;
|
1287
|
-
createdAt?:
|
1288
|
-
updatedAt?:
|
1289
|
-
deletedAt?:
|
1287
|
+
createdAt?: Date | undefined;
|
1288
|
+
updatedAt?: Date | undefined;
|
1289
|
+
deletedAt?: Date | null | undefined;
|
1290
1290
|
name?: string | undefined;
|
1291
1291
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
1292
1292
|
metadata?: {
|
@@ -1306,36 +1306,36 @@ export declare const channelContract: {
|
|
1306
1306
|
address: string | null;
|
1307
1307
|
name: string;
|
1308
1308
|
email: string;
|
1309
|
-
createdAt:
|
1310
|
-
updatedAt:
|
1311
|
-
deletedAt:
|
1312
|
-
emailVerifiedAt:
|
1309
|
+
createdAt: Date;
|
1310
|
+
updatedAt: Date;
|
1311
|
+
deletedAt: Date | null;
|
1312
|
+
emailVerifiedAt: Date | null;
|
1313
1313
|
password: string;
|
1314
1314
|
phone: string | null;
|
1315
1315
|
notificationCount: number | null;
|
1316
1316
|
roles: {
|
1317
1317
|
id: string;
|
1318
1318
|
description: string | null;
|
1319
|
-
createdAt:
|
1320
|
-
updatedAt:
|
1321
|
-
deletedAt:
|
1319
|
+
createdAt: Date;
|
1320
|
+
updatedAt: Date;
|
1321
|
+
deletedAt: Date | null;
|
1322
1322
|
systemName: string;
|
1323
1323
|
displayName: string;
|
1324
1324
|
permissions: {
|
1325
1325
|
id: string;
|
1326
1326
|
description: string | null;
|
1327
|
-
createdAt:
|
1328
|
-
updatedAt:
|
1329
|
-
deletedAt:
|
1327
|
+
createdAt: Date;
|
1328
|
+
updatedAt: Date;
|
1329
|
+
deletedAt: Date | null;
|
1330
1330
|
systemName: string;
|
1331
1331
|
displayName: string;
|
1332
1332
|
}[];
|
1333
1333
|
}[];
|
1334
1334
|
extension?: {
|
1335
1335
|
id: string;
|
1336
|
-
createdAt:
|
1337
|
-
updatedAt:
|
1338
|
-
deletedAt:
|
1336
|
+
createdAt: Date;
|
1337
|
+
updatedAt: Date;
|
1338
|
+
deletedAt: Date | null;
|
1339
1339
|
userId: string | null;
|
1340
1340
|
sipServerUrl: string;
|
1341
1341
|
sipUserName: string;
|