@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
@@ -3361,19 +3361,19 @@ export declare const whatsappContract: {
3361
3361
  integrationId: string;
3362
3362
  } | null;
3363
3363
  }>;
3364
- cxlog: z.ZodObject<{
3364
+ cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3365
3365
  id: z.ZodString;
3366
- channel: z.ZodNullable<z.ZodString>;
3367
- direction: z.ZodNullable<z.ZodString>;
3368
3366
  createdAt: z.ZodDate;
3369
3367
  updatedAt: z.ZodDate;
3370
3368
  deletedAt: z.ZodNullable<z.ZodDate>;
3371
- entityId: z.ZodString;
3372
- queueId: z.ZodNullable<z.ZodString>;
3373
- contactId: z.ZodNullable<z.ZodString>;
3374
3369
  caseId: z.ZodNumber;
3370
+ entityId: z.ZodString;
3375
3371
  entityName: z.ZodString;
3372
+ contactId: z.ZodNullable<z.ZodString>;
3373
+ channel: z.ZodNullable<z.ZodString>;
3374
+ queueId: z.ZodNullable<z.ZodString>;
3376
3375
  agentId: z.ZodNullable<z.ZodString>;
3376
+ direction: z.ZodNullable<z.ZodString>;
3377
3377
  startedDate: z.ZodNullable<z.ZodDate>;
3378
3378
  handledTime: z.ZodNullable<z.ZodNumber>;
3379
3379
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -3643,7 +3643,7 @@ export declare const whatsappContract: {
3643
3643
  dateValue: Date | null;
3644
3644
  }[] | null | undefined;
3645
3645
  }>>;
3646
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3646
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
3647
3647
  id: z.ZodString;
3648
3648
  createdAt: z.ZodDate;
3649
3649
  updatedAt: z.ZodDate;
