@kl1/contracts 1.2.29-uat → 1.2.31-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/dist/api-contracts/src/chat/index.d.ts +683 -484
  2. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/chat/schema.d.ts +120 -120
  4. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/chat/validation.d.ts +259 -60
  6. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/contract.d.ts +528 -528
  8. package/dist/api-contracts/src/cx-log/schema.d.ts +97 -0
  9. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  10. package/dist/api-contracts/src/facebook-feed/index.d.ts +60 -60
  11. package/dist/api-contracts/src/hold-label/index.d.ts +108 -0
  12. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  13. package/dist/api-contracts/src/hold-label/schema.d.ts +38 -0
  14. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  15. package/dist/api-contracts/src/index.d.ts +0 -1
  16. package/dist/api-contracts/src/index.d.ts.map +1 -1
  17. package/dist/api-contracts/src/instagram/index.d.ts +60 -60
  18. package/dist/api-contracts/src/line/index.d.ts +60 -60
  19. package/dist/api-contracts/src/mail/mail-contract.d.ts +495 -0
  20. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  21. package/dist/api-contracts/src/mail/room-contract.d.ts +495 -0
  22. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  23. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +165 -0
  24. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  25. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +131 -0
  26. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  27. package/dist/api-contracts/src/messenger/index.d.ts +60 -60
  28. package/dist/api-contracts/src/telegram/index.d.ts +60 -60
  29. package/dist/api-contracts/src/viber/index.d.ts +60 -60
  30. package/dist/api-contracts/src/webchat/index.d.ts +60 -60
  31. package/dist/api-contracts/src/whatsapp/index.d.ts +60 -60
  32. package/dist/api-contracts/src/workflow-rule/index.d.ts +48 -48
  33. package/dist/index.js +326 -352
  34. package/dist/index.js.map +1 -1
  35. package/dist/index.mjs +326 -351
  36. package/dist/index.mjs.map +1 -1
  37. package/package.json +1 -1
@@ -3366,17 +3366,17 @@ export declare const messengerContract: {
3366
3366
  }>;
3367
3367
  cxlog: z.ZodObject<{
3368
3368
  id: z.ZodString;
3369
- channel: z.ZodNullable<z.ZodString>;
3370
- direction: z.ZodNullable<z.ZodString>;
3371
3369
  createdAt: z.ZodDate;
3372
3370
  updatedAt: z.ZodDate;
3373
3371
  deletedAt: z.ZodNullable<z.ZodDate>;
3374
- entityId: z.ZodString;
3375
- queueId: z.ZodNullable<z.ZodString>;
3376
- contactId: z.ZodNullable<z.ZodString>;
3377
3372
  caseId: z.ZodNumber;
3373
+ entityId: z.ZodString;
3378
3374
  entityName: z.ZodString;
3375
+ contactId: z.ZodNullable<z.ZodString>;
3376
+ channel: z.ZodNullable<z.ZodString>;
3377
+ queueId: z.ZodNullable<z.ZodString>;
3379
3378
  agentId: z.ZodNullable<z.ZodString>;
3379
+ direction: z.ZodNullable<z.ZodString>;
3380
3380
  startedDate: z.ZodNullable<z.ZodDate>;
3381
3381
  handledTime: z.ZodNullable<z.ZodNumber>;
3382
3382
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -3646,7 +3646,7 @@ export declare const messengerContract: {
3646
3646
  dateValue: Date | null;
3647
3647
  }[] | null | undefined;
3648
3648
  }>>;
3649
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3649
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
3650
3650
  id: z.ZodString;
3651
3651
  createdAt: z.ZodDate;
3652
3652
  updatedAt: z.ZodDate;
