@kl1/contracts 1.2.29-uat → 1.2.30-uat

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 (37) hide show
  1. package/dist/api-contracts/src/chat/index.d.ts +1979 -1780
  2. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/chat/schema.d.ts +350 -350
  4. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/chat/validation.d.ts +417 -218
  6. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/contract.d.ts +2062 -2062
  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 +218 -218
  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 +218 -218
  18. package/dist/api-contracts/src/line/index.d.ts +218 -218
  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 +218 -218
  28. package/dist/api-contracts/src/telegram/index.d.ts +218 -218
  29. package/dist/api-contracts/src/viber/index.d.ts +218 -218
  30. package/dist/api-contracts/src/webchat/index.d.ts +218 -218
  31. package/dist/api-contracts/src/whatsapp/index.d.ts +218 -218
  32. package/dist/api-contracts/src/workflow-rule/index.d.ts +144 -144
  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
@@ -4488,19 +4488,19 @@ export declare const telegramContract: {
4488
4488
  integrationId: string;
4489
4489
  } | null;
4490
4490
  }>;
4491
- cxlog: z.ZodObject<{
4491
+ cxlog: z.ZodOptional<z.ZodNullable<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,16 +4994,16 @@ 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<{
5008
5008
  id: z.ZodString;
5009
5009
  createdAt: z.ZodDate;
@@ -5352,7 +5352,16 @@ export declare const telegramContract: {
5352
5352
  closedAt: Date;
5353
5353
  lastMessageAt: Date | null;
5354
5354
  isBotRoom: boolean;
5355
- cxlog: {
5355
+ workflowRule: {
5356
+ type: string;
5357
+ id: string;
5358
+ name: string;
5359
+ createdAt: Date;
5360
+ updatedAt: Date;
5361
+ deletedAt: Date | null;
5362
+ isActive: boolean;
5363
+ };
5364
+ cxlog?: {
5356
5365
  id: string;
5357
5366
  channel: string | null;
5358
5367
  direction: string | null;
@@ -5428,25 +5437,16 @@ export declare const telegramContract: {
5428
5437
  startedAt: string;
5429
5438
  endedAt: string | null;
5430
5439
  duration: number | null;
5431
- holdLabel: {
5440
+ holdLabel?: {
5432
5441
  id: string;
5433
5442
  name: string;
5434
5443
  position: number;
5435
5444
  createdAt: Date;
5436
5445
  updatedAt: Date;
5437
5446
  deletedAt: Date | null;
5438
- };
5447
+ } | null | undefined;
5439
5448
  }[] | null | undefined;
5440
- };
5441
- workflowRule: {
5442
- type: string;
5443
- id: string;
5444
- name: string;
5445
- createdAt: Date;
5446
- updatedAt: Date;
5447
- deletedAt: Date | null;
5448
- isActive: boolean;
5449
- };
5449
+ } | null | undefined;
5450
5450
  automationQueueId?: string | null | undefined;
5451
5451
  }, {
5452
5452
  id: string;
@@ -5770,7 +5770,16 @@ export declare const telegramContract: {
5770
5770
  closedAt: Date;
5771
5771
  lastMessageAt: Date | null;
5772
5772
  isBotRoom: boolean;
5773
- cxlog: {
5773
+ workflowRule: {
5774
+ type: string;
5775
+ id: string;
5776
+ name: string;
5777
+ createdAt: Date;
5778
+ updatedAt: Date;
5779
+ deletedAt: Date | null;
5780
+ isActive: boolean;
5781
+ };
5782
+ cxlog?: {
5774
5783
  id: string;
5775
5784
  channel: string | null;
5776
5785
  direction: string | null;
@@ -5846,25 +5855,16 @@ export declare const telegramContract: {
5846
5855
  startedAt: string;
5847
5856
  endedAt: string | null;
5848
5857
  duration: number | null;
5849
- holdLabel: {
5858
+ holdLabel?: {
5850
5859
  id: string;
5851
5860
  name: string;
5852
5861
  position: number;
5853
5862
  createdAt: Date;
5854
5863
  updatedAt: Date;
5855
5864
  deletedAt: Date | null;
5856
- };
5865
+ } | null | undefined;
5857
5866
  }[] | null | undefined;
5858
- };
5859
- workflowRule: {
5860
- type: string;
5861
- id: string;
5862
- name: string;
5863
- createdAt: Date;
5864
- updatedAt: Date;
5865
- deletedAt: Date | null;
5866
- isActive: boolean;
5867
- };
5867
+ } | null | undefined;
5868
5868
  automationQueueId?: string | null | undefined;
5869
5869
  }>;
5870
5870
  platformMessageId: z.ZodString;
@@ -9102,19 +9102,19 @@ export declare const telegramContract: {
9102
9102
  integrationId: string;
9103
9103
  } | null;
9104
9104
  }>;
9105
- cxlog: z.ZodObject<{
9105
+ cxlog: z.ZodOptional<z.ZodNullable<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,16 +9608,16 @@ 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<{
9622
9622
  id: z.ZodString;
9623
9623
  createdAt: z.ZodDate;
@@ -9966,7 +9966,16 @@ export declare const telegramContract: {
9966
9966
  closedAt: Date;
9967
9967
  lastMessageAt: Date | null;
9968
9968
  isBotRoom: boolean;
9969
- cxlog: {
9969
+ workflowRule: {
9970
+ type: string;
9971
+ id: string;
9972
+ name: string;
9973
+ createdAt: Date;
9974
+ updatedAt: Date;
9975
+ deletedAt: Date | null;
9976
+ isActive: boolean;
9977
+ };
9978
+ cxlog?: {
9970
9979
  id: string;
9971
9980
  channel: string | null;
9972
9981
  direction: string | null;
@@ -10042,25 +10051,16 @@ export declare const telegramContract: {
10042
10051
  startedAt: string;
10043
10052
  endedAt: string | null;
10044
10053
  duration: number | null;
10045
- holdLabel: {
10054
+ holdLabel?: {
10046
10055
  id: string;
10047
10056
  name: string;
10048
10057
  position: number;
10049
10058
  createdAt: Date;
10050
10059
  updatedAt: Date;
10051
10060
  deletedAt: Date | null;
10052
- };
10061
+ } | null | undefined;
10053
10062
  }[] | null | undefined;
10054
- };
10055
- workflowRule: {
10056
- type: string;
10057
- id: string;
10058
- name: string;
10059
- createdAt: Date;
10060
- updatedAt: Date;
10061
- deletedAt: Date | null;
10062
- isActive: boolean;
10063
- };
10063
+ } | null | undefined;
10064
10064
  automationQueueId?: string | null | undefined;
10065
10065
  }, {
10066
10066
  id: string;
@@ -10384,7 +10384,16 @@ export declare const telegramContract: {
10384
10384
  closedAt: Date;
10385
10385
  lastMessageAt: Date | null;
10386
10386
  isBotRoom: boolean;
10387
- cxlog: {
10387
+ workflowRule: {
10388
+ type: string;
10389
+ id: string;
10390
+ name: string;
10391
+ createdAt: Date;
10392
+ updatedAt: Date;
10393
+ deletedAt: Date | null;
10394
+ isActive: boolean;
10395
+ };
10396
+ cxlog?: {
10388
10397
  id: string;
10389
10398
  channel: string | null;
10390
10399
  direction: string | null;
@@ -10460,25 +10469,16 @@ export declare const telegramContract: {
10460
10469
  startedAt: string;
10461
10470
  endedAt: string | null;
10462
10471
  duration: number | null;
10463
- holdLabel: {
10472
+ holdLabel?: {
10464
10473
  id: string;
10465
10474
  name: string;
10466
10475
  position: number;
10467
10476
  createdAt: Date;
10468
10477
  updatedAt: Date;
10469
10478
  deletedAt: Date | null;
10470
- };
10479
+ } | null | undefined;
10471
10480
  }[] | null | undefined;
10472
- };
10473
- workflowRule: {
10474
- type: string;
10475
- id: string;
10476
- name: string;
10477
- createdAt: Date;
10478
- updatedAt: Date;
10479
- deletedAt: Date | null;
10480
- isActive: boolean;
10481
- };
10481
+ } | null | undefined;
10482
10482
  automationQueueId?: string | null | undefined;
10483
10483
  }>;
10484
10484
  upload: z.ZodObject<{
@@ -12575,7 +12575,16 @@ export declare const telegramContract: {
12575
12575
  closedAt: Date;
12576
12576
  lastMessageAt: Date | null;
12577
12577
  isBotRoom: boolean;
12578
- cxlog: {
12578
+ workflowRule: {
12579
+ type: string;
12580
+ id: string;
12581
+ name: string;
12582
+ createdAt: Date;
12583
+ updatedAt: Date;
12584
+ deletedAt: Date | null;
12585
+ isActive: boolean;
12586
+ };
12587
+ cxlog?: {
12579
12588
  id: string;
12580
12589
  channel: string | null;
12581
12590
  direction: string | null;
@@ -12651,25 +12660,16 @@ export declare const telegramContract: {
12651
12660
  startedAt: string;
12652
12661
  endedAt: string | null;
12653
12662
  duration: number | null;
12654
- holdLabel: {
12663
+ holdLabel?: {
12655
12664
  id: string;
12656
12665
  name: string;
12657
12666
  position: number;
12658
12667
  createdAt: Date;
12659
12668
  updatedAt: Date;
12660
12669
  deletedAt: Date | null;
12661
- };
12670
+ } | null | undefined;
12662
12671
  }[] | null | undefined;
12663
- };
12664
- workflowRule: {
12665
- type: string;
12666
- id: string;
12667
- name: string;
12668
- createdAt: Date;
12669
- updatedAt: Date;
12670
- deletedAt: Date | null;
12671
- isActive: boolean;
12672
- };
12672
+ } | null | undefined;
12673
12673
  automationQueueId?: string | null | undefined;
12674
12674
  };
12675
12675
  platformMessageId: string;
@@ -13330,7 +13330,16 @@ export declare const telegramContract: {
13330
13330
  closedAt: Date;
13331
13331
  lastMessageAt: Date | null;
13332
13332
  isBotRoom: boolean;
13333
- cxlog: {
13333
+ workflowRule: {
13334
+ type: string;
13335
+ id: string;
13336
+ name: string;
13337
+ createdAt: Date;
13338
+ updatedAt: Date;
13339
+ deletedAt: Date | null;
13340
+ isActive: boolean;
13341
+ };
13342
+ cxlog?: {
13334
13343
  id: string;
13335
13344
  channel: string | null;
13336
13345
  direction: string | null;
@@ -13406,25 +13415,16 @@ export declare const telegramContract: {
13406
13415
  startedAt: string;
13407
13416
  endedAt: string | null;
13408
13417
  duration: number | null;
13409
- holdLabel: {
13418
+ holdLabel?: {
13410
13419
  id: string;
13411
13420
  name: string;
13412
13421
  position: number;
13413
13422
  createdAt: Date;
13414
13423
  updatedAt: Date;
13415
13424
  deletedAt: Date | null;
13416
- };
13425
+ } | null | undefined;
13417
13426
  }[] | null | undefined;
13418
- };
13419
- workflowRule: {
13420
- type: string;
13421
- id: string;
13422
- name: string;
13423
- createdAt: Date;
13424
- updatedAt: Date;
13425
- deletedAt: Date | null;
13426
- isActive: boolean;
13427
- };
13427
+ } | null | undefined;
13428
13428
  automationQueueId?: string | null | undefined;
13429
13429
  };
13430
13430
  platformMessageId: string;
@@ -14086,7 +14086,16 @@ export declare const telegramContract: {
14086
14086
  closedAt: Date;
14087
14087
  lastMessageAt: Date | null;
14088
14088
  isBotRoom: boolean;
14089
- cxlog: {
14089
+ workflowRule: {
14090
+ type: string;
14091
+ id: string;
14092
+ name: string;
14093
+ createdAt: Date;
14094
+ updatedAt: Date;
14095
+ deletedAt: Date | null;
14096
+ isActive: boolean;
14097
+ };
14098
+ cxlog?: {
14090
14099
  id: string;
14091
14100
  channel: string | null;
14092
14101
  direction: string | null;
@@ -14162,25 +14171,16 @@ export declare const telegramContract: {
14162
14171
  startedAt: string;
14163
14172
  endedAt: string | null;
14164
14173
  duration: number | null;
14165
- holdLabel: {
14174
+ holdLabel?: {
14166
14175
  id: string;
14167
14176
  name: string;
14168
14177
  position: number;
14169
14178
  createdAt: Date;
14170
14179
  updatedAt: Date;
14171
14180
  deletedAt: Date | null;
14172
- };
14181
+ } | null | undefined;
14173
14182
  }[] | null | undefined;
14174
- };
14175
- workflowRule: {
14176
- type: string;
14177
- id: string;
14178
- name: string;
14179
- createdAt: Date;
14180
- updatedAt: Date;
14181
- deletedAt: Date | null;
14182
- isActive: boolean;
14183
- };
14183
+ } | null | undefined;
14184
14184
  automationQueueId?: string | null | undefined;
14185
14185
  };
14186
14186
  platformMessageId: string;
@@ -14841,7 +14841,16 @@ export declare const telegramContract: {
14841
14841
  closedAt: Date;
14842
14842
  lastMessageAt: Date | null;
14843
14843
  isBotRoom: boolean;
14844
- cxlog: {
14844
+ workflowRule: {
14845
+ type: string;
14846
+ id: string;
14847
+ name: string;
14848
+ createdAt: Date;
14849
+ updatedAt: Date;
14850
+ deletedAt: Date | null;
14851
+ isActive: boolean;
14852
+ };
14853
+ cxlog?: {
14845
14854
  id: string;
14846
14855
  channel: string | null;
14847
14856
  direction: string | null;
@@ -14917,25 +14926,16 @@ export declare const telegramContract: {
14917
14926
  startedAt: string;
14918
14927
  endedAt: string | null;
14919
14928
  duration: number | null;
14920
- holdLabel: {
14929
+ holdLabel?: {
14921
14930
  id: string;
14922
14931
  name: string;
14923
14932
  position: number;
14924
14933
  createdAt: Date;
14925
14934
  updatedAt: Date;
14926
14935
  deletedAt: Date | null;
14927
- };
14936
+ } | null | undefined;
14928
14937
  }[] | null | undefined;
14929
- };
14930
- workflowRule: {
14931
- type: string;
14932
- id: string;
14933
- name: string;
14934
- createdAt: Date;
14935
- updatedAt: Date;
14936
- deletedAt: Date | null;
14937
- isActive: boolean;
14938
- };
14938
+ } | null | undefined;
14939
14939
  automationQueueId?: string | null | undefined;
14940
14940
  };
14941
14941
  platformMessageId: string;
@@ -15597,7 +15597,16 @@ export declare const telegramContract: {
15597
15597
  closedAt: Date;
15598
15598
  lastMessageAt: Date | null;
15599
15599
  isBotRoom: boolean;
15600
- cxlog: {
15600
+ workflowRule: {
15601
+ type: string;
15602
+ id: string;
15603
+ name: string;
15604
+ createdAt: Date;
15605
+ updatedAt: Date;
15606
+ deletedAt: Date | null;
15607
+ isActive: boolean;
15608
+ };
15609
+ cxlog?: {
15601
15610
  id: string;
15602
15611
  channel: string | null;
15603
15612
  direction: string | null;
@@ -15673,25 +15682,16 @@ export declare const telegramContract: {
15673
15682
  startedAt: string;
15674
15683
  endedAt: string | null;
15675
15684
  duration: number | null;
15676
- holdLabel: {
15685
+ holdLabel?: {
15677
15686
  id: string;
15678
15687
  name: string;
15679
15688
  position: number;
15680
15689
  createdAt: Date;
15681
15690
  updatedAt: Date;
15682
15691
  deletedAt: Date | null;
15683
- };
15692
+ } | null | undefined;
15684
15693
  }[] | null | undefined;
15685
- };
15686
- workflowRule: {
15687
- type: string;
15688
- id: string;
15689
- name: string;
15690
- createdAt: Date;
15691
- updatedAt: Date;
15692
- deletedAt: Date | null;
15693
- isActive: boolean;
15694
- };
15694
+ } | null | undefined;
15695
15695
  automationQueueId?: string | null | undefined;
15696
15696
  };
15697
15697
  platformMessageId: string;
@@ -16352,7 +16352,16 @@ export declare const telegramContract: {
16352
16352
  closedAt: Date;
16353
16353
  lastMessageAt: Date | null;
16354
16354
  isBotRoom: boolean;
16355
- cxlog: {
16355
+ workflowRule: {
16356
+ type: string;
16357
+ id: string;
16358
+ name: string;
16359
+ createdAt: Date;
16360
+ updatedAt: Date;
16361
+ deletedAt: Date | null;
16362
+ isActive: boolean;
16363
+ };
16364
+ cxlog?: {
16356
16365
  id: string;
16357
16366
  channel: string | null;
16358
16367
  direction: string | null;
@@ -16428,25 +16437,16 @@ export declare const telegramContract: {
16428
16437
  startedAt: string;
16429
16438
  endedAt: string | null;
16430
16439
  duration: number | null;
16431
- holdLabel: {
16440
+ holdLabel?: {
16432
16441
  id: string;
16433
16442
  name: string;
16434
16443
  position: number;
16435
16444
  createdAt: Date;
16436
16445
  updatedAt: Date;
16437
16446
  deletedAt: Date | null;
16438
- };
16447
+ } | null | undefined;
16439
16448
  }[] | null | undefined;
16440
- };
16441
- workflowRule: {
16442
- type: string;
16443
- id: string;
16444
- name: string;
16445
- createdAt: Date;
16446
- updatedAt: Date;
16447
- deletedAt: Date | null;
16448
- isActive: boolean;
16449
- };
16449
+ } | null | undefined;
16450
16450
  automationQueueId?: string | null | undefined;
16451
16451
  };
16452
16452
  platformMessageId: string;
@@ -17110,7 +17110,16 @@ export declare const telegramContract: {
17110
17110
  closedAt: Date;
17111
17111
  lastMessageAt: Date | null;
17112
17112
  isBotRoom: boolean;
17113
- cxlog: {
17113
+ workflowRule: {
17114
+ type: string;
17115
+ id: string;
17116
+ name: string;
17117
+ createdAt: Date;
17118
+ updatedAt: Date;
17119
+ deletedAt: Date | null;
17120
+ isActive: boolean;
17121
+ };
17122
+ cxlog?: {
17114
17123
  id: string;
17115
17124
  channel: string | null;
17116
17125
  direction: string | null;
@@ -17186,25 +17195,16 @@ export declare const telegramContract: {
17186
17195
  startedAt: string;
17187
17196
  endedAt: string | null;
17188
17197
  duration: number | null;
17189
- holdLabel: {
17198
+ holdLabel?: {
17190
17199
  id: string;
17191
17200
  name: string;
17192
17201
  position: number;
17193
17202
  createdAt: Date;
17194
17203
  updatedAt: Date;
17195
17204
  deletedAt: Date | null;
17196
- };
17205
+ } | null | undefined;
17197
17206
  }[] | null | undefined;
17198
- };
17199
- workflowRule: {
17200
- type: string;
17201
- id: string;
17202
- name: string;
17203
- createdAt: Date;
17204
- updatedAt: Date;
17205
- deletedAt: Date | null;
17206
- isActive: boolean;
17207
- };
17207
+ } | null | undefined;
17208
17208
  automationQueueId?: string | null | undefined;
17209
17209
  };
17210
17210
  platformMessageId: string;
@@ -17865,7 +17865,16 @@ export declare const telegramContract: {
17865
17865
  closedAt: Date;
17866
17866
  lastMessageAt: Date | null;
17867
17867
  isBotRoom: boolean;
17868
- cxlog: {
17868
+ workflowRule: {
17869
+ type: string;
17870
+ id: string;
17871
+ name: string;
17872
+ createdAt: Date;
17873
+ updatedAt: Date;
17874
+ deletedAt: Date | null;
17875
+ isActive: boolean;
17876
+ };
17877
+ cxlog?: {
17869
17878
  id: string;
17870
17879
  channel: string | null;
17871
17880
  direction: string | null;
@@ -17941,25 +17950,16 @@ export declare const telegramContract: {
17941
17950
  startedAt: string;
17942
17951
  endedAt: string | null;
17943
17952
  duration: number | null;
17944
- holdLabel: {
17953
+ holdLabel?: {
17945
17954
  id: string;
17946
17955
  name: string;
17947
17956
  position: number;
17948
17957
  createdAt: Date;
17949
17958
  updatedAt: Date;
17950
17959
  deletedAt: Date | null;
17951
- };
17960
+ } | null | undefined;
17952
17961
  }[] | null | undefined;
17953
- };
17954
- workflowRule: {
17955
- type: string;
17956
- id: string;
17957
- name: string;
17958
- createdAt: Date;
17959
- updatedAt: Date;
17960
- deletedAt: Date | null;
17961
- isActive: boolean;
17962
- };
17962
+ } | null | undefined;
17963
17963
  automationQueueId?: string | null | undefined;
17964
17964
  };
17965
17965
  platformMessageId: string;
@@ -18624,7 +18624,16 @@ export declare const telegramContract: {
18624
18624
  closedAt: Date;
18625
18625
  lastMessageAt: Date | null;
18626
18626
  isBotRoom: boolean;
18627
- cxlog: {
18627
+ workflowRule: {
18628
+ type: string;
18629
+ id: string;
18630
+ name: string;
18631
+ createdAt: Date;
18632
+ updatedAt: Date;
18633
+ deletedAt: Date | null;
18634
+ isActive: boolean;
18635
+ };
18636
+ cxlog?: {
18628
18637
  id: string;
18629
18638
  channel: string | null;
18630
18639
  direction: string | null;
@@ -18700,25 +18709,16 @@ export declare const telegramContract: {
18700
18709
  startedAt: string;
18701
18710
  endedAt: string | null;
18702
18711
  duration: number | null;
18703
- holdLabel: {
18712
+ holdLabel?: {
18704
18713
  id: string;
18705
18714
  name: string;
18706
18715
  position: number;
18707
18716
  createdAt: Date;
18708
18717
  updatedAt: Date;
18709
18718
  deletedAt: Date | null;
18710
- };
18719
+ } | null | undefined;
18711
18720
  }[] | null | undefined;
18712
- };
18713
- workflowRule: {
18714
- type: string;
18715
- id: string;
18716
- name: string;
18717
- createdAt: Date;
18718
- updatedAt: Date;
18719
- deletedAt: Date | null;
18720
- isActive: boolean;
18721
- };
18721
+ } | null | undefined;
18722
18722
  automationQueueId?: string | null | undefined;
18723
18723
  };
18724
18724
  platformMessageId: string;
@@ -19379,7 +19379,16 @@ export declare const telegramContract: {
19379
19379
  closedAt: Date;
19380
19380
  lastMessageAt: Date | null;
19381
19381
  isBotRoom: boolean;
19382
- cxlog: {
19382
+ workflowRule: {
19383
+ type: string;
19384
+ id: string;
19385
+ name: string;
19386
+ createdAt: Date;
19387
+ updatedAt: Date;
19388
+ deletedAt: Date | null;
19389
+ isActive: boolean;
19390
+ };
19391
+ cxlog?: {
19383
19392
  id: string;
19384
19393
  channel: string | null;
19385
19394
  direction: string | null;
@@ -19455,25 +19464,16 @@ export declare const telegramContract: {
19455
19464
  startedAt: string;
19456
19465
  endedAt: string | null;
19457
19466
  duration: number | null;
19458
- holdLabel: {
19467
+ holdLabel?: {
19459
19468
  id: string;
19460
19469
  name: string;
19461
19470
  position: number;
19462
19471
  createdAt: Date;
19463
19472
  updatedAt: Date;
19464
19473
  deletedAt: Date | null;
19465
- };
19474
+ } | null | undefined;
19466
19475
  }[] | null | undefined;
19467
- };
19468
- workflowRule: {
19469
- type: string;
19470
- id: string;
19471
- name: string;
19472
- createdAt: Date;
19473
- updatedAt: Date;
19474
- deletedAt: Date | null;
19475
- isActive: boolean;
19476
- };
19476
+ } | null | undefined;
19477
19477
  automationQueueId?: string | null | undefined;
19478
19478
  };
19479
19479
  platformMessageId: string;