@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
@@ -159,7 +159,7 @@ export declare const companyContract: {
159
159
  textValue: z.ZodNullable<z.ZodString>;
160
160
  booleanValue: z.ZodNullable<z.ZodBoolean>;
161
161
  numberValue: z.ZodNullable<z.ZodNumber>;
162
- dateValue: z.ZodNullable<z.ZodDate>;
162
+ dateValue: z.ZodNullable<z.ZodString>;
163
163
  attribute: z.ZodObject<Omit<{
164
164
  id: z.ZodString;
165
165
  createdAt: z.ZodString;
@@ -263,7 +263,7 @@ export declare const companyContract: {
263
263
  textValue: string | null;
264
264
  booleanValue: boolean | null;
265
265
  numberValue: number | null;
266
- dateValue: Date | null;
266
+ dateValue: string | null;
267
267
  }, {
268
268
  id: string;
269
269
  createdAt: string;
@@ -286,7 +286,7 @@ export declare const companyContract: {
286
286
  textValue: string | null;
287
287
  booleanValue: boolean | null;
288
288
  numberValue: number | null;
289
- dateValue: Date | null;
289
+ dateValue: string | null;
290
290
  }>, "many">>;
291
291
  }, "strip", z.ZodTypeAny, {
292
292
  id: string;
@@ -319,7 +319,7 @@ export declare const companyContract: {
319
319
  textValue: string | null;
320
320
  booleanValue: boolean | null;
321
321
  numberValue: number | null;
322
- dateValue: Date | null;
322
+ dateValue: string | null;
323
323
  }[] | undefined;
324
324
  }, {
325
325
  id: string;
@@ -352,7 +352,7 @@ export declare const companyContract: {
352
352
  textValue: string | null;
353
353
  booleanValue: boolean | null;
354
354
  numberValue: number | null;
355
- dateValue: Date | null;
355
+ dateValue: string | null;
356
356
  }[] | undefined;
357
357
  }>;
358
358
  }, "strip", z.ZodTypeAny, {
@@ -387,7 +387,7 @@ export declare const companyContract: {
387
387
  textValue: string | null;
388
388
  booleanValue: boolean | null;
389
389
  numberValue: number | null;
390
- dateValue: Date | null;
390
+ dateValue: string | null;
391
391
  }[] | undefined;
392
392
  };
393
393
  requestId: string;
@@ -423,7 +423,7 @@ export declare const companyContract: {
423
423
  textValue: string | null;
424
424
  booleanValue: boolean | null;
425
425
  numberValue: number | null;
426
- dateValue: Date | null;
426
+ dateValue: string | null;
427
427
  }[] | undefined;
428
428
  };
429
429
  requestId: string;
@@ -641,7 +641,7 @@ export declare const companyContract: {
641
641
  textValue: z.ZodNullable<z.ZodString>;
642
642
  booleanValue: z.ZodNullable<z.ZodBoolean>;
643
643
  numberValue: z.ZodNullable<z.ZodNumber>;
644
- dateValue: z.ZodNullable<z.ZodDate>;
644
+ dateValue: z.ZodNullable<z.ZodString>;
645
645
  attribute: z.ZodObject<Omit<{
646
646
  id: z.ZodString;
647
647
  createdAt: z.ZodString;
@@ -745,7 +745,7 @@ export declare const companyContract: {
745
745
  textValue: string | null;
746
746
  booleanValue: boolean | null;
747
747
  numberValue: number | null;
748
- dateValue: Date | null;
748
+ dateValue: string | null;
749
749
  }, {
750
750
  id: string;
751
751
  createdAt: string;
@@ -768,7 +768,7 @@ export declare const companyContract: {
768
768
  textValue: string | null;
769
769
  booleanValue: boolean | null;
770
770
  numberValue: number | null;
771
- dateValue: Date | null;
771
+ dateValue: string | null;
772
772
  }>, "many">>;
773
773
  }, "strip", z.ZodTypeAny, {
774
774
  id: string;
@@ -801,7 +801,7 @@ export declare const companyContract: {
801
801
  textValue: string | null;
802
802
  booleanValue: boolean | null;
803
803
  numberValue: number | null;
804
- dateValue: Date | null;
804
+ dateValue: string | null;
805
805
  }[] | undefined;
806
806
  }, {
807
807
  id: string;
@@ -834,7 +834,7 @@ export declare const companyContract: {
834
834
  textValue: string | null;
835
835
  booleanValue: boolean | null;
836
836
  numberValue: number | null;
837
- dateValue: Date | null;
837
+ dateValue: string | null;
838
838
  }[] | undefined;
839
839
  }>;
840
840
  }, "strip", z.ZodTypeAny, {
@@ -869,7 +869,7 @@ export declare const companyContract: {
869
869
  textValue: string | null;
870
870
  booleanValue: boolean | null;
871
871
  numberValue: number | null;
872
- dateValue: Date | null;
872
+ dateValue: string | null;
873
873
  }[] | undefined;
874
874
  };
875
875
  requestId: string;
@@ -905,7 +905,7 @@ export declare const companyContract: {
905
905
  textValue: string | null;
906
906
  booleanValue: boolean | null;
907
907
  numberValue: number | null;
908
- dateValue: Date | null;
908
+ dateValue: string | null;
909
909
  }[] | undefined;
910
910
  };
