@kl1/contracts 1.0.19 → 1.0.20

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 (47) hide show
  1. package/dist/index.js +1721 -1041
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1721 -1041
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/call-log/schema.d.ts +8 -8
  6. package/dist/src/call-log/validation.d.ts +4 -4
  7. package/dist/src/chat/index.d.ts +4033 -242
  8. package/dist/src/chat/index.d.ts.map +1 -1
  9. package/dist/src/chat/schema.d.ts +309 -17
  10. package/dist/src/chat/schema.d.ts.map +1 -1
  11. package/dist/src/chat/validation.d.ts +5282 -10
  12. package/dist/src/chat/validation.d.ts.map +1 -1
  13. package/dist/src/company/index.d.ts +1803 -0
  14. package/dist/src/company/index.d.ts.map +1 -0
  15. package/dist/src/company/schema.d.ts +5 -5
  16. package/dist/src/company/validation.d.ts +852 -0
  17. package/dist/src/company/validation.d.ts.map +1 -0
  18. package/dist/src/contact/index.d.ts +21 -21
  19. package/dist/src/contact/schema.d.ts +3 -3
  20. package/dist/src/contact/validation.d.ts +21 -21
  21. package/dist/src/contract.d.ts +12761 -5021
  22. package/dist/src/contract.d.ts.map +1 -1
  23. package/dist/src/cx-log/index.d.ts +129 -0
  24. package/dist/src/cx-log/index.d.ts.map +1 -1
  25. package/dist/src/cx-log/schema.d.ts +95 -0
  26. package/dist/src/cx-log/schema.d.ts.map +1 -1
  27. package/dist/src/dashboard/index.d.ts +1852 -0
  28. package/dist/src/dashboard/index.d.ts.map +1 -0
  29. package/dist/src/dashboard/schema.d.ts +885 -0
  30. package/dist/src/dashboard/schema.d.ts.map +1 -0
  31. package/dist/src/dashboard/validation.d.ts +19 -0
  32. package/dist/src/dashboard/validation.d.ts.map +1 -0
  33. package/dist/src/mail/mail-contract.d.ts +12 -12
  34. package/dist/src/mail/room-contract.d.ts +12 -12
  35. package/dist/src/mail/schemas/room-validation.schema.d.ts +4 -4
  36. package/dist/src/mail/schemas/room.schema.d.ts +2 -2
  37. package/dist/src/messenger/index.d.ts +207 -10
  38. package/dist/src/messenger/index.d.ts.map +1 -1
  39. package/dist/src/telephony-cdr/schema.d.ts +4 -4
  40. package/dist/src/telephony-live-queue-call/schema.d.ts +2 -2
  41. package/dist/src/telephony-queue-call-count/schema.d.ts +2 -2
  42. package/dist/src/ticket/index.d.ts +59 -62
  43. package/dist/src/ticket/index.d.ts.map +1 -1
  44. package/dist/src/ticket/validation.d.ts +59 -62
  45. package/dist/src/ticket/validation.d.ts.map +1 -1
  46. package/dist/src/user/index.d.ts.map +1 -1
  47. package/package.json +4 -10