@@ -3651,7 +3651,7 @@ export declare const whatsappContract: {
3651
3651
  startedAt: z.ZodString;
3652
3652
  endedAt: z.ZodNullable<z.ZodString>;
3653
3653
  duration: z.ZodNullable<z.ZodNumber>;
3654
- holdLabel: z.ZodObject<{
3654
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3655
3655
  id: z.ZodString;
3656
3656
  createdAt: z.ZodDate;
3657
3657
  updatedAt: z.ZodDate;
@@ -3672,7 +3672,7 @@ export declare const whatsappContract: {
3672
3672
  createdAt: Date;
3673
3673
  updatedAt: Date;
3674
3674
  deletedAt: Date | null;
3675
- }>;
3675
+ }>>>;
3676
3676
  }, "strip", z.ZodTypeAny, {
3677
3677
  id: string;
3678
3678
  createdAt: Date;
@@ -3681,14 +3681,14 @@ export declare const whatsappContract: {
3681
3681
  startedAt: string;
3682
3682
  endedAt: string | null;
3683
3683
  duration: number | null;
3684
- holdLabel: {
3684
+ holdLabel?: {
3685
3685
  id: string;
3686
3686
  name: string;
3687
3687
  position: number;
3688
3688
  createdAt: Date;
3689
3689
  updatedAt: Date;
3690
3690
  deletedAt: Date | null;
3691
- };
3691
+ } | null | undefined;
3692
3692
  }, {
3693
3693
  id: string;
3694
3694
  createdAt: Date;
@@ -3697,14 +3697,14 @@ export declare const whatsappContract: {
3697
3697
  startedAt: string;
3698
3698
  endedAt: string | null;
3699
3699
  duration: number | null;
3700
- holdLabel: {
3700
+ holdLabel?: {
3701
3701
  id: string;
3702
3702
  name: string;
3703
3703
  position: number;
3704
3704
  createdAt: Date;
3705
3705
  updatedAt: Date;
3706
3706
  deletedAt: Date | null;
3707
- };
3707
+ } | null | undefined;
3708
3708
  }>, "many">>>;
3709
3709
  }, "strip", z.ZodTypeAny, {
3710
3710
  id: string;
@@ -3782,14 +3782,14 @@ export declare const whatsappContract: {
3782
3782
  startedAt: string;
3783
3783
  endedAt: string | null;
3784
3784
  duration: number | null;
3785
- holdLabel: {
3785
+ holdLabel?: {
3786
3786
  id: string;
3787
3787
  name: string;
3788
3788
  position: number;
3789
3789
  createdAt: Date;
3790
3790
  updatedAt: Date;
3791
3791
  deletedAt: Date | null;
3792
- };
3792
+ } | null | undefined;
3793
3793
  }[] | null | undefined;
3794
3794
  }, {
3795
3795
  id: string;
@@ -3867,16 +3867,16 @@ export declare const whatsappContract: {
3867
3867
  startedAt: string;
3868
3868
  endedAt: string | null;
3869
3869
  duration: number | null;
3870
- holdLabel: {
3870
+ holdLabel?: {
3871
3871
  id: string;
3872
3872
  name: string;
3873
3873
  position: number;
3874
3874
  createdAt: Date;
3875
3875
  updatedAt: Date;
3876
3876
  deletedAt: Date | null;
3877
- };
3877
+ } | null | undefined;
3878
3878
  }[] | null | undefined;
3879
- }>;
3879
+ }>>>;
3880
3880
  workflowRule: z.ZodObject<{
3881
3881
  id: z.ZodString;
3882
3882
  createdAt: z.ZodDate;
@@ -4225,7 +4225,16 @@ export declare const whatsappContract: {
4225
4225
  closedAt: Date;
4226
4226
  lastMessageAt: Date | null;
4227
4227
  isBotRoom: boolean;
4228
- cxlog: {
4228
+ workflowRule: {
4229
+ type: string;
4230
+ id: string;
4231
+ name: string;
4232
+ createdAt: Date;
4233
+ updatedAt: Date;
4234
+ deletedAt: Date | null;
4235
+ isActive: boolean;
4236
+ };
4237
+ cxlog?: {
4229
4238
  id: string;
4230
4239
  channel: string | null;
4231
4240
  direction: string | null;
@@ -4301,25 +4310,16 @@ export declare const whatsappContract: {
4301
4310
  startedAt: string;
4302
4311
  endedAt: string | null;
4303
4312
  duration: number | null;
4304
- holdLabel: {
4313
+ holdLabel?: {
4305
4314
  id: string;
4306
4315
  name: string;
4307
4316
  position: number;
4308
4317
  createdAt: Date;
4309
4318
  updatedAt: Date;
4310
4319
  deletedAt: Date | null;
4311
- };
4320
+ } | null | undefined;
4312
4321
  }[] | null | undefined;
4313
- };
4314
- workflowRule: {
4315
- type: string;
4316
- id: string;
4317
- name: string;
4318
- createdAt: Date;
4319
- updatedAt: Date;
4320
- deletedAt: Date | null;
4321
- isActive: boolean;
4322
- };
4322
+ } | null | undefined;
4323
4323
  automationQueueId?: string | null | undefined;
4324
4324
  }, {
4325
4325
  id: string;
@@ -4643,7 +4643,16 @@ export declare const whatsappContract: {
4643
4643
  closedAt: Date;
4644
4644
  lastMessageAt: Date | null;
4645
4645
  isBotRoom: boolean;
4646
- cxlog: {
4646
+ workflowRule: {
4647
+ type: string;
4648
+ id: string;
4649
+ name: string;
4650
+ createdAt: Date;
4651
+ updatedAt: Date;
4652
+ deletedAt: Date | null;
4653
+ isActive: boolean;
4654
+ };
4655
+ cxlog?: {
4647
4656
  id: string;
4648
4657
  channel: string | null;
4649
4658
  direction: string | null;
@@ -4719,25 +4728,16 @@ export declare const whatsappContract: {
4719
4728
  startedAt: string;
4720
4729
  endedAt: string | null;
4721
4730
  duration: number | null;
4722
- holdLabel: {
4731
+ holdLabel?: {
4723
4732
  id: string;
4724
4733
  name: string;
4725
4734
  position: number;
4726
4735
  createdAt: Date;
4727
4736
  updatedAt: Date;
4728
4737
  deletedAt: Date | null;
4729
- };
4738
+ } | null | undefined;
4730
4739
  }[] | null | undefined;
4731
- };
4732
- workflowRule: {
4733
- type: string;
4734
- id: string;
4735
- name: string;
4736
- createdAt: Date;
4737
- updatedAt: Date;
4738
- deletedAt: Date | null;
4739
- isActive: boolean;
4740
- };
4740
+ } | null | undefined;
4741
4741
  automationQueueId?: string | null | undefined;
4742
4742
  }>;
4743
4743
  platformMessageId: z.ZodString;
@@ -7975,19 +7975,19 @@ export declare const whatsappContract: {
7975
7975
  integrationId: string;
7976
7976
  } | null;
7977
7977
  }>;
7978
- cxlog: z.ZodObject<{
7978
+ cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7979
7979
  id: z.ZodString;
7980
- channel: z.ZodNullable<z.ZodString>;
7981
- direction: z.ZodNullable<z.ZodString>;
7982
7980
  createdAt: z.ZodDate;
7983
7981
  updatedAt: z.ZodDate;
7984
7982
  deletedAt: z.ZodNullable<z.ZodDate>;
7985
- entityId: z.ZodString;
7986
- queueId: z.ZodNullable<z.ZodString>;
7987
- contactId: z.ZodNullable<z.ZodString>;
7988
7983
  caseId: z.ZodNumber;
7984
+ entityId: z.ZodString;
7989
7985
  entityName: z.ZodString;
7986
+ contactId: z.ZodNullable<z.ZodString>;
7987
+ channel: z.ZodNullable<z.ZodString>;
7988
+ queueId: z.ZodNullable<z.ZodString>;
7990
7989
  agentId: z.ZodNullable<z.ZodString>;
7990
+ direction: z.ZodNullable<z.ZodString>;
7991
7991
  startedDate: z.ZodNullable<z.ZodDate>;
7992
7992
  handledTime: z.ZodNullable<z.ZodNumber>;
7993
7993
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -8257,7 +8257,7 @@ export declare const whatsappContract: {
8257
8257
  dateValue: Date | null;
8258
8258
  }[] | null | undefined;
8259
8259
  }>>;
8260
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
8260
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
8261
8261
  id: z.ZodString;
8262
8262
  createdAt: z.ZodDate;
8263
8263
  updatedAt: z.ZodDate;
@@ -8265,7 +8265,7 @@ export declare const whatsappContract: {
8265
8265
  startedAt: z.ZodString;
8266
8266
  endedAt: z.ZodNullable<z.ZodString>;
8267
8267
  duration: z.ZodNullable<z.ZodNumber>;
8268
- holdLabel: z.ZodObject<{
8268
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8269
8269
  id: z.ZodString;
8270
8270
  createdAt: z.ZodDate;
8271
8271
  updatedAt: z.ZodDate;
@@ -8286,7 +8286,7 @@ export declare const whatsappContract: {
8286
8286
  createdAt: Date;
8287
8287
  updatedAt: Date;
8288
8288
  deletedAt: Date | null;
8289
- }>;
8289
+ }>>>;
8290
8290
  }, "strip", z.ZodTypeAny, {
8291
8291
  id: string;
8292
8292
  createdAt: Date;
@@ -8295,14 +8295,14 @@ export declare const whatsappContract: {
8295
8295
  startedAt: string;
8296
8296
  endedAt: string | null;
8297
8297
  duration: number | null;
8298
- holdLabel: {
8298
+ holdLabel?: {
8299
8299
  id: string;
8300
8300
  name: string;
8301
8301
  position: number;
8302
8302
  createdAt: Date;
8303
8303
  updatedAt: Date;
8304
8304
  deletedAt: Date | null;
8305
- };
8305
+ } | null | undefined;
8306
8306
  }, {
8307
8307
  id: string;
8308
8308
  createdAt: Date;
@@ -8311,14 +8311,14 @@ export declare const whatsappContract: {
8311
8311
  startedAt: string;
8312
8312
  endedAt: string | null;
8313
8313
  duration: number | null;
8314
- holdLabel: {
8314
+ holdLabel?: {
8315
8315
  id: string;
8316
8316
  name: string;
8317
8317
  position: number;
8318
8318
  createdAt: Date;
8319
8319
  updatedAt: Date;
8320
8320
  deletedAt: Date | null;
8321
- };
8321
+ } | null | undefined;
8322
8322
  }>, "many">>>;
8323
8323
  }, "strip", z.ZodTypeAny, {
8324
8324
  id: string;
@@ -8396,14 +8396,14 @@ export declare const whatsappContract: {
8396
8396
  startedAt: string;
8397
8397
  endedAt: string | null;
8398
8398
  duration: number | null;
8399
- holdLabel: {
8399
+ holdLabel?: {
8400
8400
  id: string;
8401
8401
  name: string;
8402
8402
  position: number;
8403
8403
  createdAt: Date;
8404
8404
  updatedAt: Date;
8405
8405
  deletedAt: Date | null;
8406
- };
8406
+ } | null | undefined;
8407
8407
  }[] | null | undefined;
8408
8408
  }, {
8409
8409
  id: string;
@@ -8481,16 +8481,16 @@ export declare const whatsappContract: {
8481
8481
  startedAt: string;
8482
8482
  endedAt: string | null;
8483
8483
  duration: number | null;
8484
- holdLabel: {
8484
+ holdLabel?: {
8485
8485
  id: string;
8486
8486
  name: string;
8487
8487
  position: number;
8488
8488
  createdAt: Date;
8489
8489
  updatedAt: Date;
8490
8490
  deletedAt: Date | null;
8491
- };
8491
+ } | null | undefined;
8492
8492
  }[] | null | undefined;
8493
- }>;
8493
+ }>>>;
8494
8494
  workflowRule: z.ZodObject<{
8495
8495
  id: z.ZodString;
8496
8496
  createdAt: z.ZodDate;
@@ -8839,7 +8839,16 @@ export declare const whatsappContract: {
8839
8839
  closedAt: Date;
8840
8840
  lastMessageAt: Date | null;
8841
8841
  isBotRoom: boolean;
8842
- cxlog: {
8842
+ workflowRule: {
8843
+ type: string;
8844
+ id: string;
8845
+ name: string;
8846
+ createdAt: Date;
8847
+ updatedAt: Date;
8848
+ deletedAt: Date | null;
8849
+ isActive: boolean;
8850
+ };
8851
+ cxlog?: {
8843
8852
  id: string;
8844
8853
  channel: string | null;
8845
8854
  direction: string | null;
@@ -8915,25 +8924,16 @@ export declare const whatsappContract: {
8915
8924
  startedAt: string;
8916
8925
  endedAt: string | null;
8917
8926
  duration: number | null;
8918
- holdLabel: {
8927
+ holdLabel?: {
8919
8928
  id: string;
8920
8929
  name: string;
8921
8930
  position: number;
8922
8931
  createdAt: Date;
8923
8932
  updatedAt: Date;
8924
8933
  deletedAt: Date | null;
8925
- };
8934
+ } | null | undefined;
8926
8935
  }[] | null | undefined;
8927
- };
8928
- workflowRule: {
8929
- type: string;
8930
- id: string;
8931
- name: string;
8932
- createdAt: Date;
8933
- updatedAt: Date;
8934
- deletedAt: Date | null;
8935
- isActive: boolean;
8936
- };
8936
+ } | null | undefined;
8937
8937
  automationQueueId?: string | null | undefined;
8938
8938
  }, {
8939
8939
  id: string;
@@ -9257,7 +9257,16 @@ export declare const whatsappContract: {
9257
9257
  closedAt: Date;
9258
9258
  lastMessageAt: Date | null;
9259
9259
  isBotRoom: boolean;
9260
- cxlog: {
9260
+ workflowRule: {
9261
+ type: string;
9262
+ id: string;
9263
+ name: string;
9264
+ createdAt: Date;
9265
+ updatedAt: Date;
9266
+ deletedAt: Date | null;
9267
+ isActive: boolean;
9268
+ };
9269
+ cxlog?: {
9261
9270
  id: string;
9262
9271
  channel: string | null;
9263
9272
  direction: string | null;
@@ -9333,25 +9342,16 @@ export declare const whatsappContract: {
9333
9342
  startedAt: string;
9334
9343
  endedAt: string | null;
9335
9344
  duration: number | null;
9336
- holdLabel: {
9345
+ holdLabel?: {
9337
9346
  id: string;
9338
9347
  name: string;
9339
9348
  position: number;
9340
9349
  createdAt: Date;
9341
9350
  updatedAt: Date;
9342
9351
  deletedAt: Date | null;
9343
- };
9352
+ } | null | undefined;
9344
9353
  }[] | null | undefined;
9345
- };
9346
- workflowRule: {
9347
- type: string;
9348
- id: string;
9349
- name: string;
9350
- createdAt: Date;
9351
- updatedAt: Date;
9352
- deletedAt: Date | null;
9353
- isActive: boolean;
9354
- };
9354
+ } | null | undefined;
9355
9355
  automationQueueId?: string | null | undefined;
9356
9356
  }>;
9357
9357
  upload: z.ZodObject<{
@@ -11448,7 +11448,16 @@ export declare const whatsappContract: {
11448
11448
  closedAt: Date;
11449
11449
  lastMessageAt: Date | null;
11450
11450
  isBotRoom: boolean;
11451
- cxlog: {
11451
+ workflowRule: {
11452
+ type: string;
11453
+ id: string;
11454
+ name: string;
11455
+ createdAt: Date;
11456
+ updatedAt: Date;
11457
+ deletedAt: Date | null;
11458
+ isActive: boolean;
11459
+ };
11460
+ cxlog?: {
11452
11461
  id: string;
11453
11462
  channel: string | null;
11454
11463
  direction: string | null;
@@ -11524,25 +11533,16 @@ export declare const whatsappContract: {
11524
11533
  startedAt: string;
11525
11534
  endedAt: string | null;
11526
11535
  duration: number | null;
11527
- holdLabel: {
11536
+ holdLabel?: {
11528
11537
  id: string;
11529
11538
  name: string;
11530
11539
  position: number;
11531
11540
  createdAt: Date;
11532
11541
  updatedAt: Date;
11533
11542
  deletedAt: Date | null;
11534
- };
11543
+ } | null | undefined;
11535
11544
  }[] | null | undefined;
11536
- };
11537
- workflowRule: {
11538
- type: string;
11539
- id: string;
11540
- name: string;
11541
- createdAt: Date;
11542
- updatedAt: Date;
11543
- deletedAt: Date | null;
11544
- isActive: boolean;
11545
- };
11545
+ } | null | undefined;
11546
11546
  automationQueueId?: string | null | undefined;
11547
11547
  };
11548
11548
  platformMessageId: string;
@@ -12203,7 +12203,16 @@ export declare const whatsappContract: {
12203
12203
  closedAt: Date;
12204
12204
  lastMessageAt: Date | null;
12205
12205
  isBotRoom: boolean;
12206
- cxlog: {
12206
+ workflowRule: {
12207
+ type: string;
12208
+ id: string;
12209
+ name: string;
12210
+ createdAt: Date;
12211
+ updatedAt: Date;
12212
+ deletedAt: Date | null;
12213
+ isActive: boolean;
12214
+ };
12215
+ cxlog?: {
12207
12216
  id: string;
12208
12217
  channel: string | null;
12209
12218
  direction: string | null;
@@ -12279,25 +12288,16 @@ export declare const whatsappContract: {
12279
12288
  startedAt: string;
12280
12289
  endedAt: string | null;
12281
12290
  duration: number | null;
12282
- holdLabel: {
12291
+ holdLabel?: {
12283
12292
  id: string;
12284
12293
  name: string;
12285
12294
  position: number;
12286
12295
  createdAt: Date;
12287
12296
  updatedAt: Date;
12288
12297
  deletedAt: Date | null;
12289
- };
12298
+ } | null | undefined;
12290
12299
  }[] | null | undefined;
12291
- };
12292
- workflowRule: {
12293
- type: string;
12294
- id: string;
12295
- name: string;
12296
- createdAt: Date;
12297
- updatedAt: Date;
12298
- deletedAt: Date | null;
12299
- isActive: boolean;
12300
- };
12300
+ } | null | undefined;
12301
12301
  automationQueueId?: string | null | undefined;
12302
12302
  };
12303
12303
  platformMessageId: string;
@@ -12959,7 +12959,16 @@ export declare const whatsappContract: {
12959
12959
  closedAt: Date;
12960
12960
  lastMessageAt: Date | null;
12961
12961
  isBotRoom: boolean;
12962
- cxlog: {
12962
+ workflowRule: {
12963
+ type: string;
12964
+ id: string;
12965
+ name: string;
12966
+ createdAt: Date;
12967
+ updatedAt: Date;
12968
+ deletedAt: Date | null;
12969
+ isActive: boolean;
12970
+ };
12971
+ cxlog?: {
12963
12972
  id: string;
12964
12973
  channel: string | null;
12965
12974
  direction: string | null;
@@ -13035,25 +13044,16 @@ export declare const whatsappContract: {
13035
13044
  startedAt: string;
13036
13045
  endedAt: string | null;
13037
13046
  duration: number | null;
13038
- holdLabel: {
13047
+ holdLabel?: {
13039
13048
  id: string;
13040
13049
  name: string;
13041
13050
  position: number;
13042
13051
  createdAt: Date;
13043
13052
  updatedAt: Date;
13044
13053
  deletedAt: Date | null;
13045
- };
13054
+ } | null | undefined;
13046
13055
  }[] | null | undefined;
13047
- };
13048
- workflowRule: {
13049
- type: string;
13050
- id: string;
13051
- name: string;
13052
- createdAt: Date;
13053
- updatedAt: Date;
13054
- deletedAt: Date | null;
13055
- isActive: boolean;
13056
- };
13056
+ } | null | undefined;
13057
13057
  automationQueueId?: string | null | undefined;
13058
13058
  };
13059
13059
  platformMessageId: string;
@@ -13714,7 +13714,16 @@ export declare const whatsappContract: {
13714
13714
  closedAt: Date;
13715
13715
  lastMessageAt: Date | null;
13716
13716
  isBotRoom: boolean;
13717
- cxlog: {
13717
+ workflowRule: {
13718
+ type: string;
13719
+ id: string;
13720
+ name: string;
13721
+ createdAt: Date;
13722
+ updatedAt: Date;
13723
+ deletedAt: Date | null;
13724
+ isActive: boolean;
13725
+ };
13726
+ cxlog?: {
13718
13727
  id: string;
13719
13728
  channel: string | null;
13720
13729
  direction: string | null;
@@ -13790,25 +13799,16 @@ export declare const whatsappContract: {
13790
13799
  startedAt: string;
13791
13800
  endedAt: string | null;
13792
13801
  duration: number | null;
13793
- holdLabel: {
13802
+ holdLabel?: {
13794
13803
  id: string;
13795
13804
  name: string;
13796
13805
  position: number;
13797
13806
  createdAt: Date;
13798
13807
  updatedAt: Date;
13799
13808
  deletedAt: Date | null;
13800
- };
13809
+ } | null | undefined;
13801
13810
  }[] | null | undefined;
13802
- };
13803
- workflowRule: {
13804
- type: string;
13805
- id: string;
13806
- name: string;
13807
- createdAt: Date;
13808
- updatedAt: Date;
13809
- deletedAt: Date | null;
13810
- isActive: boolean;
13811
- };
13811
+ } | null | undefined;
13812
13812
  automationQueueId?: string | null | undefined;
13813
13813
  };
13814
13814
  platformMessageId: string;
@@ -14470,7 +14470,16 @@ export declare const whatsappContract: {
14470
14470
  closedAt: Date;
14471
14471
  lastMessageAt: Date | null;
14472
14472
  isBotRoom: boolean;
14473
- cxlog: {
14473
+ workflowRule: {
14474
+ type: string;
14475
+ id: string;
14476
+ name: string;
14477
+ createdAt: Date;
14478
+ updatedAt: Date;
14479
+ deletedAt: Date | null;
14480
+ isActive: boolean;
14481
+ };
14482
+ cxlog?: {
14474
14483
  id: string;
14475
14484
  channel: string | null;
14476
14485
  direction: string | null;
@@ -14546,25 +14555,16 @@ export declare const whatsappContract: {
14546
14555
  startedAt: string;
14547
14556
  endedAt: string | null;
14548
14557
  duration: number | null;
14549
- holdLabel: {
14558
+ holdLabel?: {
14550
14559
  id: string;
14551
14560
  name: string;
14552
14561
  position: number;
14553
14562
  createdAt: Date;
14554
14563
  updatedAt: Date;
14555
14564
  deletedAt: Date | null;
14556
- };
14565
+ } | null | undefined;
14557
14566
  }[] | null | undefined;
14558
- };
14559
- workflowRule: {
14560
- type: string;
14561
- id: string;
14562
- name: string;
14563
- createdAt: Date;
14564
- updatedAt: Date;
14565
- deletedAt: Date | null;
14566
- isActive: boolean;
14567
- };
14567
+ } | null | undefined;
14568
14568
  automationQueueId?: string | null | undefined;
14569
14569
  };
14570
14570
  platformMessageId: string;
@@ -15225,7 +15225,16 @@ export declare const whatsappContract: {
15225
15225
  closedAt: Date;
15226
15226
  lastMessageAt: Date | null;
15227
15227
  isBotRoom: boolean;
15228
- cxlog: {
15228
+ workflowRule: {
15229
+ type: string;
15230
+ id: string;
15231
+ name: string;
15232
+ createdAt: Date;
15233
+ updatedAt: Date;
15234
+ deletedAt: Date | null;
15235
+ isActive: boolean;
15236
+ };
15237
+ cxlog?: {
15229
15238
  id: string;
15230
15239
  channel: string | null;
15231
15240
  direction: string | null;
@@ -15301,25 +15310,16 @@ export declare const whatsappContract: {
15301
15310
  startedAt: string;
15302
15311
  endedAt: string | null;
15303
15312
  duration: number | null;
15304
- holdLabel: {
15313
+ holdLabel?: {
15305
15314
  id: string;
15306
15315
  name: string;
15307
15316
  position: number;
15308
15317
  createdAt: Date;
15309
15318
  updatedAt: Date;
15310
15319
  deletedAt: Date | null;
15311
- };
15320
+ } | null | undefined;
15312
15321
  }[] | null | undefined;
15313
- };
15314
- workflowRule: {
15315
- type: string;
15316
- id: string;
15317
- name: string;
15318
- createdAt: Date;
15319
- updatedAt: Date;
15320
- deletedAt: Date | null;
15321
- isActive: boolean;
15322
- };
15322
+ } | null | undefined;
15323
15323
  automationQueueId?: string | null | undefined;
15324
15324
  };
15325
15325
  platformMessageId: string;
@@ -15983,7 +15983,16 @@ export declare const whatsappContract: {
15983
15983
  closedAt: Date;
15984
15984
  lastMessageAt: Date | null;
15985
15985
  isBotRoom: boolean;
15986
- cxlog: {
15986
+ workflowRule: {
15987
+ type: string;
15988
+ id: string;
15989
+ name: string;
15990
+ createdAt: Date;
15991
+ updatedAt: Date;
15992
+ deletedAt: Date | null;
15993
+ isActive: boolean;
15994
+ };
15995
+ cxlog?: {
15987
15996
  id: string;
15988
15997
  channel: string | null;
15989
15998
  direction: string | null;
@@ -16059,25 +16068,16 @@ export declare const whatsappContract: {
16059
16068
  startedAt: string;
16060
16069
  endedAt: string | null;
16061
16070
  duration: number | null;
16062
- holdLabel: {
16071
+ holdLabel?: {
16063
16072
  id: string;
16064
16073
  name: string;
16065
16074
  position: number;
16066
16075
  createdAt: Date;
16067
16076
  updatedAt: Date;
16068
16077
  deletedAt: Date | null;
16069
- };
16078
+ } | null | undefined;
16070
16079
  }[] | null | undefined;
16071
- };
16072
- workflowRule: {
16073
- type: string;
16074
- id: string;
16075
- name: string;
16076
- createdAt: Date;
16077
- updatedAt: Date;
16078
- deletedAt: Date | null;
16079
- isActive: boolean;
16080
- };
16080
+ } | null | undefined;
16081
16081
  automationQueueId?: string | null | undefined;
16082
16082
  };
16083
16083
  platformMessageId: string;
@@ -16738,7 +16738,16 @@ export declare const whatsappContract: {
16738
16738
  closedAt: Date;
16739
16739
  lastMessageAt: Date | null;
16740
16740
  isBotRoom: boolean;
16741
- cxlog: {
16741
+ workflowRule: {
16742
+ type: string;
16743
+ id: string;
16744
+ name: string;
16745
+ createdAt: Date;
16746
+ updatedAt: Date;
16747
+ deletedAt: Date | null;
16748
+ isActive: boolean;
16749
+ };
16750
+ cxlog?: {
16742
16751
  id: string;
16743
16752
  channel: string | null;
16744
16753
  direction: string | null;
@@ -16814,25 +16823,16 @@ export declare const whatsappContract: {
16814
16823
  startedAt: string;
16815
16824
  endedAt: string | null;
16816
16825
  duration: number | null;
16817
- holdLabel: {
16826
+ holdLabel?: {
16818
16827
  id: string;
16819
16828
  name: string;
16820
16829
  position: number;
16821
16830
  createdAt: Date;
16822
16831
  updatedAt: Date;
16823
16832
  deletedAt: Date | null;
16824
- };
16833
+ } | null | undefined;
16825
16834
  }[] | null | undefined;
16826
- };
16827
- workflowRule: {
16828
- type: string;
16829
- id: string;
16830
- name: string;
16831
- createdAt: Date;
16832
- updatedAt: Date;
16833
- deletedAt: Date | null;
16834
- isActive: boolean;
16835
- };
16835
+ } | null | undefined;
16836
16836
  automationQueueId?: string | null | undefined;
16837
16837
  };
16838
16838
  platformMessageId: string;
@@ -17497,7 +17497,16 @@ export declare const whatsappContract: {
17497
17497
  closedAt: Date;
17498
17498
  lastMessageAt: Date | null;
17499
17499
  isBotRoom: boolean;
17500
- cxlog: {
17500
+ workflowRule: {
17501
+ type: string;
17502
+ id: string;
17503
+ name: string;
17504
+ createdAt: Date;
17505
+ updatedAt: Date;
17506
+ deletedAt: Date | null;
17507
+ isActive: boolean;
17508
+ };
17509
+ cxlog?: {
17501
17510
  id: string;
17502
17511
  channel: string | null;
17503
17512
  direction: string | null;
@@ -17573,25 +17582,16 @@ export declare const whatsappContract: {
17573
17582
  startedAt: string;
17574
17583
  endedAt: string | null;
17575
17584
  duration: number | null;
17576
- holdLabel: {
17585
+ holdLabel?: {
17577
17586
  id: string;
17578
17587
  name: string;
17579
17588
  position: number;
17580
17589
  createdAt: Date;
17581
17590
  updatedAt: Date;
17582
17591
  deletedAt: Date | null;
17583
- };
17592
+ } | null | undefined;
17584
17593
  }[] | null | undefined;
17585
- };
17586
- workflowRule: {
17587
- type: string;
17588
- id: string;
17589
- name: string;
17590
- createdAt: Date;
17591
- updatedAt: Date;
17592
- deletedAt: Date | null;
17593
- isActive: boolean;
17594
- };
17594
+ } | null | undefined;
17595
17595
  automationQueueId?: string | null | undefined;
17596
17596
  };
17597
17597
  platformMessageId: string;
@@ -18252,7 +18252,16 @@ export declare const whatsappContract: {
18252
18252
  closedAt: Date;
18253
18253
  lastMessageAt: Date | null;
18254
18254
  isBotRoom: boolean;
18255
- cxlog: {
18255
+ workflowRule: {
18256
+ type: string;
18257
+ id: string;
18258
+ name: string;
18259
+ createdAt: Date;
18260
+ updatedAt: Date;
18261
+ deletedAt: Date | null;
18262
+ isActive: boolean;
18263
+ };
18264
+ cxlog?: {
18256
18265
  id: string;
18257
18266
  channel: string | null;
18258
18267
  direction: string | null;
@@ -18328,25 +18337,16 @@ export declare const whatsappContract: {
18328
18337
  startedAt: string;
18329
18338
  endedAt: string | null;
18330
18339
  duration: number | null;
18331
- holdLabel: {
18340
+ holdLabel?: {
18332
18341
  id: string;
18333
18342
  name: string;
18334
18343
  position: number;
18335
18344
  createdAt: Date;
18336
18345
  updatedAt: Date;
18337
18346
  deletedAt: Date | null;
18338
- };
18347
+ } | null | undefined;
18339
18348
  }[] | null | undefined;
18340
- };
18341
- workflowRule: {
18342
- type: string;
18343
- id: string;
18344
- name: string;
18345
- createdAt: Date;
18346
- updatedAt: Date;
18347
- deletedAt: Date | null;
18348
- isActive: boolean;
18349
- };
18349
+ } | null | undefined;
18350
18350
  automationQueueId?: string | null | undefined;
18351
18351
  };
18352
18352
  platformMessageId: string;