@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
@@ -3357,19 +3357,19 @@ export declare const platformWebchatContract: {
3357
3357
  integrationId: string;
3358
3358
  } | null;
3359
3359
  }>;
3360
- cxlog: z.ZodObject<{
3360
+ cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3361
3361
  id: z.ZodString;
3362
- channel: z.ZodNullable<z.ZodString>;
3363
- direction: z.ZodNullable<z.ZodString>;
3364
3362
  createdAt: z.ZodDate;
3365
3363
  updatedAt: z.ZodDate;
3366
3364
  deletedAt: z.ZodNullable<z.ZodDate>;
3367
- entityId: z.ZodString;
3368
- queueId: z.ZodNullable<z.ZodString>;
3369
- contactId: z.ZodNullable<z.ZodString>;
3370
3365
  caseId: z.ZodNumber;
3366
+ entityId: z.ZodString;
3371
3367
  entityName: z.ZodString;
3368
+ contactId: z.ZodNullable<z.ZodString>;
3369
+ channel: z.ZodNullable<z.ZodString>;
3370
+ queueId: z.ZodNullable<z.ZodString>;
3372
3371
  agentId: z.ZodNullable<z.ZodString>;
3372
+ direction: z.ZodNullable<z.ZodString>;
3373
3373
  startedDate: z.ZodNullable<z.ZodDate>;
3374
3374
  handledTime: z.ZodNullable<z.ZodNumber>;
3375
3375
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -3639,7 +3639,7 @@ export declare const platformWebchatContract: {
3639
3639
  dateValue: Date | null;
3640
3640
  }[] | null | undefined;
3641
3641
  }>>;
3642
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3642
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
3643
3643
  id: z.ZodString;
3644
3644
  createdAt: z.ZodDate;
3645
3645
  updatedAt: z.ZodDate;
