@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
@@ -4567,19 +4567,19 @@ export declare const lineContract: {
4567
4567
  integrationId: string;
4568
4568
  } | null;
4569
4569
  }>;
4570
- cxlog: z.ZodObject<{
4570
+ cxlog: z.ZodOptional<z.ZodNullable<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,16 +5073,16 @@ 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<{
5087
5087
  id: z.ZodString;
5088
5088
  createdAt: z.ZodDate;
@@ -5431,7 +5431,16 @@ export declare const lineContract: {
5431
5431
  closedAt: Date;
5432
5432
  lastMessageAt: Date | null;
5433
5433
  isBotRoom: boolean;
5434
- cxlog: {
5434
+ workflowRule: {
5435
+ type: string;
5436
+ id: string;
5437
+ name: string;
5438
+ createdAt: Date;
5439
+ updatedAt: Date;
5440
+ deletedAt: Date | null;
5441
+ isActive: boolean;
5442
+ };
5443
+ cxlog?: {
5435
5444
  id: string;
5436
5445
  channel: string | null;
5437
5446
  direction: string | null;
@@ -5507,25 +5516,16 @@ export declare const lineContract: {
5507
5516
  startedAt: string;
5508
5517
  endedAt: string | null;
5509
5518
  duration: number | null;
5510
- holdLabel: {
5519
+ holdLabel?: {
5511
5520
  id: string;
5512
5521
  name: string;
5513
5522
  position: number;
5514
5523
  createdAt: Date;
5515
5524
  updatedAt: Date;
5516
5525
  deletedAt: Date | null;
5517
- };
5526
+ } | null | undefined;
5518
5527
  }[] | null | undefined;
5519
- };
5520
- workflowRule: {
5521
- type: string;
5522
- id: string;
5523
- name: string;
5524
- createdAt: Date;
5525
- updatedAt: Date;
5526
- deletedAt: Date | null;
5527
- isActive: boolean;
5528
- };
5528
+ } | null | undefined;
5529
5529
  automationQueueId?: string | null | undefined;
5530
5530
  }, {
5531
5531
  id: string;
@@ -5849,7 +5849,16 @@ export declare const lineContract: {
5849
5849
  closedAt: Date;
5850
5850
  lastMessageAt: Date | null;
5851
5851
  isBotRoom: boolean;
5852
- cxlog: {
5852
+ workflowRule: {
5853
+ type: string;
5854
+ id: string;
5855
+ name: string;
5856
+ createdAt: Date;
5857
+ updatedAt: Date;
5858
+ deletedAt: Date | null;
5859
+ isActive: boolean;
5860
+ };
5861
+ cxlog?: {
5853
5862
  id: string;
5854
5863
  channel: string | null;
5855
5864
  direction: string | null;
@@ -5925,25 +5934,16 @@ export declare const lineContract: {
5925
5934
  startedAt: string;
5926
5935
  endedAt: string | null;
5927
5936
  duration: number | null;
5928
- holdLabel: {
5937
+ holdLabel?: {
5929
5938
  id: string;
5930
5939
  name: string;
5931
5940
  position: number;
5932
5941
  createdAt: Date;
5933
5942
  updatedAt: Date;
5934
5943
  deletedAt: Date | null;
5935
- };
5944
+ } | null | undefined;
5936
5945
  }[] | null | undefined;
5937
- };
5938
- workflowRule: {
5939
- type: string;
5940
- id: string;
5941
- name: string;
5942
- createdAt: Date;
5943
- updatedAt: Date;
5944
- deletedAt: Date | null;
5945
- isActive: boolean;
5946
- };
5946
+ } | null | undefined;
5947
5947
  automationQueueId?: string | null | undefined;
5948
5948
  }>;
5949
5949
  platformMessageId: z.ZodString;
@@ -9181,19 +9181,19 @@ export declare const lineContract: {
9181
9181
  integrationId: string;
9182
9182
  } | null;
9183
9183
  }>;
9184
- cxlog: z.ZodObject<{
9184
+ cxlog: z.ZodOptional<z.ZodNullable<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,16 +9687,16 @@ 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<{
9701
9701
  id: z.ZodString;
9702
9702
  createdAt: z.ZodDate;
@@ -10045,7 +10045,16 @@ export declare const lineContract: {
10045
10045
  closedAt: Date;
10046
10046
  lastMessageAt: Date | null;
10047
10047
  isBotRoom: boolean;
10048
- cxlog: {
10048
+ workflowRule: {
10049
+ type: string;
10050
+ id: string;
10051
+ name: string;
10052
+ createdAt: Date;
10053
+ updatedAt: Date;
10054
+ deletedAt: Date | null;
10055
+ isActive: boolean;
10056
+ };
10057
+ cxlog?: {
10049
10058
  id: string;
10050
10059
  channel: string | null;
10051
10060
  direction: string | null;
@@ -10121,25 +10130,16 @@ export declare const lineContract: {
10121
10130
  startedAt: string;
10122
10131
  endedAt: string | null;
10123
10132
  duration: number | null;
10124
- holdLabel: {
10133
+ holdLabel?: {
10125
10134
  id: string;
10126
10135
  name: string;
10127
10136
  position: number;
10128
10137
  createdAt: Date;
10129
10138
  updatedAt: Date;
10130
10139
  deletedAt: Date | null;
10131
- };
10140
+ } | null | undefined;
10132
10141
  }[] | null | undefined;
10133
- };
10134
- workflowRule: {
10135
- type: string;
10136
- id: string;
10137
- name: string;
10138
- createdAt: Date;
10139
- updatedAt: Date;
10140
- deletedAt: Date | null;
10141
- isActive: boolean;
10142
- };
10142
+ } | null | undefined;
10143
10143
  automationQueueId?: string | null | undefined;
10144
10144
  }, {
10145
10145
  id: string;
@@ -10463,7 +10463,16 @@ export declare const lineContract: {
10463
10463
  closedAt: Date;
10464
10464
  lastMessageAt: Date | null;
10465
10465
  isBotRoom: boolean;
10466
- cxlog: {
10466
+ workflowRule: {
10467
+ type: string;
10468
+ id: string;
10469
+ name: string;
10470
+ createdAt: Date;
10471
+ updatedAt: Date;
10472
+ deletedAt: Date | null;
10473
+ isActive: boolean;
10474
+ };
10475
+ cxlog?: {
10467
10476
  id: string;
10468
10477
  channel: string | null;
10469
10478
  direction: string | null;
@@ -10539,25 +10548,16 @@ export declare const lineContract: {
10539
10548
  startedAt: string;
10540
10549
  endedAt: string | null;
10541
10550
  duration: number | null;
10542
- holdLabel: {
10551
+ holdLabel?: {
10543
10552
  id: string;
10544
10553
  name: string;
10545
10554
  position: number;
10546
10555
  createdAt: Date;
10547
10556
  updatedAt: Date;
10548
10557
  deletedAt: Date | null;
10549
- };
10558
+ } | null | undefined;
10550
10559
  }[] | null | undefined;
10551
- };
10552
- workflowRule: {
10553
- type: string;
10554
- id: string;
10555
- name: string;
10556
- createdAt: Date;
10557
- updatedAt: Date;
10558
- deletedAt: Date | null;
10559
- isActive: boolean;
10560
- };
10560
+ } | null | undefined;
10561
10561
  automationQueueId?: string | null | undefined;
10562
10562
  }>;
10563
10563
  upload: z.ZodObject<{
@@ -12654,7 +12654,16 @@ export declare const lineContract: {
12654
12654
  closedAt: Date;
12655
12655
  lastMessageAt: Date | null;
12656
12656
  isBotRoom: boolean;
12657
- cxlog: {
12657
+ workflowRule: {
12658
+ type: string;
12659
+ id: string;
12660
+ name: string;
12661
+ createdAt: Date;
12662
+ updatedAt: Date;
12663
+ deletedAt: Date | null;
12664
+ isActive: boolean;
12665
+ };
12666
+ cxlog?: {
12658
12667
  id: string;
12659
12668
  channel: string | null;
12660
12669
  direction: string | null;
@@ -12730,25 +12739,16 @@ export declare const lineContract: {
12730
12739
  startedAt: string;
12731
12740
  endedAt: string | null;
12732
12741
  duration: number | null;
12733
- holdLabel: {
12742
+ holdLabel?: {
12734
12743
  id: string;
12735
12744
  name: string;
12736
12745
  position: number;
12737
12746
  createdAt: Date;
12738
12747
  updatedAt: Date;
12739
12748
  deletedAt: Date | null;
12740
- };
12749
+ } | null | undefined;
12741
12750
  }[] | null | undefined;
12742
- };
12743
- workflowRule: {
12744
- type: string;
12745
- id: string;
12746
- name: string;
12747
- createdAt: Date;
12748
- updatedAt: Date;
12749
- deletedAt: Date | null;
12750
- isActive: boolean;
12751
- };
12751
+ } | null | undefined;
12752
12752
  automationQueueId?: string | null | undefined;
12753
12753
  };
12754
12754
  platformMessageId: string;
@@ -13409,7 +13409,16 @@ export declare const lineContract: {
13409
13409
  closedAt: Date;
13410
13410
  lastMessageAt: Date | null;
13411
13411
  isBotRoom: boolean;
13412
- cxlog: {
13412
+ workflowRule: {
13413
+ type: string;
13414
+ id: string;
13415
+ name: string;
13416
+ createdAt: Date;
13417
+ updatedAt: Date;
13418
+ deletedAt: Date | null;
13419
+ isActive: boolean;
13420
+ };
13421
+ cxlog?: {
13413
13422
  id: string;
13414
13423
  channel: string | null;
13415
13424
  direction: string | null;
@@ -13485,25 +13494,16 @@ export declare const lineContract: {
13485
13494
  startedAt: string;
13486
13495
  endedAt: string | null;
13487
13496
  duration: number | null;
13488
- holdLabel: {
13497
+ holdLabel?: {
13489
13498
  id: string;
13490
13499
  name: string;
13491
13500
  position: number;
13492
13501
  createdAt: Date;
13493
13502
  updatedAt: Date;
13494
13503
  deletedAt: Date | null;
13495
- };
13504
+ } | null | undefined;
13496
13505
  }[] | null | undefined;
13497
- };
13498
- workflowRule: {
13499
- type: string;
13500
- id: string;
13501
- name: string;
13502
- createdAt: Date;
13503
- updatedAt: Date;
13504
- deletedAt: Date | null;
13505
- isActive: boolean;
13506
- };
13506
+ } | null | undefined;
13507
13507
  automationQueueId?: string | null | undefined;
13508
13508
  };
13509
13509
  platformMessageId: string;
@@ -14165,7 +14165,16 @@ export declare const lineContract: {
14165
14165
  closedAt: Date;
14166
14166
  lastMessageAt: Date | null;
14167
14167
  isBotRoom: boolean;
14168
- cxlog: {
14168
+ workflowRule: {
14169
+ type: string;
14170
+ id: string;
14171
+ name: string;
14172
+ createdAt: Date;
14173
+ updatedAt: Date;
14174
+ deletedAt: Date | null;
14175
+ isActive: boolean;
14176
+ };
14177
+ cxlog?: {
14169
14178
  id: string;
14170
14179
  channel: string | null;
14171
14180
  direction: string | null;
@@ -14241,25 +14250,16 @@ export declare const lineContract: {
14241
14250
  startedAt: string;
14242
14251
  endedAt: string | null;
14243
14252
  duration: number | null;
14244
- holdLabel: {
14253
+ holdLabel?: {
14245
14254
  id: string;
14246
14255
  name: string;
14247
14256
  position: number;
14248
14257
  createdAt: Date;
14249
14258
  updatedAt: Date;
14250
14259
  deletedAt: Date | null;
14251
- };
14260
+ } | null | undefined;
14252
14261
  }[] | null | undefined;
14253
- };
14254
- workflowRule: {
14255
- type: string;
14256
- id: string;
14257
- name: string;
14258
- createdAt: Date;
14259
- updatedAt: Date;
14260
- deletedAt: Date | null;
14261
- isActive: boolean;
14262
- };
14262
+ } | null | undefined;
14263
14263
  automationQueueId?: string | null | undefined;
14264
14264
  };
14265
14265
  platformMessageId: string;
@@ -14920,7 +14920,16 @@ export declare const lineContract: {
14920
14920
  closedAt: Date;
14921
14921
  lastMessageAt: Date | null;
14922
14922
  isBotRoom: boolean;
14923
- cxlog: {
14923
+ workflowRule: {
14924
+ type: string;
14925
+ id: string;
14926
+ name: string;
14927
+ createdAt: Date;
14928
+ updatedAt: Date;
14929
+ deletedAt: Date | null;
14930
+ isActive: boolean;
14931
+ };
14932
+ cxlog?: {
14924
14933
  id: string;
14925
14934
  channel: string | null;
14926
14935
  direction: string | null;
@@ -14996,25 +15005,16 @@ export declare const lineContract: {
14996
15005
  startedAt: string;
14997
15006
  endedAt: string | null;
14998
15007
  duration: number | null;
14999
- holdLabel: {
15008
+ holdLabel?: {
15000
15009
  id: string;
15001
15010
  name: string;
15002
15011
  position: number;
15003
15012
  createdAt: Date;
15004
15013
  updatedAt: Date;
15005
15014
  deletedAt: Date | null;
15006
- };
15015
+ } | null | undefined;
15007
15016
  }[] | null | undefined;
15008
- };
15009
- workflowRule: {
15010
- type: string;
15011
- id: string;
15012
- name: string;
15013
- createdAt: Date;
15014
- updatedAt: Date;
15015
- deletedAt: Date | null;
15016
- isActive: boolean;
15017
- };
15017
+ } | null | undefined;
15018
15018
  automationQueueId?: string | null | undefined;
15019
15019
  };
15020
15020
  platformMessageId: string;
@@ -15676,7 +15676,16 @@ export declare const lineContract: {
15676
15676
  closedAt: Date;
15677
15677
  lastMessageAt: Date | null;
15678
15678
  isBotRoom: boolean;
15679
- cxlog: {
15679
+ workflowRule: {
15680
+ type: string;
15681
+ id: string;
15682
+ name: string;
15683
+ createdAt: Date;
15684
+ updatedAt: Date;
15685
+ deletedAt: Date | null;
15686
+ isActive: boolean;
15687
+ };
15688
+ cxlog?: {
15680
15689
  id: string;
15681
15690
  channel: string | null;
15682
15691
  direction: string | null;
@@ -15752,25 +15761,16 @@ export declare const lineContract: {
15752
15761
  startedAt: string;
15753
15762
  endedAt: string | null;
15754
15763
  duration: number | null;
15755
- holdLabel: {
15764
+ holdLabel?: {
15756
15765
  id: string;
15757
15766
  name: string;
15758
15767
  position: number;
15759
15768
  createdAt: Date;
15760
15769
  updatedAt: Date;
15761
15770
  deletedAt: Date | null;
15762
- };
15771
+ } | null | undefined;
15763
15772
  }[] | null | undefined;
15764
- };
15765
- workflowRule: {
15766
- type: string;
15767
- id: string;
15768
- name: string;
15769
- createdAt: Date;
15770
- updatedAt: Date;
15771
- deletedAt: Date | null;
15772
- isActive: boolean;
15773
- };
15773
+ } | null | undefined;
15774
15774
  automationQueueId?: string | null | undefined;
15775
15775
  };
15776
15776
  platformMessageId: string;
@@ -16431,7 +16431,16 @@ export declare const lineContract: {
16431
16431
  closedAt: Date;
16432
16432
  lastMessageAt: Date | null;
16433
16433
  isBotRoom: boolean;
16434
- cxlog: {
16434
+ workflowRule: {
16435
+ type: string;
16436
+ id: string;
16437
+ name: string;
16438
+ createdAt: Date;
16439
+ updatedAt: Date;
16440
+ deletedAt: Date | null;
16441
+ isActive: boolean;
16442
+ };
16443
+ cxlog?: {
16435
16444
  id: string;
16436
16445
  channel: string | null;
16437
16446
  direction: string | null;
@@ -16507,25 +16516,16 @@ export declare const lineContract: {
16507
16516
  startedAt: string;
16508
16517
  endedAt: string | null;
16509
16518
  duration: number | null;
16510
- holdLabel: {
16519
+ holdLabel?: {
16511
16520
  id: string;
16512
16521
  name: string;
16513
16522
  position: number;
16514
16523
  createdAt: Date;
16515
16524
  updatedAt: Date;
16516
16525
  deletedAt: Date | null;
16517
- };
16526
+ } | null | undefined;
16518
16527
  }[] | null | undefined;
16519
- };
16520
- workflowRule: {
16521
- type: string;
16522
- id: string;
16523
- name: string;
16524
- createdAt: Date;
16525
- updatedAt: Date;
16526
- deletedAt: Date | null;
16527
- isActive: boolean;
16528
- };
16528
+ } | null | undefined;
16529
16529
  automationQueueId?: string | null | undefined;
16530
16530
  };
16531
16531
  platformMessageId: string;
@@ -17189,7 +17189,16 @@ export declare const lineContract: {
17189
17189
  closedAt: Date;
17190
17190
  lastMessageAt: Date | null;
17191
17191
  isBotRoom: boolean;
17192
- cxlog: {
17192
+ workflowRule: {
17193
+ type: string;
17194
+ id: string;
17195
+ name: string;
17196
+ createdAt: Date;
17197
+ updatedAt: Date;
17198
+ deletedAt: Date | null;
17199
+ isActive: boolean;
17200
+ };
17201
+ cxlog?: {
17193
17202
  id: string;
17194
17203
  channel: string | null;
17195
17204
  direction: string | null;
@@ -17265,25 +17274,16 @@ export declare const lineContract: {
17265
17274
  startedAt: string;
17266
17275
  endedAt: string | null;
17267
17276
  duration: number | null;
17268
- holdLabel: {
17277
+ holdLabel?: {
17269
17278
  id: string;
17270
17279
  name: string;
17271
17280
  position: number;
17272
17281
  createdAt: Date;
17273
17282
  updatedAt: Date;
17274
17283
  deletedAt: Date | null;
17275
- };
17284
+ } | null | undefined;
17276
17285
  }[] | null | undefined;
17277
- };
17278
- workflowRule: {
17279
- type: string;
17280
- id: string;
17281
- name: string;
17282
- createdAt: Date;
17283
- updatedAt: Date;
17284
- deletedAt: Date | null;
17285
- isActive: boolean;
17286
- };
17286
+ } | null | undefined;
17287
17287
  automationQueueId?: string | null | undefined;
17288
17288
  };
17289
17289
  platformMessageId: string;
@@ -17944,7 +17944,16 @@ export declare const lineContract: {
17944
17944
  closedAt: Date;
17945
17945
  lastMessageAt: Date | null;
17946
17946
  isBotRoom: boolean;
17947
- cxlog: {
17947
+ workflowRule: {
17948
+ type: string;
17949
+ id: string;
17950
+ name: string;
17951
+ createdAt: Date;
17952
+ updatedAt: Date;
17953
+ deletedAt: Date | null;
17954
+ isActive: boolean;
17955
+ };
17956
+ cxlog?: {
17948
17957
  id: string;
17949
17958
  channel: string | null;
17950
17959
  direction: string | null;
@@ -18020,25 +18029,16 @@ export declare const lineContract: {
18020
18029
  startedAt: string;
18021
18030
  endedAt: string | null;
18022
18031
  duration: number | null;
18023
- holdLabel: {
18032
+ holdLabel?: {
18024
18033
  id: string;
18025
18034
  name: string;
18026
18035
  position: number;
18027
18036
  createdAt: Date;
18028
18037
  updatedAt: Date;
18029
18038
  deletedAt: Date | null;
18030
- };
18039
+ } | null | undefined;
18031
18040
  }[] | null | undefined;
18032
- };
18033
- workflowRule: {
18034
- type: string;
18035
- id: string;
18036
- name: string;
18037
- createdAt: Date;
18038
- updatedAt: Date;
18039
- deletedAt: Date | null;
18040
- isActive: boolean;
18041
- };
18041
+ } | null | undefined;
18042
18042
  automationQueueId?: string | null | undefined;
18043
18043
  };
18044
18044
  platformMessageId: string;
@@ -18703,7 +18703,16 @@ export declare const lineContract: {
18703
18703
  closedAt: Date;
18704
18704
  lastMessageAt: Date | null;
18705
18705
  isBotRoom: boolean;
18706
- cxlog: {
18706
+ workflowRule: {
18707
+ type: string;
18708
+ id: string;
18709
+ name: string;
18710
+ createdAt: Date;
18711
+ updatedAt: Date;
18712
+ deletedAt: Date | null;
18713
+ isActive: boolean;
18714
+ };
18715
+ cxlog?: {
18707
18716
  id: string;
18708
18717
  channel: string | null;
18709
18718
  direction: string | null;
@@ -18779,25 +18788,16 @@ export declare const lineContract: {
18779
18788
  startedAt: string;
18780
18789
  endedAt: string | null;
18781
18790
  duration: number | null;
18782
- holdLabel: {
18791
+ holdLabel?: {
18783
18792
  id: string;
18784
18793
  name: string;
18785
18794
  position: number;
18786
18795
  createdAt: Date;
18787
18796
  updatedAt: Date;
18788
18797
  deletedAt: Date | null;
18789
- };
18798
+ } | null | undefined;
18790
18799
  }[] | null | undefined;
18791
- };
18792
- workflowRule: {
18793
- type: string;
18794
- id: string;
18795
- name: string;
18796
- createdAt: Date;
18797
- updatedAt: Date;
18798
- deletedAt: Date | null;
18799
- isActive: boolean;
18800
- };
18800
+ } | null | undefined;
18801
18801
  automationQueueId?: string | null | undefined;
18802
18802
  };
18803
18803
  platformMessageId: string;
@@ -19458,7 +19458,16 @@ export declare const lineContract: {
19458
19458
  closedAt: Date;
19459
19459
  lastMessageAt: Date | null;
19460
19460
  isBotRoom: boolean;
19461
- cxlog: {
19461
+ workflowRule: {
19462
+ type: string;
19463
+ id: string;
19464
+ name: string;
19465
+ createdAt: Date;
19466
+ updatedAt: Date;
19467
+ deletedAt: Date | null;
19468
+ isActive: boolean;
19469
+ };
19470
+ cxlog?: {
19462
19471
  id: string;
19463
19472
  channel: string | null;
19464
19473
  direction: string | null;
@@ -19534,25 +19543,16 @@ export declare const lineContract: {
19534
19543
  startedAt: string;
19535
19544
  endedAt: string | null;
19536
19545
  duration: number | null;
19537
- holdLabel: {
19546
+ holdLabel?: {
19538
19547
  id: string;
19539
19548
  name: string;
19540
19549
  position: number;
19541
19550
  createdAt: Date;
19542
19551
  updatedAt: Date;
19543
19552
  deletedAt: Date | null;
19544
- };
19553
+ } | null | undefined;
19545
19554
  }[] | null | undefined;
19546
- };
19547
- workflowRule: {
19548
- type: string;
19549
- id: string;
19550
- name: string;
19551
- createdAt: Date;
19552
- updatedAt: Date;
19553
- deletedAt: Date | null;
19554
- isActive: boolean;
19555
- };
19555
+ } | null | undefined;
19556
19556
  automationQueueId?: string | null | undefined;
19557
19557
  };
19558
19558
  platformMessageId: string;