911
911
  requestId: string;
@@ -1070,7 +1070,7 @@ export declare const companyContract: {
1070
1070
  textValue: z.ZodNullable<z.ZodString>;
1071
1071
  booleanValue: z.ZodNullable<z.ZodBoolean>;
1072
1072
  numberValue: z.ZodNullable<z.ZodNumber>;
1073
- dateValue: z.ZodNullable<z.ZodDate>;
1073
+ dateValue: z.ZodNullable<z.ZodString>;
1074
1074
  attribute: z.ZodObject<Omit<{
1075
1075
  id: z.ZodString;
1076
1076
  createdAt: z.ZodString;
@@ -1174,7 +1174,7 @@ export declare const companyContract: {
1174
1174
  textValue: string | null;
1175
1175
  booleanValue: boolean | null;
1176
1176
  numberValue: number | null;
1177
- dateValue: Date | null;
1177
+ dateValue: string | null;
1178
1178
  }, {
1179
1179
  id: string;
1180
1180
  createdAt: string;
@@ -1197,7 +1197,7 @@ export declare const companyContract: {
1197
1197
  textValue: string | null;
1198
1198
  booleanValue: boolean | null;
1199
1199
  numberValue: number | null;
1200
- dateValue: Date | null;
1200
+ dateValue: string | null;
1201
1201
  }>, "many">>;
1202
1202
  }, "strip", z.ZodTypeAny, {
1203
1203
  id: string;
@@ -1230,7 +1230,7 @@ export declare const companyContract: {
1230
1230
  textValue: string | null;
1231
1231
  booleanValue: boolean | null;
1232
1232
  numberValue: number | null;
1233
- dateValue: Date | null;
1233
+ dateValue: string | null;
1234
1234
  }[] | undefined;
1235
1235
  }, {
1236
1236
  id: string;
@@ -1263,7 +1263,7 @@ export declare const companyContract: {
1263
1263
  textValue: string | null;
1264
1264
  booleanValue: boolean | null;
1265
1265
  numberValue: number | null;
1266
- dateValue: Date | null;
1266
+ dateValue: string | null;
1267
1267
  }[] | undefined;
1268
1268
  }>;
1269
1269
  }, "strip", z.ZodTypeAny, {
@@ -1298,7 +1298,7 @@ export declare const companyContract: {
1298
1298
  textValue: string | null;
1299
1299
  booleanValue: boolean | null;
1300
1300
  numberValue: number | null;
1301
- dateValue: Date | null;
1301
+ dateValue: string | null;
1302
1302
  }[] | undefined;
1303
1303
  };
1304
1304
  requestId: string;
@@ -1334,7 +1334,7 @@ export declare const companyContract: {
1334
1334
  textValue: string | null;
1335
1335
  booleanValue: boolean | null;
1336
1336
  numberValue: number | null;
1337
- dateValue: Date | null;
1337
+ dateValue: string | null;
1338
1338
  }[] | undefined;
1339
1339
  };
1340
1340
  requestId: string;
