@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.
Files changed (92) hide show
  1. package/dist/index.js +236 -164
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +235 -164
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/activity-log/index.d.ts +113 -113
  6. package/dist/src/activity-log/schema.d.ts +122 -122
  7. package/dist/src/attribute/index.d.ts +108 -108
  8. package/dist/src/attribute/schema.d.ts +24 -24
  9. package/dist/src/attribute-option/schema.d.ts +9 -9
  10. package/dist/src/auth/index.d.ts +89 -89
  11. package/dist/src/base-contract.d.ts +9 -9
  12. package/dist/src/call-log/schema.d.ts +9 -9
  13. package/dist/src/category/index.d.ts +42 -42
  14. package/dist/src/category/schema.d.ts +9 -9
  15. package/dist/src/channel/index.d.ts +361 -367
  16. package/dist/src/channel/index.d.ts.map +1 -1
  17. package/dist/src/channel/schema.d.ts +101 -98
  18. package/dist/src/channel/schema.d.ts.map +1 -1
  19. package/dist/src/channel/validation.d.ts +95 -101
  20. package/dist/src/channel/validation.d.ts.map +1 -1
  21. package/dist/src/chat/index.d.ts +13219 -13219
  22. package/dist/src/chat/index.d.ts.map +1 -1
  23. package/dist/src/chat/schema.d.ts +2364 -2364
  24. package/dist/src/chat/schema.d.ts.map +1 -1
  25. package/dist/src/chat/validation.d.ts +3419 -3308
  26. package/dist/src/chat/validation.d.ts.map +1 -1
  27. package/dist/src/comment/index.d.ts +1368 -1368
  28. package/dist/src/comment/schema.d.ts +388 -388
  29. package/dist/src/company/index.d.ts +316 -316
  30. package/dist/src/company/schema.d.ts +95 -95
  31. package/dist/src/company/validation.d.ts +177 -177
  32. package/dist/src/contact/index.d.ts +3054 -3054
  33. package/dist/src/contact/schema.d.ts +362 -362
  34. package/dist/src/contact/validation.d.ts +1685 -1685
  35. package/dist/src/contact-email/schema.d.ts +9 -9
  36. package/dist/src/contact-phone/schema.d.ts +9 -9
  37. package/dist/src/contract.d.ts +27888 -27736
  38. package/dist/src/contract.d.ts.map +1 -1
  39. package/dist/src/custom-field/schema.d.ts +12 -12
  40. package/dist/src/custom-field-upload/schema.d.ts +9 -9
  41. package/dist/src/cx-log/index.d.ts +1644 -1644
  42. package/dist/src/cx-log/schema.d.ts +1400 -1400
  43. package/dist/src/evaluate-form/index.d.ts +47 -0
  44. package/dist/src/evaluate-form/index.d.ts.map +1 -0
  45. package/dist/src/evaluate-form/schema.d.ts +9 -9
  46. package/dist/src/evaluate-form/validation.d.ts +28 -0
  47. package/dist/src/evaluate-form/validation.d.ts.map +1 -0
  48. package/dist/src/extension/index.d.ts +115 -115
  49. package/dist/src/extension/schema.d.ts +9 -9
  50. package/dist/src/group/schema.d.ts +9 -9
  51. package/dist/src/index.d.ts +1 -0
  52. package/dist/src/index.d.ts.map +1 -1
  53. package/dist/src/log-form/schema.d.ts +9 -9
  54. package/dist/src/mail/account-contract.d.ts +168 -168
  55. package/dist/src/mail/mail-contract.d.ts +3398 -3398
  56. package/dist/src/mail/message-contract.d.ts +152 -152
  57. package/dist/src/mail/room-contract.d.ts +3078 -3078
  58. package/dist/src/mail/schemas/account-validation.schema.d.ts +168 -168
  59. package/dist/src/mail/schemas/account.schema.d.ts +33 -33
  60. package/dist/src/mail/schemas/message.schema.d.ts +108 -108
  61. package/dist/src/mail/schemas/room-validation.schema.d.ts +1014 -1014
  62. package/dist/src/mail/schemas/room.schema.d.ts +816 -816
  63. package/dist/src/messenger/index.d.ts +1981 -1629
  64. package/dist/src/messenger/index.d.ts.map +1 -1
  65. package/dist/src/permission/index.d.ts +15 -15
  66. package/dist/src/permission/schema.d.ts +9 -9
  67. package/dist/src/role/index.d.ts +96 -96
  68. package/dist/src/role/schema.d.ts +24 -24
  69. package/dist/src/tag/index.d.ts +45 -45
  70. package/dist/src/tag/schema.d.ts +9 -9
  71. package/dist/src/tag-group/schema.d.ts +9 -9
  72. package/dist/src/telephony-agent-presence-status/index.d.ts +386 -386
  73. package/dist/src/telephony-agent-presence-status/schema.d.ts +122 -122
  74. package/dist/src/telephony-cdr/schema.d.ts +9 -9
  75. package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
  76. package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
  77. package/dist/src/tenant/schema.d.ts +9 -9
  78. package/dist/src/ticket/index.d.ts +861 -1097
  79. package/dist/src/ticket/index.d.ts.map +1 -1
  80. package/dist/src/ticket/schema.d.ts +212 -212
  81. package/dist/src/ticket/validation.d.ts +102 -338
  82. package/dist/src/ticket/validation.d.ts.map +1 -1
  83. package/dist/src/upload/schema.d.ts +9 -9
  84. package/dist/src/user/index.d.ts +293 -293
  85. package/dist/src/user/schema.d.ts +63 -63
  86. package/dist/src/user-presence-status-log/index.d.ts +88 -88
  87. package/dist/src/user-presence-status-log/schema.d.ts +128 -128
  88. package/dist/src/widget/index.d.ts +78 -78
  89. package/dist/src/widget/schema.d.ts +9 -9
  90. package/dist/src/wrap-up-form/index.d.ts +96 -96
  91. package/dist/src/wrap-up-form/schema.d.ts +24 -24
  92. 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.ZodString;
