@kl1/contracts 1.0.27 → 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 (81) hide show
  1. package/dist/index.js +144 -56
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +143 -56
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/app/index.d.ts +17 -0
  6. package/dist/src/app/index.d.ts.map +1 -0
  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/base-contract.d.ts +9 -9
  11. package/dist/src/call-log/schema.d.ts +9 -9
  12. package/dist/src/category/index.d.ts +42 -42
  13. package/dist/src/category/schema.d.ts +9 -9
  14. package/dist/src/channel/index.d.ts +38 -38
  15. package/dist/src/channel/schema.d.ts +9 -9
  16. package/dist/src/chat/index.d.ts +5335 -5335
  17. package/dist/src/chat/schema.d.ts +876 -876
  18. package/dist/src/chat/validation.d.ts +1008 -1008
  19. package/dist/src/comment/index.d.ts +363 -363
  20. package/dist/src/comment/schema.d.ts +105 -105
  21. package/dist/src/company/index.d.ts +288 -288
  22. package/dist/src/company/schema.d.ts +87 -87
  23. package/dist/src/company/validation.d.ts +162 -162
  24. package/dist/src/contact/index.d.ts +1212 -1212
  25. package/dist/src/contact/schema.d.ts +201 -201
  26. package/dist/src/contact/validation.d.ts +997 -997
  27. package/dist/src/contact-email/schema.d.ts +9 -9
  28. package/dist/src/contact-phone/schema.d.ts +9 -9
  29. package/dist/src/contract.d.ts +9737 -9761
  30. package/dist/src/contract.d.ts.map +1 -1
  31. package/dist/src/custom-field/schema.d.ts +9 -9
  32. package/dist/src/custom-field-upload/schema.d.ts +9 -9
  33. package/dist/src/cx-log/index.d.ts +621 -621
  34. package/dist/src/cx-log/schema.d.ts +564 -564
  35. package/dist/src/dashboard/index.d.ts +6 -6
  36. package/dist/src/dashboard/index.d.ts.map +1 -1
  37. package/dist/src/dashboard/schema.d.ts +2 -2
  38. package/dist/src/dashboard/schema.d.ts.map +1 -1
  39. package/dist/src/evaluate-form/index.d.ts +47 -0
  40. package/dist/src/evaluate-form/index.d.ts.map +1 -0
  41. package/dist/src/evaluate-form/schema.d.ts +9 -9
  42. package/dist/src/evaluate-form/validation.d.ts +28 -0
  43. package/dist/src/evaluate-form/validation.d.ts.map +1 -0
  44. package/dist/src/group/schema.d.ts +9 -9
  45. package/dist/src/index.d.ts +1 -0
  46. package/dist/src/index.d.ts.map +1 -1
  47. package/dist/src/log-form/schema.d.ts +9 -9
  48. package/dist/src/mail/mail-contract.d.ts +63 -63
  49. package/dist/src/mail/mail-server.d.ts +216 -0
  50. package/dist/src/mail/mail-server.d.ts.map +1 -0
  51. package/dist/src/mail/room-contract.d.ts +63 -63
  52. package/dist/src/mail/schemas/room-validation.schema.d.ts +14 -14
  53. package/dist/src/mail/schemas/room.schema.d.ts +25 -25
  54. package/dist/src/messenger/index.d.ts +492 -492
  55. package/dist/src/platform-contact/schema.d.ts +30 -0
  56. package/dist/src/platform-contact/schema.d.ts.map +1 -0
  57. package/dist/src/tag/index.d.ts +45 -45
  58. package/dist/src/tag/schema.d.ts +9 -9
  59. package/dist/src/tag-group/schema.d.ts +9 -9
  60. package/dist/src/telephony-agent-presence-status/index.d.ts +93 -93
  61. package/dist/src/telephony-agent-presence-status/schema.d.ts +33 -33
  62. package/dist/src/telephony-cdr/schema.d.ts +9 -9
  63. package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
  64. package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
  65. package/dist/src/tenant/schema.d.ts +9 -9
  66. package/dist/src/ticket/index.d.ts +774 -909
  67. package/dist/src/ticket/index.d.ts.map +1 -1
  68. package/dist/src/ticket/schema.d.ts +135 -135
  69. package/dist/src/ticket/validation.d.ts +168 -338
  70. package/dist/src/ticket/validation.d.ts.map +1 -1
  71. package/dist/src/upload/schema.d.ts +9 -9
  72. package/dist/src/user-presence-status-log/index.d.ts +36 -36
  73. package/dist/src/user-presence-status-log/schema.d.ts +39 -39
  74. package/dist/src/widget/index.d.ts +150 -79
  75. package/dist/src/widget/index.d.ts.map +1 -1
  76. package/dist/src/widget/schema.d.ts +9 -9
  77. package/dist/src/widget/validation.d.ts +10 -0
  78. package/dist/src/widget/validation.d.ts.map +1 -1
  79. package/dist/src/wrap-up-form/index.d.ts +96 -96
  80. package/dist/src/wrap-up-form/schema.d.ts +24 -24
  81. package/package.json +10 -4
