@kl1/contracts 1.2.29-uat → 1.2.30-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 +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
@@ -3364,19 +3364,19 @@ export declare const messengerContract: {
3364
3364
  integrationId: string;
3365
3365
  } | null;
3366
3366
  }>;
3367
- cxlog: z.ZodObject<{
3367
+ cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3368
3368
  id: z.ZodString;
3369
- channel: z.ZodNullable<z.ZodString>;
3370
- direction: z.ZodNullable<z.ZodString>;
3371
3369
  createdAt: z.ZodDate;
3372
3370
  updatedAt: z.ZodDate;
3373
3371
  deletedAt: z.ZodNullable<z.ZodDate>;
3374
- entityId: z.ZodString;
3375
- queueId: z.ZodNullable<z.ZodString>;
3376
- contactId: z.ZodNullable<z.ZodString>;
3377
3372
  caseId: z.ZodNumber;
3373
+ entityId: z.ZodString;
3378
3374
  entityName: z.ZodString;
3375
+ contactId: z.ZodNullable<z.ZodString>;
3376
+ channel: z.ZodNullable<z.ZodString>;
3377
+ queueId: z.ZodNullable<z.ZodString>;
3379
3378
  agentId: z.ZodNullable<z.ZodString>;
3379
+ direction: z.ZodNullable<z.ZodString>;
3380
3380
  startedDate: z.ZodNullable<z.ZodDate>;
3381
3381
  handledTime: z.ZodNullable<z.ZodNumber>;
3382
3382
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -3646,7 +3646,7 @@ export declare const messengerContract: {
3646
3646
  dateValue: Date | null;
3647
3647
  }[] | null | undefined;
3648
3648
  }>>;
3649
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3649
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
3650
3650
  id: z.ZodString;
3651
3651
  createdAt: z.ZodDate;
3652
3652
  updatedAt: z.ZodDate;
