@kl1/contracts 1.0.27 → 1.0.28

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 (63) hide show
  1. package/dist/index.js +151 -118
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +151 -118
  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/auth/index.d.ts +89 -89
  8. package/dist/src/channel/index.d.ts +319 -319
  9. package/dist/src/channel/schema.d.ts +89 -92
  10. package/dist/src/channel/schema.d.ts.map +1 -1
  11. package/dist/src/channel/validation.d.ts +89 -89
  12. package/dist/src/chat/index.d.ts +8699 -8699
  13. package/dist/src/chat/schema.d.ts +1486 -1486
  14. package/dist/src/chat/validation.d.ts +2244 -2244
  15. package/dist/src/comment/index.d.ts +1005 -1005
  16. package/dist/src/comment/schema.d.ts +283 -283
  17. package/dist/src/company/index.d.ts +28 -28
  18. package/dist/src/company/schema.d.ts +8 -8
  19. package/dist/src/company/validation.d.ts +15 -15
  20. package/dist/src/contact/index.d.ts +960 -960
  21. package/dist/src/contact/schema.d.ts +161 -161
  22. package/dist/src/contact/validation.d.ts +690 -690
  23. package/dist/src/contract.d.ts +18366 -18196
  24. package/dist/src/contract.d.ts.map +1 -1
  25. package/dist/src/custom-field/schema.d.ts +3 -3
  26. package/dist/src/cx-log/index.d.ts +1023 -1023
  27. package/dist/src/cx-log/schema.d.ts +837 -837
  28. package/dist/src/dashboard/index.d.ts +6 -6
  29. package/dist/src/dashboard/index.d.ts.map +1 -1
  30. package/dist/src/dashboard/schema.d.ts +2 -2
  31. package/dist/src/dashboard/schema.d.ts.map +1 -1
  32. package/dist/src/extension/index.d.ts +115 -115
  33. package/dist/src/extension/schema.d.ts +9 -9
  34. package/dist/src/mail/account-contract.d.ts +168 -168
  35. package/dist/src/mail/mail-contract.d.ts +3336 -3336
  36. package/dist/src/mail/message-contract.d.ts +152 -152
  37. package/dist/src/mail/room-contract.d.ts +3015 -3015
  38. package/dist/src/mail/schemas/account-validation.schema.d.ts +168 -168
  39. package/dist/src/mail/schemas/account.schema.d.ts +33 -33
  40. package/dist/src/mail/schemas/message.schema.d.ts +108 -108
  41. package/dist/src/mail/schemas/room-validation.schema.d.ts +1000 -1000
  42. package/dist/src/mail/schemas/room.schema.d.ts +791 -791
  43. package/dist/src/messenger/index.d.ts +1078 -1078
  44. package/dist/src/permission/index.d.ts +15 -15
  45. package/dist/src/permission/schema.d.ts +9 -9
  46. package/dist/src/role/index.d.ts +96 -96
  47. package/dist/src/role/schema.d.ts +24 -24
  48. package/dist/src/telephony-agent-presence-status/index.d.ts +293 -293
  49. package/dist/src/telephony-agent-presence-status/schema.d.ts +89 -89
  50. package/dist/src/ticket/index.d.ts +288 -187
  51. package/dist/src/ticket/index.d.ts.map +1 -1
  52. package/dist/src/ticket/schema.d.ts +77 -77
  53. package/dist/src/ticket/validation.d.ts +66 -0
  54. package/dist/src/ticket/validation.d.ts.map +1 -1
  55. package/dist/src/user/index.d.ts +293 -293
  56. package/dist/src/user/schema.d.ts +63 -63
  57. package/dist/src/user-presence-status-log/index.d.ts +52 -52
  58. package/dist/src/user-presence-status-log/schema.d.ts +89 -89
  59. package/dist/src/widget/index.d.ts +72 -1
  60. package/dist/src/widget/index.d.ts.map +1 -1
  61. package/dist/src/widget/validation.d.ts +10 -0
  62. package/dist/src/widget/validation.d.ts.map +1 -1
  63. package/package.json +1 -1