32
- updatedAt: z.ZodString;
33
- deletedAt: z.ZodNullable<z.ZodString>;
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.ZodString>;
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.ZodString;
44
- updatedAt: z.ZodString;
45
- deletedAt: z.ZodNullable<z.ZodString>;
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.ZodString;
52
- updatedAt: z.ZodString;
53
- deletedAt: z.ZodNullable<z.ZodString>;
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: string;
61
- updatedAt: string;
62
- deletedAt: string | null;
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: string;
69
- updatedAt: string;
70
- deletedAt: string | null;
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: string;
78
- updatedAt: string;
79
- deletedAt: string | null;
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: string;
86
- updatedAt: string;
87
- deletedAt: string | null;
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: string;
95
- updatedAt: string;
96
- deletedAt: string | null;
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: string;
103
- updatedAt: string;
104
- deletedAt: string | null;
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.ZodString;
112
- updatedAt: z.ZodString;
113
- deletedAt: z.ZodNullable<z.ZodString>;
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: string;
123
- updatedAt: string;
124
- deletedAt: string | null;
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: string;
134
- updatedAt: string;
135
- deletedAt: string | null;
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: string;
149
- updatedAt: string;
150
- deletedAt: string | null;
151
- emailVerifiedAt: string | null;
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: string;
159
- updatedAt: string;
160
- deletedAt: string | null;
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: string;
167
- updatedAt: string;
168
- deletedAt: string | null;
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: string;
176
- updatedAt: string;
177
- deletedAt: string | null;
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: string;
191
- updatedAt: string;
192
- deletedAt: string | null;
193
- emailVerifiedAt: string | null;
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: string;
201
- updatedAt: string;
202
- deletedAt: string | null;
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: string;
209
- updatedAt: string;
210
- deletedAt: string | null;
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: string;
218
- updatedAt: string;
219
- deletedAt: string | null;
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: string;
247
- updatedAt: string;
248
- deletedAt: string | null;
249
- emailVerifiedAt: string | null;
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: string;
257
- updatedAt: string;
258
- deletedAt: string | null;
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: string;
265
- updatedAt: string;
266
- deletedAt: string | null;
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: string;
274
- updatedAt: string;
275
- deletedAt: string | null;
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: string;
303
- updatedAt: string;
304
- deletedAt: string | null;
305
- emailVerifiedAt: string | null;
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: string;
313
- updatedAt: string;
314
- deletedAt: string | null;
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: string;
321
- updatedAt: string;
322
- deletedAt: string | null;
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: string;
330
- updatedAt: string;
331
- deletedAt: string | null;
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.ZodString>;
349
- updatedAt: z.ZodOptional<z.ZodString>;
350
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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.ZodString;
378
- updatedAt: z.ZodString;
379
- deletedAt: z.ZodNullable<z.ZodString>;
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.ZodString>;
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.ZodString;
390
- updatedAt: z.ZodString;
391
- deletedAt: z.ZodNullable<z.ZodString>;
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.ZodString;
398
- updatedAt: z.ZodString;
399
- deletedAt: z.ZodNullable<z.ZodString>;
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: string;
407
- updatedAt: string;
408
- deletedAt: string | null;
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: string;
415
- updatedAt: string;
416
- deletedAt: string | null;
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: string;
424
- updatedAt: string;
425
- deletedAt: string | null;
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: string;
432
- updatedAt: string;
433
- deletedAt: string | null;
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: string;
441
- updatedAt: string;
442
- deletedAt: string | null;
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: string;
449
- updatedAt: string;
450
- deletedAt: string | null;
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.ZodString;
458
- updatedAt: z.ZodString;
459
- deletedAt: z.ZodNullable<z.ZodString>;
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: string;
469
- updatedAt: string;
470
- deletedAt: string | null;
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: string;
480
- updatedAt: string;
481
- deletedAt: string | null;
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: string;
495
- updatedAt: string;
496
- deletedAt: string | null;
497
- emailVerifiedAt: string | null;
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: string;
505
- updatedAt: string;
506
- deletedAt: string | null;
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: string;
513
- updatedAt: string;
514
- deletedAt: string | null;
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: string;
522
- updatedAt: string;
523
- deletedAt: string | null;
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: string;
537
- updatedAt: string;
538
- deletedAt: string | null;
539
- emailVerifiedAt: string | null;
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: string;
547
- updatedAt: string;
548
- deletedAt: string | null;
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: string;
555
- updatedAt: string;
556
- deletedAt: string | null;
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: string;
564
- updatedAt: string;
565
- deletedAt: string | null;
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?: string | undefined;
577
- updatedAt?: string | undefined;
578
- deletedAt?: string | null | undefined;
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: string;
599
- updatedAt: string;
600
- deletedAt: string | null;
601
- emailVerifiedAt: string | null;
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: string;
609
- updatedAt: string;
610
- deletedAt: string | null;
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: string;
617
- updatedAt: string;
618
- deletedAt: string | null;
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: string;
626
- updatedAt: string;
627
- deletedAt: string | null;
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?: string | undefined;
639
- updatedAt?: string | undefined;
640
- deletedAt?: string | null | undefined;
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: string;
661
- updatedAt: string;
662
- deletedAt: string | null;
663
- emailVerifiedAt: string | null;
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: string;
671
- updatedAt: string;
672
- deletedAt: string | null;
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: string;
679
- updatedAt: string;
680
- deletedAt: string | null;
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: string;
688
- updatedAt: string;
689
- deletedAt: string | null;
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?: string | undefined;
704
- updatedAt?: string | undefined;
705
- deletedAt?: string | null | undefined;
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: string;
726
- updatedAt: string;
727
- deletedAt: string | null;
728
- emailVerifiedAt: string | null;
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: string;
736
- updatedAt: string;
737
- deletedAt: string | null;
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: string;
744
- updatedAt: string;
745
- deletedAt: string | null;
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: string;
753
- updatedAt: string;
754
- deletedAt: string | null;
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?: string | undefined;
769
- updatedAt?: string | undefined;
770
- deletedAt?: string | null | undefined;
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: string;
791
- updatedAt: string;
792
- deletedAt: string | null;
793
- emailVerifiedAt: string | null;
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: string;
801
- updatedAt: string;
802
- deletedAt: string | null;
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: string;
809
- updatedAt: string;
810
- deletedAt: string | null;
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: string;
818
- updatedAt: string;
819
- deletedAt: string | null;
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.ZodString>;
868
- updatedAt: z.ZodOptional<z.ZodString>;
869
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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.ZodString;
897
- updatedAt: z.ZodString;
898
- deletedAt: z.ZodNullable<z.ZodString>;
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.ZodString>;
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.ZodString;
909
- updatedAt: z.ZodString;
910
- deletedAt: z.ZodNullable<z.ZodString>;
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.ZodString;
917
- updatedAt: z.ZodString;
918
- deletedAt: z.ZodNullable<z.ZodString>;
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: string;
926
- updatedAt: string;
927
- deletedAt: string | null;
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: string;
934
- updatedAt: string;
935
- deletedAt: string | null;
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: string;
943
- updatedAt: string;
944
- deletedAt: string | null;
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: string;
951
- updatedAt: string;
952
- deletedAt: string | null;
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: string;
960
- updatedAt: string;
961
- deletedAt: string | null;
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: string;
968
- updatedAt: string;
969
- deletedAt: string | null;
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.ZodString;
977
- updatedAt: z.ZodString;
978
- deletedAt: z.ZodNullable<z.ZodString>;
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: string;
988
- updatedAt: string;
989
- deletedAt: string | null;
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: string;
999
- updatedAt: string;
1000
- deletedAt: string | null;
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: string;
1014
- updatedAt: string;
1015
- deletedAt: string | null;
1016
- emailVerifiedAt: string | null;
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: string;
1024
- updatedAt: string;
1025
- deletedAt: string | null;
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: string;
1032
- updatedAt: string;
1033
- deletedAt: string | null;
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: string;
1041
- updatedAt: string;
1042
- deletedAt: string | null;
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: string;
1056
- updatedAt: string;
1057
- deletedAt: string | null;
1058
- emailVerifiedAt: string | null;
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: string;
1066
- updatedAt: string;
1067
- deletedAt: string | null;
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: string;
1074
- updatedAt: string;
1075
- deletedAt: string | null;
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: string;
1083
- updatedAt: string;
1084
- deletedAt: string | null;
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?: string | undefined;
1096
- updatedAt?: string | undefined;
1097
- deletedAt?: string | null | undefined;
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: string;
1118
- updatedAt: string;
1119
- deletedAt: string | null;
1120
- emailVerifiedAt: string | null;
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: string;
1128
- updatedAt: string;
1129
- deletedAt: string | null;
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: string;
1136
- updatedAt: string;
1137
- deletedAt: string | null;
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: string;
1145
- updatedAt: string;
1146
- deletedAt: string | null;
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?: string | undefined;
1158
- updatedAt?: string | undefined;
1159
- deletedAt?: string | null | undefined;
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: string;
1180
- updatedAt: string;
1181
- deletedAt: string | null;
1182
- emailVerifiedAt: string | null;
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: string;
1190
- updatedAt: string;
1191
- deletedAt: string | null;
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: string;
1198
- updatedAt: string;
1199
- deletedAt: string | null;
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: string;
1207
- updatedAt: string;
1208
- deletedAt: string | null;
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?: string | undefined;
1223
- updatedAt?: string | undefined;
1224
- deletedAt?: string | null | undefined;
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: string;
1245
- updatedAt: string;
1246
- deletedAt: string | null;
1247
- emailVerifiedAt: string | null;
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: string;
1255
- updatedAt: string;
1256
- deletedAt: string | null;
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: string;
1263
- updatedAt: string;
1264
- deletedAt: string | null;
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: string;
1272
- updatedAt: string;
1273
- deletedAt: string | null;
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?: string | undefined;
1288
- updatedAt?: string | undefined;
1289
- deletedAt?: string | null | undefined;
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: string;
1310
- updatedAt: string;
1311
- deletedAt: string | null;
1312
- emailVerifiedAt: string | null;
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: string;
1320
- updatedAt: string;
1321
- deletedAt: string | null;
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: string;
1328
- updatedAt: string;
1329
- deletedAt: string | null;
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: string;
1337
- updatedAt: string;
1338
- deletedAt: string | null;
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/";