@@ -3654,7 +3654,7 @@ export declare const messengerContract: {
3654
3654
  startedAt: z.ZodString;
3655
3655
  endedAt: z.ZodNullable<z.ZodString>;
3656
3656
  duration: z.ZodNullable<z.ZodNumber>;
3657
- holdLabel: z.ZodObject<{
3657
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3658
3658
  id: z.ZodString;
3659
3659
  createdAt: z.ZodDate;
3660
3660
  updatedAt: z.ZodDate;
@@ -3675,7 +3675,7 @@ export declare const messengerContract: {
3675
3675
  createdAt: Date;
3676
3676
  updatedAt: Date;
3677
3677
  deletedAt: Date | null;
3678
- }>;
3678
+ }>>>;
3679
3679
  }, "strip", z.ZodTypeAny, {
3680
3680
  id: string;
3681
3681
  createdAt: Date;
@@ -3684,14 +3684,14 @@ export declare const messengerContract: {
3684
3684
  startedAt: string;
3685
3685
  endedAt: string | null;
3686
3686
  duration: number | null;
3687
- holdLabel: {
3687
+ holdLabel?: {
3688
3688
  id: string;
3689
3689
  name: string;
3690
3690
  position: number;
3691
3691
  createdAt: Date;
3692
3692
  updatedAt: Date;
3693
3693
  deletedAt: Date | null;
3694
- };
3694
+ } | null | undefined;
3695
3695
  }, {
3696
3696
  id: string;
3697
3697
  createdAt: Date;
@@ -3700,14 +3700,14 @@ export declare const messengerContract: {
3700
3700
  startedAt: string;
3701
3701
  endedAt: string | null;
3702
3702
  duration: number | null;
3703
- holdLabel: {
3703
+ holdLabel?: {
3704
3704
  id: string;
3705
3705
  name: string;
3706
3706
  position: number;
3707
3707
  createdAt: Date;
3708
3708
  updatedAt: Date;
3709
3709
  deletedAt: Date | null;
3710
- };
3710
+ } | null | undefined;
3711
3711
  }>, "many">>>;
3712
3712
  }, "strip", z.ZodTypeAny, {
3713
3713
  id: string;
@@ -3785,14 +3785,14 @@ export declare const messengerContract: {
3785
3785
  startedAt: string;
3786
3786
  endedAt: string | null;
3787
3787
  duration: number | null;
3788
- holdLabel: {
3788
+ holdLabel?: {
3789
3789
  id: string;
3790
3790
  name: string;
3791
3791
  position: number;
3792
3792
  createdAt: Date;
3793
3793
  updatedAt: Date;
3794
3794
  deletedAt: Date | null;
3795
- };
3795
+ } | null | undefined;
3796
3796
  }[] | null | undefined;
3797
3797
  }, {
3798
3798
  id: string;
@@ -3870,14 +3870,14 @@ export declare const messengerContract: {
3870
3870
  startedAt: string;
3871
3871
  endedAt: string | null;
3872
3872
  duration: number | null;
3873
- holdLabel: {
3873
+ holdLabel?: {
3874
3874
  id: string;
3875
3875
  name: string;
3876
3876
  position: number;
3877
3877
  createdAt: Date;
3878
3878
  updatedAt: Date;
3879
3879
  deletedAt: Date | null;
3880
- };
3880
+ } | null | undefined;
3881
3881
  }[] | null | undefined;
3882
3882
  }>;
3883
3883
  workflowRule: z.ZodObject<{
@@ -4304,14 +4304,14 @@ export declare const messengerContract: {
4304
4304
  startedAt: string;
4305
4305
  endedAt: string | null;
4306
4306
  duration: number | null;
4307
- holdLabel: {
4307
+ holdLabel?: {
4308
4308
  id: string;
4309
4309
  name: string;
4310
4310
  position: number;
4311
4311
  createdAt: Date;
4312
4312
  updatedAt: Date;
4313
4313
  deletedAt: Date | null;
4314
- };
4314
+ } | null | undefined;
4315
4315
  }[] | null | undefined;
4316
4316
  };
4317
4317
  workflowRule: {
@@ -4722,14 +4722,14 @@ export declare const messengerContract: {
4722
4722
  startedAt: string;
4723
4723
  endedAt: string | null;
4724
4724
  duration: number | null;
4725
- holdLabel: {
4725
+ holdLabel?: {
4726
4726
  id: string;
4727
4727
  name: string;
4728
4728
  position: number;
4729
4729
  createdAt: Date;
4730
4730
  updatedAt: Date;
4731
4731
  deletedAt: Date | null;
4732
- };
4732
+ } | null | undefined;
4733
4733
  }[] | null | undefined;
4734
4734
  };
4735
4735
  workflowRule: {
@@ -7980,17 +7980,17 @@ export declare const messengerContract: {
7980
7980
  }>;
7981
7981
  cxlog: z.ZodObject<{
7982
7982
  id: z.ZodString;
7983
- channel: z.ZodNullable<z.ZodString>;
7984
- direction: z.ZodNullable<z.ZodString>;
7985
7983
  createdAt: z.ZodDate;
7986
7984
  updatedAt: z.ZodDate;
7987
7985
  deletedAt: z.ZodNullable<z.ZodDate>;
7988
- entityId: z.ZodString;
7989
- queueId: z.ZodNullable<z.ZodString>;
7990
- contactId: z.ZodNullable<z.ZodString>;
7991
7986
  caseId: z.ZodNumber;
7987
+ entityId: z.ZodString;
7992
7988
  entityName: z.ZodString;
7989
+ contactId: z.ZodNullable<z.ZodString>;
7990
+ channel: z.ZodNullable<z.ZodString>;
7991
+ queueId: z.ZodNullable<z.ZodString>;
7993
7992
  agentId: z.ZodNullable<z.ZodString>;
7993
+ direction: z.ZodNullable<z.ZodString>;
7994
7994
  startedDate: z.ZodNullable<z.ZodDate>;
7995
7995
  handledTime: z.ZodNullable<z.ZodNumber>;
7996
7996
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -8260,7 +8260,7 @@ export declare const messengerContract: {
8260
8260
  dateValue: Date | null;
8261
8261
  }[] | null | undefined;
8262
8262
  }>>;
8263
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
8263
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
8264
8264
  id: z.ZodString;
8265
8265
  createdAt: z.ZodDate;
8266
8266
  updatedAt: z.ZodDate;
@@ -8268,7 +8268,7 @@ export declare const messengerContract: {
8268
8268
  startedAt: z.ZodString;
8269
8269
  endedAt: z.ZodNullable<z.ZodString>;
8270
8270
  duration: z.ZodNullable<z.ZodNumber>;
8271
- holdLabel: z.ZodObject<{
8271
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8272
8272
  id: z.ZodString;
8273
8273
  createdAt: z.ZodDate;
8274
8274
  updatedAt: z.ZodDate;
@@ -8289,7 +8289,7 @@ export declare const messengerContract: {
8289
8289
  createdAt: Date;
8290
8290
  updatedAt: Date;
8291
8291
  deletedAt: Date | null;
8292
- }>;
8292
+ }>>>;
8293
8293
  }, "strip", z.ZodTypeAny, {
8294
8294
  id: string;
8295
8295
  createdAt: Date;
@@ -8298,14 +8298,14 @@ export declare const messengerContract: {
8298
8298
  startedAt: string;
8299
8299
  endedAt: string | null;
8300
8300
  duration: number | null;
8301
- holdLabel: {
8301
+ holdLabel?: {
8302
8302
  id: string;
8303
8303
  name: string;
8304
8304
  position: number;
8305
8305
  createdAt: Date;
8306
8306
  updatedAt: Date;
8307
8307
  deletedAt: Date | null;
8308
- };
8308
+ } | null | undefined;
8309
8309
  }, {
8310
8310
  id: string;
8311
8311
  createdAt: Date;
@@ -8314,14 +8314,14 @@ export declare const messengerContract: {
8314
8314
  startedAt: string;
8315
8315
  endedAt: string | null;
8316
8316
  duration: number | null;
8317
- holdLabel: {
8317
+ holdLabel?: {
8318
8318
  id: string;
8319
8319
  name: string;
8320
8320
  position: number;
8321
8321
  createdAt: Date;
8322
8322
  updatedAt: Date;
8323
8323
  deletedAt: Date | null;
8324
- };
8324
+ } | null | undefined;
8325
8325
  }>, "many">>>;
8326
8326
  }, "strip", z.ZodTypeAny, {
8327
8327
  id: string;
@@ -8399,14 +8399,14 @@ export declare const messengerContract: {
8399
8399
  startedAt: string;
8400
8400
  endedAt: string | null;
8401
8401
  duration: number | null;
8402
- holdLabel: {
8402
+ holdLabel?: {
8403
8403
  id: string;
8404
8404
  name: string;
8405
8405
  position: number;
8406
8406
  createdAt: Date;
8407
8407
  updatedAt: Date;
8408
8408
  deletedAt: Date | null;
8409
- };
8409
+ } | null | undefined;
8410
8410
  }[] | null | undefined;
8411
8411
  }, {
8412
8412
  id: string;
@@ -8484,14 +8484,14 @@ export declare const messengerContract: {
8484
8484
  startedAt: string;
8485
8485
  endedAt: string | null;
8486
8486
  duration: number | null;
8487
- holdLabel: {
8487
+ holdLabel?: {
8488
8488
  id: string;
8489
8489
  name: string;
8490
8490
  position: number;
8491
8491
  createdAt: Date;
8492
8492
  updatedAt: Date;
8493
8493
  deletedAt: Date | null;
8494
- };
8494
+ } | null | undefined;
8495
8495
  }[] | null | undefined;
8496
8496
  }>;
8497
8497
  workflowRule: z.ZodObject<{
@@ -8918,14 +8918,14 @@ export declare const messengerContract: {
8918
8918
  startedAt: string;
8919
8919
  endedAt: string | null;
8920
8920
  duration: number | null;
8921
- holdLabel: {
8921
+ holdLabel?: {
8922
8922
  id: string;
8923
8923
  name: string;
8924
8924
  position: number;
8925
8925
  createdAt: Date;
8926
8926
  updatedAt: Date;
8927
8927
  deletedAt: Date | null;
8928
- };
8928
+ } | null | undefined;
8929
8929
  }[] | null | undefined;
8930
8930
  };
8931
8931
  workflowRule: {
@@ -9336,14 +9336,14 @@ export declare const messengerContract: {
9336
9336
  startedAt: string;
9337
9337
  endedAt: string | null;
9338
9338
  duration: number | null;
9339
- holdLabel: {
9339
+ holdLabel?: {
9340
9340
  id: string;
9341
9341
  name: string;
9342
9342
  position: number;
9343
9343
  createdAt: Date;
9344
9344
  updatedAt: Date;
9345
9345
  deletedAt: Date | null;
9346
- };
9346
+ } | null | undefined;
9347
9347
  }[] | null | undefined;
9348
9348
  };
9349
9349
  workflowRule: {
@@ -11527,14 +11527,14 @@ export declare const messengerContract: {
11527
11527
  startedAt: string;
11528
11528
  endedAt: string | null;
11529
11529
  duration: number | null;
11530
- holdLabel: {
11530
+ holdLabel?: {
11531
11531
  id: string;
11532
11532
  name: string;
11533
11533
  position: number;
11534
11534
  createdAt: Date;
11535
11535
  updatedAt: Date;
11536
11536
  deletedAt: Date | null;
11537
- };
11537
+ } | null | undefined;
11538
11538
  }[] | null | undefined;
11539
11539
  };
11540
11540
  workflowRule: {
@@ -12282,14 +12282,14 @@ export declare const messengerContract: {
12282
12282
  startedAt: string;
12283
12283
  endedAt: string | null;
12284
12284
  duration: number | null;
12285
- holdLabel: {
12285
+ holdLabel?: {
12286
12286
  id: string;
12287
12287
  name: string;
12288
12288
  position: number;
12289
12289
  createdAt: Date;
12290
12290
  updatedAt: Date;
12291
12291
  deletedAt: Date | null;
12292
- };
12292
+ } | null | undefined;
12293
12293
  }[] | null | undefined;
12294
12294
  };
12295
12295
  workflowRule: {
@@ -13038,14 +13038,14 @@ export declare const messengerContract: {
13038
13038
  startedAt: string;
13039
13039
  endedAt: string | null;
13040
13040
  duration: number | null;
13041
- holdLabel: {
13041
+ holdLabel?: {
13042
13042
  id: string;
13043
13043
  name: string;
13044
13044
  position: number;
13045
13045
  createdAt: Date;
13046
13046
  updatedAt: Date;
13047
13047
  deletedAt: Date | null;
13048
- };
13048
+ } | null | undefined;
13049
13049
  }[] | null | undefined;
13050
13050
  };
13051
13051
  workflowRule: {
@@ -13793,14 +13793,14 @@ export declare const messengerContract: {
13793
13793
  startedAt: string;
13794
13794
  endedAt: string | null;
13795
13795
  duration: number | null;
13796
- holdLabel: {
13796
+ holdLabel?: {
13797
13797
  id: string;
13798
13798
  name: string;
13799
13799
  position: number;
13800
13800
  createdAt: Date;
13801
13801
  updatedAt: Date;
13802
13802
  deletedAt: Date | null;
13803
- };
13803
+ } | null | undefined;
13804
13804
  }[] | null | undefined;
13805
13805
  };
13806
13806
  workflowRule: {
@@ -14549,14 +14549,14 @@ export declare const messengerContract: {
14549
14549
  startedAt: string;
14550
14550
  endedAt: string | null;
14551
14551
  duration: number | null;
14552
- holdLabel: {
14552
+ holdLabel?: {
14553
14553
  id: string;
14554
14554
  name: string;
14555
14555
  position: number;
14556
14556
  createdAt: Date;
14557
14557
  updatedAt: Date;
14558
14558
  deletedAt: Date | null;
14559
- };
14559
+ } | null | undefined;
14560
14560
  }[] | null | undefined;
14561
14561
  };
14562
14562
  workflowRule: {
@@ -15304,14 +15304,14 @@ export declare const messengerContract: {
15304
15304
  startedAt: string;
15305
15305
  endedAt: string | null;
15306
15306
  duration: number | null;
15307
- holdLabel: {
15307
+ holdLabel?: {
15308
15308
  id: string;
15309
15309
  name: string;
15310
15310
  position: number;
15311
15311
  createdAt: Date;
15312
15312
  updatedAt: Date;
15313
15313
  deletedAt: Date | null;
15314
- };
15314
+ } | null | undefined;
15315
15315
  }[] | null | undefined;
15316
15316
  };
15317
15317
  workflowRule: {
@@ -16062,14 +16062,14 @@ export declare const messengerContract: {
16062
16062
  startedAt: string;
16063
16063
  endedAt: string | null;
16064
16064
  duration: number | null;
16065
- holdLabel: {
16065
+ holdLabel?: {
16066
16066
  id: string;
16067
16067
  name: string;
16068
16068
  position: number;
16069
16069
  createdAt: Date;
16070
16070
  updatedAt: Date;
16071
16071
  deletedAt: Date | null;
16072
- };
16072
+ } | null | undefined;
16073
16073
  }[] | null | undefined;
16074
16074
  };
16075
16075
  workflowRule: {
@@ -16817,14 +16817,14 @@ export declare const messengerContract: {
16817
16817
  startedAt: string;
16818
16818
  endedAt: string | null;
16819
16819
  duration: number | null;
16820
- holdLabel: {
16820
+ holdLabel?: {
16821
16821
  id: string;
16822
16822
  name: string;
16823
16823
  position: number;
16824
16824
  createdAt: Date;
16825
16825
  updatedAt: Date;
16826
16826
  deletedAt: Date | null;
16827
- };
16827
+ } | null | undefined;
16828
16828
  }[] | null | undefined;
16829
16829
  };
16830
16830
  workflowRule: {
@@ -17576,14 +17576,14 @@ export declare const messengerContract: {
17576
17576
  startedAt: string;
17577
17577
  endedAt: string | null;
17578
17578
  duration: number | null;
17579
- holdLabel: {
17579
+ holdLabel?: {
17580
17580
  id: string;
17581
17581
  name: string;
17582
17582
  position: number;
17583
17583
  createdAt: Date;
17584
17584
  updatedAt: Date;
17585
17585
  deletedAt: Date | null;
17586
- };
17586
+ } | null | undefined;
17587
17587
  }[] | null | undefined;
17588
17588
  };
17589
17589
  workflowRule: {
@@ -18331,14 +18331,14 @@ export declare const messengerContract: {
18331
18331
  startedAt: string;
18332
18332
  endedAt: string | null;
18333
18333
  duration: number | null;
18334
- holdLabel: {
18334
+ holdLabel?: {
18335
18335
  id: string;
18336
18336
  name: string;
18337
18337
  position: number;
18338
18338
  createdAt: Date;
18339
18339
  updatedAt: Date;
18340
18340
  deletedAt: Date | null;
18341
- };
18341
+ } | null | undefined;
18342
18342
  }[] | null | undefined;
18343
18343
  };
18344
18344
  workflowRule: {