@@ -1471,7 +1471,7 @@ export declare const companyContract: {
1471
1471
  textValue: z.ZodNullable<z.ZodString>;
1472
1472
  booleanValue: z.ZodNullable<z.ZodBoolean>;
1473
1473
  numberValue: z.ZodNullable<z.ZodNumber>;
1474
- dateValue: z.ZodNullable<z.ZodDate>;
1474
+ dateValue: z.ZodNullable<z.ZodString>;
1475
1475
  attribute: z.ZodObject<Omit<{
1476
1476
  id: z.ZodString;
1477
1477
  createdAt: z.ZodString;
@@ -1575,7 +1575,7 @@ export declare const companyContract: {
1575
1575
  textValue: string | null;
1576
1576
  booleanValue: boolean | null;
1577
1577
  numberValue: number | null;
1578
- dateValue: Date | null;
1578
+ dateValue: string | null;
1579
1579
  }, {
1580
1580
  id: string;
1581
1581
  createdAt: string;
@@ -1598,7 +1598,7 @@ export declare const companyContract: {
1598
1598
  textValue: string | null;
1599
1599
  booleanValue: boolean | null;
1600
1600
  numberValue: number | null;
1601
- dateValue: Date | null;
1601
+ dateValue: string | null;
1602
1602
  }>, "many">>;
1603
1603
  }, "strip", z.ZodTypeAny, {
1604
1604
  id: string;
@@ -1631,7 +1631,7 @@ export declare const companyContract: {
1631
1631
  textValue: string | null;
1632
1632
  booleanValue: boolean | null;
1633
1633
  numberValue: number | null;
1634
- dateValue: Date | null;
1634
+ dateValue: string | null;
1635
1635
  }[] | undefined;
1636
1636
  }, {
1637
1637
  id: string;
@@ -1664,7 +1664,7 @@ export declare const companyContract: {
1664
1664
  textValue: string | null;
1665
1665
  booleanValue: boolean | null;
1666
1666
  numberValue: number | null;
1667
- dateValue: Date | null;
1667
+ dateValue: string | null;
1668
1668
  }[] | undefined;
1669
1669
  }>, "many">;
1670
1670
  }, "strip", z.ZodTypeAny, {
@@ -1699,7 +1699,7 @@ export declare const companyContract: {
1699
1699
  textValue: string | null;
1700
1700
  booleanValue: boolean | null;
1701
1701
  numberValue: number | null;
1702
- dateValue: Date | null;
1702
+ dateValue: string | null;
1703
1703
  }[] | undefined;
1704
1704
  }[];
1705
1705
  total: number;
@@ -1739,7 +1739,7 @@ export declare const companyContract: {
1739
1739
  textValue: string | null;
1740
1740
  booleanValue: boolean | null;
1741
1741
  numberValue: number | null;
1742
- dateValue: Date | null;
1742
+ dateValue: string | null;
1743
1743
  }[] | undefined;
1744
1744
  }[];
1745
1745
  total: number;
