@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
@@ -4490,17 +4490,17 @@ export declare const telegramContract: {
4490
4490
  }>;
4491
4491
  cxlog: z.ZodObject<{
4492
4492
  id: z.ZodString;
4493
- channel: z.ZodNullable<z.ZodString>;
4494
- direction: z.ZodNullable<z.ZodString>;
4495
4493
  createdAt: z.ZodDate;
4496
4494
  updatedAt: z.ZodDate;
4497
4495
  deletedAt: z.ZodNullable<z.ZodDate>;
4498
- entityId: z.ZodString;
4499
- queueId: z.ZodNullable<z.ZodString>;
4500
- contactId: z.ZodNullable<z.ZodString>;
4501
4496
  caseId: z.ZodNumber;
4497
+ entityId: z.ZodString;
4502
4498
  entityName: z.ZodString;
4499
+ contactId: z.ZodNullable<z.ZodString>;
4500
+ channel: z.ZodNullable<z.ZodString>;
4501
+ queueId: z.ZodNullable<z.ZodString>;
4503
4502
  agentId: z.ZodNullable<z.ZodString>;
4503
+ direction: z.ZodNullable<z.ZodString>;
4504
4504
  startedDate: z.ZodNullable<z.ZodDate>;
4505
4505
  handledTime: z.ZodNullable<z.ZodNumber>;
4506
4506
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -4770,7 +4770,7 @@ export declare const telegramContract: {
4770
4770
  dateValue: Date | null;
4771
4771
  }[] | null | undefined;
4772
4772
  }>>;
4773
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
4773
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
4774
4774
  id: z.ZodString;
4775
4775
  createdAt: z.ZodDate;
4776
4776
  updatedAt: z.ZodDate;