@@ -3654,7 +3654,7 @@ export declare const messengerContract: {
3654
3654
  startedAt: z.ZodString;
3655
3655
  endedAt: z.ZodNullable<z.ZodString>;
3656
3656
  duration: z.ZodNullable<z.ZodNumber>;
3657
- holdLabel: z.ZodObject<{
3657
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3658
3658
  id: z.ZodString;
3659
3659
  createdAt: z.ZodDate;
3660
3660
  updatedAt: z.ZodDate;
@@ -3675,7 +3675,7 @@ export declare const messengerContract: {
3675
3675
  createdAt: Date;
3676
3676
  updatedAt: Date;
3677
3677
  deletedAt: Date | null;
3678
- }>;
3678
+ }>>>;
3679
3679
  }, "strip", z.ZodTypeAny, {
3680
3680
  id: string;
3681
3681
  createdAt: Date;
@@ -3684,14 +3684,14 @@ export declare const messengerContract: {
3684
3684
  startedAt: string;
3685
3685
  endedAt: string | null;
3686
3686
  duration: number | null;
3687
- holdLabel: {
3687
+ holdLabel?: {
3688
3688
  id: string;
3689
3689
  name: string;
3690
3690
  position: number;
3691
3691
  createdAt: Date;
3692
3692
  updatedAt: Date;
3693
3693
  deletedAt: Date | null;
3694
- };
3694
+ } | null | undefined;
3695
3695
  }, {
3696
3696
  id: string;
3697
3697
  createdAt: Date;
@@ -3700,14 +3700,14 @@ export declare const messengerContract: {
3700
3700
  startedAt: string;
3701
3701
  endedAt: string | null;
3702
3702
  duration: number | null;
3703
- holdLabel: {
3703
+ holdLabel?: {
3704
3704
  id: string;
3705
3705
  name: string;
3706
3706
  position: number;
3707
3707
  createdAt: Date;
3708
3708
  updatedAt: Date;
3709
3709
  deletedAt: Date | null;
3710
- };
3710
+ } | null | undefined;
3711
3711
  }>, "many">>>;
3712
3712
  }, "strip", z.ZodTypeAny, {
3713
3713
  id: string;
@@ -3785,14 +3785,14 @@ export declare const messengerContract: {
3785
3785
  startedAt: string;
3786
3786
  endedAt: string | null;
3787
3787
  duration: number | null;
3788
- holdLabel: {
3788
+ holdLabel?: {
3789
3789
  id: string;
3790
3790
  name: string;
3791
3791
  position: number;
3792
3792
  createdAt: Date;
3793
3793
  updatedAt: Date;
3794
3794
  deletedAt: Date | null;
3795
- };
3795
+ } | null | undefined;
3796
3796
  }[] | null | undefined;
3797
3797
  }, {
3798
3798
  id: string;
@@ -3870,16 +3870,16 @@ export declare const messengerContract: {
3870
3870
  startedAt: string;
3871
3871
  endedAt: string | null;
3872
3872
  duration: number | null;
3873
- holdLabel: {
3873
+ holdLabel?: {
3874
3874
  id: string;
3875
3875
  name: string;
3876
3876
  position: number;
3877
3877
  createdAt: Date;
3878
3878
  updatedAt: Date;
3879
3879
  deletedAt: Date | null;
3880
- };
3880
+ } | null | undefined;
3881
3881
  }[] | null | undefined;
3882
- }>;
3882
+ }>>>;
3883
3883
  workflowRule: z.ZodObject<{
3884
3884
  id: z.ZodString;
3885
3885
  createdAt: z.ZodDate;
@@ -4228,7 +4228,16 @@ export declare const messengerContract: {
4228
4228
  closedAt: Date;
4229
4229
  lastMessageAt: Date | null;
4230
4230
  isBotRoom: boolean;
4231
- cxlog: {
4231
+ workflowRule: {
4232
+ type: string;
4233
+ id: string;
4234
+ name: string;
4235
+ createdAt: Date;
4236
+ updatedAt: Date;
4237
+ deletedAt: Date | null;
4238
+ isActive: boolean;
4239
+ };
4240
+ cxlog?: {
4232
4241
  id: string;
4233
4242
  channel: string | null;
4234
4243
  direction: string | null;
@@ -4304,25 +4313,16 @@ export declare const messengerContract: {
4304
4313
  startedAt: string;
4305
4314
  endedAt: string | null;
4306
4315
  duration: number | null;
4307
- holdLabel: {
4316
+ holdLabel?: {
4308
4317
  id: string;
4309
4318
  name: string;
4310
4319
  position: number;
4311
4320
  createdAt: Date;
4312
4321
  updatedAt: Date;
4313
4322
  deletedAt: Date | null;
4314
- };
4323
+ } | null | undefined;
4315
4324
  }[] | null | undefined;
4316
- };
4317
- workflowRule: {
4318
- type: string;
4319
- id: string;
4320
- name: string;
4321
- createdAt: Date;
4322
- updatedAt: Date;
4323
- deletedAt: Date | null;
4324
- isActive: boolean;
4325
- };
4325
+ } | null | undefined;
4326
4326
  automationQueueId?: string | null | undefined;
4327
4327
  }, {
4328
4328
  id: string;
@@ -4646,7 +4646,16 @@ export declare const messengerContract: {
4646
4646
  closedAt: Date;
4647
4647
  lastMessageAt: Date | null;
4648
4648
  isBotRoom: boolean;
4649
- cxlog: {
4649
+ workflowRule: {
4650
+ type: string;
4651
+ id: string;
4652
+ name: string;
4653
+ createdAt: Date;
4654
+ updatedAt: Date;
4655
+ deletedAt: Date | null;
4656
+ isActive: boolean;
4657
+ };
4658
+ cxlog?: {
4650
4659
  id: string;
4651
4660
  channel: string | null;
4652
4661
  direction: string | null;
@@ -4722,25 +4731,16 @@ export declare const messengerContract: {
4722
4731
  startedAt: string;
4723
4732
  endedAt: string | null;
4724
4733
  duration: number | null;
4725
- holdLabel: {
4734
+ holdLabel?: {
4726
4735
  id: string;
4727
4736
  name: string;
4728
4737
  position: number;
4729
4738
  createdAt: Date;
4730
4739
  updatedAt: Date;
4731
4740
  deletedAt: Date | null;
4732
- };
4741
+ } | null | undefined;
4733
4742
  }[] | null | undefined;
4734
- };
4735
- workflowRule: {
4736
- type: string;
4737
- id: string;
4738
- name: string;
4739
- createdAt: Date;
4740
- updatedAt: Date;
4741
- deletedAt: Date | null;
4742
- isActive: boolean;
4743
- };
4743
+ } | null | undefined;
4744
4744
  automationQueueId?: string | null | undefined;
4745
4745
  }>;
4746
4746
  platformMessageId: z.ZodString;
@@ -7978,19 +7978,19 @@ export declare const messengerContract: {
7978
7978
  integrationId: string;
7979
7979
  } | null;
7980
7980
  }>;
7981
- cxlog: z.ZodObject<{
7981
+ cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7982
7982
  id: z.ZodString;
7983
- channel: z.ZodNullable<z.ZodString>;
7984
- direction: z.ZodNullable<z.ZodString>;
7985
7983
  createdAt: z.ZodDate;
7986
7984
  updatedAt: z.ZodDate;
7987
7985
  deletedAt: z.ZodNullable<z.ZodDate>;
7988
- entityId: z.ZodString;
7989
- queueId: z.ZodNullable<z.ZodString>;
7990
- contactId: z.ZodNullable<z.ZodString>;
7991
7986
  caseId: z.ZodNumber;
7987
+ entityId: z.ZodString;
7992
7988
  entityName: z.ZodString;
7989
+ contactId: z.ZodNullable<z.ZodString>;
7990
+ channel: z.ZodNullable<z.ZodString>;
7991
+ queueId: z.ZodNullable<z.ZodString>;
7993
7992
  agentId: z.ZodNullable<z.ZodString>;
7993
+ direction: z.ZodNullable<z.ZodString>;
7994
7994
  startedDate: z.ZodNullable<z.ZodDate>;
7995
7995
  handledTime: z.ZodNullable<z.ZodNumber>;
7996
7996
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -8260,7 +8260,7 @@ export declare const messengerContract: {
8260
8260
  dateValue: Date | null;
8261
8261
  }[] | null | undefined;
8262
8262
  }>>;
8263
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
8263
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
8264
8264
  id: z.ZodString;
8265
8265
  createdAt: z.ZodDate;
8266
8266
  updatedAt: z.ZodDate;
@@ -8268,7 +8268,7 @@ export declare const messengerContract: {
8268
8268
  startedAt: z.ZodString;
8269
8269
  endedAt: z.ZodNullable<z.ZodString>;
8270
8270
  duration: z.ZodNullable<z.ZodNumber>;
8271
- holdLabel: z.ZodObject<{
8271
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8272
8272
  id: z.ZodString;
8273
8273
  createdAt: z.ZodDate;
8274
8274
  updatedAt: z.ZodDate;
@@ -8289,7 +8289,7 @@ export declare const messengerContract: {
8289
8289
  createdAt: Date;
8290
8290
  updatedAt: Date;
8291
8291
  deletedAt: Date | null;
8292
- }>;
8292
+ }>>>;
8293
8293
  }, "strip", z.ZodTypeAny, {
8294
8294
  id: string;
8295
8295
  createdAt: Date;
@@ -8298,14 +8298,14 @@ export declare const messengerContract: {
8298
8298
  startedAt: string;
8299
8299
  endedAt: string | null;
8300
8300
  duration: number | null;
8301
- holdLabel: {
8301
+ holdLabel?: {
8302
8302
  id: string;
8303
8303
  name: string;
8304
8304
  position: number;
8305
8305
  createdAt: Date;
8306
8306
  updatedAt: Date;
8307
8307
  deletedAt: Date | null;
8308
- };
8308
+ } | null | undefined;
8309
8309
  }, {
8310
8310
  id: string;
8311
8311
  createdAt: Date;
@@ -8314,14 +8314,14 @@ export declare const messengerContract: {
8314
8314
  startedAt: string;
8315
8315
  endedAt: string | null;
8316
8316
  duration: number | null;
8317
- holdLabel: {
8317
+ holdLabel?: {
8318
8318
  id: string;
8319
8319
  name: string;
8320
8320
  position: number;
8321
8321
  createdAt: Date;
8322
8322
  updatedAt: Date;
8323
8323
  deletedAt: Date | null;
8324
- };
8324
+ } | null | undefined;
8325
8325
  }>, "many">>>;
8326
8326
  }, "strip", z.ZodTypeAny, {
8327
8327
  id: string;
@@ -8399,14 +8399,14 @@ export declare const messengerContract: {
8399
8399
  startedAt: string;
8400
8400
  endedAt: string | null;
8401
8401
  duration: number | null;
8402
- holdLabel: {
8402
+ holdLabel?: {
8403
8403
  id: string;
8404
8404
  name: string;
8405
8405
  position: number;
8406
8406
  createdAt: Date;
8407
8407
  updatedAt: Date;
8408
8408
  deletedAt: Date | null;
8409
- };
8409
+ } | null | undefined;
8410
8410
  }[] | null | undefined;
8411
8411
  }, {
8412
8412
  id: string;
@@ -8484,16 +8484,16 @@ export declare const messengerContract: {
8484
8484
  startedAt: string;
8485
8485
  endedAt: string | null;
8486
8486
  duration: number | null;
8487
- holdLabel: {
8487
+ holdLabel?: {
8488
8488
  id: string;
8489
8489
  name: string;
8490
8490
  position: number;
8491
8491
  createdAt: Date;
8492
8492
  updatedAt: Date;
8493
8493
  deletedAt: Date | null;
8494
- };
8494
+ } | null | undefined;
8495
8495
  }[] | null | undefined;
8496
- }>;
8496
+ }>>>;
8497
8497
  workflowRule: z.ZodObject<{
8498
8498
  id: z.ZodString;
8499
8499
  createdAt: z.ZodDate;
@@ -8842,7 +8842,16 @@ export declare const messengerContract: {
8842
8842
  closedAt: Date;
8843
8843
  lastMessageAt: Date | null;
8844
8844
  isBotRoom: boolean;
8845
- cxlog: {
8845
+ workflowRule: {
8846
+ type: string;
8847
+ id: string;
8848
+ name: string;
8849
+ createdAt: Date;
8850
+ updatedAt: Date;
8851
+ deletedAt: Date | null;
8852
+ isActive: boolean;
8853
+ };
8854
+ cxlog?: {
8846
8855
  id: string;
8847
8856
  channel: string | null;
8848
8857
  direction: string | null;
@@ -8918,25 +8927,16 @@ export declare const messengerContract: {
8918
8927
  startedAt: string;
8919
8928
  endedAt: string | null;
8920
8929
  duration: number | null;
8921
- holdLabel: {
8930
+ holdLabel?: {
8922
8931
  id: string;
8923
8932
  name: string;
8924
8933
  position: number;
8925
8934
  createdAt: Date;
8926
8935
  updatedAt: Date;
8927
8936
  deletedAt: Date | null;
8928
- };
8937
+ } | null | undefined;
8929
8938
  }[] | null | undefined;
8930
- };
8931
- workflowRule: {
8932
- type: string;
8933
- id: string;
8934
- name: string;
8935
- createdAt: Date;
8936
- updatedAt: Date;
8937
- deletedAt: Date | null;
8938
- isActive: boolean;
8939
- };
8939
+ } | null | undefined;
8940
8940
  automationQueueId?: string | null | undefined;
8941
8941
  }, {
8942
8942
  id: string;
@@ -9260,7 +9260,16 @@ export declare const messengerContract: {
9260
9260
  closedAt: Date;
9261
9261
  lastMessageAt: Date | null;
9262
9262
  isBotRoom: boolean;
9263
- cxlog: {
9263
+ workflowRule: {
9264
+ type: string;
9265
+ id: string;
9266
+ name: string;
9267
+ createdAt: Date;
9268
+ updatedAt: Date;
9269
+ deletedAt: Date | null;
9270
+ isActive: boolean;
9271
+ };
9272
+ cxlog?: {
9264
9273
  id: string;
9265
9274
  channel: string | null;
9266
9275
  direction: string | null;
@@ -9336,25 +9345,16 @@ export declare const messengerContract: {
9336
9345
  startedAt: string;
9337
9346
  endedAt: string | null;
9338
9347
  duration: number | null;
9339
- holdLabel: {
9348
+ holdLabel?: {
9340
9349
  id: string;
9341
9350
  name: string;
9342
9351
  position: number;
9343
9352
  createdAt: Date;
9344
9353
  updatedAt: Date;
9345
9354
  deletedAt: Date | null;
9346
- };
9355
+ } | null | undefined;
9347
9356
  }[] | null | undefined;
9348
- };
9349
- workflowRule: {
9350
- type: string;
9351
- id: string;
9352
- name: string;
9353
- createdAt: Date;
9354
- updatedAt: Date;
9355
- deletedAt: Date | null;
9356
- isActive: boolean;
9357
- };
9357
+ } | null | undefined;
9358
9358
  automationQueueId?: string | null | undefined;
9359
9359
  }>;
9360
9360
  upload: z.ZodObject<{
@@ -11451,7 +11451,16 @@ export declare const messengerContract: {
11451
11451
  closedAt: Date;
11452
11452
  lastMessageAt: Date | null;
11453
11453
  isBotRoom: boolean;
11454
- cxlog: {
11454
+ workflowRule: {
11455
+ type: string;
11456
+ id: string;
11457
+ name: string;
11458
+ createdAt: Date;
11459
+ updatedAt: Date;
11460
+ deletedAt: Date | null;
11461
+ isActive: boolean;
11462
+ };
11463
+ cxlog?: {
11455
11464
  id: string;
11456
11465
  channel: string | null;
11457
11466
  direction: string | null;
@@ -11527,25 +11536,16 @@ export declare const messengerContract: {
11527
11536
  startedAt: string;
11528
11537
  endedAt: string | null;
11529
11538
  duration: number | null;
11530
- holdLabel: {
11539
+ holdLabel?: {
11531
11540
  id: string;
11532
11541
  name: string;
11533
11542
  position: number;
11534
11543
  createdAt: Date;
11535
11544
  updatedAt: Date;
11536
11545
  deletedAt: Date | null;
11537
- };
11546
+ } | null | undefined;
11538
11547
  }[] | null | undefined;
11539
- };
11540
- workflowRule: {
11541
- type: string;
11542
- id: string;
11543
- name: string;
11544
- createdAt: Date;
11545
- updatedAt: Date;
11546
- deletedAt: Date | null;
11547
- isActive: boolean;
11548
- };
11548
+ } | null | undefined;
11549
11549
  automationQueueId?: string | null | undefined;
11550
11550
  };
11551
11551
  platformMessageId: string;
@@ -12206,7 +12206,16 @@ export declare const messengerContract: {
12206
12206
  closedAt: Date;
12207
12207
  lastMessageAt: Date | null;
12208
12208
  isBotRoom: boolean;
12209
- cxlog: {
12209
+ workflowRule: {
12210
+ type: string;
12211
+ id: string;
12212
+ name: string;
12213
+ createdAt: Date;
12214
+ updatedAt: Date;
12215
+ deletedAt: Date | null;
12216
+ isActive: boolean;
12217
+ };
12218
+ cxlog?: {
12210
12219
  id: string;
12211
12220
  channel: string | null;
12212
12221
  direction: string | null;
@@ -12282,25 +12291,16 @@ export declare const messengerContract: {
12282
12291
  startedAt: string;
12283
12292
  endedAt: string | null;
12284
12293
  duration: number | null;
12285
- holdLabel: {
12294
+ holdLabel?: {
12286
12295
  id: string;
12287
12296
  name: string;
12288
12297
  position: number;
12289
12298
  createdAt: Date;
12290
12299
  updatedAt: Date;
12291
12300
  deletedAt: Date | null;
12292
- };
12301
+ } | null | undefined;
12293
12302
  }[] | null | undefined;
12294
- };
12295
- workflowRule: {
12296
- type: string;
12297
- id: string;
12298
- name: string;
12299
- createdAt: Date;
12300
- updatedAt: Date;
12301
- deletedAt: Date | null;
12302
- isActive: boolean;
12303
- };
12303
+ } | null | undefined;
12304
12304
  automationQueueId?: string | null | undefined;
12305
12305
  };
12306
12306
  platformMessageId: string;
@@ -12962,7 +12962,16 @@ export declare const messengerContract: {
12962
12962
  closedAt: Date;
12963
12963
  lastMessageAt: Date | null;
12964
12964
  isBotRoom: boolean;
12965
- cxlog: {
12965
+ workflowRule: {
12966
+ type: string;
12967
+ id: string;
12968
+ name: string;
12969
+ createdAt: Date;
12970
+ updatedAt: Date;
12971
+ deletedAt: Date | null;
12972
+ isActive: boolean;
12973
+ };
12974
+ cxlog?: {
12966
12975
  id: string;
12967
12976
  channel: string | null;
12968
12977
  direction: string | null;
@@ -13038,25 +13047,16 @@ export declare const messengerContract: {
13038
13047
  startedAt: string;
13039
13048
  endedAt: string | null;
13040
13049
  duration: number | null;
13041
- holdLabel: {
13050
+ holdLabel?: {
13042
13051
  id: string;
13043
13052
  name: string;
13044
13053
  position: number;
13045
13054
  createdAt: Date;
13046
13055
  updatedAt: Date;
13047
13056
  deletedAt: Date | null;
13048
- };
13057
+ } | null | undefined;
13049
13058
  }[] | null | undefined;
13050
- };
13051
- workflowRule: {
13052
- type: string;
13053
- id: string;
13054
- name: string;
13055
- createdAt: Date;
13056
- updatedAt: Date;
13057
- deletedAt: Date | null;
13058
- isActive: boolean;
13059
- };
13059
+ } | null | undefined;
13060
13060
  automationQueueId?: string | null | undefined;
13061
13061
  };
13062
13062
  platformMessageId: string;
@@ -13717,7 +13717,16 @@ export declare const messengerContract: {
13717
13717
  closedAt: Date;
13718
13718
  lastMessageAt: Date | null;
13719
13719
  isBotRoom: boolean;
13720
- cxlog: {
13720
+ workflowRule: {
13721
+ type: string;
13722
+ id: string;
13723
+ name: string;
13724
+ createdAt: Date;
13725
+ updatedAt: Date;
13726
+ deletedAt: Date | null;
13727
+ isActive: boolean;
13728
+ };
13729
+ cxlog?: {
13721
13730
  id: string;
13722
13731
  channel: string | null;
13723
13732
  direction: string | null;
@@ -13793,25 +13802,16 @@ export declare const messengerContract: {
13793
13802
  startedAt: string;
13794
13803
  endedAt: string | null;
13795
13804
  duration: number | null;
13796
- holdLabel: {
13805
+ holdLabel?: {
13797
13806
  id: string;
13798
13807
  name: string;
13799
13808
  position: number;
13800
13809
  createdAt: Date;
13801
13810
  updatedAt: Date;
13802
13811
  deletedAt: Date | null;
13803
- };
13812
+ } | null | undefined;
13804
13813
  }[] | null | undefined;
13805
- };
13806
- workflowRule: {
13807
- type: string;
13808
- id: string;
13809
- name: string;
13810
- createdAt: Date;
13811
- updatedAt: Date;
13812
- deletedAt: Date | null;
13813
- isActive: boolean;
13814
- };
13814
+ } | null | undefined;
13815
13815
  automationQueueId?: string | null | undefined;
13816
13816
  };
13817
13817
  platformMessageId: string;
@@ -14473,7 +14473,16 @@ export declare const messengerContract: {
14473
14473
  closedAt: Date;
14474
14474
  lastMessageAt: Date | null;
14475
14475
  isBotRoom: boolean;
14476
- cxlog: {
14476
+ workflowRule: {
14477
+ type: string;
14478
+ id: string;
14479
+ name: string;
14480
+ createdAt: Date;
14481
+ updatedAt: Date;
14482
+ deletedAt: Date | null;
14483
+ isActive: boolean;
14484
+ };
14485
+ cxlog?: {
14477
14486
  id: string;
14478
14487
  channel: string | null;
14479
14488
  direction: string | null;
@@ -14549,25 +14558,16 @@ export declare const messengerContract: {
14549
14558
  startedAt: string;
14550
14559
  endedAt: string | null;
14551
14560
  duration: number | null;
14552
- holdLabel: {
14561
+ holdLabel?: {
14553
14562
  id: string;
14554
14563
  name: string;
14555
14564
  position: number;
14556
14565
  createdAt: Date;
14557
14566
  updatedAt: Date;
14558
14567
  deletedAt: Date | null;
14559
- };
14568
+ } | null | undefined;
14560
14569
  }[] | null | undefined;
14561
- };
14562
- workflowRule: {
14563
- type: string;
14564
- id: string;
14565
- name: string;
14566
- createdAt: Date;
14567
- updatedAt: Date;
14568
- deletedAt: Date | null;
14569
- isActive: boolean;
14570
- };
14570
+ } | null | undefined;
14571
14571
  automationQueueId?: string | null | undefined;
14572
14572
  };
14573
14573
  platformMessageId: string;
@@ -15228,7 +15228,16 @@ export declare const messengerContract: {
15228
15228
  closedAt: Date;
15229
15229
  lastMessageAt: Date | null;
15230
15230
  isBotRoom: boolean;
15231
- cxlog: {
15231
+ workflowRule: {
15232
+ type: string;
15233
+ id: string;
15234
+ name: string;
15235
+ createdAt: Date;
15236
+ updatedAt: Date;
15237
+ deletedAt: Date | null;
15238
+ isActive: boolean;
15239
+ };
15240
+ cxlog?: {
15232
15241
  id: string;
15233
15242
  channel: string | null;
15234
15243
  direction: string | null;
@@ -15304,25 +15313,16 @@ export declare const messengerContract: {
15304
15313
  startedAt: string;
15305
15314
  endedAt: string | null;
15306
15315
  duration: number | null;
15307
- holdLabel: {
15316
+ holdLabel?: {
15308
15317
  id: string;
15309
15318
  name: string;
15310
15319
  position: number;
15311
15320
  createdAt: Date;
15312
15321
  updatedAt: Date;
15313
15322
  deletedAt: Date | null;
15314
- };
15323
+ } | null | undefined;
15315
15324
  }[] | null | undefined;
15316
- };
15317
- workflowRule: {
15318
- type: string;
15319
- id: string;
15320
- name: string;
15321
- createdAt: Date;
15322
- updatedAt: Date;
15323
- deletedAt: Date | null;
15324
- isActive: boolean;
15325
- };
15325
+ } | null | undefined;
15326
15326
  automationQueueId?: string | null | undefined;
15327
15327
  };
15328
15328
  platformMessageId: string;
@@ -15986,7 +15986,16 @@ export declare const messengerContract: {
15986
15986
  closedAt: Date;
15987
15987
  lastMessageAt: Date | null;
15988
15988
  isBotRoom: boolean;
15989
- cxlog: {
15989
+ workflowRule: {
15990
+ type: string;
15991
+ id: string;
15992
+ name: string;
15993
+ createdAt: Date;
15994
+ updatedAt: Date;
15995
+ deletedAt: Date | null;
15996
+ isActive: boolean;
15997
+ };
15998
+ cxlog?: {
15990
15999
  id: string;
15991
16000
  channel: string | null;
15992
16001
  direction: string | null;
@@ -16062,25 +16071,16 @@ export declare const messengerContract: {
16062
16071
  startedAt: string;
16063
16072
  endedAt: string | null;
16064
16073
  duration: number | null;
16065
- holdLabel: {
16074
+ holdLabel?: {
16066
16075
  id: string;
16067
16076
  name: string;
16068
16077
  position: number;
16069
16078
  createdAt: Date;
16070
16079
  updatedAt: Date;
16071
16080
  deletedAt: Date | null;
16072
- };
16081
+ } | null | undefined;
16073
16082
  }[] | null | undefined;
16074
- };
16075
- workflowRule: {
16076
- type: string;
16077
- id: string;
16078
- name: string;
16079
- createdAt: Date;
16080
- updatedAt: Date;
16081
- deletedAt: Date | null;
16082
- isActive: boolean;
16083
- };
16083
+ } | null | undefined;
16084
16084
  automationQueueId?: string | null | undefined;
16085
16085
  };
16086
16086
  platformMessageId: string;
@@ -16741,7 +16741,16 @@ export declare const messengerContract: {
16741
16741
  closedAt: Date;
16742
16742
  lastMessageAt: Date | null;
16743
16743
  isBotRoom: boolean;
16744
- cxlog: {
16744
+ workflowRule: {
16745
+ type: string;
16746
+ id: string;
16747
+ name: string;
16748
+ createdAt: Date;
16749
+ updatedAt: Date;
16750
+ deletedAt: Date | null;
16751
+ isActive: boolean;
16752
+ };
16753
+ cxlog?: {
16745
16754
  id: string;
16746
16755
  channel: string | null;
16747
16756
  direction: string | null;
@@ -16817,25 +16826,16 @@ export declare const messengerContract: {
16817
16826
  startedAt: string;
16818
16827
  endedAt: string | null;
16819
16828
  duration: number | null;
16820
- holdLabel: {
16829
+ holdLabel?: {
16821
16830
  id: string;
16822
16831
  name: string;
16823
16832
  position: number;
16824
16833
  createdAt: Date;
16825
16834
  updatedAt: Date;
16826
16835
  deletedAt: Date | null;
16827
- };
16836
+ } | null | undefined;
16828
16837
  }[] | null | undefined;
16829
- };
16830
- workflowRule: {
16831
- type: string;
16832
- id: string;
16833
- name: string;
16834
- createdAt: Date;
16835
- updatedAt: Date;
16836
- deletedAt: Date | null;
16837
- isActive: boolean;
16838
- };
16838
+ } | null | undefined;
16839
16839
  automationQueueId?: string | null | undefined;
16840
16840
  };
16841
16841
  platformMessageId: string;
@@ -17500,7 +17500,16 @@ export declare const messengerContract: {
17500
17500
  closedAt: Date;
17501
17501
  lastMessageAt: Date | null;
17502
17502
  isBotRoom: boolean;
17503
- cxlog: {
17503
+ workflowRule: {
17504
+ type: string;
17505
+ id: string;
17506
+ name: string;
17507
+ createdAt: Date;
17508
+ updatedAt: Date;
17509
+ deletedAt: Date | null;
17510
+ isActive: boolean;
17511
+ };
17512
+ cxlog?: {
17504
17513
  id: string;
17505
17514
  channel: string | null;
17506
17515
  direction: string | null;
@@ -17576,25 +17585,16 @@ export declare const messengerContract: {
17576
17585
  startedAt: string;
17577
17586
  endedAt: string | null;
17578
17587
  duration: number | null;
17579
- holdLabel: {
17588
+ holdLabel?: {
17580
17589
  id: string;
17581
17590
  name: string;
17582
17591
  position: number;
17583
17592
  createdAt: Date;
17584
17593
  updatedAt: Date;
17585
17594
  deletedAt: Date | null;
17586
- };
17595
+ } | null | undefined;
17587
17596
  }[] | null | undefined;
17588
- };
17589
- workflowRule: {
17590
- type: string;
17591
- id: string;
17592
- name: string;
17593
- createdAt: Date;
17594
- updatedAt: Date;
17595
- deletedAt: Date | null;
17596
- isActive: boolean;
17597
- };
17597
+ } | null | undefined;
17598
17598
  automationQueueId?: string | null | undefined;
17599
17599
  };
17600
17600
  platformMessageId: string;
@@ -18255,7 +18255,16 @@ export declare const messengerContract: {
18255
18255
  closedAt: Date;
18256
18256
  lastMessageAt: Date | null;
18257
18257
  isBotRoom: boolean;
18258
- cxlog: {
18258
+ workflowRule: {
18259
+ type: string;
18260
+ id: string;
18261
+ name: string;
18262
+ createdAt: Date;
18263
+ updatedAt: Date;
18264
+ deletedAt: Date | null;
18265
+ isActive: boolean;
18266
+ };
18267
+ cxlog?: {
18259
18268
  id: string;
18260
18269
  channel: string | null;
18261
18270
  direction: string | null;
@@ -18331,25 +18340,16 @@ export declare const messengerContract: {
18331
18340
  startedAt: string;
18332
18341
  endedAt: string | null;
18333
18342
  duration: number | null;
18334
- holdLabel: {
18343
+ holdLabel?: {
18335
18344
  id: string;
18336
18345
  name: string;
18337
18346
  position: number;
18338
18347
  createdAt: Date;
18339
18348
  updatedAt: Date;
18340
18349
  deletedAt: Date | null;
18341
- };
18350
+ } | null | undefined;
18342
18351
  }[] | null | undefined;
18343
- };
18344
- workflowRule: {
18345
- type: string;
18346
- id: string;
18347
- name: string;
18348
- createdAt: Date;
18349
- updatedAt: Date;
18350
- deletedAt: Date | null;
18351
- isActive: boolean;
18352
- };
18352
+ } | null | undefined;
18353
18353
  automationQueueId?: string | null | undefined;
18354
18354
  };
18355
18355
  platformMessageId: string;