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