@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
@@ -4569,17 +4569,17 @@ export declare const lineContract: {
4569
4569
  }>;
4570
4570
  cxlog: z.ZodObject<{
4571
4571
  id: z.ZodString;
4572
- channel: z.ZodNullable<z.ZodString>;
4573
- direction: z.ZodNullable<z.ZodString>;
4574
4572
  createdAt: z.ZodDate;
4575
4573
  updatedAt: z.ZodDate;
4576
4574
  deletedAt: z.ZodNullable<z.ZodDate>;
4577
- entityId: z.ZodString;
4578
- queueId: z.ZodNullable<z.ZodString>;
4579
- contactId: z.ZodNullable<z.ZodString>;
4580
4575
  caseId: z.ZodNumber;
4576
+ entityId: z.ZodString;
4581
4577
  entityName: z.ZodString;
4578
+ contactId: z.ZodNullable<z.ZodString>;
4579
+ channel: z.ZodNullable<z.ZodString>;
4580
+ queueId: z.ZodNullable<z.ZodString>;
4582
4581
  agentId: z.ZodNullable<z.ZodString>;
4582
+ direction: z.ZodNullable<z.ZodString>;
4583
4583
  startedDate: z.ZodNullable<z.ZodDate>;
4584
4584
  handledTime: z.ZodNullable<z.ZodNumber>;
4585
4585
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -4849,7 +4849,7 @@ export declare const lineContract: {
4849
4849
  dateValue: Date | null;
4850
4850
  }[] | null | undefined;
4851
4851
  }>>;
4852
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
4852
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
4853
4853
  id: z.ZodString;
4854
4854
  createdAt: z.ZodDate;
4855
4855
  updatedAt: z.ZodDate;