@@ -1,31 +1,31 @@
1
1
  import z from 'zod';
2
2
  export declare const PresenceStatusSchema: 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
  status: z.ZodString;
8
8
  description: z.ZodString;
9
9
  }, "strip", z.ZodTypeAny, {
10
10
  id: string;
11
11
  description: string;
12
12
  status: string;
13
- createdAt: string;
14
- updatedAt: string;
15
- deletedAt: string | null;
13
+ createdAt: Date;
14
+ updatedAt: Date;
15
+ deletedAt: Date | null;
16
16
  }, {
17
17
  id: string;
18
18
  description: string;
19
19
  status: string;
20
- createdAt: string;
21
- updatedAt: string;
22
- deletedAt: string | null;
20
+ createdAt: Date;
21
+ updatedAt: Date;
22
+ deletedAt: Date | null;
23
23
  }>;
24
24
  export declare const UserPresenceStatusSchema: z.ZodObject<{
25
25
  id: z.ZodString;
26
- createdAt: z.ZodString;
27
- updatedAt: z.ZodString;
28
- deletedAt: z.ZodNullable<z.ZodString>;
26
+ createdAt: z.ZodDate;
27
+ updatedAt: z.ZodDate;
28
+ deletedAt: z.ZodNullable<z.ZodDate>;
29
29
  user: z.ZodObject<{
30
30
  id: z.ZodString;
31
31
  createdAt: z.ZodDate;
@@ -227,25 +227,25 @@ export declare const UserPresenceStatusSchema: z.ZodObject<{
227
227
  }>;
228
228
  presenceStatus: 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
  customPresenceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
251
251
  }, "strip", z.ZodTypeAny, {
@@ -293,16 +293,16 @@ export declare const UserPresenceStatusSchema: z.ZodObject<{
293
293
  telephonySignature: string | null;
294
294
  } | undefined;
295
295
  };
296
- createdAt: string;
297
- updatedAt: string;
298
- deletedAt: string | null;
296
+ createdAt: Date;
297
+ updatedAt: Date;
298
+ deletedAt: Date | null;
299
299
  presenceStatus: {
300
300
  id: string;
301
301
  description: string;
302
302
  status: string;
303
- createdAt: string;
304
- updatedAt: string;
305
- deletedAt: string | null;
303
+ createdAt: Date;
304
+ updatedAt: Date;
305
+ deletedAt: Date | null;
306
306
  };
307
307
  customPresenceStatus?: string | null | undefined;
308
308
  }, {
@@ -350,16 +350,16 @@ export declare const UserPresenceStatusSchema: z.ZodObject<{
350
350
  telephonySignature: string | null;
351
351
  } | undefined;
352
352
  };
353
- createdAt: string;
354
- updatedAt: string;
355
- deletedAt: string | null;
353
+ createdAt: Date;
354
+ updatedAt: Date;
355
+ deletedAt: Date | null;
356
356
  presenceStatus: {
357
357
  id: string;
358
358
  description: string;
359
359
  status: string;
360
- createdAt: string;
361
- updatedAt: string;
362
- deletedAt: string | null;
360
+ createdAt: Date;
361
+ updatedAt: Date;
362
+ deletedAt: Date | null;
363
363
  };
364
364
  customPresenceStatus?: string | null | undefined;
365
365
  }>;
@@ -1,9 +1,9 @@
1
1
  import z from 'zod';
2
2
  export declare const TelephonyCdrSchema: 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
  uniqueCallId: z.ZodString;
8
8
  timeStart: z.ZodString;
9
9
  callFrom: z.ZodString;
