@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.
Files changed (92) hide show
  1. package/dist/index.js +179 -124
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +178 -124
  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/app/index.d.ts +17 -0
  8. package/dist/src/app/index.d.ts.map +1 -0
  9. package/dist/src/attribute/index.d.ts +108 -108
  10. package/dist/src/attribute/schema.d.ts +24 -24
  11. package/dist/src/attribute-option/schema.d.ts +9 -9
  12. package/dist/src/auth/index.d.ts +89 -89
  13. package/dist/src/base-contract.d.ts +9 -9
  14. package/dist/src/call-log/schema.d.ts +9 -9
  15. package/dist/src/category/index.d.ts +42 -42
  16. package/dist/src/category/schema.d.ts +9 -9
  17. package/dist/src/channel/index.d.ts +357 -357
  18. package/dist/src/channel/schema.d.ts +101 -98
  19. package/dist/src/channel/schema.d.ts.map +1 -1
  20. package/dist/src/channel/validation.d.ts +89 -89
  21. package/dist/src/chat/index.d.ts +13187 -13187
  22. package/dist/src/chat/schema.d.ts +2360 -2360
  23. package/dist/src/chat/validation.d.ts +3251 -3251
  24. package/dist/src/comment/index.d.ts +1368 -1368
  25. package/dist/src/comment/schema.d.ts +388 -388
  26. package/dist/src/company/index.d.ts +316 -316
  27. package/dist/src/company/schema.d.ts +95 -95
  28. package/dist/src/company/validation.d.ts +177 -177
  29. package/dist/src/contact/index.d.ts +2171 -2171
  30. package/dist/src/contact/schema.d.ts +362 -362
  31. package/dist/src/contact/validation.d.ts +1685 -1685
  32. package/dist/src/contact-email/schema.d.ts +9 -9
  33. package/dist/src/contact-phone/schema.d.ts +9 -9
  34. package/dist/src/contract.d.ts +26474 -26668
  35. package/dist/src/contract.d.ts.map +1 -1
  36. package/dist/src/custom-field/schema.d.ts +12 -12
  37. package/dist/src/custom-field-upload/schema.d.ts +9 -9
  38. package/dist/src/cx-log/index.d.ts +1644 -1644
  39. package/dist/src/cx-log/schema.d.ts +1400 -1400
  40. package/dist/src/evaluate-form/index.d.ts +47 -0
  41. package/dist/src/evaluate-form/index.d.ts.map +1 -0
  42. package/dist/src/evaluate-form/schema.d.ts +9 -9
  43. package/dist/src/evaluate-form/validation.d.ts +28 -0
  44. package/dist/src/evaluate-form/validation.d.ts.map +1 -0
  45. package/dist/src/extension/index.d.ts +115 -115
  46. package/dist/src/extension/schema.d.ts +9 -9
  47. package/dist/src/group/schema.d.ts +9 -9
  48. package/dist/src/index.d.ts +1 -0
  49. package/dist/src/index.d.ts.map +1 -1
  50. package/dist/src/log-form/schema.d.ts +9 -9
  51. package/dist/src/mail/account-contract.d.ts +168 -168
  52. package/dist/src/mail/mail-contract.d.ts +3398 -3398
  53. package/dist/src/mail/mail-server.d.ts +216 -0
  54. package/dist/src/mail/mail-server.d.ts.map +1 -0
  55. package/dist/src/mail/message-contract.d.ts +152 -152
  56. package/dist/src/mail/room-contract.d.ts +3078 -3078
  57. package/dist/src/mail/schemas/account-validation.schema.d.ts +168 -168
  58. package/dist/src/mail/schemas/account.schema.d.ts +33 -33
  59. package/dist/src/mail/schemas/message.schema.d.ts +108 -108
  60. package/dist/src/mail/schemas/room-validation.schema.d.ts +1014 -1014
  61. package/dist/src/mail/schemas/room.schema.d.ts +816 -816
  62. package/dist/src/messenger/index.d.ts +1569 -1569
  63. package/dist/src/permission/index.d.ts +15 -15
  64. package/dist/src/permission/schema.d.ts +9 -9
  65. package/dist/src/platform-contact/schema.d.ts +30 -0
  66. package/dist/src/platform-contact/schema.d.ts.map +1 -0
  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 +858 -1094
  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