@@ -7,7 +7,7 @@ export declare const CompanyCustomFieldSchema: z.ZodObject<{
7
7
  textValue: z.ZodNullable<z.ZodString>;
8
8
  booleanValue: z.ZodNullable<z.ZodBoolean>;
9
9
  numberValue: z.ZodNullable<z.ZodNumber>;
10
- dateValue: z.ZodNullable<z.ZodDate>;
10
+ dateValue: z.ZodNullable<z.ZodString>;
11
11
  attribute: z.ZodObject<Omit<{
12
12
  id: z.ZodString;
13
13
  createdAt: z.ZodString;
@@ -111,7 +111,7 @@ export declare const CompanyCustomFieldSchema: z.ZodObject<{
111
111
  textValue: string | null;
112
112
  booleanValue: boolean | null;
113
113
  numberValue: number | null;
114
- dateValue: Date | null;
114
+ dateValue: string | null;
115
115
  }, {
116
116
  id: string;
117
117
  createdAt: string;
@@ -134,7 +134,7 @@ export declare const CompanyCustomFieldSchema: z.ZodObject<{
134
134
  textValue: string | null;
135
135
  booleanValue: boolean | null;
136
136
  numberValue: number | null;
137
- dateValue: Date | null;
137
+ dateValue: string | null;
138
138
  }>;
139
139
  export declare const CompanySchema: z.ZodObject<{
140
140
  id: z.ZodString;
@@ -153,7 +153,7 @@ export declare const CompanySchema: z.ZodObject<{
153
153
  textValue: z.ZodNullable<z.ZodString>;
154
154
  booleanValue: z.ZodNullable<z.ZodBoolean>;
155
155
  numberValue: z.ZodNullable<z.ZodNumber>;
156
- dateValue: z.ZodNullable<z.ZodDate>;
156
+ dateValue: z.ZodNullable<z.ZodString>;
157
157
  attribute: z.ZodObject<Omit<{
158
158
  id: z.ZodString;
159
159
  createdAt: z.ZodString;
@@ -257,7 +257,7 @@ export declare const CompanySchema: z.ZodObject<{
257
257
  textValue: string | null;
258
258
  booleanValue: boolean | null;
259
259
  numberValue: number | null;
260
- dateValue: Date | null;
260
+ dateValue: string | null;
261
261
  }, {
262
262
  id: string;
263
263
  createdAt: string;
@@ -280,7 +280,7 @@ export declare const CompanySchema: z.ZodObject<{
280
280
  textValue: string | null;
281
281
  booleanValue: boolean | null;
282
282
  numberValue: number | null;
283
- dateValue: Date | null;
283
+ dateValue: string | null;
284
284
  }>, "many">>;
285
285
  }, "strip", z.ZodTypeAny, {
286
286
  id: string;
@@ -313,7 +313,7 @@ export declare const CompanySchema: z.ZodObject<{
313
313
  textValue: string | null;
314
314
  booleanValue: boolean | null;
315
315
  numberValue: number | null;
316
- dateValue: Date | null;
316
+ dateValue: string | null;
317
317
  }[] | undefined;
318
318
  }, {
319
319
  id: string;
@@ -346,7 +346,7 @@ export declare const CompanySchema: z.ZodObject<{
346
346
  textValue: string | null;
347
347
  booleanValue: boolean | null;
348
348
  numberValue: number | null;
349
- dateValue: Date | null;
349
+ dateValue: string | null;
350
350
  }[] | undefined;
351
351
  }>;
352
352
  //# sourceMappingURL=schema.d.ts.map
@@ -157,7 +157,7 @@ export declare const CompanyContractsValidationSchema: {
157
157
  textValue: z.ZodNullable<z.ZodString>;
158
158
  booleanValue: z.ZodNullable<z.ZodBoolean>;
159
159
  numberValue: z.ZodNullable<z.ZodNumber>;
160
- dateValue: z.ZodNullable<z.ZodDate>;
160
+ dateValue: z.ZodNullable<z.ZodString>;
161
161
  attribute: z.ZodObject<Omit<{
162
162
  id: z.ZodString;
163
163
  createdAt: z.ZodString;
@@ -261,7 +261,7 @@ export declare const CompanyContractsValidationSchema: {
261
261
  textValue: string | null;
262
262
  booleanValue: boolean | null;
263
263
  numberValue: number | null;
264
- dateValue: Date | null;
264
+ dateValue: string | null;
265
265
  }, {
266
266
  id: string;
267
267
  createdAt: string;
@@ -284,7 +284,7 @@ export declare const CompanyContractsValidationSchema: {
284
284
  textValue: string | null;
285
285
  booleanValue: boolean | null;
286
286
  numberValue: number | null;
287
- dateValue: Date | null;
287
+ dateValue: string | null;
288
288
  }>, "many">>;
289
289
  }, "strip", z.ZodTypeAny, {
290
290
  id: string;
@@ -317,7 +317,7 @@ export declare const CompanyContractsValidationSchema: {
317
317
  textValue: string | null;
318
318
  booleanValue: boolean | null;
319
319
  numberValue: number | null;
320
- dateValue: Date | null;
320
+ dateValue: string | null;
321
321
  }[] | undefined;
322
322
  }, {
323
323
  id: string;
@@ -350,7 +350,7 @@ export declare const CompanyContractsValidationSchema: {
350
350
  textValue: string | null;
351
351
  booleanValue: boolean | null;
352
352
  numberValue: number | null;
353
- dateValue: Date | null;
353
+ dateValue: string | null;
354
354
  }[] | undefined;
355
355
  }>;
356
356
  };
@@ -379,7 +379,7 @@ export declare const CompanyContractsValidationSchema: {
379
379
  textValue: z.ZodNullable<z.ZodString>;
380
380
  booleanValue: z.ZodNullable<z.ZodBoolean>;
381
381
  numberValue: z.ZodNullable<z.ZodNumber>;
382
- dateValue: z.ZodNullable<z.ZodDate>;
382
+ dateValue: z.ZodNullable<z.ZodString>;
383
383
  attribute: z.ZodObject<Omit<{
384
384
  id: z.ZodString;
385
385
  createdAt: z.ZodString;
@@ -483,7 +483,7 @@ export declare const CompanyContractsValidationSchema: {
483
483
  textValue: string | null;
484
484
  booleanValue: boolean | null;
485
485
  numberValue: number | null;
486
- dateValue: Date | null;
486
+ dateValue: string | null;
487
487
  }, {
488
488
  id: string;
489
489
  createdAt: string;
@@ -506,7 +506,7 @@ export declare const CompanyContractsValidationSchema: {
506
506
  textValue: string | null;
507
507
  booleanValue: boolean | null;
508
508
  numberValue: number | null;
509
- dateValue: Date | null;
509
+ dateValue: string | null;
510
510
  }>, "many">>;
511
511
  }, "strip", z.ZodTypeAny, {
512
512
  id: string;
@@ -539,7 +539,7 @@ export declare const CompanyContractsValidationSchema: {
539
539
  textValue: string | null;
540
540
  booleanValue: boolean | null;
541
541
  numberValue: number | null;
542
- dateValue: Date | null;
542
+ dateValue: string | null;
543
543
  }[] | undefined;
544
544
  }, {
545
545
  id: string;
@@ -572,7 +572,7 @@ export declare const CompanyContractsValidationSchema: {
572
572
  textValue: string | null;
573
573
  booleanValue: boolean | null;
574
574
  numberValue: number | null;
575
- dateValue: Date | null;
575
+ dateValue: string | null;
576
576
  }[] | undefined;
577
577
  }>;
578
578
  };
@@ -650,7 +650,7 @@ export declare const CompanyContractsValidationSchema: {
650
650
  textValue: z.ZodNullable<z.ZodString>;
651
651
  booleanValue: z.ZodNullable<z.ZodBoolean>;
652
652
  numberValue: z.ZodNullable<z.ZodNumber>;
653
- dateValue: z.ZodNullable<z.ZodDate>;
653
+ dateValue: z.ZodNullable<z.ZodString>;
654
654
  attribute: z.ZodObject<Omit<{
655
655
  id: z.ZodString;
656
656
  createdAt: z.ZodString;
@@ -754,7 +754,7 @@ export declare const CompanyContractsValidationSchema: {
754
754
  textValue: string | null;
755
755
  booleanValue: boolean | null;
756
756
  numberValue: number | null;
757
- dateValue: Date | null;
757
+ dateValue: string | null;
758
758
  }, {
759
759
  id: string;
760
760
  createdAt: string;
@@ -777,7 +777,7 @@ export declare const CompanyContractsValidationSchema: {
777
777
  textValue: string | null;
778
778
  booleanValue: boolean | null;
779
779
  numberValue: number | null;
780
- dateValue: Date | null;
780
+ dateValue: string | null;
781
781
  }>, "many">>;
782
782
  }, "strip", z.ZodTypeAny, {
783
783
  id: string;
@@ -810,7 +810,7 @@ export declare const CompanyContractsValidationSchema: {
810
810
  textValue: string | null;
811
811
  booleanValue: boolean | null;
812
812
  numberValue: number | null;
813
- dateValue: Date | null;
813
+ dateValue: string | null;
814
814
  }[] | undefined;
815
815
  }, {
816
816
  id: string;
@@ -843,7 +843,7 @@ export declare const CompanyContractsValidationSchema: {
843
843
  textValue: string | null;
844
844
  booleanValue: boolean | null;
845
845
  numberValue: number | null;
846
- dateValue: Date | null;
846
+ dateValue: string | null;
847
847
  }[] | undefined;
848
848
  }>, "many">;
849
849
  };