@@ -206,89 +206,89 @@ export declare const authContract: {
206
206
  requestId: z.ZodString;
207
207
  user: z.ZodObject<{
208
208
  id: z.ZodString;
209
- createdAt: z.ZodDate;
210
- updatedAt: z.ZodDate;
211
- deletedAt: z.ZodNullable<z.ZodDate>;
209
+ createdAt: z.ZodString;
210
+ updatedAt: z.ZodString;
211
+ deletedAt: z.ZodNullable<z.ZodString>;
212
212
  name: z.ZodString;
213
213
  email: z.ZodString;
214
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
214
+ emailVerifiedAt: z.ZodNullable<z.ZodString>;
215
215
  password: z.ZodString;
216
216
  address: z.ZodNullable<z.ZodString>;
217
217
  phone: z.ZodNullable<z.ZodString>;
218
218
  notificationCount: z.ZodNullable<z.ZodNumber>;
219
219
  roles: z.ZodArray<z.ZodObject<{
220
220
  id: z.ZodString;
221
- createdAt: z.ZodDate;
222
- updatedAt: z.ZodDate;
223
- deletedAt: z.ZodNullable<z.ZodDate>;
221
+ createdAt: z.ZodString;
222
+ updatedAt: z.ZodString;
223
+ deletedAt: z.ZodNullable<z.ZodString>;
224
224
  systemName: z.ZodString;
225
225
  displayName: z.ZodString;
226
226
  description: z.ZodNullable<z.ZodString>;
227
227
  permissions: z.ZodArray<z.ZodObject<{
228
228
  id: z.ZodString;
229
- createdAt: z.ZodDate;
230
- updatedAt: z.ZodDate;
231
- deletedAt: z.ZodNullable<z.ZodDate>;
229
+ createdAt: z.ZodString;
230
+ updatedAt: z.ZodString;
231
+ deletedAt: z.ZodNullable<z.ZodString>;
232
232
  systemName: z.ZodString;
233
233
  displayName: z.ZodString;
234
234
  description: z.ZodNullable<z.ZodString>;
235
235
  }, "strip", z.ZodTypeAny, {
236
236
  id: string;
237
237
  description: string | null;
238
- createdAt: Date;
239
- updatedAt: Date;
240
- deletedAt: Date | null;
238
+ createdAt: string;
239
+ updatedAt: string;
240
+ deletedAt: string | null;
241
241
  systemName: string;
242
242
  displayName: string;
243
243
  }, {
244
244
  id: string;
245
245
  description: string | null;
246
- createdAt: Date;
247
- updatedAt: Date;
248
- deletedAt: Date | null;
246
+ createdAt: string;
247
+ updatedAt: string;
248
+ deletedAt: string | null;
249
249
  systemName: string;
250
250
  displayName: string;
251
251
  }>, "many">;
252
252
  }, "strip", z.ZodTypeAny, {
253
253
  id: string;
254
254
  description: string | null;
255
- createdAt: Date;
256
- updatedAt: Date;
257
- deletedAt: Date | null;
255
+ createdAt: string;
256
+ updatedAt: string;
257
+ deletedAt: string | null;
258
258
  systemName: string;
259
259
  displayName: string;
260
260
  permissions: {
261
261
  id: string;
262
262
  description: string | null;
263
- createdAt: Date;
264
- updatedAt: Date;
265
- deletedAt: Date | null;
263
+ createdAt: string;
264
+ updatedAt: string;
265
+ deletedAt: string | null;
266
266
  systemName: string;
267
267
  displayName: string;
268
268
  }[];
269
269
  }, {
270
270
  id: string;
271
271
  description: string | null;
272
- createdAt: Date;
273
- updatedAt: Date;
274
- deletedAt: Date | null;
272
+ createdAt: string;
273
+ updatedAt: string;
274
+ deletedAt: string | null;
275
275
  systemName: string;
276
276
  displayName: string;
277
277
  permissions: {
278
278
  id: string;
279
279
  description: string | null;
280
- createdAt: Date;
281
- updatedAt: Date;
282
- deletedAt: Date | null;
280
+ createdAt: string;
281
+ updatedAt: string;
282
+ deletedAt: string | null;
283
283
  systemName: string;
284
284
  displayName: string;
285
285
  }[];
286
286
  }>, "many">;
287
287
  extension: z.ZodOptional<z.ZodObject<{
288
288
  id: z.ZodString;
289
- createdAt: z.ZodDate;
290
- updatedAt: z.ZodDate;
291
- deletedAt: z.ZodNullable<z.ZodDate>;
289
+ createdAt: z.ZodString;
290
+ updatedAt: z.ZodString;
291
+ deletedAt: z.ZodNullable<z.ZodString>;
292
292
  userId: z.ZodNullable<z.ZodString>;
293
293
  sipServerUrl: z.ZodString;
294
294
  sipUserName: z.ZodString;
@@ -297,9 +297,9 @@ export declare const authContract: {
297
297
  telephonySignature: z.ZodNullable<z.ZodString>;
298
298
  }, "strip", z.ZodTypeAny, {
299
299
  id: string;
300
- createdAt: Date;
301
- updatedAt: Date;
302
- deletedAt: Date | null;
300
+ createdAt: string;
301
+ updatedAt: string;
302
+ deletedAt: string | null;
303
303
  userId: string | null;
304
304
  sipServerUrl: string;
305
305
  sipUserName: string;
@@ -308,9 +308,9 @@ export declare const authContract: {
308
308
  telephonySignature: string | null;
309
309
  }, {
310
310
  id: string;
311
- createdAt: Date;
312
- updatedAt: Date;
313
- deletedAt: Date | null;
311
+ createdAt: string;
312
+ updatedAt: string;
313
+ deletedAt: string | null;
314
314
  userId: string | null;
315
315
  sipServerUrl: string;
316
316
  sipUserName: string;
@@ -323,36 +323,36 @@ export declare const authContract: {
323
323
  address: string | null;
324
324
  name: string;
325
325
  email: string;
326
- createdAt: Date;
327
- updatedAt: Date;
328
- deletedAt: Date | null;
329
- emailVerifiedAt: Date | null;
326
+ createdAt: string;
327
+ updatedAt: string;
328
+ deletedAt: string | null;
329
+ emailVerifiedAt: string | null;
330
330
  password: string;
331
331
  phone: string | null;
332
332
  notificationCount: number | null;
333
333
  roles: {
334
334
  id: string;
335
335
  description: string | null;
336
- createdAt: Date;
337
- updatedAt: Date;
338
- deletedAt: Date | null;
336
+ createdAt: string;
337
+ updatedAt: string;
338
+ deletedAt: string | null;
339
339
  systemName: string;
340
340
  displayName: string;
341
341
  permissions: {
342
342
  id: string;
343
343
  description: string | null;
344
- createdAt: Date;
345
- updatedAt: Date;
346
- deletedAt: Date | null;
344
+ createdAt: string;
345
+ updatedAt: string;
346
+ deletedAt: string | null;
347
347
  systemName: string;
348
348
  displayName: string;
349
349
  }[];
350
350
  }[];
351
351
  extension?: {
352
352
  id: string;
353
- createdAt: Date;
354
- updatedAt: Date;
355
- deletedAt: Date | null;
353
+ createdAt: string;
354
+ updatedAt: string;
355
+ deletedAt: string | null;
356
356
  userId: string | null;
357
357
  sipServerUrl: string;
358
358
  sipUserName: string;
@@ -365,36 +365,36 @@ export declare const authContract: {
365
365
  address: string | null;
366
366
  name: string;
367
367
  email: string;
368
- createdAt: Date;
369
- updatedAt: Date;
370
- deletedAt: Date | null;
371
- emailVerifiedAt: Date | null;
368
+ createdAt: string;
369
+ updatedAt: string;
370
+ deletedAt: string | null;
371
+ emailVerifiedAt: string | null;
372
372
  password: string;
373
373
  phone: string | null;
374
374
  notificationCount: number | null;
375
375
  roles: {
376
376
  id: string;
377
377
  description: string | null;
378
- createdAt: Date;
379
- updatedAt: Date;
380
- deletedAt: Date | null;
378
+ createdAt: string;
379
+ updatedAt: string;
380
+ deletedAt: string | null;
381
381
  systemName: string;
382
382
  displayName: string;
383
383
  permissions: {
384
384
  id: string;
385
385
  description: string | null;
386
- createdAt: Date;
387
- updatedAt: Date;
388
- deletedAt: Date | null;
386
+ createdAt: string;
387
+ updatedAt: string;
388
+ deletedAt: string | null;
389
389
  systemName: string;
390
390
  displayName: string;
391
391
  }[];
392
392
  }[];
393
393
  extension?: {
394
394
  id: string;
395
- createdAt: Date;
396
- updatedAt: Date;
397
- deletedAt: Date | null;
395
+ createdAt: string;
396
+ updatedAt: string;
397
+ deletedAt: string | null;
398
398
  userId: string | null;
399
399
  sipServerUrl: string;
400
400
  sipUserName: string;
@@ -409,36 +409,36 @@ export declare const authContract: {
409
409
  address: string | null;
410
410
  name: string;
411
411
  email: string;
412
- createdAt: Date;
413
- updatedAt: Date;
414
- deletedAt: Date | null;
415
- emailVerifiedAt: Date | null;
412
+ createdAt: string;
413
+ updatedAt: string;
414
+ deletedAt: string | null;
415
+ emailVerifiedAt: string | null;
416
416
  password: string;
417
417
  phone: string | null;
418
418
  notificationCount: number | null;
419
419
  roles: {
420
420
  id: string;
421
421
  description: string | null;
422
- createdAt: Date;
423
- updatedAt: Date;
424
- deletedAt: Date | null;
422
+ createdAt: string;
423
+ updatedAt: string;
424
+ deletedAt: string | null;
425
425
  systemName: string;
426
426
  displayName: string;
427
427
  permissions: {
428
428
  id: string;
429
429
  description: string | null;
430
- createdAt: Date;
431
- updatedAt: Date;
432
- deletedAt: Date | null;
430
+ createdAt: string;
431
+ updatedAt: string;
432
+ deletedAt: string | null;
433
433
  systemName: string;
434
434
  displayName: string;
435
435
  }[];
436
436
  }[];
437
437
  extension?: {
438
438
  id: string;
439
- createdAt: Date;
440
- updatedAt: Date;
441
- deletedAt: Date | null;
439
+ createdAt: string;
440
+ updatedAt: string;
441
+ deletedAt: string | null;
442
442
  userId: string | null;
443
443
  sipServerUrl: string;
444
444
  sipUserName: string;
@@ -454,36 +454,36 @@ export declare const authContract: {
454
454
  address: string | null;
455
455
  name: string;
456
456
  email: string;
457
- createdAt: Date;
458
- updatedAt: Date;
459
- deletedAt: Date | null;
460
- emailVerifiedAt: Date | null;
457
+ createdAt: string;
458
+ updatedAt: string;
459
+ deletedAt: string | null;
460
+ emailVerifiedAt: string | null;
461
461
  password: string;
462
462
  phone: string | null;
463
463
  notificationCount: number | null;
464
464
  roles: {
465
465
  id: string;
466
466
  description: string | null;
467
- createdAt: Date;
468
- updatedAt: Date;
469
- deletedAt: Date | null;
467
+ createdAt: string;
468
+ updatedAt: string;
469
+ deletedAt: string | null;
470
470
  systemName: string;
471
471
  displayName: string;
472
472
  permissions: {
473
473
  id: string;
474
474
  description: string | null;
475
- createdAt: Date;
476
- updatedAt: Date;
477
- deletedAt: Date | null;
475
+ createdAt: string;
476
+ updatedAt: string;
477
+ deletedAt: string | null;
478
478
  systemName: string;
479
479
  displayName: string;
480
480
  }[];
481
481
  }[];
482
482
  extension?: {
483
483
  id: string;
484
- createdAt: Date;
485
- updatedAt: Date;
486
- deletedAt: Date | null;
484
+ createdAt: string;
485
+ updatedAt: string;
486
+ deletedAt: string | null;
487
487
  userId: string | null;
488
488
  sipServerUrl: string;
489
489
  sipUserName: string;