@@ -1,94 +1,94 @@
1
1
  import z from 'zod';
2
2
  export declare const UserPresenceStatusLogSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
- createdAt: z.ZodString;
5
- updatedAt: z.ZodString;
6
- deletedAt: z.ZodNullable<z.ZodString>;
4
+ createdAt: z.ZodDate;
5
+ updatedAt: z.ZodDate;
6
+ deletedAt: z.ZodNullable<z.ZodDate>;
7
7
  user: z.ZodObject<{
8
8
  id: z.ZodString;
9
- createdAt: z.ZodString;
10
- updatedAt: z.ZodString;
11
- deletedAt: z.ZodNullable<z.ZodString>;
9
+ createdAt: z.ZodDate;
10
+ updatedAt: z.ZodDate;
11
+ deletedAt: z.ZodNullable<z.ZodDate>;
12
12
  name: z.ZodString;
13
13
  email: z.ZodString;
14
- emailVerifiedAt: z.ZodNullable<z.ZodString>;
14
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
15
15
  password: z.ZodString;
16
16
  address: z.ZodNullable<z.ZodString>;
17
17
  phone: z.ZodNullable<z.ZodString>;
18
18
  notificationCount: z.ZodNullable<z.ZodNumber>;
19
19
  roles: z.ZodArray<z.ZodObject<{
20
20
  id: z.ZodString;
21
- createdAt: z.ZodString;
22
- updatedAt: z.ZodString;
23
- deletedAt: z.ZodNullable<z.ZodString>;
21
+ createdAt: z.ZodDate;
22
+ updatedAt: z.ZodDate;
23
+ deletedAt: z.ZodNullable<z.ZodDate>;
24
24
  systemName: z.ZodString;
25
25
  displayName: z.ZodString;
26
26
  description: z.ZodNullable<z.ZodString>;
27
27
  permissions: z.ZodArray<z.ZodObject<{
28
28
  id: z.ZodString;
29
- createdAt: z.ZodString;
30
- updatedAt: z.ZodString;
31
- deletedAt: z.ZodNullable<z.ZodString>;
29
+ createdAt: z.ZodDate;
30
+ updatedAt: z.ZodDate;
31
+ deletedAt: z.ZodNullable<z.ZodDate>;
32
32
  systemName: z.ZodString;
33
33
  displayName: z.ZodString;
34
34
  description: z.ZodNullable<z.ZodString>;
35
35
  }, "strip", z.ZodTypeAny, {
36
36
  id: string;
37
37
  description: string | null;
38
- createdAt: string;
39
- updatedAt: string;
40
- deletedAt: string | null;
38
+ createdAt: Date;
39
+ updatedAt: Date;
40
+ deletedAt: Date | null;
41
41
  systemName: string;
42
42
  displayName: string;
43
43
  }, {
44
44
  id: string;
45
45
  description: string | null;
46
- createdAt: string;
47
- updatedAt: string;
48
- deletedAt: string | null;
46
+ createdAt: Date;
47
+ updatedAt: Date;
48
+ deletedAt: Date | null;
49
49
  systemName: string;
50
50
  displayName: string;
51
51
  }>, "many">;
52
52
  }, "strip", z.ZodTypeAny, {
53
53
  id: string;
54
54
  description: string | null;
55
- createdAt: string;
56
- updatedAt: string;
57
- deletedAt: string | null;
55
+ createdAt: Date;
56
+ updatedAt: Date;
57
+ deletedAt: Date | null;
58
58
  systemName: string;
59
59
  displayName: string;
60
60
  permissions: {
61
61
  id: string;
62
62
  description: string | null;
63
- createdAt: string;
64
- updatedAt: string;
65
- deletedAt: string | null;
63
+ createdAt: Date;
64
+ updatedAt: Date;
65
+ deletedAt: Date | null;
66
66
  systemName: string;
67
67
  displayName: string;
68
68
  }[];
69
69
  }, {
70
70
  id: string;
71
71
  description: string | null;
72
- createdAt: string;
73
- updatedAt: string;
74
- deletedAt: string | null;
72
+ createdAt: Date;
73
+ updatedAt: Date;
74
+ deletedAt: Date | null;
75
75
  systemName: string;
76
76
  displayName: string;
77
77
  permissions: {
78
78
  id: string;
79
79
  description: string | null;
80
- createdAt: string;
81
- updatedAt: string;
82
- deletedAt: string | null;
80
+ createdAt: Date;
81
+ updatedAt: Date;
82
+ deletedAt: Date | null;
83
83
  systemName: string;
84
84
  displayName: string;
85
85
  }[];
86
86
  }>, "many">;
87
87
  extension: z.ZodOptional<z.ZodObject<{
88
88
  id: z.ZodString;
89
- createdAt: z.ZodString;
90
- updatedAt: z.ZodString;
91
- deletedAt: z.ZodNullable<z.ZodString>;
89
+ createdAt: z.ZodDate;
90
+ updatedAt: z.ZodDate;
91
+ deletedAt: z.ZodNullable<z.ZodDate>;
92
92
  userId: z.ZodNullable<z.ZodString>;
93
93
  sipServerUrl: z.ZodString;
94
94
  sipUserName: z.ZodString;
@@ -97,9 +97,9 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
97
97
  telephonySignature: z.ZodNullable<z.ZodString>;
98
98
  }, "strip", z.ZodTypeAny, {
99
99
  id: string;
100
- createdAt: string;
101
- updatedAt: string;
102
- deletedAt: string | null;
100
+ createdAt: Date;
101
+ updatedAt: Date;
102
+ deletedAt: Date | null;
103
103
  userId: string | null;
104
104
  sipServerUrl: string;
105
105
  sipUserName: string;
@@ -108,9 +108,9 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
108
108
  telephonySignature: string | null;
109
109
  }, {
110
110
  id: string;
111
- createdAt: string;
112
- updatedAt: string;
113
- deletedAt: string | null;
111
+ createdAt: Date;
112
+ updatedAt: Date;
113
+ deletedAt: Date | null;
114
114
  userId: string | null;
115
115
  sipServerUrl: string;
116
116
  sipUserName: string;
@@ -123,36 +123,36 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
123
123
  address: string | null;
124
124
  name: string;
125
125
  email: string;
126
- createdAt: string;
127
- updatedAt: string;
128
- deletedAt: string | null;
129
- emailVerifiedAt: string | null;
126
+ createdAt: Date;
127
+ updatedAt: Date;
128
+ deletedAt: Date | null;
129
+ emailVerifiedAt: Date | null;
130
130
  password: string;
131
131
  phone: string | null;
132
132
  notificationCount: number | null;
133
133
  roles: {
134
134
  id: string;
135
135
  description: string | null;
136
- createdAt: string;
137
- updatedAt: string;
138
- deletedAt: string | null;
136
+ createdAt: Date;
137
+ updatedAt: Date;
138
+ deletedAt: Date | null;
139
139
  systemName: string;
140
140
  displayName: string;
141
141
  permissions: {
142
142
  id: string;
143
143
  description: string | null;
144
- createdAt: string;
145
- updatedAt: string;
146
- deletedAt: string | null;
144
+ createdAt: Date;
145
+ updatedAt: Date;
146
+ deletedAt: Date | null;
147
147
  systemName: string;
148
148
  displayName: string;
149
149
  }[];
150
150
  }[];
151
151
  extension?: {
152
152
  id: string;
153
- createdAt: string;
154
- updatedAt: string;
155
- deletedAt: string | null;
153
+ createdAt: Date;
154
+ updatedAt: Date;
155
+ deletedAt: Date | null;
156
156
  userId: string | null;
157
157
  sipServerUrl: string;
158
158
  sipUserName: string;
@@ -165,36 +165,36 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
165
165
  address: string | null;
166
166
  name: string;
167
167
  email: string;
168
- createdAt: string;
169
- updatedAt: string;
170
- deletedAt: string | null;
171
- emailVerifiedAt: string | null;
168
+ createdAt: Date;
169
+ updatedAt: Date;
170
+ deletedAt: Date | null;
171
+ emailVerifiedAt: Date | null;
172
172
  password: string;
173
173
  phone: string | null;
174
174
  notificationCount: number | null;
175
175
  roles: {
176
176
  id: string;
177
177
  description: string | null;
178
- createdAt: string;
179
- updatedAt: string;
180
- deletedAt: string | null;
178
+ createdAt: Date;
179
+ updatedAt: Date;
180
+ deletedAt: Date | null;
181
181
  systemName: string;
182
182
  displayName: string;
183
183
  permissions: {
184
184
  id: string;
185
185
  description: string | null;
186
- createdAt: string;
187
- updatedAt: string;
188
- deletedAt: string | null;
186
+ createdAt: Date;
187
+ updatedAt: Date;
188
+ deletedAt: Date | null;
189
189
  systemName: string;
190
190
  displayName: string;
191
191
  }[];
192
192
  }[];
193
193
  extension?: {
194
194
  id: string;
195
- createdAt: string;
196
- updatedAt: string;
197
- deletedAt: string | null;
195
+ createdAt: Date;
196
+ updatedAt: Date;
197
+ deletedAt: Date | null;
198
198
  userId: string | null;
199
199
  sipServerUrl: string;
200
200
  sipUserName: string;
@@ -205,47 +205,47 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
205
205
  }>;
206
206
  previousPresenceStatus: z.ZodObject<{
207
207
  id: z.ZodString;
208
- createdAt: z.ZodString;
209
- updatedAt: z.ZodString;
210
- deletedAt: z.ZodNullable<z.ZodString>;
208
+ createdAt: z.ZodDate;
209
+ updatedAt: z.ZodDate;
210
+ deletedAt: z.ZodNullable<z.ZodDate>;
211
211
  status: z.ZodString;
212
212
  description: z.ZodString;
213
213
  }, "strip", z.ZodTypeAny, {
214
214
  id: string;
215
215
  description: string;
216
216
  status: string;
217
- createdAt: string;
218
- updatedAt: string;
219
- deletedAt: string | null;
217
+ createdAt: Date;
218
+ updatedAt: Date;
219
+ deletedAt: Date | null;
220
220
  }, {
221
221
  id: string;
222
222
  description: string;
223
223
  status: string;
224
- createdAt: string;
225
- updatedAt: string;
226
- deletedAt: string | null;
224
+ createdAt: Date;
225
+ updatedAt: Date;
226
+ deletedAt: Date | null;
227
227
  }>;
228
228
  newPresenceStatus: z.ZodObject<{
229
229
  id: z.ZodString;
230
- createdAt: z.ZodString;
231
- updatedAt: z.ZodString;
232
- deletedAt: z.ZodNullable<z.ZodString>;
230
+ createdAt: z.ZodDate;
231
+ updatedAt: z.ZodDate;
232
+ deletedAt: z.ZodNullable<z.ZodDate>;
233
233
  status: z.ZodString;
234
234
  description: z.ZodString;
235
235
  }, "strip", z.ZodTypeAny, {
236
236
  id: string;
237
237
  description: string;
238
238
  status: string;
239
- createdAt: string;
240
- updatedAt: string;
241
- deletedAt: string | null;
239
+ createdAt: Date;
240
+ updatedAt: Date;
241
+ deletedAt: Date | null;
242
242
  }, {
243
243
  id: string;
244
244
  description: string;
245
245
  status: string;
246
- createdAt: string;
247
- updatedAt: string;
248
- deletedAt: string | null;
246
+ createdAt: Date;
247
+ updatedAt: Date;
248
+ deletedAt: Date | null;
249
249
  }>;
250
250
  reason: z.ZodString;
251
251
  }, "strip", z.ZodTypeAny, {
@@ -256,36 +256,36 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
256
256
  address: string | null;
257
257
  name: string;
258
258
  email: string;
259
- createdAt: string;
260
- updatedAt: string;
261
- deletedAt: string | null;
262
- emailVerifiedAt: string | null;
259
+ createdAt: Date;
260
+ updatedAt: Date;
261
+ deletedAt: Date | null;
262
+ emailVerifiedAt: Date | null;
263
263
  password: string;
264
264
  phone: string | null;
265
265
  notificationCount: number | null;
266
266
  roles: {
267
267
  id: string;
268
268
  description: string | null;
269
- createdAt: string;
270
- updatedAt: string;
271
- deletedAt: string | null;
269
+ createdAt: Date;
270
+ updatedAt: Date;
271
+ deletedAt: Date | null;
272
272
  systemName: string;
273
273
  displayName: string;
274
274
  permissions: {
275
275
  id: string;
276
276
  description: string | null;
277
- createdAt: string;
278
- updatedAt: string;
279
- deletedAt: string | null;
277
+ createdAt: Date;
278
+ updatedAt: Date;
279
+ deletedAt: Date | null;
280
280
  systemName: string;
281
281
  displayName: string;
282
282
  }[];
283
283
  }[];
284
284
  extension?: {
285
285
  id: string;
286
- createdAt: string;
287
- updatedAt: string;
288
- deletedAt: string | null;
286
+ createdAt: Date;
287
+ updatedAt: Date;
288
+ deletedAt: Date | null;
289
289
  userId: string | null;
290
290
  sipServerUrl: string;
291
291
  sipUserName: string;
@@ -294,24 +294,24 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
294
294
  telephonySignature: string | null;
295
295
  } | undefined;
296
296
  };
297
- createdAt: string;
298
- updatedAt: string;
299
- deletedAt: string | null;
297
+ createdAt: Date;
298
+ updatedAt: Date;
299
+ deletedAt: Date | null;
300
300
  previousPresenceStatus: {
301
301
  id: string;
302
302
  description: string;
303
303
  status: string;
304
- createdAt: string;
305
- updatedAt: string;
306
- deletedAt: string | null;
304
+ createdAt: Date;
305
+ updatedAt: Date;
306
+ deletedAt: Date | null;
307
307
  };
308
308
  newPresenceStatus: {
309
309
  id: string;
310
310
  description: string;
311
311
  status: string;
312
- createdAt: string;
313
- updatedAt: string;
314
- deletedAt: string | null;
312
+ createdAt: Date;
313
+ updatedAt: Date;
314
+ deletedAt: Date | null;
315
315
  };
316
316
  }, {
317
317
  reason: string;
@@ -321,36 +321,36 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
321
321
  address: string | null;
322
322
  name: string;
323
323
  email: string;
324
- createdAt: string;
325
- updatedAt: string;
326
- deletedAt: string | null;
327
- emailVerifiedAt: string | null;
324
+ createdAt: Date;
325
+ updatedAt: Date;
326
+ deletedAt: Date | null;
327
+ emailVerifiedAt: Date | null;
328
328
  password: string;
329
329
  phone: string | null;
330
330
  notificationCount: number | null;
331
331
  roles: {
332
332
  id: string;
333
333
  description: string | null;
334
- createdAt: string;
335
- updatedAt: string;
336
- deletedAt: string | null;
334
+ createdAt: Date;
335
+ updatedAt: Date;
336
+ deletedAt: Date | null;
337
337
  systemName: string;
338
338
  displayName: string;
339
339
  permissions: {
340
340
  id: string;
341
341
  description: string | null;
342
- createdAt: string;
343
- updatedAt: string;
344
- deletedAt: string | null;
342
+ createdAt: Date;
343
+ updatedAt: Date;
344
+ deletedAt: Date | null;
345
345
  systemName: string;
346
346
  displayName: string;
347
347
  }[];
348
348
  }[];
349
349
  extension?: {
350
350
  id: string;
351
- createdAt: string;
352
- updatedAt: string;
353
- deletedAt: string | null;
351
+ createdAt: Date;
352
+ updatedAt: Date;
353
+ deletedAt: Date | null;
354
354
  userId: string | null;
355
355
  sipServerUrl: string;
356
356
  sipUserName: string;
@@ -359,24 +359,24 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
359
359
  telephonySignature: string | null;
360
360
  } | undefined;
361
361
  };
362
- createdAt: string;
363
- updatedAt: string;
364
- deletedAt: string | null;
362
+ createdAt: Date;
363
+ updatedAt: Date;
364
+ deletedAt: Date | null;
365
365
  previousPresenceStatus: {
366
366
  id: string;
367
367
  description: string;
368
368
  status: string;
369
- createdAt: string;
370
- updatedAt: string;
371
- deletedAt: string | null;
369
+ createdAt: Date;
370
+ updatedAt: Date;
371
+ deletedAt: Date | null;
372
372
  };
373
373
  newPresenceStatus: {
374
374
  id: string;
375
375
  description: string;
376
376
  status: string;
377
- createdAt: string;
378
- updatedAt: string;
379
- deletedAt: string | null;
377
+ createdAt: Date;
378
+ updatedAt: Date;
379
+ deletedAt: Date | null;
380
380
  };
381
381
  }>;
382
382
  //# sourceMappingURL=schema.d.ts.map