@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
@@ -3359,17 +3359,17 @@ export declare const platformWebchatContract: {
3359
3359
  }>;
3360
3360
  cxlog: z.ZodObject<{
3361
3361
  id: z.ZodString;
3362
- channel: z.ZodNullable<z.ZodString>;
3363
- direction: z.ZodNullable<z.ZodString>;
3364
3362
  createdAt: z.ZodDate;
3365
3363
  updatedAt: z.ZodDate;
3366
3364
  deletedAt: z.ZodNullable<z.ZodDate>;
3367
- entityId: z.ZodString;
3368
- queueId: z.ZodNullable<z.ZodString>;
3369
- contactId: z.ZodNullable<z.ZodString>;
3370
3365
  caseId: z.ZodNumber;
3366
+ entityId: z.ZodString;
3371
3367
  entityName: z.ZodString;
3368
+ contactId: z.ZodNullable<z.ZodString>;
3369
+ channel: z.ZodNullable<z.ZodString>;
3370
+ queueId: z.ZodNullable<z.ZodString>;
3372
3371
  agentId: z.ZodNullable<z.ZodString>;
3372
+ direction: z.ZodNullable<z.ZodString>;
3373
3373
  startedDate: z.ZodNullable<z.ZodDate>;
3374
3374
  handledTime: z.ZodNullable<z.ZodNumber>;
3375
3375
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -3639,7 +3639,7 @@ export declare const platformWebchatContract: {
3639
3639
  dateValue: Date | null;
3640
3640
  }[] | null | undefined;
3641
3641
  }>>;
3642
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3642
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
3643
3643
  id: z.ZodString;
3644
3644
  createdAt: z.ZodDate;
3645
3645
  updatedAt: z.ZodDate;