@@ -639,7 +639,7 @@ export declare const messengerContract: {
639
639
  textValue: import("zod").ZodNullable<import("zod").ZodString>;
640
640
  booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
641
641
  numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
642
- dateValue: import("zod").ZodNullable<import("zod").ZodString>;
642
+ dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
643
643
  attribute: import("zod").ZodObject<Omit<{
644
644
  id: import("zod").ZodString;
645
645
  createdAt: import("zod").ZodDate;
@@ -743,7 +743,7 @@ export declare const messengerContract: {
743
743
  textValue: string | null;
744
744
  booleanValue: boolean | null;
745
745
  numberValue: number | null;
746
- dateValue: string | null;
746
+ dateValue: Date | null;
747
747
  }, {
748
748
  id: string;
749
749
  createdAt: Date;
@@ -766,7 +766,7 @@ export declare const messengerContract: {
766
766
  textValue: string | null;
767
767
  booleanValue: boolean | null;
768
768
  numberValue: number | null;
769
- dateValue: string | null;
769
+ dateValue: Date | null;
770
770
  }>, "many">>;
771
771
  }, "customFields">, "strip", import("zod").ZodTypeAny, {
772
772
  id: string;
@@ -2316,7 +2316,7 @@ export declare const messengerContract: {
2316
2316
  } | undefined;
2317
2317
  } | undefined;
2318
2318
  }>>;
2319
- cxLog: import("zod").ZodObject<{
2319
+ cxlog: import("zod").ZodObject<{
2320
2320
  id: import("zod").ZodString;
2321
2321
  createdAt: import("zod").ZodDate;
2322
2322
  updatedAt: import("zod").ZodDate;
@@ -2333,6 +2333,67 @@ export declare const messengerContract: {
2333
2333
  handledTime: import("zod").ZodNullable<import("zod").ZodNumber>;
2334
2334
  firstResponseTime: import("zod").ZodNullable<import("zod").ZodNumber>;
2335
2335
  disposition: import("zod").ZodNullable<import("zod").ZodString>;
2336
+ wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<{
2337
+ id: import("zod").ZodString;
2338
+ createdAt: import("zod").ZodDate;
2339
+ updatedAt: import("zod").ZodDate;
2340
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2341
+ note: import("zod").ZodNullable<import("zod").ZodString>;
2342
+ disposition: import("zod").ZodNullable<import("zod").ZodString>;
2343
+ callFrom: import("zod").ZodNullable<import("zod").ZodString>;
2344
+ callTo: import("zod").ZodNullable<import("zod").ZodString>;
2345
+ tags: import("zod").ZodArray<import("zod").ZodObject<{
2346
+ id: import("zod").ZodString;
2347
+ createdAt: import("zod").ZodDate;
2348
+ updatedAt: import("zod").ZodDate;
2349
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2350
+ name: import("zod").ZodString;
2351
+ }, "strip", import("zod").ZodTypeAny, {
2352
+ id: string;
2353
+ name: string;
2354
+ createdAt: Date;
2355
+ updatedAt: Date;
2356
+ deletedAt: Date | null;
2357
+ }, {
2358
+ id: string;
2359
+ name: string;
2360
+ createdAt: Date;
2361
+ updatedAt: Date;
2362
+ deletedAt: Date | null;
2363
+ }>, "many">;
2364
+ }, "strip", import("zod").ZodTypeAny, {
2365
+ id: string;
2366
+ disposition: string | null;
2367
+ createdAt: Date;
2368
+ updatedAt: Date;
2369
+ deletedAt: Date | null;
2370
+ tags: {
2371
+ id: string;
2372
+ name: string;
2373
+ createdAt: Date;
2374
+ updatedAt: Date;
2375
+ deletedAt: Date | null;
2376
+ }[];
2377
+ note: string | null;
2378
+ callFrom: string | null;
2379
+ callTo: string | null;
2380
+ }, {
2381
+ id: string;
2382
+ disposition: string | null;
2383
+ createdAt: Date;
2384
+ updatedAt: Date;
2385
+ deletedAt: Date | null;
2386
+ tags: {
2387
+ id: string;
2388
+ name: string;
2389
+ createdAt: Date;
2390
+ updatedAt: Date;
2391
+ deletedAt: Date | null;
2392
+ }[];
2393
+ note: string | null;
2394
+ callFrom: string | null;
2395
+ callTo: string | null;
2396
+ }>>;
2336
2397
  }, "strip", import("zod").ZodTypeAny, {
2337
2398
  id: string;
2338
2399
  channel: string | null;
@@ -2350,6 +2411,23 @@ export declare const messengerContract: {
2350
2411
  startedDate: Date | null;
2351
2412
  handledTime: number | null;
2352
2413
  firstResponseTime: number | null;
2414
+ wrapUpForm: {
2415
+ id: string;
2416
+ disposition: string | null;
2417
+ createdAt: Date;
2418
+ updatedAt: Date;
2419
+ deletedAt: Date | null;
2420
+ tags: {
2421
+ id: string;
2422
+ name: string;
2423
+ createdAt: Date;
2424
+ updatedAt: Date;
2425
+ deletedAt: Date | null;
2426
+ }[];
2427
+ note: string | null;
2428
+ callFrom: string | null;
2429
+ callTo: string | null;
2430
+ } | null;
2353
2431
  }, {
2354
2432
  id: string;
2355
2433
  channel: string | null;
@@ -2367,6 +2445,23 @@ export declare const messengerContract: {
2367
2445
  startedDate: Date | null;
2368
2446
  handledTime: number | null;
2369
2447
  firstResponseTime: number | null;
2448
+ wrapUpForm: {
2449
+ id: string;
2450
+ disposition: string | null;
2451
+ createdAt: Date;
2452
+ updatedAt: Date;
2453
+ deletedAt: Date | null;
2454
+ tags: {
2455
+ id: string;
2456
+ name: string;
2457
+ createdAt: Date;
2458
+ updatedAt: Date;
2459
+ deletedAt: Date | null;
2460
+ }[];
2461
+ note: string | null;
2462
+ callFrom: string | null;
2463
+ callTo: string | null;
2464
+ } | null;
2370
2465
  }>;
2371
2466
  }, "strip", import("zod").ZodTypeAny, {
2372
2467
  id: string;
@@ -2584,7 +2679,7 @@ export declare const messengerContract: {
2584
2679
  telephonySignature: string | null;
2585
2680
  } | undefined;
2586
2681
  };
2587
- cxLog: {
2682
+ cxlog: {
2588
2683
  id: string;
2589
2684
  channel: string | null;
2590
2685
  disposition: string | null;
@@ -2601,6 +2696,23 @@ export declare const messengerContract: {
2601
2696
  startedDate: Date | null;
2602
2697
  handledTime: number | null;
2603
2698
  firstResponseTime: number | null;
2699
+ wrapUpForm: {
2700
+ id: string;
2701
+ disposition: string | null;
2702
+ createdAt: Date;
2703
+ updatedAt: Date;
2704
+ deletedAt: Date | null;
2705
+ tags: {
2706
+ id: string;
2707
+ name: string;
2708
+ createdAt: Date;
2709
+ updatedAt: Date;
2710
+ deletedAt: Date | null;
2711
+ }[];
2712
+ note: string | null;
2713
+ callFrom: string | null;
2714
+ callTo: string | null;
2715
+ } | null;
2604
2716
  };
2605
2717
  channel?: {
2606
2718
  id?: string | undefined;
@@ -2881,7 +2993,7 @@ export declare const messengerContract: {
2881
2993
  telephonySignature: string | null;
2882
2994
  } | undefined;
2883
2995
  };
2884
- cxLog: {
2996
+ cxlog: {
2885
2997
  id: string;
2886
2998
  channel: string | null;
2887
2999
  disposition: string | null;
@@ -2898,6 +3010,23 @@ export declare const messengerContract: {
2898
3010
  startedDate: Date | null;
2899
3011
  handledTime: number | null;
2900
3012
  firstResponseTime: number | null;
3013
+ wrapUpForm: {
3014
+ id: string;
3015
+ disposition: string | null;
3016
+ createdAt: Date;
3017
+ updatedAt: Date;
3018
+ deletedAt: Date | null;
3019
+ tags: {
3020
+ id: string;
3021
+ name: string;
3022
+ createdAt: Date;
3023
+ updatedAt: Date;
3024
+ deletedAt: Date | null;
3025
+ }[];
3026
+ note: string | null;
3027
+ callFrom: string | null;
3028
+ callTo: string | null;
3029
+ } | null;
2901
3030
  };
2902
3031
  channel?: {
2903
3032
  id?: string | undefined;
@@ -3916,7 +4045,7 @@ export declare const messengerContract: {
3916
4045
  telephonySignature: string | null;
3917
4046
  } | undefined;
3918
4047
  };
3919
- cxLog: {
4048
+ cxlog: {
3920
4049
  id: string;
3921
4050
  channel: string | null;
3922
4051
  disposition: string | null;
@@ -3933,6 +4062,23 @@ export declare const messengerContract: {
3933
4062
  startedDate: Date | null;
3934
4063
  handledTime: number | null;
3935
4064
  firstResponseTime: number | null;
4065
+ wrapUpForm: {
4066
+ id: string;
4067
+ disposition: string | null;
4068
+ createdAt: Date;
4069
+ updatedAt: Date;
4070
+ deletedAt: Date | null;
4071
+ tags: {
4072
+ id: string;
4073
+ name: string;
4074
+ createdAt: Date;
4075
+ updatedAt: Date;
4076
+ deletedAt: Date | null;
4077
+ }[];
4078
+ note: string | null;
4079
+ callFrom: string | null;
4080
+ callTo: string | null;
4081
+ } | null;
3936
4082
  };
3937
4083
  channel?: {
3938
4084
  id?: string | undefined;
@@ -4371,7 +4517,7 @@ export declare const messengerContract: {
4371
4517
  telephonySignature: string | null;
4372
4518
  } | undefined;
4373
4519
  };
4374
- cxLog: {
4520
+ cxlog: {
4375
4521
  id: string;
4376
4522
  channel: string | null;
4377
4523
  disposition: string | null;
@@ -4388,6 +4534,23 @@ export declare const messengerContract: {
4388
4534
  startedDate: Date | null;
4389
4535
  handledTime: number | null;
4390
4536
  firstResponseTime: number | null;
4537
+ wrapUpForm: {
4538
+ id: string;
4539
+ disposition: string | null;
4540
+ createdAt: Date;
4541
+ updatedAt: Date;
4542
+ deletedAt: Date | null;
4543
+ tags: {
4544
+ id: string;
4545
+ name: string;
4546
+ createdAt: Date;
4547
+ updatedAt: Date;
4548
+ deletedAt: Date | null;
4549
+ }[];
4550
+ note: string | null;
4551
+ callFrom: string | null;
4552
+ callTo: string | null;
4553
+ } | null;
4391
4554
  };
4392
4555
  channel?: {
4393
4556
  id?: string | undefined;
@@ -4828,7 +4991,7 @@ export declare const messengerContract: {
4828
4991
  telephonySignature: string | null;
4829
4992
  } | undefined;
4830
4993
  };
4831
- cxLog: {
4994
+ cxlog: {
4832
4995
  id: string;
4833
4996
  channel: string | null;
4834
4997
  disposition: string | null;
@@ -4845,6 +5008,23 @@ export declare const messengerContract: {
4845
5008
  startedDate: Date | null;
4846
5009
  handledTime: number | null;
4847
5010
  firstResponseTime: number | null;
5011
+ wrapUpForm: {
5012
+ id: string;
5013
+ disposition: string | null;
5014
+ createdAt: Date;
5015
+ updatedAt: Date;
5016
+ deletedAt: Date | null;
5017
+ tags: {
5018
+ id: string;
5019
+ name: string;
5020
+ createdAt: Date;
5021
+ updatedAt: Date;
5022
+ deletedAt: Date | null;
5023
+ }[];
5024
+ note: string | null;
5025
+ callFrom: string | null;
5026
+ callTo: string | null;
5027
+ } | null;
4848
5028
  };
4849
5029
  channel?: {
4850
5030
  id?: string | undefined;
@@ -5286,7 +5466,7 @@ export declare const messengerContract: {
5286
5466
  telephonySignature: string | null;
5287
5467
  } | undefined;
5288
5468
  };
5289
- cxLog: {
5469
+ cxlog: {
5290
5470
  id: string;
5291
5471
  channel: string | null;
5292
5472
  disposition: string | null;
@@ -5303,6 +5483,23 @@ export declare const messengerContract: {
5303
5483
  startedDate: Date | null;
5304
5484
  handledTime: number | null;
5305
5485
  firstResponseTime: number | null;
5486
+ wrapUpForm: {
5487
+ id: string;
5488
+ disposition: string | null;
5489
+ createdAt: Date;
5490
+ updatedAt: Date;
5491
+ deletedAt: Date | null;
5492
+ tags: {
5493
+ id: string;
5494
+ name: string;
5495
+ createdAt: Date;
5496
+ updatedAt: Date;
5497
+ deletedAt: Date | null;
5498
+ }[];
5499
+ note: string | null;
5500
+ callFrom: string | null;
5501
+ callTo: string | null;
5502
+ } | null;
5306
5503
  };
5307
5504
  channel?: {
5308
5505
  id?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messenger/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU5B,CAAC"}
@@ -32,10 +32,10 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
32
32
  updatedAt: Date;
33
33
  deletedAt: Date | null;
34
34
  extensionId: string | null;
35
- contactId: string | null;
36
- uploadId: string | null;
37
35
  callFrom: string;
38
36
  callTo: string;
37
+ contactId: string | null;
38
+ uploadId: string | null;
39
39
  uniqueCallId: string;
40
40
  timeStart: string;
41
41
  callDuration: number | null;
@@ -56,10 +56,10 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
56
56
  updatedAt: Date;
57
57
  deletedAt: Date | null;
58
58
  extensionId: string | null;
59
- contactId: string | null;
60
- uploadId: string | null;
61
59
  callFrom: string;
62
60
  callTo: string;
61
+ contactId: string | null;
62
+ uploadId: string | null;
63
63
  uniqueCallId: string;
64
64
  timeStart: string;
65
65
  callDuration: number | null;
@@ -13,15 +13,15 @@ export declare const TelephonyLiveQueueCall: z.ZodObject<{
13
13
  createdAt: Date;
14
14
  updatedAt: Date;
15
15
  deletedAt: Date | null;
16
- uniqueCallId: string;
17
16
  queueNumber: string;
17
+ uniqueCallId: string;
18
18
  }, {
19
19
  id: string;
20
20
  status: string;
21
21
  createdAt: Date;
22
22
  updatedAt: Date;
23
23
  deletedAt: Date | null;
24
- uniqueCallId: string;
25
24
  queueNumber: string;
25
+ uniqueCallId: string;
26
26
  }>;
27
27
  //# sourceMappingURL=schema.d.ts.map
@@ -21,8 +21,8 @@ export declare const TelephonyQueueCallCountSchema: z.ZodObject<{
21
21
  updatedAt: Date;
22
22
  deletedAt: Date | null;
23
23
  sla: number;
24
- telephonyQueueId: string;
25
24
  totalQueueCall: number;
25
+ telephonyQueueId: string;
26
26
  missedQueueCall: number;
27
27
  answeredQueueCall: number;
28
28
  abandonedQueueCall: number;
@@ -37,8 +37,8 @@ export declare const TelephonyQueueCallCountSchema: z.ZodObject<{
37
37
  updatedAt: Date;
38
38
  deletedAt: Date | null;
39
39
  sla: number;
40
- telephonyQueueId: string;
41
40
  totalQueueCall: number;
41
+ telephonyQueueId: string;
42
42
  missedQueueCall: number;
43
43
  answeredQueueCall: number;
44
44
  abandonedQueueCall: number;