@@ -4778,7 +4778,7 @@ export declare const telegramContract: {
4778
4778
  startedAt: z.ZodString;
4779
4779
  endedAt: z.ZodNullable<z.ZodString>;
4780
4780
  duration: z.ZodNullable<z.ZodNumber>;
4781
- holdLabel: z.ZodObject<{
4781
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4782
4782
  id: z.ZodString;
4783
4783
  createdAt: z.ZodDate;
4784
4784
  updatedAt: z.ZodDate;
@@ -4799,7 +4799,7 @@ export declare const telegramContract: {
4799
4799
  createdAt: Date;
4800
4800
  updatedAt: Date;
4801
4801
  deletedAt: Date | null;
4802
- }>;
4802
+ }>>>;
4803
4803
  }, "strip", z.ZodTypeAny, {
4804
4804
  id: string;
4805
4805
  createdAt: Date;
@@ -4808,14 +4808,14 @@ export declare const telegramContract: {
4808
4808
  startedAt: string;
4809
4809
  endedAt: string | null;
4810
4810
  duration: number | null;
4811
- holdLabel: {
4811
+ holdLabel?: {
4812
4812
  id: string;
4813
4813
  name: string;
4814
4814
  position: number;
4815
4815
  createdAt: Date;
4816
4816
  updatedAt: Date;
4817
4817
  deletedAt: Date | null;
4818
- };
4818
+ } | null | undefined;
4819
4819
  }, {
4820
4820
  id: string;
4821
4821
  createdAt: Date;
@@ -4824,14 +4824,14 @@ export declare const telegramContract: {
4824
4824
  startedAt: string;
4825
4825
  endedAt: string | null;
4826
4826
  duration: number | null;
4827
- holdLabel: {
4827
+ holdLabel?: {
4828
4828
  id: string;
4829
4829
  name: string;
4830
4830
  position: number;
4831
4831
  createdAt: Date;
4832
4832
  updatedAt: Date;
4833
4833
  deletedAt: Date | null;
4834
- };
4834
+ } | null | undefined;
4835
4835
  }>, "many">>>;
4836
4836
  }, "strip", z.ZodTypeAny, {
4837
4837
  id: string;
@@ -4909,14 +4909,14 @@ export declare const telegramContract: {
4909
4909
  startedAt: string;
4910
4910
  endedAt: string | null;
4911
4911
  duration: number | null;
4912
- holdLabel: {
4912
+ holdLabel?: {
4913
4913
  id: string;
4914
4914
  name: string;
4915
4915
  position: number;
4916
4916
  createdAt: Date;
4917
4917
  updatedAt: Date;
4918
4918
  deletedAt: Date | null;
4919
- };
4919
+ } | null | undefined;
4920
4920
  }[] | null | undefined;
4921
4921
  }, {
4922
4922
  id: string;
@@ -4994,14 +4994,14 @@ export declare const telegramContract: {
4994
4994
  startedAt: string;
4995
4995
  endedAt: string | null;
4996
4996
  duration: number | null;
4997
- holdLabel: {
4997
+ holdLabel?: {
4998
4998
  id: string;
4999
4999
  name: string;
5000
5000
  position: number;
5001
5001
  createdAt: Date;
5002
5002
  updatedAt: Date;
5003
5003
  deletedAt: Date | null;
5004
- };
5004
+ } | null | undefined;
5005
5005
  }[] | null | undefined;
5006
5006
  }>;
5007
5007
  workflowRule: z.ZodObject<{
@@ -5428,14 +5428,14 @@ export declare const telegramContract: {
5428
5428
  startedAt: string;
5429
5429
  endedAt: string | null;
5430
5430
  duration: number | null;
5431
- holdLabel: {
5431
+ holdLabel?: {
5432
5432
  id: string;
5433
5433
  name: string;
5434
5434
  position: number;
5435
5435
  createdAt: Date;
5436
5436
  updatedAt: Date;
5437
5437
  deletedAt: Date | null;
5438
- };
5438
+ } | null | undefined;
5439
5439
  }[] | null | undefined;
5440
5440
  };
5441
5441
  workflowRule: {
@@ -5846,14 +5846,14 @@ export declare const telegramContract: {
5846
5846
  startedAt: string;
5847
5847
  endedAt: string | null;
5848
5848
  duration: number | null;
5849
- holdLabel: {
5849
+ holdLabel?: {
5850
5850
  id: string;
5851
5851
  name: string;
5852
5852
  position: number;
5853
5853
  createdAt: Date;
5854
5854
  updatedAt: Date;
5855
5855
  deletedAt: Date | null;
5856
- };
5856
+ } | null | undefined;
5857
5857
  }[] | null | undefined;
5858
5858
  };
5859
5859
  workflowRule: {
@@ -9104,17 +9104,17 @@ export declare const telegramContract: {
9104
9104
  }>;
9105
9105
  cxlog: z.ZodObject<{
9106
9106
  id: z.ZodString;
9107
- channel: z.ZodNullable<z.ZodString>;
9108
- direction: z.ZodNullable<z.ZodString>;
9109
9107
  createdAt: z.ZodDate;
9110
9108
  updatedAt: z.ZodDate;
9111
9109
  deletedAt: z.ZodNullable<z.ZodDate>;
9112
- entityId: z.ZodString;
9113
- queueId: z.ZodNullable<z.ZodString>;
9114
- contactId: z.ZodNullable<z.ZodString>;
9115
9110
  caseId: z.ZodNumber;
9111
+ entityId: z.ZodString;
9116
9112
  entityName: z.ZodString;
9113
+ contactId: z.ZodNullable<z.ZodString>;
9114
+ channel: z.ZodNullable<z.ZodString>;
9115
+ queueId: z.ZodNullable<z.ZodString>;
9117
9116
  agentId: z.ZodNullable<z.ZodString>;
9117
+ direction: z.ZodNullable<z.ZodString>;
9118
9118
  startedDate: z.ZodNullable<z.ZodDate>;
9119
9119
  handledTime: z.ZodNullable<z.ZodNumber>;
9120
9120
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -9384,7 +9384,7 @@ export declare const telegramContract: {
9384
9384
  dateValue: Date | null;
9385
9385
  }[] | null | undefined;
9386
9386
  }>>;
9387
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
9387
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
9388
9388
  id: z.ZodString;
9389
9389
  createdAt: z.ZodDate;
9390
9390
  updatedAt: z.ZodDate;
@@ -9392,7 +9392,7 @@ export declare const telegramContract: {
9392
9392
  startedAt: z.ZodString;
9393
9393
  endedAt: z.ZodNullable<z.ZodString>;
9394
9394
  duration: z.ZodNullable<z.ZodNumber>;
9395
- holdLabel: z.ZodObject<{
9395
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9396
9396
  id: z.ZodString;
9397
9397
  createdAt: z.ZodDate;
9398
9398
  updatedAt: z.ZodDate;
@@ -9413,7 +9413,7 @@ export declare const telegramContract: {
9413
9413
  createdAt: Date;
9414
9414
  updatedAt: Date;
9415
9415
  deletedAt: Date | null;
9416
- }>;
9416
+ }>>>;
9417
9417
  }, "strip", z.ZodTypeAny, {
9418
9418
  id: string;
9419
9419
  createdAt: Date;
@@ -9422,14 +9422,14 @@ export declare const telegramContract: {
9422
9422
  startedAt: string;
9423
9423
  endedAt: string | null;
9424
9424
  duration: number | null;
9425
- holdLabel: {
9425
+ holdLabel?: {
9426
9426
  id: string;
9427
9427
  name: string;
9428
9428
  position: number;
9429
9429
  createdAt: Date;
9430
9430
  updatedAt: Date;
9431
9431
  deletedAt: Date | null;
9432
- };
9432
+ } | null | undefined;
9433
9433
  }, {
9434
9434
  id: string;
9435
9435
  createdAt: Date;
@@ -9438,14 +9438,14 @@ export declare const telegramContract: {
9438
9438
  startedAt: string;
9439
9439
  endedAt: string | null;
9440
9440
  duration: number | null;
9441
- holdLabel: {
9441
+ holdLabel?: {
9442
9442
  id: string;
9443
9443
  name: string;
9444
9444
  position: number;
9445
9445
  createdAt: Date;
9446
9446
  updatedAt: Date;
9447
9447
  deletedAt: Date | null;
9448
- };
9448
+ } | null | undefined;
9449
9449
  }>, "many">>>;
9450
9450
  }, "strip", z.ZodTypeAny, {
9451
9451
  id: string;
@@ -9523,14 +9523,14 @@ export declare const telegramContract: {
9523
9523
  startedAt: string;
9524
9524
  endedAt: string | null;
9525
9525
  duration: number | null;
9526
- holdLabel: {
9526
+ holdLabel?: {
9527
9527
  id: string;
9528
9528
  name: string;
9529
9529
  position: number;
9530
9530
  createdAt: Date;
9531
9531
  updatedAt: Date;
9532
9532
  deletedAt: Date | null;
9533
- };
9533
+ } | null | undefined;
9534
9534
  }[] | null | undefined;
9535
9535
  }, {
9536
9536
  id: string;
@@ -9608,14 +9608,14 @@ export declare const telegramContract: {
9608
9608
  startedAt: string;
9609
9609
  endedAt: string | null;
9610
9610
  duration: number | null;
9611
- holdLabel: {
9611
+ holdLabel?: {
9612
9612
  id: string;
9613
9613
  name: string;
9614
9614
  position: number;
9615
9615
  createdAt: Date;
9616
9616
  updatedAt: Date;
9617
9617
  deletedAt: Date | null;
9618
- };
9618
+ } | null | undefined;
9619
9619
  }[] | null | undefined;
9620
9620
  }>;
9621
9621
  workflowRule: z.ZodObject<{
@@ -10042,14 +10042,14 @@ export declare const telegramContract: {
10042
10042
  startedAt: string;
10043
10043
  endedAt: string | null;
10044
10044
  duration: number | null;
10045
- holdLabel: {
10045
+ holdLabel?: {
10046
10046
  id: string;
10047
10047
  name: string;
10048
10048
  position: number;
10049
10049
  createdAt: Date;
10050
10050
  updatedAt: Date;
10051
10051
  deletedAt: Date | null;
10052
- };
10052
+ } | null | undefined;
10053
10053
  }[] | null | undefined;
10054
10054
  };
10055
10055
  workflowRule: {
@@ -10460,14 +10460,14 @@ export declare const telegramContract: {
10460
10460
  startedAt: string;
10461
10461
  endedAt: string | null;
10462
10462
  duration: number | null;
10463
- holdLabel: {
10463
+ holdLabel?: {
10464
10464
  id: string;
10465
10465
  name: string;
10466
10466
  position: number;
10467
10467
  createdAt: Date;
10468
10468
  updatedAt: Date;
10469
10469
  deletedAt: Date | null;
10470
- };
10470
+ } | null | undefined;
10471
10471
  }[] | null | undefined;
10472
10472
  };
10473
10473
  workflowRule: {
@@ -12651,14 +12651,14 @@ export declare const telegramContract: {
12651
12651
  startedAt: string;
12652
12652
  endedAt: string | null;
12653
12653
  duration: number | null;
12654
- holdLabel: {
12654
+ holdLabel?: {
12655
12655
  id: string;
12656
12656
  name: string;
12657
12657
  position: number;
12658
12658
  createdAt: Date;
12659
12659
  updatedAt: Date;
12660
12660
  deletedAt: Date | null;
12661
- };
12661
+ } | null | undefined;
12662
12662
  }[] | null | undefined;
12663
12663
  };
12664
12664
  workflowRule: {
@@ -13406,14 +13406,14 @@ export declare const telegramContract: {
13406
13406
  startedAt: string;
13407
13407
  endedAt: string | null;
13408
13408
  duration: number | null;
13409
- holdLabel: {
13409
+ holdLabel?: {
13410
13410
  id: string;
13411
13411
  name: string;
13412
13412
  position: number;
13413
13413
  createdAt: Date;
13414
13414
  updatedAt: Date;
13415
13415
  deletedAt: Date | null;
13416
- };
13416
+ } | null | undefined;
13417
13417
  }[] | null | undefined;
13418
13418
  };
13419
13419
  workflowRule: {
@@ -14162,14 +14162,14 @@ export declare const telegramContract: {
14162
14162
  startedAt: string;
14163
14163
  endedAt: string | null;
14164
14164
  duration: number | null;
14165
- holdLabel: {
14165
+ holdLabel?: {
14166
14166
  id: string;
14167
14167
  name: string;
14168
14168
  position: number;
14169
14169
  createdAt: Date;
14170
14170
  updatedAt: Date;
14171
14171
  deletedAt: Date | null;
14172
- };
14172
+ } | null | undefined;
14173
14173
  }[] | null | undefined;
14174
14174
  };
14175
14175
  workflowRule: {
@@ -14917,14 +14917,14 @@ export declare const telegramContract: {
14917
14917
  startedAt: string;
14918
14918
  endedAt: string | null;
14919
14919
  duration: number | null;
14920
- holdLabel: {
14920
+ holdLabel?: {
14921
14921
  id: string;
14922
14922
  name: string;
14923
14923
  position: number;
14924
14924
  createdAt: Date;
14925
14925
  updatedAt: Date;
14926
14926
  deletedAt: Date | null;
14927
- };
14927
+ } | null | undefined;
14928
14928
  }[] | null | undefined;
14929
14929
  };
14930
14930
  workflowRule: {
@@ -15673,14 +15673,14 @@ export declare const telegramContract: {
15673
15673
  startedAt: string;
15674
15674
  endedAt: string | null;
15675
15675
  duration: number | null;
15676
- holdLabel: {
15676
+ holdLabel?: {
15677
15677
  id: string;
15678
15678
  name: string;
15679
15679
  position: number;
15680
15680
  createdAt: Date;
15681
15681
  updatedAt: Date;
15682
15682
  deletedAt: Date | null;
15683
- };
15683
+ } | null | undefined;
15684
15684
  }[] | null | undefined;
15685
15685
  };
15686
15686
  workflowRule: {
@@ -16428,14 +16428,14 @@ export declare const telegramContract: {
16428
16428
  startedAt: string;
16429
16429
  endedAt: string | null;
16430
16430
  duration: number | null;
16431
- holdLabel: {
16431
+ holdLabel?: {
16432
16432
  id: string;
16433
16433
  name: string;
16434
16434
  position: number;
16435
16435
  createdAt: Date;
16436
16436
  updatedAt: Date;
16437
16437
  deletedAt: Date | null;
16438
- };
16438
+ } | null | undefined;
16439
16439
  }[] | null | undefined;
16440
16440
  };
16441
16441
  workflowRule: {
@@ -17186,14 +17186,14 @@ export declare const telegramContract: {
17186
17186
  startedAt: string;
17187
17187
  endedAt: string | null;
17188
17188
  duration: number | null;
17189
- holdLabel: {
17189
+ holdLabel?: {
17190
17190
  id: string;
17191
17191
  name: string;
17192
17192
  position: number;
17193
17193
  createdAt: Date;
17194
17194
  updatedAt: Date;
17195
17195
  deletedAt: Date | null;
17196
- };
17196
+ } | null | undefined;
17197
17197
  }[] | null | undefined;
17198
17198
  };
17199
17199
  workflowRule: {
@@ -17941,14 +17941,14 @@ export declare const telegramContract: {
17941
17941
  startedAt: string;
17942
17942
  endedAt: string | null;
17943
17943
  duration: number | null;
17944
- holdLabel: {
17944
+ holdLabel?: {
17945
17945
  id: string;
17946
17946
  name: string;
17947
17947
  position: number;
17948
17948
  createdAt: Date;
17949
17949
  updatedAt: Date;
17950
17950
  deletedAt: Date | null;
17951
- };
17951
+ } | null | undefined;
17952
17952
  }[] | null | undefined;
17953
17953
  };
17954
17954
  workflowRule: {
@@ -18700,14 +18700,14 @@ export declare const telegramContract: {
18700
18700
  startedAt: string;
18701
18701
  endedAt: string | null;
18702
18702
  duration: number | null;
18703
- holdLabel: {
18703
+ holdLabel?: {
18704
18704
  id: string;
18705
18705
  name: string;
18706
18706
  position: number;
18707
18707
  createdAt: Date;
18708
18708
  updatedAt: Date;
18709
18709
  deletedAt: Date | null;
18710
- };
18710
+ } | null | undefined;
18711
18711
  }[] | null | undefined;
18712
18712
  };
18713
18713
  workflowRule: {
@@ -19455,14 +19455,14 @@ export declare const telegramContract: {
19455
19455
  startedAt: string;
19456
19456
  endedAt: string | null;
19457
19457
  duration: number | null;
19458
- holdLabel: {
19458
+ holdLabel?: {
19459
19459
  id: string;
19460
19460
  name: string;
19461
19461
  position: number;
19462
19462
  createdAt: Date;
19463
19463
  updatedAt: Date;
19464
19464
  deletedAt: Date | null;
19465
- };
19465
+ } | null | undefined;
19466
19466
  }[] | null | undefined;
19467
19467
  };
19468
19468
  workflowRule: {