@@ -3647,7 +3647,7 @@ export declare const platformWebchatContract: {
3647
3647
  startedAt: z.ZodString;
3648
3648
  endedAt: z.ZodNullable<z.ZodString>;
3649
3649
  duration: z.ZodNullable<z.ZodNumber>;
3650
- holdLabel: z.ZodObject<{
3650
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3651
3651
  id: z.ZodString;
3652
3652
  createdAt: z.ZodDate;
3653
3653
  updatedAt: z.ZodDate;
@@ -3668,7 +3668,7 @@ export declare const platformWebchatContract: {
3668
3668
  createdAt: Date;
3669
3669
  updatedAt: Date;
3670
3670
  deletedAt: Date | null;
3671
- }>;
3671
+ }>>>;
3672
3672
  }, "strip", z.ZodTypeAny, {
3673
3673
  id: string;
3674
3674
  createdAt: Date;
@@ -3677,14 +3677,14 @@ export declare const platformWebchatContract: {
3677
3677
  startedAt: string;
3678
3678
  endedAt: string | null;
3679
3679
  duration: number | null;
3680
- holdLabel: {
3680
+ holdLabel?: {
3681
3681
  id: string;
3682
3682
  name: string;
3683
3683
  position: number;
3684
3684
  createdAt: Date;
3685
3685
  updatedAt: Date;
3686
3686
  deletedAt: Date | null;
3687
- };
3687
+ } | null | undefined;
3688
3688
  }, {
3689
3689
  id: string;
3690
3690
  createdAt: Date;
@@ -3693,14 +3693,14 @@ export declare const platformWebchatContract: {
3693
3693
  startedAt: string;
3694
3694
  endedAt: string | null;
3695
3695
  duration: number | null;
3696
- holdLabel: {
3696
+ holdLabel?: {
3697
3697
  id: string;
3698
3698
  name: string;
3699
3699
  position: number;
3700
3700
  createdAt: Date;
3701
3701
  updatedAt: Date;
3702
3702
  deletedAt: Date | null;
3703
- };
3703
+ } | null | undefined;
3704
3704
  }>, "many">>>;
3705
3705
  }, "strip", z.ZodTypeAny, {
3706
3706
  id: string;
@@ -3778,14 +3778,14 @@ export declare const platformWebchatContract: {
3778
3778
  startedAt: string;
3779
3779
  endedAt: string | null;
3780
3780
  duration: number | null;
3781
- holdLabel: {
3781
+ holdLabel?: {
3782
3782
  id: string;
3783
3783
  name: string;
3784
3784
  position: number;
3785
3785
  createdAt: Date;
3786
3786
  updatedAt: Date;
3787
3787
  deletedAt: Date | null;
3788
- };
3788
+ } | null | undefined;
3789
3789
  }[] | null | undefined;
3790
3790
  }, {
3791
3791
  id: string;
@@ -3863,16 +3863,16 @@ export declare const platformWebchatContract: {
3863
3863
  startedAt: string;
3864
3864
  endedAt: string | null;
3865
3865
  duration: number | null;
3866
- holdLabel: {
3866
+ holdLabel?: {
3867
3867
  id: string;
3868
3868
  name: string;
3869
3869
  position: number;
3870
3870
  createdAt: Date;
3871
3871
  updatedAt: Date;
3872
3872
  deletedAt: Date | null;
3873
- };
3873
+ } | null | undefined;
3874
3874
  }[] | null | undefined;
3875
- }>;
3875
+ }>>>;
3876
3876
  workflowRule: z.ZodObject<{
3877
3877
  id: z.ZodString;
3878
3878
  createdAt: z.ZodDate;
@@ -4221,7 +4221,16 @@ export declare const platformWebchatContract: {
4221
4221
  closedAt: Date;
4222
4222
  lastMessageAt: Date | null;
4223
4223
  isBotRoom: boolean;
4224
- cxlog: {
4224
+ workflowRule: {
4225
+ type: string;
4226
+ id: string;
4227
+ name: string;
4228
+ createdAt: Date;
4229
+ updatedAt: Date;
4230
+ deletedAt: Date | null;
4231
+ isActive: boolean;
4232
+ };
4233
+ cxlog?: {
4225
4234
  id: string;
4226
4235
  channel: string | null;
4227
4236
  direction: string | null;
@@ -4297,25 +4306,16 @@ export declare const platformWebchatContract: {
4297
4306
  startedAt: string;
4298
4307
  endedAt: string | null;
4299
4308
  duration: number | null;
4300
- holdLabel: {
4309
+ holdLabel?: {
4301
4310
  id: string;
4302
4311
  name: string;
4303
4312
  position: number;
4304
4313
  createdAt: Date;
4305
4314
  updatedAt: Date;
4306
4315
  deletedAt: Date | null;
4307
- };
4316
+ } | null | undefined;
4308
4317
  }[] | null | undefined;
4309
- };
4310
- workflowRule: {
4311
- type: string;
4312
- id: string;
4313
- name: string;
4314
- createdAt: Date;
4315
- updatedAt: Date;
4316
- deletedAt: Date | null;
4317
- isActive: boolean;
4318
- };
4318
+ } | null | undefined;
4319
4319
  automationQueueId?: string | null | undefined;
4320
4320
  }, {
4321
4321
  id: string;
@@ -4639,7 +4639,16 @@ export declare const platformWebchatContract: {
4639
4639
  closedAt: Date;
4640
4640
  lastMessageAt: Date | null;
4641
4641
  isBotRoom: boolean;
4642
- cxlog: {
4642
+ workflowRule: {
4643
+ type: string;
4644
+ id: string;
4645
+ name: string;
4646
+ createdAt: Date;
4647
+ updatedAt: Date;
4648
+ deletedAt: Date | null;
4649
+ isActive: boolean;
4650
+ };
4651
+ cxlog?: {
4643
4652
  id: string;
4644
4653
  channel: string | null;
4645
4654
  direction: string | null;
@@ -4715,25 +4724,16 @@ export declare const platformWebchatContract: {
4715
4724
  startedAt: string;
4716
4725
  endedAt: string | null;
4717
4726
  duration: number | null;
4718
- holdLabel: {
4727
+ holdLabel?: {
4719
4728
  id: string;
4720
4729
  name: string;
4721
4730
  position: number;
4722
4731
  createdAt: Date;
4723
4732
  updatedAt: Date;
4724
4733
  deletedAt: Date | null;
4725
- };
4734
+ } | null | undefined;
4726
4735
  }[] | null | undefined;
4727
- };
4728
- workflowRule: {
4729
- type: string;
4730
- id: string;
4731
- name: string;
4732
- createdAt: Date;
4733
- updatedAt: Date;
4734
- deletedAt: Date | null;
4735
- isActive: boolean;
4736
- };
4736
+ } | null | undefined;
4737
4737
  automationQueueId?: string | null | undefined;
4738
4738
  }>;
4739
4739
  platformMessageId: z.ZodString;
@@ -7971,19 +7971,19 @@ export declare const platformWebchatContract: {
7971
7971
  integrationId: string;
7972
7972
  } | null;
7973
7973
  }>;
7974
- cxlog: z.ZodObject<{
7974
+ cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7975
7975
  id: z.ZodString;
7976
- channel: z.ZodNullable<z.ZodString>;
7977
- direction: z.ZodNullable<z.ZodString>;
7978
7976
  createdAt: z.ZodDate;
7979
7977
  updatedAt: z.ZodDate;
7980
7978
  deletedAt: z.ZodNullable<z.ZodDate>;
7981
- entityId: z.ZodString;
7982
- queueId: z.ZodNullable<z.ZodString>;
7983
- contactId: z.ZodNullable<z.ZodString>;
7984
7979
  caseId: z.ZodNumber;
7980
+ entityId: z.ZodString;
7985
7981
  entityName: z.ZodString;
7982
+ contactId: z.ZodNullable<z.ZodString>;
7983
+ channel: z.ZodNullable<z.ZodString>;
7984
+ queueId: z.ZodNullable<z.ZodString>;
7986
7985
  agentId: z.ZodNullable<z.ZodString>;
7986
+ direction: z.ZodNullable<z.ZodString>;
7987
7987
  startedDate: z.ZodNullable<z.ZodDate>;
7988
7988
  handledTime: z.ZodNullable<z.ZodNumber>;
7989
7989
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -8253,7 +8253,7 @@ export declare const platformWebchatContract: {
8253
8253
  dateValue: Date | null;
8254
8254
  }[] | null | undefined;
8255
8255
  }>>;
8256
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
8256
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
8257
8257
  id: z.ZodString;
8258
8258
  createdAt: z.ZodDate;
8259
8259
  updatedAt: z.ZodDate;
@@ -8261,7 +8261,7 @@ export declare const platformWebchatContract: {
8261
8261
  startedAt: z.ZodString;
8262
8262
  endedAt: z.ZodNullable<z.ZodString>;
8263
8263
  duration: z.ZodNullable<z.ZodNumber>;
8264
- holdLabel: z.ZodObject<{
8264
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8265
8265
  id: z.ZodString;
8266
8266
  createdAt: z.ZodDate;
8267
8267
  updatedAt: z.ZodDate;
@@ -8282,7 +8282,7 @@ export declare const platformWebchatContract: {
8282
8282
  createdAt: Date;
8283
8283
  updatedAt: Date;
8284
8284
  deletedAt: Date | null;
8285
- }>;
8285
+ }>>>;
8286
8286
  }, "strip", z.ZodTypeAny, {
8287
8287
  id: string;
8288
8288
  createdAt: Date;
@@ -8291,14 +8291,14 @@ export declare const platformWebchatContract: {
8291
8291
  startedAt: string;
8292
8292
  endedAt: string | null;
8293
8293
  duration: number | null;
8294
- holdLabel: {
8294
+ holdLabel?: {
8295
8295
  id: string;
8296
8296
  name: string;
8297
8297
  position: number;
8298
8298
  createdAt: Date;
8299
8299
  updatedAt: Date;
8300
8300
  deletedAt: Date | null;
8301
- };
8301
+ } | null | undefined;
8302
8302
  }, {
8303
8303
  id: string;
8304
8304
  createdAt: Date;
@@ -8307,14 +8307,14 @@ export declare const platformWebchatContract: {
8307
8307
  startedAt: string;
8308
8308
  endedAt: string | null;
8309
8309
  duration: number | null;
8310
- holdLabel: {
8310
+ holdLabel?: {
8311
8311
  id: string;
8312
8312
  name: string;
8313
8313
  position: number;
8314
8314
  createdAt: Date;
8315
8315
  updatedAt: Date;
8316
8316
  deletedAt: Date | null;
8317
- };
8317
+ } | null | undefined;
8318
8318
  }>, "many">>>;
8319
8319
  }, "strip", z.ZodTypeAny, {
8320
8320
  id: string;
@@ -8392,14 +8392,14 @@ export declare const platformWebchatContract: {
8392
8392
  startedAt: string;
8393
8393
  endedAt: string | null;
8394
8394
  duration: number | null;
8395
- holdLabel: {
8395
+ holdLabel?: {
8396
8396
  id: string;
8397
8397
  name: string;
8398
8398
  position: number;
8399
8399
  createdAt: Date;
8400
8400
  updatedAt: Date;
8401
8401
  deletedAt: Date | null;
8402
- };
8402
+ } | null | undefined;
8403
8403
  }[] | null | undefined;
8404
8404
  }, {
8405
8405
  id: string;
@@ -8477,16 +8477,16 @@ export declare const platformWebchatContract: {
8477
8477
  startedAt: string;
8478
8478
  endedAt: string | null;
8479
8479
  duration: number | null;
8480
- holdLabel: {
8480
+ holdLabel?: {
8481
8481
  id: string;
8482
8482
  name: string;
8483
8483
  position: number;
8484
8484
  createdAt: Date;
8485
8485
  updatedAt: Date;
8486
8486
  deletedAt: Date | null;
8487
- };
8487
+ } | null | undefined;
8488
8488
  }[] | null | undefined;
8489
- }>;
8489
+ }>>>;
8490
8490
  workflowRule: z.ZodObject<{
8491
8491
  id: z.ZodString;
8492
8492
  createdAt: z.ZodDate;
@@ -8835,7 +8835,16 @@ export declare const platformWebchatContract: {
8835
8835
  closedAt: Date;
8836
8836
  lastMessageAt: Date | null;
8837
8837
  isBotRoom: boolean;
8838
- cxlog: {
8838
+ workflowRule: {
8839
+ type: string;
8840
+ id: string;
8841
+ name: string;
8842
+ createdAt: Date;
8843
+ updatedAt: Date;
8844
+ deletedAt: Date | null;
8845
+ isActive: boolean;
8846
+ };
8847
+ cxlog?: {
8839
8848
  id: string;
8840
8849
  channel: string | null;
8841
8850
  direction: string | null;
@@ -8911,25 +8920,16 @@ export declare const platformWebchatContract: {
8911
8920
  startedAt: string;
8912
8921
  endedAt: string | null;
8913
8922
  duration: number | null;
8914
- holdLabel: {
8923
+ holdLabel?: {
8915
8924
  id: string;
8916
8925
  name: string;
8917
8926
  position: number;
8918
8927
  createdAt: Date;
8919
8928
  updatedAt: Date;
8920
8929
  deletedAt: Date | null;
8921
- };
8930
+ } | null | undefined;
8922
8931
  }[] | null | undefined;
8923
- };
8924
- workflowRule: {
8925
- type: string;
8926
- id: string;
8927
- name: string;
8928
- createdAt: Date;
8929
- updatedAt: Date;
8930
- deletedAt: Date | null;
8931
- isActive: boolean;
8932
- };
8932
+ } | null | undefined;
8933
8933
  automationQueueId?: string | null | undefined;
8934
8934
  }, {
8935
8935
  id: string;
@@ -9253,7 +9253,16 @@ export declare const platformWebchatContract: {
9253
9253
  closedAt: Date;
9254
9254
  lastMessageAt: Date | null;
9255
9255
  isBotRoom: boolean;
9256
- cxlog: {
9256
+ workflowRule: {
9257
+ type: string;
9258
+ id: string;
9259
+ name: string;
9260
+ createdAt: Date;
9261
+ updatedAt: Date;
9262
+ deletedAt: Date | null;
9263
+ isActive: boolean;
9264
+ };
9265
+ cxlog?: {
9257
9266
  id: string;
9258
9267
  channel: string | null;
9259
9268
  direction: string | null;
@@ -9329,25 +9338,16 @@ export declare const platformWebchatContract: {
9329
9338
  startedAt: string;
9330
9339
  endedAt: string | null;
9331
9340
  duration: number | null;
9332
- holdLabel: {
9341
+ holdLabel?: {
9333
9342
  id: string;
9334
9343
  name: string;
9335
9344
  position: number;
9336
9345
  createdAt: Date;
9337
9346
  updatedAt: Date;
9338
9347
  deletedAt: Date | null;
9339
- };
9348
+ } | null | undefined;
9340
9349
  }[] | null | undefined;
9341
- };
9342
- workflowRule: {
9343
- type: string;
9344
- id: string;
9345
- name: string;
9346
- createdAt: Date;
9347
- updatedAt: Date;
9348
- deletedAt: Date | null;
9349
- isActive: boolean;
9350
- };
9350
+ } | null | undefined;
9351
9351
  automationQueueId?: string | null | undefined;
9352
9352
  }>;
9353
9353
  upload: z.ZodObject<{
@@ -11444,7 +11444,16 @@ export declare const platformWebchatContract: {
11444
11444
  closedAt: Date;
11445
11445
  lastMessageAt: Date | null;
11446
11446
  isBotRoom: boolean;
11447
- cxlog: {
11447
+ workflowRule: {
11448
+ type: string;
11449
+ id: string;
11450
+ name: string;
11451
+ createdAt: Date;
11452
+ updatedAt: Date;
11453
+ deletedAt: Date | null;
11454
+ isActive: boolean;
11455
+ };
11456
+ cxlog?: {
11448
11457
  id: string;
11449
11458
  channel: string | null;
11450
11459
  direction: string | null;
@@ -11520,25 +11529,16 @@ export declare const platformWebchatContract: {
11520
11529
  startedAt: string;
11521
11530
  endedAt: string | null;
11522
11531
  duration: number | null;
11523
- holdLabel: {
11532
+ holdLabel?: {
11524
11533
  id: string;
11525
11534
  name: string;
11526
11535
  position: number;
11527
11536
  createdAt: Date;
11528
11537
  updatedAt: Date;
11529
11538
  deletedAt: Date | null;
11530
- };
11539
+ } | null | undefined;
11531
11540
  }[] | null | undefined;
11532
- };
11533
- workflowRule: {
11534
- type: string;
11535
- id: string;
11536
- name: string;
11537
- createdAt: Date;
11538
- updatedAt: Date;
11539
- deletedAt: Date | null;
11540
- isActive: boolean;
11541
- };
11541
+ } | null | undefined;
11542
11542
  automationQueueId?: string | null | undefined;
11543
11543
  };
11544
11544
  platformMessageId: string;
@@ -12199,7 +12199,16 @@ export declare const platformWebchatContract: {
12199
12199
  closedAt: Date;
12200
12200
  lastMessageAt: Date | null;
12201
12201
  isBotRoom: boolean;
12202
- cxlog: {
12202
+ workflowRule: {
12203
+ type: string;
12204
+ id: string;
12205
+ name: string;
12206
+ createdAt: Date;
12207
+ updatedAt: Date;
12208
+ deletedAt: Date | null;
12209
+ isActive: boolean;
12210
+ };
12211
+ cxlog?: {
12203
12212
  id: string;
12204
12213
  channel: string | null;
12205
12214
  direction: string | null;
@@ -12275,25 +12284,16 @@ export declare const platformWebchatContract: {
12275
12284
  startedAt: string;
12276
12285
  endedAt: string | null;
12277
12286
  duration: number | null;
12278
- holdLabel: {
12287
+ holdLabel?: {
12279
12288
  id: string;
12280
12289
  name: string;
12281
12290
  position: number;
12282
12291
  createdAt: Date;
12283
12292
  updatedAt: Date;
12284
12293
  deletedAt: Date | null;
12285
- };
12294
+ } | null | undefined;
12286
12295
  }[] | null | undefined;
12287
- };
12288
- workflowRule: {
12289
- type: string;
12290
- id: string;
12291
- name: string;
12292
- createdAt: Date;
12293
- updatedAt: Date;
12294
- deletedAt: Date | null;
12295
- isActive: boolean;
12296
- };
12296
+ } | null | undefined;
12297
12297
  automationQueueId?: string | null | undefined;
12298
12298
  };
12299
12299
  platformMessageId: string;
@@ -12955,7 +12955,16 @@ export declare const platformWebchatContract: {
12955
12955
  closedAt: Date;
12956
12956
  lastMessageAt: Date | null;
12957
12957
  isBotRoom: boolean;
12958
- cxlog: {
12958
+ workflowRule: {
12959
+ type: string;
12960
+ id: string;
12961
+ name: string;
12962
+ createdAt: Date;
12963
+ updatedAt: Date;
12964
+ deletedAt: Date | null;
12965
+ isActive: boolean;
12966
+ };
12967
+ cxlog?: {
12959
12968
  id: string;
12960
12969
  channel: string | null;
12961
12970
  direction: string | null;
@@ -13031,25 +13040,16 @@ export declare const platformWebchatContract: {
13031
13040
  startedAt: string;
13032
13041
  endedAt: string | null;
13033
13042
  duration: number | null;
13034
- holdLabel: {
13043
+ holdLabel?: {
13035
13044
  id: string;
13036
13045
  name: string;
13037
13046
  position: number;
13038
13047
  createdAt: Date;
13039
13048
  updatedAt: Date;
13040
13049
  deletedAt: Date | null;
13041
- };
13050
+ } | null | undefined;
13042
13051
  }[] | null | undefined;
13043
- };
13044
- workflowRule: {
13045
- type: string;
13046
- id: string;
13047
- name: string;
13048
- createdAt: Date;
13049
- updatedAt: Date;
13050
- deletedAt: Date | null;
13051
- isActive: boolean;
13052
- };
13052
+ } | null | undefined;
13053
13053
  automationQueueId?: string | null | undefined;
13054
13054
  };
13055
13055
  platformMessageId: string;
@@ -13710,7 +13710,16 @@ export declare const platformWebchatContract: {
13710
13710
  closedAt: Date;
13711
13711
  lastMessageAt: Date | null;
13712
13712
  isBotRoom: boolean;
13713
- cxlog: {
13713
+ workflowRule: {
13714
+ type: string;
13715
+ id: string;
13716
+ name: string;
13717
+ createdAt: Date;
13718
+ updatedAt: Date;
13719
+ deletedAt: Date | null;
13720
+ isActive: boolean;
13721
+ };
13722
+ cxlog?: {
13714
13723
  id: string;
13715
13724
  channel: string | null;
13716
13725
  direction: string | null;
@@ -13786,25 +13795,16 @@ export declare const platformWebchatContract: {
13786
13795
  startedAt: string;
13787
13796
  endedAt: string | null;
13788
13797
  duration: number | null;
13789
- holdLabel: {
13798
+ holdLabel?: {
13790
13799
  id: string;
13791
13800
  name: string;
13792
13801
  position: number;
13793
13802
  createdAt: Date;
13794
13803
  updatedAt: Date;
13795
13804
  deletedAt: Date | null;
13796
- };
13805
+ } | null | undefined;
13797
13806
  }[] | null | undefined;
13798
- };
13799
- workflowRule: {
13800
- type: string;
13801
- id: string;
13802
- name: string;
13803
- createdAt: Date;
13804
- updatedAt: Date;
13805
- deletedAt: Date | null;
13806
- isActive: boolean;
13807
- };
13807
+ } | null | undefined;
13808
13808
  automationQueueId?: string | null | undefined;
13809
13809
  };
13810
13810
  platformMessageId: string;
@@ -14466,7 +14466,16 @@ export declare const platformWebchatContract: {
14466
14466
  closedAt: Date;
14467
14467
  lastMessageAt: Date | null;
14468
14468
  isBotRoom: boolean;
14469
- cxlog: {
14469
+ workflowRule: {
14470
+ type: string;
14471
+ id: string;
14472
+ name: string;
14473
+ createdAt: Date;
14474
+ updatedAt: Date;
14475
+ deletedAt: Date | null;
14476
+ isActive: boolean;
14477
+ };
14478
+ cxlog?: {
14470
14479
  id: string;
14471
14480
  channel: string | null;
14472
14481
  direction: string | null;
@@ -14542,25 +14551,16 @@ export declare const platformWebchatContract: {
14542
14551
  startedAt: string;
14543
14552
  endedAt: string | null;
14544
14553
  duration: number | null;
14545
- holdLabel: {
14554
+ holdLabel?: {
14546
14555
  id: string;
14547
14556
  name: string;
14548
14557
  position: number;
14549
14558
  createdAt: Date;
14550
14559
  updatedAt: Date;
14551
14560
  deletedAt: Date | null;
14552
- };
14561
+ } | null | undefined;
14553
14562
  }[] | null | undefined;
14554
- };
14555
- workflowRule: {
14556
- type: string;
14557
- id: string;
14558
- name: string;
14559
- createdAt: Date;
14560
- updatedAt: Date;
14561
- deletedAt: Date | null;
14562
- isActive: boolean;
14563
- };
14563
+ } | null | undefined;
14564
14564
  automationQueueId?: string | null | undefined;
14565
14565
  };
14566
14566
  platformMessageId: string;
@@ -15221,7 +15221,16 @@ export declare const platformWebchatContract: {
15221
15221
  closedAt: Date;
15222
15222
  lastMessageAt: Date | null;
15223
15223
  isBotRoom: boolean;
15224
- cxlog: {
15224
+ workflowRule: {
15225
+ type: string;
15226
+ id: string;
15227
+ name: string;
15228
+ createdAt: Date;
15229
+ updatedAt: Date;
15230
+ deletedAt: Date | null;
15231
+ isActive: boolean;
15232
+ };
15233
+ cxlog?: {
15225
15234
  id: string;
15226
15235
  channel: string | null;
15227
15236
  direction: string | null;
@@ -15297,25 +15306,16 @@ export declare const platformWebchatContract: {
15297
15306
  startedAt: string;
15298
15307
  endedAt: string | null;
15299
15308
  duration: number | null;
15300
- holdLabel: {
15309
+ holdLabel?: {
15301
15310
  id: string;
15302
15311
  name: string;
15303
15312
  position: number;
15304
15313
  createdAt: Date;
15305
15314
  updatedAt: Date;
15306
15315
  deletedAt: Date | null;
15307
- };
15316
+ } | null | undefined;
15308
15317
  }[] | null | undefined;
15309
- };
15310
- workflowRule: {
15311
- type: string;
15312
- id: string;
15313
- name: string;
15314
- createdAt: Date;
15315
- updatedAt: Date;
15316
- deletedAt: Date | null;
15317
- isActive: boolean;
15318
- };
15318
+ } | null | undefined;
15319
15319
  automationQueueId?: string | null | undefined;
15320
15320
  };
15321
15321
  platformMessageId: string;
@@ -15979,7 +15979,16 @@ export declare const platformWebchatContract: {
15979
15979
  closedAt: Date;
15980
15980
  lastMessageAt: Date | null;
15981
15981
  isBotRoom: boolean;
15982
- cxlog: {
15982
+ workflowRule: {
15983
+ type: string;
15984
+ id: string;
15985
+ name: string;
15986
+ createdAt: Date;
15987
+ updatedAt: Date;
15988
+ deletedAt: Date | null;
15989
+ isActive: boolean;
15990
+ };
15991
+ cxlog?: {
15983
15992
  id: string;
15984
15993
  channel: string | null;
15985
15994
  direction: string | null;
@@ -16055,25 +16064,16 @@ export declare const platformWebchatContract: {
16055
16064
  startedAt: string;
16056
16065
  endedAt: string | null;
16057
16066
  duration: number | null;
16058
- holdLabel: {
16067
+ holdLabel?: {
16059
16068
  id: string;
16060
16069
  name: string;
16061
16070
  position: number;
16062
16071
  createdAt: Date;
16063
16072
  updatedAt: Date;
16064
16073
  deletedAt: Date | null;
16065
- };
16074
+ } | null | undefined;
16066
16075
  }[] | null | undefined;
16067
- };
16068
- workflowRule: {
16069
- type: string;
16070
- id: string;
16071
- name: string;
16072
- createdAt: Date;
16073
- updatedAt: Date;
16074
- deletedAt: Date | null;
16075
- isActive: boolean;
16076
- };
16076
+ } | null | undefined;
16077
16077
  automationQueueId?: string | null | undefined;
16078
16078
  };
16079
16079
  platformMessageId: string;
@@ -16734,7 +16734,16 @@ export declare const platformWebchatContract: {
16734
16734
  closedAt: Date;
16735
16735
  lastMessageAt: Date | null;
16736
16736
  isBotRoom: boolean;
16737
- cxlog: {
16737
+ workflowRule: {
16738
+ type: string;
16739
+ id: string;
16740
+ name: string;
16741
+ createdAt: Date;
16742
+ updatedAt: Date;
16743
+ deletedAt: Date | null;
16744
+ isActive: boolean;
16745
+ };
16746
+ cxlog?: {
16738
16747
  id: string;
16739
16748
  channel: string | null;
16740
16749
  direction: string | null;
@@ -16810,25 +16819,16 @@ export declare const platformWebchatContract: {
16810
16819
  startedAt: string;
16811
16820
  endedAt: string | null;
16812
16821
  duration: number | null;
16813
- holdLabel: {
16822
+ holdLabel?: {
16814
16823
  id: string;
16815
16824
  name: string;
16816
16825
  position: number;
16817
16826
  createdAt: Date;
16818
16827
  updatedAt: Date;
16819
16828
  deletedAt: Date | null;
16820
- };
16829
+ } | null | undefined;
16821
16830
  }[] | null | undefined;
16822
- };
16823
- workflowRule: {
16824
- type: string;
16825
- id: string;
16826
- name: string;
16827
- createdAt: Date;
16828
- updatedAt: Date;
16829
- deletedAt: Date | null;
16830
- isActive: boolean;
16831
- };
16831
+ } | null | undefined;
16832
16832
  automationQueueId?: string | null | undefined;
16833
16833
  };
16834
16834
  platformMessageId: string;
@@ -17493,7 +17493,16 @@ export declare const platformWebchatContract: {
17493
17493
  closedAt: Date;
17494
17494
  lastMessageAt: Date | null;
17495
17495
  isBotRoom: boolean;
17496
- cxlog: {
17496
+ workflowRule: {
17497
+ type: string;
17498
+ id: string;
17499
+ name: string;
17500
+ createdAt: Date;
17501
+ updatedAt: Date;
17502
+ deletedAt: Date | null;
17503
+ isActive: boolean;
17504
+ };
17505
+ cxlog?: {
17497
17506
  id: string;
17498
17507
  channel: string | null;
17499
17508
  direction: string | null;
@@ -17569,25 +17578,16 @@ export declare const platformWebchatContract: {
17569
17578
  startedAt: string;
17570
17579
  endedAt: string | null;
17571
17580
  duration: number | null;
17572
- holdLabel: {
17581
+ holdLabel?: {
17573
17582
  id: string;
17574
17583
  name: string;
17575
17584
  position: number;
17576
17585
  createdAt: Date;
17577
17586
  updatedAt: Date;
17578
17587
  deletedAt: Date | null;
17579
- };
17588
+ } | null | undefined;
17580
17589
  }[] | null | undefined;
17581
- };
17582
- workflowRule: {
17583
- type: string;
17584
- id: string;
17585
- name: string;
17586
- createdAt: Date;
17587
- updatedAt: Date;
17588
- deletedAt: Date | null;
17589
- isActive: boolean;
17590
- };
17590
+ } | null | undefined;
17591
17591
  automationQueueId?: string | null | undefined;
17592
17592
  };
17593
17593
  platformMessageId: string;
@@ -18248,7 +18248,16 @@ export declare const platformWebchatContract: {
18248
18248
  closedAt: Date;
18249
18249
  lastMessageAt: Date | null;
18250
18250
  isBotRoom: boolean;
18251
- cxlog: {
18251
+ workflowRule: {
18252
+ type: string;
18253
+ id: string;
18254
+ name: string;
18255
+ createdAt: Date;
18256
+ updatedAt: Date;
18257
+ deletedAt: Date | null;
18258
+ isActive: boolean;
18259
+ };
18260
+ cxlog?: {
18252
18261
  id: string;
18253
18262
  channel: string | null;
18254
18263
  direction: string | null;
@@ -18324,25 +18333,16 @@ export declare const platformWebchatContract: {
18324
18333
  startedAt: string;
18325
18334
  endedAt: string | null;
18326
18335
  duration: number | null;
18327
- holdLabel: {
18336
+ holdLabel?: {
18328
18337
  id: string;
18329
18338
  name: string;
18330
18339
  position: number;
18331
18340
  createdAt: Date;
18332
18341
  updatedAt: Date;
18333
18342
  deletedAt: Date | null;
18334
- };
18343
+ } | null | undefined;
18335
18344
  }[] | null | undefined;
18336
- };
18337
- workflowRule: {
18338
- type: string;
18339
- id: string;
18340
- name: string;
18341
- createdAt: Date;
18342
- updatedAt: Date;
18343
- deletedAt: Date | null;
18344
- isActive: boolean;
18345
- };
18345
+ } | null | undefined;
18346
18346
  automationQueueId?: string | null | undefined;
18347
18347
  };
18348
18348
  platformMessageId: string;