@@ -28,9 +28,9 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
28
28
  id: string;
29
29
  recording: string | null;
30
30
  status: string;
31
- createdAt: string;
32
- updatedAt: string;
33
- deletedAt: string | null;
31
+ createdAt: Date;
32
+ updatedAt: Date;
33
+ deletedAt: Date | null;
34
34
  extensionId: string | null;
35
35
  uniqueCallId: string;
36
36
  timeStart: string;
@@ -52,9 +52,9 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
52
52
  id: string;
53
53
  recording: string | null;
54
54
  status: string;
55
- createdAt: string;
56
- updatedAt: string;
57
- deletedAt: string | null;
55
+ createdAt: Date;
56
+ updatedAt: Date;
57
+ deletedAt: Date | null;
58
58
  extensionId: string | null;
59
59
  uniqueCallId: string;
60
60
  timeStart: string;
@@ -1,26 +1,26 @@
1
1
  import z from 'zod';
2
2
  export declare const TelephonyLiveQueueCall: 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
  uniqueCallId: z.ZodString;
8
8
  status: z.ZodString;
9
9
  queueNumber: z.ZodString;
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  id: string;
12
12
  status: string;
13
- createdAt: string;
14
- updatedAt: string;
15
- deletedAt: string | null;
13
+ createdAt: Date;
14
+ updatedAt: Date;
15
+ deletedAt: Date | null;
16
16
  uniqueCallId: string;
17
17
  queueNumber: string;
18
18
  }, {
19
19
  id: string;
20
20
  status: string;
21
- createdAt: string;
22
- updatedAt: string;
23
- deletedAt: string | null;
21
+ createdAt: Date;
22
+ updatedAt: Date;
23
+ deletedAt: Date | null;
24
24
  uniqueCallId: string;
25
25
  queueNumber: string;
26
26
  }>;
@@ -1,9 +1,9 @@
1
1
  import z from 'zod';
2
2
  export declare const TelephonyQueueCallCountSchema: 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
  telephonyQueueId: z.ZodString;
8
8
  totalQueueCall: z.ZodNumber;
9
9
  missedQueueCall: z.ZodNumber;
@@ -17,9 +17,9 @@ export declare const TelephonyQueueCallCountSchema: z.ZodObject<{
17
17
  missedCallPercent: z.ZodNumber;
18
18
  }, "strip", z.ZodTypeAny, {
19
19
  id: string;
20
- createdAt: string;
21
- updatedAt: string;
22
- deletedAt: string | null;
20
+ createdAt: Date;
21
+ updatedAt: Date;
22
+ deletedAt: Date | null;
23
23
  telephonyQueueId: string;
24
24
  sla: number;
25
25
  totalQueueCall: number;
@@ -33,9 +33,9 @@ export declare const TelephonyQueueCallCountSchema: z.ZodObject<{
33
33
  missedCallPercent: number;
34
34
  }, {
35
35
  id: string;
36
- createdAt: string;
37
- updatedAt: string;
38
- deletedAt: string | null;
36
+ createdAt: Date;
37
+ updatedAt: Date;
38
+ deletedAt: Date | null;
39
39
  telephonyQueueId: string;
40
40
  sla: number;
41
41
  totalQueueCall: number;
@@ -1,9 +1,9 @@
1
1
  import z from 'zod';
2
2
  export declare const TenantSchema: 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
  name: z.ZodString;
8
8
  company: z.ZodString;
9
9
  status: z.ZodString;
@@ -14,9 +14,9 @@ export declare const TenantSchema: z.ZodObject<{
14
14
  id: string;
15
15
  name: string;
16
16
  status: string;
17
- createdAt: string;
18
- updatedAt: string;
19
- deletedAt: string | null;
17
+ createdAt: Date;
18
+ updatedAt: Date;
19
+ deletedAt: Date | null;
20
20
  company: string;
21
21
  isDedicated: boolean;
22
22
  users: string[];
@@ -25,9 +25,9 @@ export declare const TenantSchema: z.ZodObject<{
25
25
  id: string;
26
26
  name: string;
27
27
  status: string;
28
- createdAt: string;
29
- updatedAt: string;
30
- deletedAt: string | null;
28
+ createdAt: Date;
29
+ updatedAt: Date;
30
+ deletedAt: Date | null;
31
31
  company: string;
32
32
  isDedicated: boolean;
33
33
  users: string[];