@@ -3647,7 +3647,7 @@ export declare const platformWebchatContract: {
3647
3647
  startedAt: z.ZodString;
3648
3648
  endedAt: z.ZodNullable<z.ZodString>;
3649
3649
  duration: z.ZodNullable<z.ZodNumber>;
3650
- holdLabel: z.ZodObject<{
3650
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3651
3651
  id: z.ZodString;
3652
3652
  createdAt: z.ZodDate;
3653
3653
  updatedAt: z.ZodDate;
@@ -3668,7 +3668,7 @@ export declare const platformWebchatContract: {
3668
3668
  createdAt: Date;
3669
3669
  updatedAt: Date;
3670
3670
  deletedAt: Date | null;
3671
- }>;
3671
+ }>>>;
3672
3672
  }, "strip", z.ZodTypeAny, {
3673
3673
  id: string;
3674
3674
  createdAt: Date;
@@ -3677,14 +3677,14 @@ export declare const platformWebchatContract: {
3677
3677
  startedAt: string;
3678
3678
  endedAt: string | null;
3679
3679
  duration: number | null;
3680
- holdLabel: {
3680
+ holdLabel?: {
3681
3681
  id: string;
3682
3682
  name: string;
3683
3683
  position: number;
3684
3684
  createdAt: Date;
3685
3685
  updatedAt: Date;
3686
3686
  deletedAt: Date | null;
3687
- };
3687
+ } | null | undefined;
3688
3688
  }, {
3689
3689
  id: string;
3690
3690
  createdAt: Date;
@@ -3693,14 +3693,14 @@ export declare const platformWebchatContract: {
3693
3693
  startedAt: string;
3694
3694
  endedAt: string | null;
3695
3695
  duration: number | null;
3696
- holdLabel: {
3696
+ holdLabel?: {
3697
3697
  id: string;
3698
3698
  name: string;
3699
3699
  position: number;
3700
3700
  createdAt: Date;
3701
3701
  updatedAt: Date;
3702
3702
  deletedAt: Date | null;
3703
- };
3703
+ } | null | undefined;
3704
3704
  }>, "many">>>;
3705
3705
  }, "strip", z.ZodTypeAny, {
3706
3706
  id: string;
@@ -3778,14 +3778,14 @@ export declare const platformWebchatContract: {
3778
3778
  startedAt: string;
3779
3779
  endedAt: string | null;
3780
3780
  duration: number | null;
3781
- holdLabel: {
3781
+ holdLabel?: {
3782
3782
  id: string;
3783
3783
  name: string;
3784
3784
  position: number;
3785
3785
  createdAt: Date;
3786
3786
  updatedAt: Date;
3787
3787
  deletedAt: Date | null;
3788
- };
3788
+ } | null | undefined;
3789
3789
  }[] | null | undefined;
3790
3790
  }, {
3791
3791
  id: string;
@@ -3863,14 +3863,14 @@ export declare const platformWebchatContract: {
3863
3863
  startedAt: string;
3864
3864
  endedAt: string | null;
3865
3865
  duration: number | null;
3866
- holdLabel: {
3866
+ holdLabel?: {
3867
3867
  id: string;
3868
3868
  name: string;
3869
3869
  position: number;
3870
3870
  createdAt: Date;
3871
3871
  updatedAt: Date;
3872
3872
  deletedAt: Date | null;
3873
- };
3873
+ } | null | undefined;
3874
3874
  }[] | null | undefined;
3875
3875
  }>;
3876
3876
  workflowRule: z.ZodObject<{
@@ -4297,14 +4297,14 @@ export declare const platformWebchatContract: {
4297
4297
  startedAt: string;
4298
4298
  endedAt: string | null;
4299
4299
  duration: number | null;
4300
- holdLabel: {
4300
+ holdLabel?: {
4301
4301
  id: string;
4302
4302
  name: string;
4303
4303
  position: number;
4304
4304
  createdAt: Date;
4305
4305
  updatedAt: Date;
4306
4306
  deletedAt: Date | null;
4307
- };
4307
+ } | null | undefined;
4308
4308
  }[] | null | undefined;
4309
4309
  };
4310
4310
  workflowRule: {
@@ -4715,14 +4715,14 @@ export declare const platformWebchatContract: {
4715
4715
  startedAt: string;
4716
4716
  endedAt: string | null;
4717
4717
  duration: number | null;
4718
- holdLabel: {
4718
+ holdLabel?: {
4719
4719
  id: string;
4720
4720
  name: string;
4721
4721
  position: number;
4722
4722
  createdAt: Date;
4723
4723
  updatedAt: Date;
4724
4724
  deletedAt: Date | null;
4725
- };
4725
+ } | null | undefined;
4726
4726
  }[] | null | undefined;
4727
4727
  };
4728
4728
  workflowRule: {
@@ -7973,17 +7973,17 @@ export declare const platformWebchatContract: {
7973
7973
  }>;
7974
7974
  cxlog: z.ZodObject<{
7975
7975
  id: z.ZodString;
7976
- channel: z.ZodNullable<z.ZodString>;
7977
- direction: z.ZodNullable<z.ZodString>;
7978
7976
  createdAt: z.ZodDate;
7979
7977
  updatedAt: z.ZodDate;
7980
7978
  deletedAt: z.ZodNullable<z.ZodDate>;
7981
- entityId: z.ZodString;
7982
- queueId: z.ZodNullable<z.ZodString>;
7983
- contactId: z.ZodNullable<z.ZodString>;
7984
7979
  caseId: z.ZodNumber;
7980
+ entityId: z.ZodString;
7985
7981
  entityName: z.ZodString;
7982
+ contactId: z.ZodNullable<z.ZodString>;
7983
+ channel: z.ZodNullable<z.ZodString>;
7984
+ queueId: z.ZodNullable<z.ZodString>;
7986
7985
  agentId: z.ZodNullable<z.ZodString>;
7986
+ direction: z.ZodNullable<z.ZodString>;
7987
7987
  startedDate: z.ZodNullable<z.ZodDate>;
7988
7988
  handledTime: z.ZodNullable<z.ZodNumber>;
7989
7989
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -8253,7 +8253,7 @@ export declare const platformWebchatContract: {
8253
8253
  dateValue: Date | null;
8254
8254
  }[] | null | undefined;
8255
8255
  }>>;
8256
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
8256
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
8257
8257
  id: z.ZodString;
8258
8258
  createdAt: z.ZodDate;
8259
8259
  updatedAt: z.ZodDate;
@@ -8261,7 +8261,7 @@ export declare const platformWebchatContract: {
8261
8261
  startedAt: z.ZodString;
8262
8262
  endedAt: z.ZodNullable<z.ZodString>;
8263
8263
  duration: z.ZodNullable<z.ZodNumber>;
8264
- holdLabel: z.ZodObject<{
8264
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8265
8265
  id: z.ZodString;
8266
8266
  createdAt: z.ZodDate;
8267
8267
  updatedAt: z.ZodDate;
@@ -8282,7 +8282,7 @@ export declare const platformWebchatContract: {
8282
8282
  createdAt: Date;
8283
8283
  updatedAt: Date;
8284
8284
  deletedAt: Date | null;
8285
- }>;
8285
+ }>>>;
8286
8286
  }, "strip", z.ZodTypeAny, {
8287
8287
  id: string;
8288
8288
  createdAt: Date;
@@ -8291,14 +8291,14 @@ export declare const platformWebchatContract: {
8291
8291
  startedAt: string;
8292
8292
  endedAt: string | null;
8293
8293
  duration: number | null;
8294
- holdLabel: {
8294
+ holdLabel?: {
8295
8295
  id: string;
8296
8296
  name: string;
8297
8297
  position: number;
8298
8298
  createdAt: Date;
8299
8299
  updatedAt: Date;
8300
8300
  deletedAt: Date | null;
8301
- };
8301
+ } | null | undefined;
8302
8302
  }, {
8303
8303
  id: string;
8304
8304
  createdAt: Date;
@@ -8307,14 +8307,14 @@ export declare const platformWebchatContract: {
8307
8307
  startedAt: string;
8308
8308
  endedAt: string | null;
8309
8309
  duration: number | null;
8310
- holdLabel: {
8310
+ holdLabel?: {
8311
8311
  id: string;
8312
8312
  name: string;
8313
8313
  position: number;
8314
8314
  createdAt: Date;
8315
8315
  updatedAt: Date;
8316
8316
  deletedAt: Date | null;
8317
- };
8317
+ } | null | undefined;
8318
8318
  }>, "many">>>;
8319
8319
  }, "strip", z.ZodTypeAny, {
8320
8320
  id: string;
@@ -8392,14 +8392,14 @@ export declare const platformWebchatContract: {
8392
8392
  startedAt: string;
8393
8393
  endedAt: string | null;
8394
8394
  duration: number | null;
8395
- holdLabel: {
8395
+ holdLabel?: {
8396
8396
  id: string;
8397
8397
  name: string;
8398
8398
  position: number;
8399
8399
  createdAt: Date;
8400
8400
  updatedAt: Date;
8401
8401
  deletedAt: Date | null;
8402
- };
8402
+ } | null | undefined;
8403
8403
  }[] | null | undefined;
8404
8404
  }, {
8405
8405
  id: string;
@@ -8477,14 +8477,14 @@ export declare const platformWebchatContract: {
8477
8477
  startedAt: string;
8478
8478
  endedAt: string | null;
8479
8479
  duration: number | null;
8480
- holdLabel: {
8480
+ holdLabel?: {
8481
8481
  id: string;
8482
8482
  name: string;
8483
8483
  position: number;
8484
8484
  createdAt: Date;
8485
8485
  updatedAt: Date;
8486
8486
  deletedAt: Date | null;
8487
- };
8487
+ } | null | undefined;
8488
8488
  }[] | null | undefined;
8489
8489
  }>;
8490
8490
  workflowRule: z.ZodObject<{
@@ -8911,14 +8911,14 @@ export declare const platformWebchatContract: {
8911
8911
  startedAt: string;
8912
8912
  endedAt: string | null;
8913
8913
  duration: number | null;
8914
- holdLabel: {
8914
+ holdLabel?: {
8915
8915
  id: string;
8916
8916
  name: string;
8917
8917
  position: number;
8918
8918
  createdAt: Date;
8919
8919
  updatedAt: Date;
8920
8920
  deletedAt: Date | null;
8921
- };
8921
+ } | null | undefined;
8922
8922
  }[] | null | undefined;
8923
8923
  };
8924
8924
  workflowRule: {
@@ -9329,14 +9329,14 @@ export declare const platformWebchatContract: {
9329
9329
  startedAt: string;
9330
9330
  endedAt: string | null;
9331
9331
  duration: number | null;
9332
- holdLabel: {
9332
+ holdLabel?: {
9333
9333
  id: string;
9334
9334
  name: string;
9335
9335
  position: number;
9336
9336
  createdAt: Date;
9337
9337
  updatedAt: Date;
9338
9338
  deletedAt: Date | null;
9339
- };
9339
+ } | null | undefined;
9340
9340
  }[] | null | undefined;
9341
9341
  };
9342
9342
  workflowRule: {
@@ -11520,14 +11520,14 @@ export declare const platformWebchatContract: {
11520
11520
  startedAt: string;
11521
11521
  endedAt: string | null;
11522
11522
  duration: number | null;
11523
- holdLabel: {
11523
+ holdLabel?: {
11524
11524
  id: string;
11525
11525
  name: string;
11526
11526
  position: number;
11527
11527
  createdAt: Date;
11528
11528
  updatedAt: Date;
11529
11529
  deletedAt: Date | null;
11530
- };
11530
+ } | null | undefined;
11531
11531
  }[] | null | undefined;
11532
11532
  };
11533
11533
  workflowRule: {
@@ -12275,14 +12275,14 @@ export declare const platformWebchatContract: {
12275
12275
  startedAt: string;
12276
12276
  endedAt: string | null;
12277
12277
  duration: number | null;
12278
- holdLabel: {
12278
+ holdLabel?: {
12279
12279
  id: string;
12280
12280
  name: string;
12281
12281
  position: number;
12282
12282
  createdAt: Date;
12283
12283
  updatedAt: Date;
12284
12284
  deletedAt: Date | null;
12285
- };
12285
+ } | null | undefined;
12286
12286
  }[] | null | undefined;
12287
12287
  };
12288
12288
  workflowRule: {
@@ -13031,14 +13031,14 @@ export declare const platformWebchatContract: {
13031
13031
  startedAt: string;
13032
13032
  endedAt: string | null;
13033
13033
  duration: number | null;
13034
- holdLabel: {
13034
+ holdLabel?: {
13035
13035
  id: string;
13036
13036
  name: string;
13037
13037
  position: number;
13038
13038
  createdAt: Date;
13039
13039
  updatedAt: Date;
13040
13040
  deletedAt: Date | null;
13041
- };
13041
+ } | null | undefined;
13042
13042
  }[] | null | undefined;
13043
13043
  };
13044
13044
  workflowRule: {
@@ -13786,14 +13786,14 @@ export declare const platformWebchatContract: {
13786
13786
  startedAt: string;
13787
13787
  endedAt: string | null;
13788
13788
  duration: number | null;
13789
- holdLabel: {
13789
+ holdLabel?: {
13790
13790
  id: string;
13791
13791
  name: string;
13792
13792
  position: number;
13793
13793
  createdAt: Date;
13794
13794
  updatedAt: Date;
13795
13795
  deletedAt: Date | null;
13796
- };
13796
+ } | null | undefined;
13797
13797
  }[] | null | undefined;
13798
13798
  };
13799
13799
  workflowRule: {
@@ -14542,14 +14542,14 @@ export declare const platformWebchatContract: {
14542
14542
  startedAt: string;
14543
14543
  endedAt: string | null;
14544
14544
  duration: number | null;
14545
- holdLabel: {
14545
+ holdLabel?: {
14546
14546
  id: string;
14547
14547
  name: string;
14548
14548
  position: number;
14549
14549
  createdAt: Date;
14550
14550
  updatedAt: Date;
14551
14551
  deletedAt: Date | null;
14552
- };
14552
+ } | null | undefined;
14553
14553
  }[] | null | undefined;
14554
14554
  };
14555
14555
  workflowRule: {
@@ -15297,14 +15297,14 @@ export declare const platformWebchatContract: {
15297
15297
  startedAt: string;
15298
15298
  endedAt: string | null;
15299
15299
  duration: number | null;
15300
- holdLabel: {
15300
+ holdLabel?: {
15301
15301
  id: string;
15302
15302
  name: string;
15303
15303
  position: number;
15304
15304
  createdAt: Date;
15305
15305
  updatedAt: Date;
15306
15306
  deletedAt: Date | null;
15307
- };
15307
+ } | null | undefined;
15308
15308
  }[] | null | undefined;
15309
15309
  };
15310
15310
  workflowRule: {
@@ -16055,14 +16055,14 @@ export declare const platformWebchatContract: {
16055
16055
  startedAt: string;
16056
16056
  endedAt: string | null;
16057
16057
  duration: number | null;
16058
- holdLabel: {
16058
+ holdLabel?: {
16059
16059
  id: string;
16060
16060
  name: string;
16061
16061
  position: number;
16062
16062
  createdAt: Date;
16063
16063
  updatedAt: Date;
16064
16064
  deletedAt: Date | null;
16065
- };
16065
+ } | null | undefined;
16066
16066
  }[] | null | undefined;
16067
16067
  };
16068
16068
  workflowRule: {
@@ -16810,14 +16810,14 @@ export declare const platformWebchatContract: {
16810
16810
  startedAt: string;
16811
16811
  endedAt: string | null;
16812
16812
  duration: number | null;
16813
- holdLabel: {
16813
+ holdLabel?: {
16814
16814
  id: string;
16815
16815
  name: string;
16816
16816
  position: number;
16817
16817
  createdAt: Date;
16818
16818
  updatedAt: Date;
16819
16819
  deletedAt: Date | null;
16820
- };
16820
+ } | null | undefined;
16821
16821
  }[] | null | undefined;
16822
16822
  };
16823
16823
  workflowRule: {
@@ -17569,14 +17569,14 @@ export declare const platformWebchatContract: {
17569
17569
  startedAt: string;
17570
17570
  endedAt: string | null;
17571
17571
  duration: number | null;
17572
- holdLabel: {
17572
+ holdLabel?: {
17573
17573
  id: string;
17574
17574
  name: string;
17575
17575
  position: number;
17576
17576
  createdAt: Date;
17577
17577
  updatedAt: Date;
17578
17578
  deletedAt: Date | null;
17579
- };
17579
+ } | null | undefined;
17580
17580
  }[] | null | undefined;
17581
17581
  };
17582
17582
  workflowRule: {
@@ -18324,14 +18324,14 @@ export declare const platformWebchatContract: {
18324
18324
  startedAt: string;
18325
18325
  endedAt: string | null;
18326
18326
  duration: number | null;
18327
- holdLabel: {
18327
+ holdLabel?: {
18328
18328
  id: string;
18329
18329
  name: string;
18330
18330
  position: number;
18331
18331
  createdAt: Date;
18332
18332
  updatedAt: Date;
18333
18333
  deletedAt: Date | null;
18334
- };
18334
+ } | null | undefined;
18335
18335
  }[] | null | undefined;
18336
18336
  };
18337
18337
  workflowRule: {