@@ -4857,7 +4857,7 @@ export declare const lineContract: {
4857
4857
  startedAt: z.ZodString;
4858
4858
  endedAt: z.ZodNullable<z.ZodString>;
4859
4859
  duration: z.ZodNullable<z.ZodNumber>;
4860
- holdLabel: z.ZodObject<{
4860
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4861
4861
  id: z.ZodString;
4862
4862
  createdAt: z.ZodDate;
4863
4863
  updatedAt: z.ZodDate;
@@ -4878,7 +4878,7 @@ export declare const lineContract: {
4878
4878
  createdAt: Date;
4879
4879
  updatedAt: Date;
4880
4880
  deletedAt: Date | null;
4881
- }>;
4881
+ }>>>;
4882
4882
  }, "strip", z.ZodTypeAny, {
4883
4883
  id: string;
4884
4884
  createdAt: Date;
@@ -4887,14 +4887,14 @@ export declare const lineContract: {
4887
4887
  startedAt: string;
4888
4888
  endedAt: string | null;
4889
4889
  duration: number | null;
4890
- holdLabel: {
4890
+ holdLabel?: {
4891
4891
  id: string;
4892
4892
  name: string;
4893
4893
  position: number;
4894
4894
  createdAt: Date;
4895
4895
  updatedAt: Date;
4896
4896
  deletedAt: Date | null;
4897
- };
4897
+ } | null | undefined;
4898
4898
  }, {
4899
4899
  id: string;
4900
4900
  createdAt: Date;
@@ -4903,14 +4903,14 @@ export declare const lineContract: {
4903
4903
  startedAt: string;
4904
4904
  endedAt: string | null;
4905
4905
  duration: number | null;
4906
- holdLabel: {
4906
+ holdLabel?: {
4907
4907
  id: string;
4908
4908
  name: string;
4909
4909
  position: number;
4910
4910
  createdAt: Date;
4911
4911
  updatedAt: Date;
4912
4912
  deletedAt: Date | null;
4913
- };
4913
+ } | null | undefined;
4914
4914
  }>, "many">>>;
4915
4915
  }, "strip", z.ZodTypeAny, {
4916
4916
  id: string;
@@ -4988,14 +4988,14 @@ export declare const lineContract: {
4988
4988
  startedAt: string;
4989
4989
  endedAt: string | null;
4990
4990
  duration: number | null;
4991
- holdLabel: {
4991
+ holdLabel?: {
4992
4992
  id: string;
4993
4993
  name: string;
4994
4994
  position: number;
4995
4995
  createdAt: Date;
4996
4996
  updatedAt: Date;
4997
4997
  deletedAt: Date | null;
4998
- };
4998
+ } | null | undefined;
4999
4999
  }[] | null | undefined;
5000
5000
  }, {
5001
5001
  id: string;
@@ -5073,14 +5073,14 @@ export declare const lineContract: {
5073
5073
  startedAt: string;
5074
5074
  endedAt: string | null;
5075
5075
  duration: number | null;
5076
- holdLabel: {
5076
+ holdLabel?: {
5077
5077
  id: string;
5078
5078
  name: string;
5079
5079
  position: number;
5080
5080
  createdAt: Date;
5081
5081
  updatedAt: Date;
5082
5082
  deletedAt: Date | null;
5083
- };
5083
+ } | null | undefined;
5084
5084
  }[] | null | undefined;
5085
5085
  }>;
5086
5086
  workflowRule: z.ZodObject<{
@@ -5507,14 +5507,14 @@ export declare const lineContract: {
5507
5507
  startedAt: string;
5508
5508
  endedAt: string | null;
5509
5509
  duration: number | null;
5510
- holdLabel: {
5510
+ holdLabel?: {
5511
5511
  id: string;
5512
5512
  name: string;
5513
5513
  position: number;
5514
5514
  createdAt: Date;
5515
5515
  updatedAt: Date;
5516
5516
  deletedAt: Date | null;
5517
- };
5517
+ } | null | undefined;
5518
5518
  }[] | null | undefined;
5519
5519
  };
5520
5520
  workflowRule: {
@@ -5925,14 +5925,14 @@ export declare const lineContract: {
5925
5925
  startedAt: string;
5926
5926
  endedAt: string | null;
5927
5927
  duration: number | null;
5928
- holdLabel: {
5928
+ holdLabel?: {
5929
5929
  id: string;
5930
5930
  name: string;
5931
5931
  position: number;
5932
5932
  createdAt: Date;
5933
5933
  updatedAt: Date;
5934
5934
  deletedAt: Date | null;
5935
- };
5935
+ } | null | undefined;
5936
5936
  }[] | null | undefined;
5937
5937
  };
5938
5938
  workflowRule: {
@@ -9183,17 +9183,17 @@ export declare const lineContract: {
9183
9183
  }>;
9184
9184
  cxlog: z.ZodObject<{
9185
9185
  id: z.ZodString;
9186
- channel: z.ZodNullable<z.ZodString>;
9187
- direction: z.ZodNullable<z.ZodString>;
9188
9186
  createdAt: z.ZodDate;
9189
9187
  updatedAt: z.ZodDate;
9190
9188
  deletedAt: z.ZodNullable<z.ZodDate>;
9191
- entityId: z.ZodString;
9192
- queueId: z.ZodNullable<z.ZodString>;
9193
- contactId: z.ZodNullable<z.ZodString>;
9194
9189
  caseId: z.ZodNumber;
9190
+ entityId: z.ZodString;
9195
9191
  entityName: z.ZodString;
9192
+ contactId: z.ZodNullable<z.ZodString>;
9193
+ channel: z.ZodNullable<z.ZodString>;
9194
+ queueId: z.ZodNullable<z.ZodString>;
9196
9195
  agentId: z.ZodNullable<z.ZodString>;
9196
+ direction: z.ZodNullable<z.ZodString>;
9197
9197
  startedDate: z.ZodNullable<z.ZodDate>;
9198
9198
  handledTime: z.ZodNullable<z.ZodNumber>;
9199
9199
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -9463,7 +9463,7 @@ export declare const lineContract: {
9463
9463
  dateValue: Date | null;
9464
9464
  }[] | null | undefined;
9465
9465
  }>>;
9466
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
9466
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
9467
9467
  id: z.ZodString;
9468
9468
  createdAt: z.ZodDate;
9469
9469
  updatedAt: z.ZodDate;
@@ -9471,7 +9471,7 @@ export declare const lineContract: {
9471
9471
  startedAt: z.ZodString;
9472
9472
  endedAt: z.ZodNullable<z.ZodString>;
9473
9473
  duration: z.ZodNullable<z.ZodNumber>;
9474
- holdLabel: z.ZodObject<{
9474
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9475
9475
  id: z.ZodString;
9476
9476
  createdAt: z.ZodDate;
9477
9477
  updatedAt: z.ZodDate;
@@ -9492,7 +9492,7 @@ export declare const lineContract: {
9492
9492
  createdAt: Date;
9493
9493
  updatedAt: Date;
9494
9494
  deletedAt: Date | null;
9495
- }>;
9495
+ }>>>;
9496
9496
  }, "strip", z.ZodTypeAny, {
9497
9497
  id: string;
9498
9498
  createdAt: Date;
@@ -9501,14 +9501,14 @@ export declare const lineContract: {
9501
9501
  startedAt: string;
9502
9502
  endedAt: string | null;
9503
9503
  duration: number | null;
9504
- holdLabel: {
9504
+ holdLabel?: {
9505
9505
  id: string;
9506
9506
  name: string;
9507
9507
  position: number;
9508
9508
  createdAt: Date;
9509
9509
  updatedAt: Date;
9510
9510
  deletedAt: Date | null;
9511
- };
9511
+ } | null | undefined;
9512
9512
  }, {
9513
9513
  id: string;
9514
9514
  createdAt: Date;
@@ -9517,14 +9517,14 @@ export declare const lineContract: {
9517
9517
  startedAt: string;
9518
9518
  endedAt: string | null;
9519
9519
  duration: number | null;
9520
- holdLabel: {
9520
+ holdLabel?: {
9521
9521
  id: string;
9522
9522
  name: string;
9523
9523
  position: number;
9524
9524
  createdAt: Date;
9525
9525
  updatedAt: Date;
9526
9526
  deletedAt: Date | null;
9527
- };
9527
+ } | null | undefined;
9528
9528
  }>, "many">>>;
9529
9529
  }, "strip", z.ZodTypeAny, {
9530
9530
  id: string;
@@ -9602,14 +9602,14 @@ export declare const lineContract: {
9602
9602
  startedAt: string;
9603
9603
  endedAt: string | null;
9604
9604
  duration: number | null;
9605
- holdLabel: {
9605
+ holdLabel?: {
9606
9606
  id: string;
9607
9607
  name: string;
9608
9608
  position: number;
9609
9609
  createdAt: Date;
9610
9610
  updatedAt: Date;
9611
9611
  deletedAt: Date | null;
9612
- };
9612
+ } | null | undefined;
9613
9613
  }[] | null | undefined;
9614
9614
  }, {
9615
9615
  id: string;
@@ -9687,14 +9687,14 @@ export declare const lineContract: {
9687
9687
  startedAt: string;
9688
9688
  endedAt: string | null;
9689
9689
  duration: number | null;
9690
- holdLabel: {
9690
+ holdLabel?: {
9691
9691
  id: string;
9692
9692
  name: string;
9693
9693
  position: number;
9694
9694
  createdAt: Date;
9695
9695
  updatedAt: Date;
9696
9696
  deletedAt: Date | null;
9697
- };
9697
+ } | null | undefined;
9698
9698
  }[] | null | undefined;
9699
9699
  }>;
9700
9700
  workflowRule: z.ZodObject<{
@@ -10121,14 +10121,14 @@ export declare const lineContract: {
10121
10121
  startedAt: string;
10122
10122
  endedAt: string | null;
10123
10123
  duration: number | null;
10124
- holdLabel: {
10124
+ holdLabel?: {
10125
10125
  id: string;
10126
10126
  name: string;
10127
10127
  position: number;
10128
10128
  createdAt: Date;
10129
10129
  updatedAt: Date;
10130
10130
  deletedAt: Date | null;
10131
- };
10131
+ } | null | undefined;
10132
10132
  }[] | null | undefined;
10133
10133
  };
10134
10134
  workflowRule: {
@@ -10539,14 +10539,14 @@ export declare const lineContract: {
10539
10539
  startedAt: string;
10540
10540
  endedAt: string | null;
10541
10541
  duration: number | null;
10542
- holdLabel: {
10542
+ holdLabel?: {
10543
10543
  id: string;
10544
10544
  name: string;
10545
10545
  position: number;
10546
10546
  createdAt: Date;
10547
10547
  updatedAt: Date;
10548
10548
  deletedAt: Date | null;
10549
- };
10549
+ } | null | undefined;
10550
10550
  }[] | null | undefined;
10551
10551
  };
10552
10552
  workflowRule: {
@@ -12730,14 +12730,14 @@ export declare const lineContract: {
12730
12730
  startedAt: string;
12731
12731
  endedAt: string | null;
12732
12732
  duration: number | null;
12733
- holdLabel: {
12733
+ holdLabel?: {
12734
12734
  id: string;
12735
12735
  name: string;
12736
12736
  position: number;
12737
12737
  createdAt: Date;
12738
12738
  updatedAt: Date;
12739
12739
  deletedAt: Date | null;
12740
- };
12740
+ } | null | undefined;
12741
12741
  }[] | null | undefined;
12742
12742
  };
12743
12743
  workflowRule: {
@@ -13485,14 +13485,14 @@ export declare const lineContract: {
13485
13485
  startedAt: string;
13486
13486
  endedAt: string | null;
13487
13487
  duration: number | null;
13488
- holdLabel: {
13488
+ holdLabel?: {
13489
13489
  id: string;
13490
13490
  name: string;
13491
13491
  position: number;
13492
13492
  createdAt: Date;
13493
13493
  updatedAt: Date;
13494
13494
  deletedAt: Date | null;
13495
- };
13495
+ } | null | undefined;
13496
13496
  }[] | null | undefined;
13497
13497
  };
13498
13498
  workflowRule: {
@@ -14241,14 +14241,14 @@ export declare const lineContract: {
14241
14241
  startedAt: string;
14242
14242
  endedAt: string | null;
14243
14243
  duration: number | null;
14244
- holdLabel: {
14244
+ holdLabel?: {
14245
14245
  id: string;
14246
14246
  name: string;
14247
14247
  position: number;
14248
14248
  createdAt: Date;
14249
14249
  updatedAt: Date;
14250
14250
  deletedAt: Date | null;
14251
- };
14251
+ } | null | undefined;
14252
14252
  }[] | null | undefined;
14253
14253
  };
14254
14254
  workflowRule: {
@@ -14996,14 +14996,14 @@ export declare const lineContract: {
14996
14996
  startedAt: string;
14997
14997
  endedAt: string | null;
14998
14998
  duration: number | null;
14999
- holdLabel: {
14999
+ holdLabel?: {
15000
15000
  id: string;
15001
15001
  name: string;
15002
15002
  position: number;
15003
15003
  createdAt: Date;
15004
15004
  updatedAt: Date;
15005
15005
  deletedAt: Date | null;
15006
- };
15006
+ } | null | undefined;
15007
15007
  }[] | null | undefined;
15008
15008
  };
15009
15009
  workflowRule: {
@@ -15752,14 +15752,14 @@ export declare const lineContract: {
15752
15752
  startedAt: string;
15753
15753
  endedAt: string | null;
15754
15754
  duration: number | null;
15755
- holdLabel: {
15755
+ holdLabel?: {
15756
15756
  id: string;
15757
15757
  name: string;
15758
15758
  position: number;
15759
15759
  createdAt: Date;
15760
15760
  updatedAt: Date;
15761
15761
  deletedAt: Date | null;
15762
- };
15762
+ } | null | undefined;
15763
15763
  }[] | null | undefined;
15764
15764
  };
15765
15765
  workflowRule: {
@@ -16507,14 +16507,14 @@ export declare const lineContract: {
16507
16507
  startedAt: string;
16508
16508
  endedAt: string | null;
16509
16509
  duration: number | null;
16510
- holdLabel: {
16510
+ holdLabel?: {
16511
16511
  id: string;
16512
16512
  name: string;
16513
16513
  position: number;
16514
16514
  createdAt: Date;
16515
16515
  updatedAt: Date;
16516
16516
  deletedAt: Date | null;
16517
- };
16517
+ } | null | undefined;
16518
16518
  }[] | null | undefined;
16519
16519
  };
16520
16520
  workflowRule: {
@@ -17265,14 +17265,14 @@ export declare const lineContract: {
17265
17265
  startedAt: string;
17266
17266
  endedAt: string | null;
17267
17267
  duration: number | null;
17268
- holdLabel: {
17268
+ holdLabel?: {
17269
17269
  id: string;
17270
17270
  name: string;
17271
17271
  position: number;
17272
17272
  createdAt: Date;
17273
17273
  updatedAt: Date;
17274
17274
  deletedAt: Date | null;
17275
- };
17275
+ } | null | undefined;
17276
17276
  }[] | null | undefined;
17277
17277
  };
17278
17278
  workflowRule: {
@@ -18020,14 +18020,14 @@ export declare const lineContract: {
18020
18020
  startedAt: string;
18021
18021
  endedAt: string | null;
18022
18022
  duration: number | null;
18023
- holdLabel: {
18023
+ holdLabel?: {
18024
18024
  id: string;
18025
18025
  name: string;
18026
18026
  position: number;
18027
18027
  createdAt: Date;
18028
18028
  updatedAt: Date;
18029
18029
  deletedAt: Date | null;
18030
- };
18030
+ } | null | undefined;
18031
18031
  }[] | null | undefined;
18032
18032
  };
18033
18033
  workflowRule: {
@@ -18779,14 +18779,14 @@ export declare const lineContract: {
18779
18779
  startedAt: string;
18780
18780
  endedAt: string | null;
18781
18781
  duration: number | null;
18782
- holdLabel: {
18782
+ holdLabel?: {
18783
18783
  id: string;
18784
18784
  name: string;
18785
18785
  position: number;
18786
18786
  createdAt: Date;
18787
18787
  updatedAt: Date;
18788
18788
  deletedAt: Date | null;
18789
- };
18789
+ } | null | undefined;
18790
18790
  }[] | null | undefined;
18791
18791
  };
18792
18792
  workflowRule: {
@@ -19534,14 +19534,14 @@ export declare const lineContract: {
19534
19534
  startedAt: string;
19535
19535
  endedAt: string | null;
19536
19536
  duration: number | null;
19537
- holdLabel: {
19537
+ holdLabel?: {
19538
19538
  id: string;
19539
19539
  name: string;
19540
19540
  position: number;
19541
19541
  createdAt: Date;
19542
19542
  updatedAt: Date;
19543
19543
  deletedAt: Date | null;
19544
- };
19544
+ } | null | undefined;
19545
19545
  }[] | null | undefined;
19546
19546
  };
19547
19547
  workflowRule: {