@kl1/contracts 1.2.26-uat → 1.2.28-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 (65) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +179 -0
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +12 -0
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +14 -0
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +3987 -298
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +1020 -129
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +608 -76
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/contract.d.ts +5414 -586
  14. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  15. package/dist/api-contracts/src/cx-log/index.d.ts +13 -0
  16. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  17. package/dist/api-contracts/src/cx-log/schema.d.ts +11 -0
  18. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  19. package/dist/api-contracts/src/dashboard/index.d.ts +4 -4
  20. package/dist/api-contracts/src/dashboard/schema.d.ts +2 -2
  21. package/dist/api-contracts/src/facebook-feed/index.d.ts +624 -58
  22. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  23. package/dist/api-contracts/src/facebook-feed/schema.d.ts +12 -3
  24. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  25. package/dist/api-contracts/src/facebook-feed/validation.d.ts +7 -0
  26. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  27. package/dist/api-contracts/src/hold-label/index.d.ts +133 -2
  28. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/hold-label/schema.d.ts +25 -0
  30. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  31. package/dist/api-contracts/src/hold-label/validation.d.ts +10 -0
  32. package/dist/api-contracts/src/hold-label/validation.d.ts.map +1 -1
  33. package/dist/api-contracts/src/index.d.ts +1 -0
  34. package/dist/api-contracts/src/index.d.ts.map +1 -1
  35. package/dist/api-contracts/src/instagram/index.d.ts +585 -48
  36. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  37. package/dist/api-contracts/src/line/index.d.ts +578 -53
  38. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  39. package/dist/api-contracts/src/line/validation.d.ts +16 -5
  40. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  41. package/dist/api-contracts/src/messenger/index.d.ts +585 -48
  42. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  43. package/dist/api-contracts/src/messenger/validation.d.ts +7 -0
  44. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  45. package/dist/api-contracts/src/sms/index.d.ts +85 -11
  46. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  47. package/dist/api-contracts/src/sms/schema.d.ts +22 -0
  48. package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
  49. package/dist/api-contracts/src/telegram/index.d.ts +555 -48
  50. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  51. package/dist/api-contracts/src/viber/index.d.ts +555 -48
  52. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/webchat/index.d.ts +1582 -56
  54. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  55. package/dist/api-contracts/src/whatsapp/index.d.ts +569 -48
  56. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  57. package/dist/api-contracts/src/workflow-rule/index.d.ts +362 -10
  58. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  59. package/dist/entities/src/enums/chat.d.ts +3 -0
  60. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  61. package/dist/index.js +4383 -4287
  62. package/dist/index.js.map +1 -1
  63. package/dist/index.mjs +4382 -4287
  64. package/dist/index.mjs.map +1 -1
  65. package/package.json +1 -1
@@ -6,7 +6,7 @@ export declare const MessageDirectionTypeSchema: z.ZodEnum<["incoming", "outgoin
6
6
  /**
7
7
  * Message Type Enum
8
8
  */
9
- export declare const MessageTypeSchema: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
9
+ export declare const MessageTypeSchema: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
10
10
  export declare const FeedPostTypeSchema: z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>;
11
11
  /**
12
12
  * Message Type Enum
@@ -2578,6 +2578,7 @@ export declare const RoomSchema: z.ZodObject<{
2578
2578
  channelId: z.ZodOptional<z.ZodString>;
2579
2579
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2580
2580
  apiKey: z.ZodOptional<z.ZodString>;
2581
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2581
2582
  }, "strip", z.ZodTypeAny, {
2582
2583
  email: string;
2583
2584
  wabaExternalId: string;
@@ -2587,6 +2588,7 @@ export declare const RoomSchema: z.ZodObject<{
2587
2588
  channelId?: string | undefined;
2588
2589
  status?: "active" | "pending" | undefined;
2589
2590
  apiKey?: string | undefined;
2591
+ tier?: "basic" | "regular" | "premium" | undefined;
2590
2592
  }, {
2591
2593
  email: string;
2592
2594
  wabaExternalId: string;
@@ -2596,6 +2598,7 @@ export declare const RoomSchema: z.ZodObject<{
2596
2598
  channelId?: string | undefined;
2597
2599
  status?: "active" | "pending" | undefined;
2598
2600
  apiKey?: string | undefined;
2601
+ tier?: "basic" | "regular" | "premium" | undefined;
2599
2602
  }>>;
2600
2603
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2601
2604
  mobileNumber: z.ZodString;
@@ -2628,6 +2631,7 @@ export declare const RoomSchema: z.ZodObject<{
2628
2631
  channelId?: string | undefined;
2629
2632
  status?: "active" | "pending" | undefined;
2630
2633
  apiKey?: string | undefined;
2634
+ tier?: "basic" | "regular" | "premium" | undefined;
2631
2635
  } | undefined;
2632
2636
  vonageCredentials?: {
2633
2637
  apiKey: string;
@@ -2652,6 +2656,7 @@ export declare const RoomSchema: z.ZodObject<{
2652
2656
  channelId?: string | undefined;
2653
2657
  status?: "active" | "pending" | undefined;
2654
2658
  apiKey?: string | undefined;
2659
+ tier?: "basic" | "regular" | "premium" | undefined;
2655
2660
  } | undefined;
2656
2661
  vonageCredentials?: {
2657
2662
  apiKey: string;
@@ -2910,6 +2915,7 @@ export declare const RoomSchema: z.ZodObject<{
2910
2915
  channelId?: string | undefined;
2911
2916
  status?: "active" | "pending" | undefined;
2912
2917
  apiKey?: string | undefined;
2918
+ tier?: "basic" | "regular" | "premium" | undefined;
2913
2919
  } | undefined;
2914
2920
  vonageCredentials?: {
2915
2921
  apiKey: string;
@@ -2999,6 +3005,7 @@ export declare const RoomSchema: z.ZodObject<{
2999
3005
  channelId?: string | undefined;
3000
3006
  status?: "active" | "pending" | undefined;
3001
3007
  apiKey?: string | undefined;
3008
+ tier?: "basic" | "regular" | "premium" | undefined;
3002
3009
  } | undefined;
3003
3010
  vonageCredentials?: {
3004
3011
  apiKey: string;
@@ -3071,17 +3078,17 @@ export declare const RoomSchema: z.ZodObject<{
3071
3078
  }>;
3072
3079
  cxlog: z.ZodObject<{
3073
3080
  id: z.ZodString;
3081
+ channel: z.ZodNullable<z.ZodString>;
3082
+ direction: z.ZodNullable<z.ZodString>;
3074
3083
  createdAt: z.ZodDate;
3075
3084
  updatedAt: z.ZodDate;
3076
3085
  deletedAt: z.ZodNullable<z.ZodDate>;
3077
- caseId: z.ZodNumber;
3078
3086
  entityId: z.ZodString;
3079
- entityName: z.ZodString;
3080
- contactId: z.ZodNullable<z.ZodString>;
3081
- channel: z.ZodNullable<z.ZodString>;
3082
3087
  queueId: z.ZodNullable<z.ZodString>;
3088
+ contactId: z.ZodNullable<z.ZodString>;
3089
+ caseId: z.ZodNumber;
3090
+ entityName: z.ZodString;
3083
3091
  agentId: z.ZodNullable<z.ZodString>;
3084
- direction: z.ZodNullable<z.ZodString>;
3085
3092
  startedDate: z.ZodNullable<z.ZodDate>;
3086
3093
  handledTime: z.ZodNullable<z.ZodNumber>;
3087
3094
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -3351,6 +3358,69 @@ export declare const RoomSchema: z.ZodObject<{
3351
3358
  dateValue: Date | null;
3352
3359
  }[] | null | undefined;
3353
3360
  }>>;
3361
+ holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3362
+ id: z.ZodString;
3363
+ createdAt: z.ZodDate;
3364
+ updatedAt: z.ZodDate;
3365
+ deletedAt: z.ZodNullable<z.ZodDate>;
3366
+ startedAt: z.ZodString;
3367
+ endedAt: z.ZodNullable<z.ZodString>;
3368
+ duration: z.ZodNullable<z.ZodNumber>;
3369
+ holdLabel: z.ZodObject<{
3370
+ id: z.ZodString;
3371
+ createdAt: z.ZodDate;
3372
+ updatedAt: z.ZodDate;
3373
+ deletedAt: z.ZodNullable<z.ZodDate>;
3374
+ name: z.ZodString;
3375
+ position: z.ZodNumber;
3376
+ }, "strip", z.ZodTypeAny, {
3377
+ name: string;
3378
+ id: string;
3379
+ position: number;
3380
+ createdAt: Date;
3381
+ updatedAt: Date;
3382
+ deletedAt: Date | null;
3383
+ }, {
3384
+ name: string;
3385
+ id: string;
3386
+ position: number;
3387
+ createdAt: Date;
3388
+ updatedAt: Date;
3389
+ deletedAt: Date | null;
3390
+ }>;
3391
+ }, "strip", z.ZodTypeAny, {
3392
+ id: string;
3393
+ createdAt: Date;
3394
+ updatedAt: Date;
3395
+ deletedAt: Date | null;
3396
+ startedAt: string;
3397
+ endedAt: string | null;
3398
+ duration: number | null;
3399
+ holdLabel: {
3400
+ name: string;
3401
+ id: string;
3402
+ position: number;
3403
+ createdAt: Date;
3404
+ updatedAt: Date;
3405
+ deletedAt: Date | null;
3406
+ };
3407
+ }, {
3408
+ id: string;
3409
+ createdAt: Date;
3410
+ updatedAt: Date;
3411
+ deletedAt: Date | null;
3412
+ startedAt: string;
3413
+ endedAt: string | null;
3414
+ duration: number | null;
3415
+ holdLabel: {
3416
+ name: string;
3417
+ id: string;
3418
+ position: number;
3419
+ createdAt: Date;
3420
+ updatedAt: Date;
3421
+ deletedAt: Date | null;
3422
+ };
3423
+ }>, "many">>>;
3354
3424
  }, "strip", z.ZodTypeAny, {
3355
3425
  id: string;
3356
3426
  channel: string | null;
@@ -3419,6 +3489,23 @@ export declare const RoomSchema: z.ZodObject<{
3419
3489
  dateValue: Date | null;
3420
3490
  }[] | null | undefined;
3421
3491
  } | null;
3492
+ holdLogs?: {
3493
+ id: string;
3494
+ createdAt: Date;
3495
+ updatedAt: Date;
3496
+ deletedAt: Date | null;
3497
+ startedAt: string;
3498
+ endedAt: string | null;
3499
+ duration: number | null;
3500
+ holdLabel: {
3501
+ name: string;
3502
+ id: string;
3503
+ position: number;
3504
+ createdAt: Date;
3505
+ updatedAt: Date;
3506
+ deletedAt: Date | null;
3507
+ };
3508
+ }[] | null | undefined;
3422
3509
  }, {
3423
3510
  id: string;
3424
3511
  channel: string | null;
@@ -3487,6 +3574,23 @@ export declare const RoomSchema: z.ZodObject<{
3487
3574
  dateValue: Date | null;
3488
3575
  }[] | null | undefined;
3489
3576
  } | null;
3577
+ holdLogs?: {
3578
+ id: string;
3579
+ createdAt: Date;
3580
+ updatedAt: Date;
3581
+ deletedAt: Date | null;
3582
+ startedAt: string;
3583
+ endedAt: string | null;
3584
+ duration: number | null;
3585
+ holdLabel: {
3586
+ name: string;
3587
+ id: string;
3588
+ position: number;
3589
+ createdAt: Date;
3590
+ updatedAt: Date;
3591
+ deletedAt: Date | null;
3592
+ };
3593
+ }[] | null | undefined;
3490
3594
  }>;
3491
3595
  workflowRule: z.ZodObject<{
3492
3596
  id: z.ZodString;
@@ -3536,6 +3640,7 @@ export declare const RoomSchema: z.ZodObject<{
3536
3640
  channelId?: string | undefined;
3537
3641
  status?: "active" | "pending" | undefined;
3538
3642
  apiKey?: string | undefined;
3643
+ tier?: "basic" | "regular" | "premium" | undefined;
3539
3644
  } | undefined;
3540
3645
  vonageCredentials?: {
3541
3646
  apiKey: string;
@@ -3903,6 +4008,23 @@ export declare const RoomSchema: z.ZodObject<{
3903
4008
  dateValue: Date | null;
3904
4009
  }[] | null | undefined;
3905
4010
  } | null;
4011
+ holdLogs?: {
4012
+ id: string;
4013
+ createdAt: Date;
4014
+ updatedAt: Date;
4015
+ deletedAt: Date | null;
4016
+ startedAt: string;
4017
+ endedAt: string | null;
4018
+ duration: number | null;
4019
+ holdLabel: {
4020
+ name: string;
4021
+ id: string;
4022
+ position: number;
4023
+ createdAt: Date;
4024
+ updatedAt: Date;
4025
+ deletedAt: Date | null;
4026
+ };
4027
+ }[] | null | undefined;
3906
4028
  };
3907
4029
  workflowRule: {
3908
4030
  name: string;
@@ -3936,6 +4058,7 @@ export declare const RoomSchema: z.ZodObject<{
3936
4058
  channelId?: string | undefined;
3937
4059
  status?: "active" | "pending" | undefined;
3938
4060
  apiKey?: string | undefined;
4061
+ tier?: "basic" | "regular" | "premium" | undefined;
3939
4062
  } | undefined;
3940
4063
  vonageCredentials?: {
3941
4064
  apiKey: string;
@@ -4303,6 +4426,23 @@ export declare const RoomSchema: z.ZodObject<{
4303
4426
  dateValue: Date | null;
4304
4427
  }[] | null | undefined;
4305
4428
  } | null;
4429
+ holdLogs?: {
4430
+ id: string;
4431
+ createdAt: Date;
4432
+ updatedAt: Date;
4433
+ deletedAt: Date | null;
4434
+ startedAt: string;
4435
+ endedAt: string | null;
4436
+ duration: number | null;
4437
+ holdLabel: {
4438
+ name: string;
4439
+ id: string;
4440
+ position: number;
4441
+ createdAt: Date;
4442
+ updatedAt: Date;
4443
+ deletedAt: Date | null;
4444
+ };
4445
+ }[] | null | undefined;
4306
4446
  };
4307
4447
  workflowRule: {
4308
4448
  name: string;
@@ -4325,7 +4465,7 @@ export declare const MessageSchema: z.ZodObject<{
4325
4465
  deletedAt: z.ZodNullable<z.ZodDate>;
4326
4466
  message: z.ZodString;
4327
4467
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4328
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
4468
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
4329
4469
  readAt: z.ZodDate;
4330
4470
  metadata: z.ZodAny;
4331
4471
  platformId: z.ZodString;
@@ -5830,6 +5970,7 @@ export declare const MessageSchema: z.ZodObject<{
5830
5970
  channelId: z.ZodOptional<z.ZodString>;
5831
5971
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
5832
5972
  apiKey: z.ZodOptional<z.ZodString>;
5973
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
5833
5974
  }, "strip", z.ZodTypeAny, {
5834
5975
  email: string;
5835
5976
  wabaExternalId: string;
@@ -5839,6 +5980,7 @@ export declare const MessageSchema: z.ZodObject<{
5839
5980
  channelId?: string | undefined;
5840
5981
  status?: "active" | "pending" | undefined;
5841
5982
  apiKey?: string | undefined;
5983
+ tier?: "basic" | "regular" | "premium" | undefined;
5842
5984
  }, {
5843
5985
  email: string;
5844
5986
  wabaExternalId: string;
@@ -5848,6 +5990,7 @@ export declare const MessageSchema: z.ZodObject<{
5848
5990
  channelId?: string | undefined;
5849
5991
  status?: "active" | "pending" | undefined;
5850
5992
  apiKey?: string | undefined;
5993
+ tier?: "basic" | "regular" | "premium" | undefined;
5851
5994
  }>>;
5852
5995
  vonageCredentials: z.ZodOptional<z.ZodObject<{
5853
5996
  mobileNumber: z.ZodString;
@@ -5880,6 +6023,7 @@ export declare const MessageSchema: z.ZodObject<{
5880
6023
  channelId?: string | undefined;
5881
6024
  status?: "active" | "pending" | undefined;
5882
6025
  apiKey?: string | undefined;
6026
+ tier?: "basic" | "regular" | "premium" | undefined;
5883
6027
  } | undefined;
5884
6028
  vonageCredentials?: {
5885
6029
  apiKey: string;
@@ -5904,6 +6048,7 @@ export declare const MessageSchema: z.ZodObject<{
5904
6048
  channelId?: string | undefined;
5905
6049
  status?: "active" | "pending" | undefined;
5906
6050
  apiKey?: string | undefined;
6051
+ tier?: "basic" | "regular" | "premium" | undefined;
5907
6052
  } | undefined;
5908
6053
  vonageCredentials?: {
5909
6054
  apiKey: string;
@@ -6162,6 +6307,7 @@ export declare const MessageSchema: z.ZodObject<{
6162
6307
  channelId?: string | undefined;
6163
6308
  status?: "active" | "pending" | undefined;
6164
6309
  apiKey?: string | undefined;
6310
+ tier?: "basic" | "regular" | "premium" | undefined;
6165
6311
  } | undefined;
6166
6312
  vonageCredentials?: {
6167
6313
  apiKey: string;
@@ -6251,6 +6397,7 @@ export declare const MessageSchema: z.ZodObject<{
6251
6397
  channelId?: string | undefined;
6252
6398
  status?: "active" | "pending" | undefined;
6253
6399
  apiKey?: string | undefined;
6400
+ tier?: "basic" | "regular" | "premium" | undefined;
6254
6401
  } | undefined;
6255
6402
  vonageCredentials?: {
6256
6403
  apiKey: string;
@@ -6323,17 +6470,17 @@ export declare const MessageSchema: z.ZodObject<{
6323
6470
  }>;
6324
6471
  cxlog: z.ZodObject<{
6325
6472
  id: z.ZodString;
6473
+ channel: z.ZodNullable<z.ZodString>;
6474
+ direction: z.ZodNullable<z.ZodString>;
6326
6475
  createdAt: z.ZodDate;
6327
6476
  updatedAt: z.ZodDate;
6328
6477
  deletedAt: z.ZodNullable<z.ZodDate>;
6329
- caseId: z.ZodNumber;
6330
6478
  entityId: z.ZodString;
6331
- entityName: z.ZodString;
6332
- contactId: z.ZodNullable<z.ZodString>;
6333
- channel: z.ZodNullable<z.ZodString>;
6334
6479
  queueId: z.ZodNullable<z.ZodString>;
6480
+ contactId: z.ZodNullable<z.ZodString>;
6481
+ caseId: z.ZodNumber;
6482
+ entityName: z.ZodString;
6335
6483
  agentId: z.ZodNullable<z.ZodString>;
6336
- direction: z.ZodNullable<z.ZodString>;
6337
6484
  startedDate: z.ZodNullable<z.ZodDate>;
6338
6485
  handledTime: z.ZodNullable<z.ZodNumber>;
6339
6486
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -6603,6 +6750,69 @@ export declare const MessageSchema: z.ZodObject<{
6603
6750
  dateValue: Date | null;
6604
6751
  }[] | null | undefined;
6605
6752
  }>>;
6753
+ holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
6754
+ id: z.ZodString;
6755
+ createdAt: z.ZodDate;
6756
+ updatedAt: z.ZodDate;
6757
+ deletedAt: z.ZodNullable<z.ZodDate>;
6758
+ startedAt: z.ZodString;
6759
+ endedAt: z.ZodNullable<z.ZodString>;
6760
+ duration: z.ZodNullable<z.ZodNumber>;
6761
+ holdLabel: z.ZodObject<{
6762
+ id: z.ZodString;
6763
+ createdAt: z.ZodDate;
6764
+ updatedAt: z.ZodDate;
6765
+ deletedAt: z.ZodNullable<z.ZodDate>;
6766
+ name: z.ZodString;
6767
+ position: z.ZodNumber;
6768
+ }, "strip", z.ZodTypeAny, {
6769
+ name: string;
6770
+ id: string;
6771
+ position: number;
6772
+ createdAt: Date;
6773
+ updatedAt: Date;
6774
+ deletedAt: Date | null;
6775
+ }, {
6776
+ name: string;
6777
+ id: string;
6778
+ position: number;
6779
+ createdAt: Date;
6780
+ updatedAt: Date;
6781
+ deletedAt: Date | null;
6782
+ }>;
6783
+ }, "strip", z.ZodTypeAny, {
6784
+ id: string;
6785
+ createdAt: Date;
6786
+ updatedAt: Date;
6787
+ deletedAt: Date | null;
6788
+ startedAt: string;
6789
+ endedAt: string | null;
6790
+ duration: number | null;
6791
+ holdLabel: {
6792
+ name: string;
6793
+ id: string;
6794
+ position: number;
6795
+ createdAt: Date;
6796
+ updatedAt: Date;
6797
+ deletedAt: Date | null;
6798
+ };
6799
+ }, {
6800
+ id: string;
6801
+ createdAt: Date;
6802
+ updatedAt: Date;
6803
+ deletedAt: Date | null;
6804
+ startedAt: string;
6805
+ endedAt: string | null;
6806
+ duration: number | null;
6807
+ holdLabel: {
6808
+ name: string;
6809
+ id: string;
6810
+ position: number;
6811
+ createdAt: Date;
6812
+ updatedAt: Date;
6813
+ deletedAt: Date | null;
6814
+ };
6815
+ }>, "many">>>;
6606
6816
  }, "strip", z.ZodTypeAny, {
6607
6817
  id: string;
6608
6818
  channel: string | null;
@@ -6671,6 +6881,23 @@ export declare const MessageSchema: z.ZodObject<{
6671
6881
  dateValue: Date | null;
6672
6882
  }[] | null | undefined;
6673
6883
  } | null;
6884
+ holdLogs?: {
6885
+ id: string;
6886
+ createdAt: Date;
6887
+ updatedAt: Date;
6888
+ deletedAt: Date | null;
6889
+ startedAt: string;
6890
+ endedAt: string | null;
6891
+ duration: number | null;
6892
+ holdLabel: {
6893
+ name: string;
6894
+ id: string;
6895
+ position: number;
6896
+ createdAt: Date;
6897
+ updatedAt: Date;
6898
+ deletedAt: Date | null;
6899
+ };
6900
+ }[] | null | undefined;
6674
6901
  }, {
6675
6902
  id: string;
6676
6903
  channel: string | null;
@@ -6739,6 +6966,23 @@ export declare const MessageSchema: z.ZodObject<{
6739
6966
  dateValue: Date | null;
6740
6967
  }[] | null | undefined;
6741
6968
  } | null;
6969
+ holdLogs?: {
6970
+ id: string;
6971
+ createdAt: Date;
6972
+ updatedAt: Date;
6973
+ deletedAt: Date | null;
6974
+ startedAt: string;
6975
+ endedAt: string | null;
6976
+ duration: number | null;
6977
+ holdLabel: {
6978
+ name: string;
6979
+ id: string;
6980
+ position: number;
6981
+ createdAt: Date;
6982
+ updatedAt: Date;
6983
+ deletedAt: Date | null;
6984
+ };
6985
+ }[] | null | undefined;
6742
6986
  }>;
6743
6987
  workflowRule: z.ZodObject<{
6744
6988
  id: z.ZodString;
@@ -6788,6 +7032,7 @@ export declare const MessageSchema: z.ZodObject<{
6788
7032
  channelId?: string | undefined;
6789
7033
  status?: "active" | "pending" | undefined;
6790
7034
  apiKey?: string | undefined;
7035
+ tier?: "basic" | "regular" | "premium" | undefined;
6791
7036
  } | undefined;
6792
7037
  vonageCredentials?: {
6793
7038
  apiKey: string;
@@ -7155,6 +7400,23 @@ export declare const MessageSchema: z.ZodObject<{
7155
7400
  dateValue: Date | null;
7156
7401
  }[] | null | undefined;
7157
7402
  } | null;
7403
+ holdLogs?: {
7404
+ id: string;
7405
+ createdAt: Date;
7406
+ updatedAt: Date;
7407
+ deletedAt: Date | null;
7408
+ startedAt: string;
7409
+ endedAt: string | null;
7410
+ duration: number | null;
7411
+ holdLabel: {
7412
+ name: string;
7413
+ id: string;
7414
+ position: number;
7415
+ createdAt: Date;
7416
+ updatedAt: Date;
7417
+ deletedAt: Date | null;
7418
+ };
7419
+ }[] | null | undefined;
7158
7420
  };
7159
7421
  workflowRule: {
7160
7422
  name: string;
@@ -7188,6 +7450,7 @@ export declare const MessageSchema: z.ZodObject<{
7188
7450
  channelId?: string | undefined;
7189
7451
  status?: "active" | "pending" | undefined;
7190
7452
  apiKey?: string | undefined;
7453
+ tier?: "basic" | "regular" | "premium" | undefined;
7191
7454
  } | undefined;
7192
7455
  vonageCredentials?: {
7193
7456
  apiKey: string;
@@ -7555,6 +7818,23 @@ export declare const MessageSchema: z.ZodObject<{
7555
7818
  dateValue: Date | null;
7556
7819
  }[] | null | undefined;
7557
7820
  } | null;
7821
+ holdLogs?: {
7822
+ id: string;
7823
+ createdAt: Date;
7824
+ updatedAt: Date;
7825
+ deletedAt: Date | null;
7826
+ startedAt: string;
7827
+ endedAt: string | null;
7828
+ duration: number | null;
7829
+ holdLabel: {
7830
+ name: string;
7831
+ id: string;
7832
+ position: number;
7833
+ createdAt: Date;
7834
+ updatedAt: Date;
7835
+ deletedAt: Date | null;
7836
+ };
7837
+ }[] | null | undefined;
7558
7838
  };
7559
7839
  workflowRule: {
7560
7840
  name: string;
@@ -7608,7 +7888,7 @@ export declare const MessageSchema: z.ZodObject<{
7608
7888
  deletedAt: z.ZodNullable<z.ZodDate>;
7609
7889
  message: z.ZodString;
7610
7890
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7611
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
7891
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
7612
7892
  readAt: z.ZodDate;
7613
7893
  metadata: z.ZodAny;
7614
7894
  platformId: z.ZodString;
@@ -8266,7 +8546,7 @@ export declare const MessageSchema: z.ZodObject<{
8266
8546
  };
8267
8547
  }>;
8268
8548
  }, "strip", z.ZodTypeAny, {
8269
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
8549
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
8270
8550
  message: string;
8271
8551
  id: string;
8272
8552
  url: string;
@@ -8428,7 +8708,7 @@ export declare const MessageSchema: z.ZodObject<{
8428
8708
  metadata?: any;
8429
8709
  template?: any;
8430
8710
  }, {
8431
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
8711
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
8432
8712
  message: string;
8433
8713
  id: string;
8434
8714
  url: string;
@@ -9230,7 +9510,7 @@ export declare const MessageSchema: z.ZodObject<{
9230
9510
  editedMessageid: z.ZodString;
9231
9511
  label: z.ZodOptional<z.ZodString>;
9232
9512
  }, "strip", z.ZodTypeAny, {
9233
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
9513
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
9234
9514
  message: string;
9235
9515
  id: string;
9236
9516
  url: string;
@@ -9361,6 +9641,7 @@ export declare const MessageSchema: z.ZodObject<{
9361
9641
  channelId?: string | undefined;
9362
9642
  status?: "active" | "pending" | undefined;
9363
9643
  apiKey?: string | undefined;
9644
+ tier?: "basic" | "regular" | "premium" | undefined;
9364
9645
  } | undefined;
9365
9646
  vonageCredentials?: {
9366
9647
  apiKey: string;
@@ -9728,6 +10009,23 @@ export declare const MessageSchema: z.ZodObject<{
9728
10009
  dateValue: Date | null;
9729
10010
  }[] | null | undefined;
9730
10011
  } | null;
10012
+ holdLogs?: {
10013
+ id: string;
10014
+ createdAt: Date;
10015
+ updatedAt: Date;
10016
+ deletedAt: Date | null;
10017
+ startedAt: string;
10018
+ endedAt: string | null;
10019
+ duration: number | null;
10020
+ holdLabel: {
10021
+ name: string;
10022
+ id: string;
10023
+ position: number;
10024
+ createdAt: Date;
10025
+ updatedAt: Date;
10026
+ deletedAt: Date | null;
10027
+ };
10028
+ }[] | null | undefined;
9731
10029
  };
9732
10030
  workflowRule: {
9733
10031
  name: string;
@@ -9756,7 +10054,7 @@ export declare const MessageSchema: z.ZodObject<{
9756
10054
  previewUrl: string;
9757
10055
  imageSetId: string;
9758
10056
  repliedMessage: {
9759
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
10057
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
9760
10058
  message: string;
9761
10059
  id: string;
9762
10060
  url: string;
@@ -9967,7 +10265,7 @@ export declare const MessageSchema: z.ZodObject<{
9967
10265
  template?: any;
9968
10266
  label?: string | undefined;
9969
10267
  }, {
9970
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
10268
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
9971
10269
  message: string;
9972
10270
  id: string;
9973
10271
  url: string;
@@ -10098,6 +10396,7 @@ export declare const MessageSchema: z.ZodObject<{
10098
10396
  channelId?: string | undefined;
10099
10397
  status?: "active" | "pending" | undefined;
10100
10398
  apiKey?: string | undefined;
10399
+ tier?: "basic" | "regular" | "premium" | undefined;
10101
10400
  } | undefined;
10102
10401
  vonageCredentials?: {
10103
10402
  apiKey: string;
@@ -10465,6 +10764,23 @@ export declare const MessageSchema: z.ZodObject<{
10465
10764
  dateValue: Date | null;
10466
10765
  }[] | null | undefined;
10467
10766
  } | null;
10767
+ holdLogs?: {
10768
+ id: string;
10769
+ createdAt: Date;
10770
+ updatedAt: Date;
10771
+ deletedAt: Date | null;
10772
+ startedAt: string;
10773
+ endedAt: string | null;
10774
+ duration: number | null;
10775
+ holdLabel: {
10776
+ name: string;
10777
+ id: string;
10778
+ position: number;
10779
+ createdAt: Date;
10780
+ updatedAt: Date;
10781
+ deletedAt: Date | null;
10782
+ };
10783
+ }[] | null | undefined;
10468
10784
  };
10469
10785
  workflowRule: {
10470
10786
  name: string;
@@ -10493,7 +10809,7 @@ export declare const MessageSchema: z.ZodObject<{
10493
10809
  previewUrl: string;
10494
10810
  imageSetId: string;
10495
10811
  repliedMessage: {
10496
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
10812
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10497
10813
  message: string;
10498
10814
  id: string;
10499
10815
  url: string;
@@ -10705,7 +11021,7 @@ export declare const MessageSchema: z.ZodObject<{
10705
11021
  label?: string | undefined;
10706
11022
  }>;
10707
11023
  export declare const MessageWithFeedPostSchema: z.ZodObject<{
10708
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
11024
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
10709
11025
  message: z.ZodString;
10710
11026
  id: z.ZodString;
10711
11027
  url: z.ZodString;
@@ -12653,6 +12969,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12653
12969
  channelId: z.ZodOptional<z.ZodString>;
12654
12970
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
12655
12971
  apiKey: z.ZodOptional<z.ZodString>;
12972
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
12656
12973
  }, "strip", z.ZodTypeAny, {
12657
12974
  email: string;
12658
12975
  wabaExternalId: string;
@@ -12662,6 +12979,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12662
12979
  channelId?: string | undefined;
12663
12980
  status?: "active" | "pending" | undefined;
12664
12981
  apiKey?: string | undefined;
12982
+ tier?: "basic" | "regular" | "premium" | undefined;
12665
12983
  }, {
12666
12984
  email: string;
12667
12985
  wabaExternalId: string;
@@ -12671,6 +12989,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12671
12989
  channelId?: string | undefined;
12672
12990
  status?: "active" | "pending" | undefined;
12673
12991
  apiKey?: string | undefined;
12992
+ tier?: "basic" | "regular" | "premium" | undefined;
12674
12993
  }>>;
12675
12994
  vonageCredentials: z.ZodOptional<z.ZodObject<{
12676
12995
  mobileNumber: z.ZodString;
@@ -12703,6 +13022,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12703
13022
  channelId?: string | undefined;
12704
13023
  status?: "active" | "pending" | undefined;
12705
13024
  apiKey?: string | undefined;
13025
+ tier?: "basic" | "regular" | "premium" | undefined;
12706
13026
  } | undefined;
12707
13027
  vonageCredentials?: {
12708
13028
  apiKey: string;
@@ -12727,6 +13047,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12727
13047
  channelId?: string | undefined;
12728
13048
  status?: "active" | "pending" | undefined;
12729
13049
  apiKey?: string | undefined;
13050
+ tier?: "basic" | "regular" | "premium" | undefined;
12730
13051
  } | undefined;
12731
13052
  vonageCredentials?: {
12732
13053
  apiKey: string;
@@ -12985,6 +13306,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12985
13306
  channelId?: string | undefined;
12986
13307
  status?: "active" | "pending" | undefined;
12987
13308
  apiKey?: string | undefined;
13309
+ tier?: "basic" | "regular" | "premium" | undefined;
12988
13310
  } | undefined;
12989
13311
  vonageCredentials?: {
12990
13312
  apiKey: string;
@@ -13074,6 +13396,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13074
13396
  channelId?: string | undefined;
13075
13397
  status?: "active" | "pending" | undefined;
13076
13398
  apiKey?: string | undefined;
13399
+ tier?: "basic" | "regular" | "premium" | undefined;
13077
13400
  } | undefined;
13078
13401
  vonageCredentials?: {
13079
13402
  apiKey: string;
@@ -13146,17 +13469,17 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13146
13469
  }>;
13147
13470
  cxlog: z.ZodObject<{
13148
13471
  id: z.ZodString;
13472
+ channel: z.ZodNullable<z.ZodString>;
13473
+ direction: z.ZodNullable<z.ZodString>;
13149
13474
  createdAt: z.ZodDate;
13150
13475
  updatedAt: z.ZodDate;
13151
13476
  deletedAt: z.ZodNullable<z.ZodDate>;
13152
- caseId: z.ZodNumber;
13153
13477
  entityId: z.ZodString;
13154
- entityName: z.ZodString;
13155
- contactId: z.ZodNullable<z.ZodString>;
13156
- channel: z.ZodNullable<z.ZodString>;
13157
13478
  queueId: z.ZodNullable<z.ZodString>;
13479
+ contactId: z.ZodNullable<z.ZodString>;
13480
+ caseId: z.ZodNumber;
13481
+ entityName: z.ZodString;
13158
13482
  agentId: z.ZodNullable<z.ZodString>;
13159
- direction: z.ZodNullable<z.ZodString>;
13160
13483
  startedDate: z.ZodNullable<z.ZodDate>;
13161
13484
  handledTime: z.ZodNullable<z.ZodNumber>;
13162
13485
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -13426,6 +13749,69 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13426
13749
  dateValue: Date | null;
13427
13750
  }[] | null | undefined;
13428
13751
  }>>;
13752
+ holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
13753
+ id: z.ZodString;
13754
+ createdAt: z.ZodDate;
13755
+ updatedAt: z.ZodDate;
13756
+ deletedAt: z.ZodNullable<z.ZodDate>;
13757
+ startedAt: z.ZodString;
13758
+ endedAt: z.ZodNullable<z.ZodString>;
13759
+ duration: z.ZodNullable<z.ZodNumber>;
13760
+ holdLabel: z.ZodObject<{
13761
+ id: z.ZodString;
13762
+ createdAt: z.ZodDate;
13763
+ updatedAt: z.ZodDate;
13764
+ deletedAt: z.ZodNullable<z.ZodDate>;
13765
+ name: z.ZodString;
13766
+ position: z.ZodNumber;
13767
+ }, "strip", z.ZodTypeAny, {
13768
+ name: string;
13769
+ id: string;
13770
+ position: number;
13771
+ createdAt: Date;
13772
+ updatedAt: Date;
13773
+ deletedAt: Date | null;
13774
+ }, {
13775
+ name: string;
13776
+ id: string;
13777
+ position: number;
13778
+ createdAt: Date;
13779
+ updatedAt: Date;
13780
+ deletedAt: Date | null;
13781
+ }>;
13782
+ }, "strip", z.ZodTypeAny, {
13783
+ id: string;
13784
+ createdAt: Date;
13785
+ updatedAt: Date;
13786
+ deletedAt: Date | null;
13787
+ startedAt: string;
13788
+ endedAt: string | null;
13789
+ duration: number | null;
13790
+ holdLabel: {
13791
+ name: string;
13792
+ id: string;
13793
+ position: number;
13794
+ createdAt: Date;
13795
+ updatedAt: Date;
13796
+ deletedAt: Date | null;
13797
+ };
13798
+ }, {
13799
+ id: string;
13800
+ createdAt: Date;
13801
+ updatedAt: Date;
13802
+ deletedAt: Date | null;
13803
+ startedAt: string;
13804
+ endedAt: string | null;
13805
+ duration: number | null;
13806
+ holdLabel: {
13807
+ name: string;
13808
+ id: string;
13809
+ position: number;
13810
+ createdAt: Date;
13811
+ updatedAt: Date;
13812
+ deletedAt: Date | null;
13813
+ };
13814
+ }>, "many">>>;
13429
13815
  }, "strip", z.ZodTypeAny, {
13430
13816
  id: string;
13431
13817
  channel: string | null;
@@ -13494,6 +13880,23 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13494
13880
  dateValue: Date | null;
13495
13881
  }[] | null | undefined;
13496
13882
  } | null;
13883
+ holdLogs?: {
13884
+ id: string;
13885
+ createdAt: Date;
13886
+ updatedAt: Date;
13887
+ deletedAt: Date | null;
13888
+ startedAt: string;
13889
+ endedAt: string | null;
13890
+ duration: number | null;
13891
+ holdLabel: {
13892
+ name: string;
13893
+ id: string;
13894
+ position: number;
13895
+ createdAt: Date;
13896
+ updatedAt: Date;
13897
+ deletedAt: Date | null;
13898
+ };
13899
+ }[] | null | undefined;
13497
13900
  }, {
13498
13901
  id: string;
13499
13902
  channel: string | null;
@@ -13562,6 +13965,23 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13562
13965
  dateValue: Date | null;
13563
13966
  }[] | null | undefined;
13564
13967
  } | null;
13968
+ holdLogs?: {
13969
+ id: string;
13970
+ createdAt: Date;
13971
+ updatedAt: Date;
13972
+ deletedAt: Date | null;
13973
+ startedAt: string;
13974
+ endedAt: string | null;
13975
+ duration: number | null;
13976
+ holdLabel: {
13977
+ name: string;
13978
+ id: string;
13979
+ position: number;
13980
+ createdAt: Date;
13981
+ updatedAt: Date;
13982
+ deletedAt: Date | null;
13983
+ };
13984
+ }[] | null | undefined;
13565
13985
  }>;
13566
13986
  workflowRule: z.ZodObject<{
13567
13987
  id: z.ZodString;
@@ -13611,6 +14031,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13611
14031
  channelId?: string | undefined;
13612
14032
  status?: "active" | "pending" | undefined;
13613
14033
  apiKey?: string | undefined;
14034
+ tier?: "basic" | "regular" | "premium" | undefined;
13614
14035
  } | undefined;
13615
14036
  vonageCredentials?: {
13616
14037
  apiKey: string;
@@ -13978,6 +14399,23 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13978
14399
  dateValue: Date | null;
13979
14400
  }[] | null | undefined;
13980
14401
  } | null;
14402
+ holdLogs?: {
14403
+ id: string;
14404
+ createdAt: Date;
14405
+ updatedAt: Date;
14406
+ deletedAt: Date | null;
14407
+ startedAt: string;
14408
+ endedAt: string | null;
14409
+ duration: number | null;
14410
+ holdLabel: {
14411
+ name: string;
14412
+ id: string;
14413
+ position: number;
14414
+ createdAt: Date;
14415
+ updatedAt: Date;
14416
+ deletedAt: Date | null;
14417
+ };
14418
+ }[] | null | undefined;
13981
14419
  };
13982
14420
  workflowRule: {
13983
14421
  name: string;
@@ -14011,6 +14449,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14011
14449
  channelId?: string | undefined;
14012
14450
  status?: "active" | "pending" | undefined;
14013
14451
  apiKey?: string | undefined;
14452
+ tier?: "basic" | "regular" | "premium" | undefined;
14014
14453
  } | undefined;
14015
14454
  vonageCredentials?: {
14016
14455
  apiKey: string;
@@ -14378,6 +14817,23 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14378
14817
  dateValue: Date | null;
14379
14818
  }[] | null | undefined;
14380
14819
  } | null;
14820
+ holdLogs?: {
14821
+ id: string;
14822
+ createdAt: Date;
14823
+ updatedAt: Date;
14824
+ deletedAt: Date | null;
14825
+ startedAt: string;
14826
+ endedAt: string | null;
14827
+ duration: number | null;
14828
+ holdLabel: {
14829
+ name: string;
14830
+ id: string;
14831
+ position: number;
14832
+ createdAt: Date;
14833
+ updatedAt: Date;
14834
+ deletedAt: Date | null;
14835
+ };
14836
+ }[] | null | undefined;
14381
14837
  };
14382
14838
  workflowRule: {
14383
14839
  name: string;
@@ -14428,7 +14884,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14428
14884
  deletedAt: z.ZodNullable<z.ZodDate>;
14429
14885
  message: z.ZodString;
14430
14886
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
14431
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
14887
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
14432
14888
  readAt: z.ZodDate;
14433
14889
  metadata: z.ZodAny;
14434
14890
  platformId: z.ZodString;
@@ -15086,7 +15542,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15086
15542
  };
15087
15543
  }>;
15088
15544
  }, "strip", z.ZodTypeAny, {
15089
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15545
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15090
15546
  message: string;
15091
15547
  id: string;
15092
15548
  url: string;
@@ -15248,7 +15704,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15248
15704
  metadata?: any;
15249
15705
  template?: any;
15250
15706
  }, {
15251
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15707
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15252
15708
  message: string;
15253
15709
  id: string;
15254
15710
  url: string;
@@ -15623,7 +16079,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15623
16079
  updatedAt: z.ZodDate;
15624
16080
  deletedAt: z.ZodNullable<z.ZodDate>;
15625
16081
  message: z.ZodNullable<z.ZodString>;
15626
- type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>]>;
16082
+ type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>]>;
15627
16083
  metadata: z.ZodAny;
15628
16084
  platformId: z.ZodString;
15629
16085
  platformMessageId: z.ZodString;
@@ -15654,6 +16110,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15654
16110
  channelId: z.ZodOptional<z.ZodString>;
15655
16111
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
15656
16112
  apiKey: z.ZodOptional<z.ZodString>;
16113
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
15657
16114
  }, "strip", z.ZodTypeAny, {
15658
16115
  email: string;
15659
16116
  wabaExternalId: string;
@@ -15663,6 +16120,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15663
16120
  channelId?: string | undefined;
15664
16121
  status?: "active" | "pending" | undefined;
15665
16122
  apiKey?: string | undefined;
16123
+ tier?: "basic" | "regular" | "premium" | undefined;
15666
16124
  }, {
15667
16125
  email: string;
15668
16126
  wabaExternalId: string;
@@ -15672,6 +16130,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15672
16130
  channelId?: string | undefined;
15673
16131
  status?: "active" | "pending" | undefined;
15674
16132
  apiKey?: string | undefined;
16133
+ tier?: "basic" | "regular" | "premium" | undefined;
15675
16134
  }>>;
15676
16135
  vonageCredentials: z.ZodOptional<z.ZodObject<{
15677
16136
  mobileNumber: z.ZodString;
@@ -15704,6 +16163,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15704
16163
  channelId?: string | undefined;
15705
16164
  status?: "active" | "pending" | undefined;
15706
16165
  apiKey?: string | undefined;
16166
+ tier?: "basic" | "regular" | "premium" | undefined;
15707
16167
  } | undefined;
15708
16168
  vonageCredentials?: {
15709
16169
  apiKey: string;
@@ -15728,6 +16188,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15728
16188
  channelId?: string | undefined;
15729
16189
  status?: "active" | "pending" | undefined;
15730
16190
  apiKey?: string | undefined;
16191
+ tier?: "basic" | "regular" | "premium" | undefined;
15731
16192
  } | undefined;
15732
16193
  vonageCredentials?: {
15733
16194
  apiKey: string;
@@ -15986,6 +16447,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15986
16447
  channelId?: string | undefined;
15987
16448
  status?: "active" | "pending" | undefined;
15988
16449
  apiKey?: string | undefined;
16450
+ tier?: "basic" | "regular" | "premium" | undefined;
15989
16451
  } | undefined;
15990
16452
  vonageCredentials?: {
15991
16453
  apiKey: string;
@@ -16075,6 +16537,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16075
16537
  channelId?: string | undefined;
16076
16538
  status?: "active" | "pending" | undefined;
16077
16539
  apiKey?: string | undefined;
16540
+ tier?: "basic" | "regular" | "premium" | undefined;
16078
16541
  } | undefined;
16079
16542
  vonageCredentials?: {
16080
16543
  apiKey: string;
@@ -17398,7 +17861,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17398
17861
  }>;
17399
17862
  permalinkURL: z.ZodString;
17400
17863
  }, "strip", z.ZodTypeAny, {
17401
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17864
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17402
17865
  message: string | null;
17403
17866
  id: string;
17404
17867
  channel: {
@@ -17421,6 +17884,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17421
17884
  channelId?: string | undefined;
17422
17885
  status?: "active" | "pending" | undefined;
17423
17886
  apiKey?: string | undefined;
17887
+ tier?: "basic" | "regular" | "premium" | undefined;
17424
17888
  } | undefined;
17425
17889
  vonageCredentials?: {
17426
17890
  apiKey: string;
@@ -17674,7 +18138,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17674
18138
  metadata?: any;
17675
18139
  template?: any;
17676
18140
  }, {
17677
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18141
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17678
18142
  message: string | null;
17679
18143
  id: string;
17680
18144
  channel: {
@@ -17697,6 +18161,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17697
18161
  channelId?: string | undefined;
17698
18162
  status?: "active" | "pending" | undefined;
17699
18163
  apiKey?: string | undefined;
18164
+ tier?: "basic" | "regular" | "premium" | undefined;
17700
18165
  } | undefined;
17701
18166
  vonageCredentials?: {
17702
18167
  apiKey: string;
@@ -17952,7 +18417,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17952
18417
  }>>;
17953
18418
  replyReaction: z.ZodNullable<z.ZodString>;
17954
18419
  }, "strip", z.ZodTypeAny, {
17955
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18420
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17956
18421
  message: string;
17957
18422
  id: string;
17958
18423
  url: string;
@@ -18083,6 +18548,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18083
18548
  channelId?: string | undefined;
18084
18549
  status?: "active" | "pending" | undefined;
18085
18550
  apiKey?: string | undefined;
18551
+ tier?: "basic" | "regular" | "premium" | undefined;
18086
18552
  } | undefined;
18087
18553
  vonageCredentials?: {
18088
18554
  apiKey: string;
@@ -18450,6 +18916,23 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18450
18916
  dateValue: Date | null;
18451
18917
  }[] | null | undefined;
18452
18918
  } | null;
18919
+ holdLogs?: {
18920
+ id: string;
18921
+ createdAt: Date;
18922
+ updatedAt: Date;
18923
+ deletedAt: Date | null;
18924
+ startedAt: string;
18925
+ endedAt: string | null;
18926
+ duration: number | null;
18927
+ holdLabel: {
18928
+ name: string;
18929
+ id: string;
18930
+ position: number;
18931
+ createdAt: Date;
18932
+ updatedAt: Date;
18933
+ deletedAt: Date | null;
18934
+ };
18935
+ }[] | null | undefined;
18453
18936
  };
18454
18937
  workflowRule: {
18455
18938
  name: string;
@@ -18478,7 +18961,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18478
18961
  previewUrl: string;
18479
18962
  imageSetId: string;
18480
18963
  repliedMessage: {
18481
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18964
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18482
18965
  message: string;
18483
18966
  id: string;
18484
18967
  url: string;
@@ -18688,7 +19171,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18688
19171
  parentMessageId: string | null;
18689
19172
  feedPostId: string | null;
18690
19173
  feedPost: {
18691
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19174
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18692
19175
  message: string | null;
18693
19176
  id: string;
18694
19177
  channel: {
@@ -18711,6 +19194,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18711
19194
  channelId?: string | undefined;
18712
19195
  status?: "active" | "pending" | undefined;
18713
19196
  apiKey?: string | undefined;
19197
+ tier?: "basic" | "regular" | "premium" | undefined;
18714
19198
  } | undefined;
18715
19199
  vonageCredentials?: {
18716
19200
  apiKey: string;
@@ -18969,7 +19453,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18969
19453
  template?: any;
18970
19454
  metadata?: any;
18971
19455
  }, {
18972
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19456
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18973
19457
  message: string;
18974
19458
  id: string;
18975
19459
  url: string;
@@ -19100,6 +19584,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19100
19584
  channelId?: string | undefined;
19101
19585
  status?: "active" | "pending" | undefined;
19102
19586
  apiKey?: string | undefined;
19587
+ tier?: "basic" | "regular" | "premium" | undefined;
19103
19588
  } | undefined;
19104
19589
  vonageCredentials?: {
19105
19590
  apiKey: string;
@@ -19467,6 +19952,23 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19467
19952
  dateValue: Date | null;
19468
19953
  }[] | null | undefined;
19469
19954
  } | null;
19955
+ holdLogs?: {
19956
+ id: string;
19957
+ createdAt: Date;
19958
+ updatedAt: Date;
19959
+ deletedAt: Date | null;
19960
+ startedAt: string;
19961
+ endedAt: string | null;
19962
+ duration: number | null;
19963
+ holdLabel: {
19964
+ name: string;
19965
+ id: string;
19966
+ position: number;
19967
+ createdAt: Date;
19968
+ updatedAt: Date;
19969
+ deletedAt: Date | null;
19970
+ };
19971
+ }[] | null | undefined;
19470
19972
  };
19471
19973
  workflowRule: {
19472
19974
  name: string;
@@ -19495,7 +19997,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19495
19997
  previewUrl: string;
19496
19998
  imageSetId: string;
19497
19999
  repliedMessage: {
19498
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
20000
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19499
20001
  message: string;
19500
20002
  id: string;
19501
20003
  url: string;
@@ -19705,7 +20207,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19705
20207
  parentMessageId: string | null;
19706
20208
  feedPostId: string | null;
19707
20209
  feedPost: {
19708
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
20210
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19709
20211
  message: string | null;
19710
20212
  id: string;
19711
20213
  channel: {
@@ -19728,6 +20230,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19728
20230
  channelId?: string | undefined;
19729
20231
  status?: "active" | "pending" | undefined;
19730
20232
  apiKey?: string | undefined;
20233
+ tier?: "basic" | "regular" | "premium" | undefined;
19731
20234
  } | undefined;
19732
20235
  vonageCredentials?: {
19733
20236
  apiKey: string;
@@ -19993,7 +20496,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
19993
20496
  deletedAt: z.ZodNullable<z.ZodDate>;
19994
20497
  message: z.ZodString;
19995
20498
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
19996
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
20499
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
19997
20500
  readAt: z.ZodDate;
19998
20501
  metadata: z.ZodAny;
19999
20502
  platformId: z.ZodString;
@@ -20651,7 +21154,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
20651
21154
  };
20652
21155
  }>;
20653
21156
  }, "strip", z.ZodTypeAny, {
20654
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
21157
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
20655
21158
  message: string;
20656
21159
  id: string;
20657
21160
  url: string;
@@ -20813,7 +21316,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
20813
21316
  metadata?: any;
20814
21317
  template?: any;
20815
21318
  }, {
20816
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
21319
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
20817
21320
  message: string;
20818
21321
  id: string;
20819
21322
  url: string;
@@ -20989,7 +21492,7 @@ export declare const UnreadCountsByAssigneeSchema: z.ZodObject<{
20989
21492
  totalUnreadCount: number;
20990
21493
  }>;
20991
21494
  export declare const MessageRelevanceSchema: z.ZodObject<{
20992
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
21495
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
20993
21496
  message: z.ZodString;
20994
21497
  id: z.ZodString;
20995
21498
  url: z.ZodString;
@@ -22937,6 +23440,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22937
23440
  channelId: z.ZodOptional<z.ZodString>;
22938
23441
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
22939
23442
  apiKey: z.ZodOptional<z.ZodString>;
23443
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
22940
23444
  }, "strip", z.ZodTypeAny, {
22941
23445
  email: string;
22942
23446
  wabaExternalId: string;
@@ -22946,6 +23450,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22946
23450
  channelId?: string | undefined;
22947
23451
  status?: "active" | "pending" | undefined;
22948
23452
  apiKey?: string | undefined;
23453
+ tier?: "basic" | "regular" | "premium" | undefined;
22949
23454
  }, {
22950
23455
  email: string;
22951
23456
  wabaExternalId: string;
@@ -22955,6 +23460,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22955
23460
  channelId?: string | undefined;
22956
23461
  status?: "active" | "pending" | undefined;
22957
23462
  apiKey?: string | undefined;
23463
+ tier?: "basic" | "regular" | "premium" | undefined;
22958
23464
  }>>;
22959
23465
  vonageCredentials: z.ZodOptional<z.ZodObject<{
22960
23466
  mobileNumber: z.ZodString;
@@ -22987,6 +23493,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22987
23493
  channelId?: string | undefined;
22988
23494
  status?: "active" | "pending" | undefined;
22989
23495
  apiKey?: string | undefined;
23496
+ tier?: "basic" | "regular" | "premium" | undefined;
22990
23497
  } | undefined;
22991
23498
  vonageCredentials?: {
22992
23499
  apiKey: string;
@@ -23011,6 +23518,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23011
23518
  channelId?: string | undefined;
23012
23519
  status?: "active" | "pending" | undefined;
23013
23520
  apiKey?: string | undefined;
23521
+ tier?: "basic" | "regular" | "premium" | undefined;
23014
23522
  } | undefined;
23015
23523
  vonageCredentials?: {
23016
23524
  apiKey: string;
@@ -23269,6 +23777,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23269
23777
  channelId?: string | undefined;
23270
23778
  status?: "active" | "pending" | undefined;
23271
23779
  apiKey?: string | undefined;
23780
+ tier?: "basic" | "regular" | "premium" | undefined;
23272
23781
  } | undefined;
23273
23782
  vonageCredentials?: {
23274
23783
  apiKey: string;
@@ -23358,6 +23867,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23358
23867
  channelId?: string | undefined;
23359
23868
  status?: "active" | "pending" | undefined;
23360
23869
  apiKey?: string | undefined;
23870
+ tier?: "basic" | "regular" | "premium" | undefined;
23361
23871
  } | undefined;
23362
23872
  vonageCredentials?: {
23363
23873
  apiKey: string;
@@ -23430,17 +23940,17 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23430
23940
  }>;
23431
23941
  cxlog: z.ZodObject<{
23432
23942
  id: z.ZodString;
23943
+ channel: z.ZodNullable<z.ZodString>;
23944
+ direction: z.ZodNullable<z.ZodString>;
23433
23945
  createdAt: z.ZodDate;
23434
23946
  updatedAt: z.ZodDate;
23435
23947
  deletedAt: z.ZodNullable<z.ZodDate>;
23436
- caseId: z.ZodNumber;
23437
23948
  entityId: z.ZodString;
23438
- entityName: z.ZodString;
23439
- contactId: z.ZodNullable<z.ZodString>;
23440
- channel: z.ZodNullable<z.ZodString>;
23441
23949
  queueId: z.ZodNullable<z.ZodString>;
23950
+ contactId: z.ZodNullable<z.ZodString>;
23951
+ caseId: z.ZodNumber;
23952
+ entityName: z.ZodString;
23442
23953
  agentId: z.ZodNullable<z.ZodString>;
23443
- direction: z.ZodNullable<z.ZodString>;
23444
23954
  startedDate: z.ZodNullable<z.ZodDate>;
23445
23955
  handledTime: z.ZodNullable<z.ZodNumber>;
23446
23956
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -23710,6 +24220,69 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23710
24220
  dateValue: Date | null;
23711
24221
  }[] | null | undefined;
23712
24222
  }>>;
24223
+ holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
24224
+ id: z.ZodString;
24225
+ createdAt: z.ZodDate;
24226
+ updatedAt: z.ZodDate;
24227
+ deletedAt: z.ZodNullable<z.ZodDate>;
24228
+ startedAt: z.ZodString;
24229
+ endedAt: z.ZodNullable<z.ZodString>;
24230
+ duration: z.ZodNullable<z.ZodNumber>;
24231
+ holdLabel: z.ZodObject<{
24232
+ id: z.ZodString;
24233
+ createdAt: z.ZodDate;
24234
+ updatedAt: z.ZodDate;
24235
+ deletedAt: z.ZodNullable<z.ZodDate>;
24236
+ name: z.ZodString;
24237
+ position: z.ZodNumber;
24238
+ }, "strip", z.ZodTypeAny, {
24239
+ name: string;
24240
+ id: string;
24241
+ position: number;
24242
+ createdAt: Date;
24243
+ updatedAt: Date;
24244
+ deletedAt: Date | null;
24245
+ }, {
24246
+ name: string;
24247
+ id: string;
24248
+ position: number;
24249
+ createdAt: Date;
24250
+ updatedAt: Date;
24251
+ deletedAt: Date | null;
24252
+ }>;
24253
+ }, "strip", z.ZodTypeAny, {
24254
+ id: string;
24255
+ createdAt: Date;
24256
+ updatedAt: Date;
24257
+ deletedAt: Date | null;
24258
+ startedAt: string;
24259
+ endedAt: string | null;
24260
+ duration: number | null;
24261
+ holdLabel: {
24262
+ name: string;
24263
+ id: string;
24264
+ position: number;
24265
+ createdAt: Date;
24266
+ updatedAt: Date;
24267
+ deletedAt: Date | null;
24268
+ };
24269
+ }, {
24270
+ id: string;
24271
+ createdAt: Date;
24272
+ updatedAt: Date;
24273
+ deletedAt: Date | null;
24274
+ startedAt: string;
24275
+ endedAt: string | null;
24276
+ duration: number | null;
24277
+ holdLabel: {
24278
+ name: string;
24279
+ id: string;
24280
+ position: number;
24281
+ createdAt: Date;
24282
+ updatedAt: Date;
24283
+ deletedAt: Date | null;
24284
+ };
24285
+ }>, "many">>>;
23713
24286
  }, "strip", z.ZodTypeAny, {
23714
24287
  id: string;
23715
24288
  channel: string | null;
@@ -23778,74 +24351,108 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23778
24351
  dateValue: Date | null;
23779
24352
  }[] | null | undefined;
23780
24353
  } | null;
23781
- }, {
23782
- id: string;
23783
- channel: string | null;
23784
- direction: string | null;
23785
- createdAt: Date;
23786
- updatedAt: Date;
23787
- deletedAt: Date | null;
23788
- entityId: string;
23789
- queueId: string | null;
23790
- contactId: string | null;
23791
- caseId: number;
23792
- entityName: string;
23793
- agentId: string | null;
23794
- startedDate: Date | null;
23795
- handledTime: number | null;
23796
- firstResponseTime: number | null;
23797
- wrapUpForm: {
23798
- type: string;
24354
+ holdLogs?: {
24355
+ id: string;
24356
+ createdAt: Date;
24357
+ updatedAt: Date;
24358
+ deletedAt: Date | null;
24359
+ startedAt: string;
24360
+ endedAt: string | null;
24361
+ duration: number | null;
24362
+ holdLabel: {
24363
+ name: string;
24364
+ id: string;
24365
+ position: number;
24366
+ createdAt: Date;
24367
+ updatedAt: Date;
24368
+ deletedAt: Date | null;
24369
+ };
24370
+ }[] | null | undefined;
24371
+ }, {
24372
+ id: string;
24373
+ channel: string | null;
24374
+ direction: string | null;
24375
+ createdAt: Date;
24376
+ updatedAt: Date;
24377
+ deletedAt: Date | null;
24378
+ entityId: string;
24379
+ queueId: string | null;
24380
+ contactId: string | null;
24381
+ caseId: number;
24382
+ entityName: string;
24383
+ agentId: string | null;
24384
+ startedDate: Date | null;
24385
+ handledTime: number | null;
24386
+ firstResponseTime: number | null;
24387
+ wrapUpForm: {
24388
+ type: string;
24389
+ id: string;
24390
+ disposition: string | null;
24391
+ createdAt: Date;
24392
+ updatedAt: Date;
24393
+ deletedAt: Date | null;
24394
+ categories: {
24395
+ id: string;
24396
+ value: string;
24397
+ createdAt: Date;
24398
+ updatedAt: Date;
24399
+ deletedAt: Date | null;
24400
+ level: 2 | 1 | 3;
24401
+ parentId: string | null;
24402
+ childCategoryList: {
24403
+ id: string;
24404
+ value: string;
24405
+ level: 2 | 1 | 3;
24406
+ parentId: string | null;
24407
+ childCategoryList: {
24408
+ id: string;
24409
+ value: string;
24410
+ level: 2 | 1 | 3;
24411
+ parentId: string | null;
24412
+ childCategoryList: any[];
24413
+ }[];
24414
+ }[];
24415
+ }[];
24416
+ tags: {
24417
+ name: string;
24418
+ id: string;
24419
+ createdAt: Date;
24420
+ updatedAt: Date;
24421
+ deletedAt: Date | null;
24422
+ }[];
24423
+ callFrom: string | null;
24424
+ callTo: string | null;
24425
+ note: string | null;
24426
+ customFields?: {
24427
+ id: string;
24428
+ createdAt: Date;
24429
+ updatedAt: Date;
24430
+ deletedAt: Date | null;
24431
+ entityId: string;
24432
+ attributeId: string;
24433
+ textValue: string | null;
24434
+ booleanValue: boolean | null;
24435
+ numberValue: number | null;
24436
+ dateValue: Date | null;
24437
+ }[] | null | undefined;
24438
+ } | null;
24439
+ holdLogs?: {
23799
24440
  id: string;
23800
- disposition: string | null;
23801
24441
  createdAt: Date;
23802
24442
  updatedAt: Date;
23803
24443
  deletedAt: Date | null;
23804
- categories: {
23805
- id: string;
23806
- value: string;
23807
- createdAt: Date;
23808
- updatedAt: Date;
23809
- deletedAt: Date | null;
23810
- level: 2 | 1 | 3;
23811
- parentId: string | null;
23812
- childCategoryList: {
23813
- id: string;
23814
- value: string;
23815
- level: 2 | 1 | 3;
23816
- parentId: string | null;
23817
- childCategoryList: {
23818
- id: string;
23819
- value: string;
23820
- level: 2 | 1 | 3;
23821
- parentId: string | null;
23822
- childCategoryList: any[];
23823
- }[];
23824
- }[];
23825
- }[];
23826
- tags: {
24444
+ startedAt: string;
24445
+ endedAt: string | null;
24446
+ duration: number | null;
24447
+ holdLabel: {
23827
24448
  name: string;
23828
24449
  id: string;
24450
+ position: number;
23829
24451
  createdAt: Date;
23830
24452
  updatedAt: Date;
23831
24453
  deletedAt: Date | null;
23832
- }[];
23833
- callFrom: string | null;
23834
- callTo: string | null;
23835
- note: string | null;
23836
- customFields?: {
23837
- id: string;
23838
- createdAt: Date;
23839
- updatedAt: Date;
23840
- deletedAt: Date | null;
23841
- entityId: string;
23842
- attributeId: string;
23843
- textValue: string | null;
23844
- booleanValue: boolean | null;
23845
- numberValue: number | null;
23846
- dateValue: Date | null;
23847
- }[] | null | undefined;
23848
- } | null;
24454
+ };
24455
+ }[] | null | undefined;
23849
24456
  }>;
23850
24457
  workflowRule: z.ZodObject<{
23851
24458
  id: z.ZodString;
@@ -23895,6 +24502,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23895
24502
  channelId?: string | undefined;
23896
24503
  status?: "active" | "pending" | undefined;
23897
24504
  apiKey?: string | undefined;
24505
+ tier?: "basic" | "regular" | "premium" | undefined;
23898
24506
  } | undefined;
23899
24507
  vonageCredentials?: {
23900
24508
  apiKey: string;
@@ -24262,6 +24870,23 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24262
24870
  dateValue: Date | null;
24263
24871
  }[] | null | undefined;
24264
24872
  } | null;
24873
+ holdLogs?: {
24874
+ id: string;
24875
+ createdAt: Date;
24876
+ updatedAt: Date;
24877
+ deletedAt: Date | null;
24878
+ startedAt: string;
24879
+ endedAt: string | null;
24880
+ duration: number | null;
24881
+ holdLabel: {
24882
+ name: string;
24883
+ id: string;
24884
+ position: number;
24885
+ createdAt: Date;
24886
+ updatedAt: Date;
24887
+ deletedAt: Date | null;
24888
+ };
24889
+ }[] | null | undefined;
24265
24890
  };
24266
24891
  workflowRule: {
24267
24892
  name: string;
@@ -24295,6 +24920,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24295
24920
  channelId?: string | undefined;
24296
24921
  status?: "active" | "pending" | undefined;
24297
24922
  apiKey?: string | undefined;
24923
+ tier?: "basic" | "regular" | "premium" | undefined;
24298
24924
  } | undefined;
24299
24925
  vonageCredentials?: {
24300
24926
  apiKey: string;
@@ -24662,6 +25288,23 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24662
25288
  dateValue: Date | null;
24663
25289
  }[] | null | undefined;
24664
25290
  } | null;
25291
+ holdLogs?: {
25292
+ id: string;
25293
+ createdAt: Date;
25294
+ updatedAt: Date;
25295
+ deletedAt: Date | null;
25296
+ startedAt: string;
25297
+ endedAt: string | null;
25298
+ duration: number | null;
25299
+ holdLabel: {
25300
+ name: string;
25301
+ id: string;
25302
+ position: number;
25303
+ createdAt: Date;
25304
+ updatedAt: Date;
25305
+ deletedAt: Date | null;
25306
+ };
25307
+ }[] | null | undefined;
24665
25308
  };
24666
25309
  workflowRule: {
24667
25310
  name: string;
@@ -24712,7 +25355,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24712
25355
  deletedAt: z.ZodNullable<z.ZodDate>;
24713
25356
  message: z.ZodString;
24714
25357
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
24715
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
25358
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
24716
25359
  readAt: z.ZodDate;
24717
25360
  metadata: z.ZodAny;
24718
25361
  platformId: z.ZodString;
@@ -25370,7 +26013,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25370
26013
  };
25371
26014
  }>;
25372
26015
  }, "strip", z.ZodTypeAny, {
25373
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
26016
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
25374
26017
  message: string;
25375
26018
  id: string;
25376
26019
  url: string;
@@ -25532,7 +26175,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25532
26175
  metadata?: any;
25533
26176
  template?: any;
25534
26177
  }, {
25535
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
26178
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
25536
26179
  message: string;
25537
26180
  id: string;
25538
26181
  url: string;
@@ -26953,7 +27596,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
26953
27596
  deletedAt: z.ZodNullable<z.ZodDate>;
26954
27597
  message: z.ZodString;
26955
27598
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
26956
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
27599
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
26957
27600
  readAt: z.ZodDate;
26958
27601
  metadata: z.ZodAny;
26959
27602
  platformId: z.ZodString;
@@ -28458,6 +29101,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28458
29101
  channelId: z.ZodOptional<z.ZodString>;
28459
29102
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
28460
29103
  apiKey: z.ZodOptional<z.ZodString>;
29104
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
28461
29105
  }, "strip", z.ZodTypeAny, {
28462
29106
  email: string;
28463
29107
  wabaExternalId: string;
@@ -28467,6 +29111,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28467
29111
  channelId?: string | undefined;
28468
29112
  status?: "active" | "pending" | undefined;
28469
29113
  apiKey?: string | undefined;
29114
+ tier?: "basic" | "regular" | "premium" | undefined;
28470
29115
  }, {
28471
29116
  email: string;
28472
29117
  wabaExternalId: string;
@@ -28476,6 +29121,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28476
29121
  channelId?: string | undefined;
28477
29122
  status?: "active" | "pending" | undefined;
28478
29123
  apiKey?: string | undefined;
29124
+ tier?: "basic" | "regular" | "premium" | undefined;
28479
29125
  }>>;
28480
29126
  vonageCredentials: z.ZodOptional<z.ZodObject<{
28481
29127
  mobileNumber: z.ZodString;
@@ -28508,6 +29154,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28508
29154
  channelId?: string | undefined;
28509
29155
  status?: "active" | "pending" | undefined;
28510
29156
  apiKey?: string | undefined;
29157
+ tier?: "basic" | "regular" | "premium" | undefined;
28511
29158
  } | undefined;
28512
29159
  vonageCredentials?: {
28513
29160
  apiKey: string;
@@ -28532,6 +29179,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28532
29179
  channelId?: string | undefined;
28533
29180
  status?: "active" | "pending" | undefined;
28534
29181
  apiKey?: string | undefined;
29182
+ tier?: "basic" | "regular" | "premium" | undefined;
28535
29183
  } | undefined;
28536
29184
  vonageCredentials?: {
28537
29185
  apiKey: string;
@@ -28790,6 +29438,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28790
29438
  channelId?: string | undefined;
28791
29439
  status?: "active" | "pending" | undefined;
28792
29440
  apiKey?: string | undefined;
29441
+ tier?: "basic" | "regular" | "premium" | undefined;
28793
29442
  } | undefined;
28794
29443
  vonageCredentials?: {
28795
29444
  apiKey: string;
@@ -28879,6 +29528,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28879
29528
  channelId?: string | undefined;
28880
29529
  status?: "active" | "pending" | undefined;
28881
29530
  apiKey?: string | undefined;
29531
+ tier?: "basic" | "regular" | "premium" | undefined;
28882
29532
  } | undefined;
28883
29533
  vonageCredentials?: {
28884
29534
  apiKey: string;
@@ -28951,17 +29601,17 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28951
29601
  }>;
28952
29602
  cxlog: z.ZodObject<{
28953
29603
  id: z.ZodString;
29604
+ channel: z.ZodNullable<z.ZodString>;
29605
+ direction: z.ZodNullable<z.ZodString>;
28954
29606
  createdAt: z.ZodDate;
28955
29607
  updatedAt: z.ZodDate;
28956
29608
  deletedAt: z.ZodNullable<z.ZodDate>;
28957
- caseId: z.ZodNumber;
28958
29609
  entityId: z.ZodString;
28959
- entityName: z.ZodString;
28960
- contactId: z.ZodNullable<z.ZodString>;
28961
- channel: z.ZodNullable<z.ZodString>;
28962
29610
  queueId: z.ZodNullable<z.ZodString>;
29611
+ contactId: z.ZodNullable<z.ZodString>;
29612
+ caseId: z.ZodNumber;
29613
+ entityName: z.ZodString;
28963
29614
  agentId: z.ZodNullable<z.ZodString>;
28964
- direction: z.ZodNullable<z.ZodString>;
28965
29615
  startedDate: z.ZodNullable<z.ZodDate>;
28966
29616
  handledTime: z.ZodNullable<z.ZodNumber>;
28967
29617
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -29231,6 +29881,69 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29231
29881
  dateValue: Date | null;
29232
29882
  }[] | null | undefined;
29233
29883
  }>>;
29884
+ holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
29885
+ id: z.ZodString;
29886
+ createdAt: z.ZodDate;
29887
+ updatedAt: z.ZodDate;
29888
+ deletedAt: z.ZodNullable<z.ZodDate>;
29889
+ startedAt: z.ZodString;
29890
+ endedAt: z.ZodNullable<z.ZodString>;
29891
+ duration: z.ZodNullable<z.ZodNumber>;
29892
+ holdLabel: z.ZodObject<{
29893
+ id: z.ZodString;
29894
+ createdAt: z.ZodDate;
29895
+ updatedAt: z.ZodDate;
29896
+ deletedAt: z.ZodNullable<z.ZodDate>;
29897
+ name: z.ZodString;
29898
+ position: z.ZodNumber;
29899
+ }, "strip", z.ZodTypeAny, {
29900
+ name: string;
29901
+ id: string;
29902
+ position: number;
29903
+ createdAt: Date;
29904
+ updatedAt: Date;
29905
+ deletedAt: Date | null;
29906
+ }, {
29907
+ name: string;
29908
+ id: string;
29909
+ position: number;
29910
+ createdAt: Date;
29911
+ updatedAt: Date;
29912
+ deletedAt: Date | null;
29913
+ }>;
29914
+ }, "strip", z.ZodTypeAny, {
29915
+ id: string;
29916
+ createdAt: Date;
29917
+ updatedAt: Date;
29918
+ deletedAt: Date | null;
29919
+ startedAt: string;
29920
+ endedAt: string | null;
29921
+ duration: number | null;
29922
+ holdLabel: {
29923
+ name: string;
29924
+ id: string;
29925
+ position: number;
29926
+ createdAt: Date;
29927
+ updatedAt: Date;
29928
+ deletedAt: Date | null;
29929
+ };
29930
+ }, {
29931
+ id: string;
29932
+ createdAt: Date;
29933
+ updatedAt: Date;
29934
+ deletedAt: Date | null;
29935
+ startedAt: string;
29936
+ endedAt: string | null;
29937
+ duration: number | null;
29938
+ holdLabel: {
29939
+ name: string;
29940
+ id: string;
29941
+ position: number;
29942
+ createdAt: Date;
29943
+ updatedAt: Date;
29944
+ deletedAt: Date | null;
29945
+ };
29946
+ }>, "many">>>;
29234
29947
  }, "strip", z.ZodTypeAny, {
29235
29948
  id: string;
29236
29949
  channel: string | null;
@@ -29299,6 +30012,23 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29299
30012
  dateValue: Date | null;
29300
30013
  }[] | null | undefined;
29301
30014
  } | null;
30015
+ holdLogs?: {
30016
+ id: string;
30017
+ createdAt: Date;
30018
+ updatedAt: Date;
30019
+ deletedAt: Date | null;
30020
+ startedAt: string;
30021
+ endedAt: string | null;
30022
+ duration: number | null;
30023
+ holdLabel: {
30024
+ name: string;
30025
+ id: string;
30026
+ position: number;
30027
+ createdAt: Date;
30028
+ updatedAt: Date;
30029
+ deletedAt: Date | null;
30030
+ };
30031
+ }[] | null | undefined;
29302
30032
  }, {
29303
30033
  id: string;
29304
30034
  channel: string | null;
@@ -29367,6 +30097,23 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29367
30097
  dateValue: Date | null;
29368
30098
  }[] | null | undefined;
29369
30099
  } | null;
30100
+ holdLogs?: {
30101
+ id: string;
30102
+ createdAt: Date;
30103
+ updatedAt: Date;
30104
+ deletedAt: Date | null;
30105
+ startedAt: string;
30106
+ endedAt: string | null;
30107
+ duration: number | null;
30108
+ holdLabel: {
30109
+ name: string;
30110
+ id: string;
30111
+ position: number;
30112
+ createdAt: Date;
30113
+ updatedAt: Date;
30114
+ deletedAt: Date | null;
30115
+ };
30116
+ }[] | null | undefined;
29370
30117
  }>;
29371
30118
  workflowRule: z.ZodObject<{
29372
30119
  id: z.ZodString;
@@ -29416,6 +30163,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29416
30163
  channelId?: string | undefined;
29417
30164
  status?: "active" | "pending" | undefined;
29418
30165
  apiKey?: string | undefined;
30166
+ tier?: "basic" | "regular" | "premium" | undefined;
29419
30167
  } | undefined;
29420
30168
  vonageCredentials?: {
29421
30169
  apiKey: string;
@@ -29783,6 +30531,23 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29783
30531
  dateValue: Date | null;
29784
30532
  }[] | null | undefined;
29785
30533
  } | null;
30534
+ holdLogs?: {
30535
+ id: string;
30536
+ createdAt: Date;
30537
+ updatedAt: Date;
30538
+ deletedAt: Date | null;
30539
+ startedAt: string;
30540
+ endedAt: string | null;
30541
+ duration: number | null;
30542
+ holdLabel: {
30543
+ name: string;
30544
+ id: string;
30545
+ position: number;
30546
+ createdAt: Date;
30547
+ updatedAt: Date;
30548
+ deletedAt: Date | null;
30549
+ };
30550
+ }[] | null | undefined;
29786
30551
  };
29787
30552
  workflowRule: {
29788
30553
  name: string;
@@ -29816,6 +30581,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29816
30581
  channelId?: string | undefined;
29817
30582
  status?: "active" | "pending" | undefined;
29818
30583
  apiKey?: string | undefined;
30584
+ tier?: "basic" | "regular" | "premium" | undefined;
29819
30585
  } | undefined;
29820
30586
  vonageCredentials?: {
29821
30587
  apiKey: string;
@@ -30183,6 +30949,23 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30183
30949
  dateValue: Date | null;
30184
30950
  }[] | null | undefined;
30185
30951
  } | null;
30952
+ holdLogs?: {
30953
+ id: string;
30954
+ createdAt: Date;
30955
+ updatedAt: Date;
30956
+ deletedAt: Date | null;
30957
+ startedAt: string;
30958
+ endedAt: string | null;
30959
+ duration: number | null;
30960
+ holdLabel: {
30961
+ name: string;
30962
+ id: string;
30963
+ position: number;
30964
+ createdAt: Date;
30965
+ updatedAt: Date;
30966
+ deletedAt: Date | null;
30967
+ };
30968
+ }[] | null | undefined;
30186
30969
  };
30187
30970
  workflowRule: {
30188
30971
  name: string;
@@ -30236,7 +31019,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30236
31019
  deletedAt: z.ZodNullable<z.ZodDate>;
30237
31020
  message: z.ZodString;
30238
31021
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
30239
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
31022
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
30240
31023
  readAt: z.ZodDate;
30241
31024
  metadata: z.ZodAny;
30242
31025
  platformId: z.ZodString;
@@ -30894,7 +31677,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30894
31677
  };
30895
31678
  }>;
30896
31679
  }, "strip", z.ZodTypeAny, {
30897
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
31680
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
30898
31681
  message: string;
30899
31682
  id: string;
30900
31683
  url: string;
@@ -31056,7 +31839,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31056
31839
  metadata?: any;
31057
31840
  template?: any;
31058
31841
  }, {
31059
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
31842
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
31060
31843
  message: string;
31061
31844
  id: string;
31062
31845
  url: string;
@@ -31858,7 +32641,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31858
32641
  editedMessageid: z.ZodString;
31859
32642
  label: z.ZodOptional<z.ZodString>;
31860
32643
  }, "strip", z.ZodTypeAny, {
31861
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
32644
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
31862
32645
  message: string;
31863
32646
  id: string;
31864
32647
  url: string;
@@ -31989,6 +32772,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31989
32772
  channelId?: string | undefined;
31990
32773
  status?: "active" | "pending" | undefined;
31991
32774
  apiKey?: string | undefined;
32775
+ tier?: "basic" | "regular" | "premium" | undefined;
31992
32776
  } | undefined;
31993
32777
  vonageCredentials?: {
31994
32778
  apiKey: string;
@@ -32356,6 +33140,23 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32356
33140
  dateValue: Date | null;
32357
33141
  }[] | null | undefined;
32358
33142
  } | null;
33143
+ holdLogs?: {
33144
+ id: string;
33145
+ createdAt: Date;
33146
+ updatedAt: Date;
33147
+ deletedAt: Date | null;
33148
+ startedAt: string;
33149
+ endedAt: string | null;
33150
+ duration: number | null;
33151
+ holdLabel: {
33152
+ name: string;
33153
+ id: string;
33154
+ position: number;
33155
+ createdAt: Date;
33156
+ updatedAt: Date;
33157
+ deletedAt: Date | null;
33158
+ };
33159
+ }[] | null | undefined;
32359
33160
  };
32360
33161
  workflowRule: {
32361
33162
  name: string;
@@ -32384,7 +33185,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32384
33185
  previewUrl: string;
32385
33186
  imageSetId: string;
32386
33187
  repliedMessage: {
32387
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
33188
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
32388
33189
  message: string;
32389
33190
  id: string;
32390
33191
  url: string;
@@ -32595,7 +33396,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32595
33396
  template?: any;
32596
33397
  label?: string | undefined;
32597
33398
  }, {
32598
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
33399
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
32599
33400
  message: string;
32600
33401
  id: string;
32601
33402
  url: string;
@@ -32726,6 +33527,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32726
33527
  channelId?: string | undefined;
32727
33528
  status?: "active" | "pending" | undefined;
32728
33529
  apiKey?: string | undefined;
33530
+ tier?: "basic" | "regular" | "premium" | undefined;
32729
33531
  } | undefined;
32730
33532
  vonageCredentials?: {
32731
33533
  apiKey: string;
@@ -33093,6 +33895,23 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33093
33895
  dateValue: Date | null;
33094
33896
  }[] | null | undefined;
33095
33897
  } | null;
33898
+ holdLogs?: {
33899
+ id: string;
33900
+ createdAt: Date;
33901
+ updatedAt: Date;
33902
+ deletedAt: Date | null;
33903
+ startedAt: string;
33904
+ endedAt: string | null;
33905
+ duration: number | null;
33906
+ holdLabel: {
33907
+ name: string;
33908
+ id: string;
33909
+ position: number;
33910
+ createdAt: Date;
33911
+ updatedAt: Date;
33912
+ deletedAt: Date | null;
33913
+ };
33914
+ }[] | null | undefined;
33096
33915
  };
33097
33916
  workflowRule: {
33098
33917
  name: string;
@@ -33121,7 +33940,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33121
33940
  previewUrl: string;
33122
33941
  imageSetId: string;
33123
33942
  repliedMessage: {
33124
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
33943
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
33125
33944
  message: string;
33126
33945
  id: string;
33127
33946
  url: string;
@@ -33333,13 +34152,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33333
34152
  label?: string | undefined;
33334
34153
  }>, "many">;
33335
34154
  }, "strip", z.ZodTypeAny, {
33336
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
34155
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
33337
34156
  message: string;
33338
34157
  id: string;
33339
34158
  url: string;
33340
34159
  direction: "incoming" | "outgoing" | "system";
33341
34160
  children: {
33342
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
34161
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
33343
34162
  message: string;
33344
34163
  id: string;
33345
34164
  url: string;
@@ -33470,6 +34289,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33470
34289
  channelId?: string | undefined;
33471
34290
  status?: "active" | "pending" | undefined;
33472
34291
  apiKey?: string | undefined;
34292
+ tier?: "basic" | "regular" | "premium" | undefined;
33473
34293
  } | undefined;
33474
34294
  vonageCredentials?: {
33475
34295
  apiKey: string;
@@ -33837,6 +34657,23 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33837
34657
  dateValue: Date | null;
33838
34658
  }[] | null | undefined;
33839
34659
  } | null;
34660
+ holdLogs?: {
34661
+ id: string;
34662
+ createdAt: Date;
34663
+ updatedAt: Date;
34664
+ deletedAt: Date | null;
34665
+ startedAt: string;
34666
+ endedAt: string | null;
34667
+ duration: number | null;
34668
+ holdLabel: {
34669
+ name: string;
34670
+ id: string;
34671
+ position: number;
34672
+ createdAt: Date;
34673
+ updatedAt: Date;
34674
+ deletedAt: Date | null;
34675
+ };
34676
+ }[] | null | undefined;
33840
34677
  };
33841
34678
  workflowRule: {
33842
34679
  name: string;
@@ -33865,7 +34702,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33865
34702
  previewUrl: string;
33866
34703
  imageSetId: string;
33867
34704
  repliedMessage: {
33868
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
34705
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
33869
34706
  message: string;
33870
34707
  id: string;
33871
34708
  url: string;
@@ -34202,6 +35039,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34202
35039
  channelId?: string | undefined;
34203
35040
  status?: "active" | "pending" | undefined;
34204
35041
  apiKey?: string | undefined;
35042
+ tier?: "basic" | "regular" | "premium" | undefined;
34205
35043
  } | undefined;
34206
35044
  vonageCredentials?: {
34207
35045
  apiKey: string;
@@ -34569,6 +35407,23 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34569
35407
  dateValue: Date | null;
34570
35408
  }[] | null | undefined;
34571
35409
  } | null;
35410
+ holdLogs?: {
35411
+ id: string;
35412
+ createdAt: Date;
35413
+ updatedAt: Date;
35414
+ deletedAt: Date | null;
35415
+ startedAt: string;
35416
+ endedAt: string | null;
35417
+ duration: number | null;
35418
+ holdLabel: {
35419
+ name: string;
35420
+ id: string;
35421
+ position: number;
35422
+ createdAt: Date;
35423
+ updatedAt: Date;
35424
+ deletedAt: Date | null;
35425
+ };
35426
+ }[] | null | undefined;
34572
35427
  };
34573
35428
  workflowRule: {
34574
35429
  name: string;
@@ -34597,7 +35452,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34597
35452
  previewUrl: string;
34598
35453
  imageSetId: string;
34599
35454
  repliedMessage: {
34600
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
35455
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
34601
35456
  message: string;
34602
35457
  id: string;
34603
35458
  url: string;
@@ -34935,13 +35790,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34935
35790
  template?: any;
34936
35791
  metadata?: any;
34937
35792
  }, {
34938
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
35793
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
34939
35794
  message: string;
34940
35795
  id: string;
34941
35796
  url: string;
34942
35797
  direction: "incoming" | "outgoing" | "system";
34943
35798
  children: {
34944
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
35799
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
34945
35800
  message: string;
34946
35801
  id: string;
34947
35802
  url: string;
@@ -35072,6 +35927,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35072
35927
  channelId?: string | undefined;
35073
35928
  status?: "active" | "pending" | undefined;
35074
35929
  apiKey?: string | undefined;
35930
+ tier?: "basic" | "regular" | "premium" | undefined;
35075
35931
  } | undefined;
35076
35932
  vonageCredentials?: {
35077
35933
  apiKey: string;
@@ -35439,6 +36295,23 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35439
36295
  dateValue: Date | null;
35440
36296
  }[] | null | undefined;
35441
36297
  } | null;
36298
+ holdLogs?: {
36299
+ id: string;
36300
+ createdAt: Date;
36301
+ updatedAt: Date;
36302
+ deletedAt: Date | null;
36303
+ startedAt: string;
36304
+ endedAt: string | null;
36305
+ duration: number | null;
36306
+ holdLabel: {
36307
+ name: string;
36308
+ id: string;
36309
+ position: number;
36310
+ createdAt: Date;
36311
+ updatedAt: Date;
36312
+ deletedAt: Date | null;
36313
+ };
36314
+ }[] | null | undefined;
35442
36315
  };
35443
36316
  workflowRule: {
35444
36317
  name: string;
@@ -35467,7 +36340,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35467
36340
  previewUrl: string;
35468
36341
  imageSetId: string;
35469
36342
  repliedMessage: {
35470
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
36343
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
35471
36344
  message: string;
35472
36345
  id: string;
35473
36346
  url: string;
@@ -35804,6 +36677,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35804
36677
  channelId?: string | undefined;
35805
36678
  status?: "active" | "pending" | undefined;
35806
36679
  apiKey?: string | undefined;
36680
+ tier?: "basic" | "regular" | "premium" | undefined;
35807
36681
  } | undefined;
35808
36682
  vonageCredentials?: {
35809
36683
  apiKey: string;
@@ -36171,6 +37045,23 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36171
37045
  dateValue: Date | null;
36172
37046
  }[] | null | undefined;
36173
37047
  } | null;
37048
+ holdLogs?: {
37049
+ id: string;
37050
+ createdAt: Date;
37051
+ updatedAt: Date;
37052
+ deletedAt: Date | null;
37053
+ startedAt: string;
37054
+ endedAt: string | null;
37055
+ duration: number | null;
37056
+ holdLabel: {
37057
+ name: string;
37058
+ id: string;
37059
+ position: number;
37060
+ createdAt: Date;
37061
+ updatedAt: Date;
37062
+ deletedAt: Date | null;
37063
+ };
37064
+ }[] | null | undefined;
36174
37065
  };
36175
37066
  workflowRule: {
36176
37067
  name: string;
@@ -36199,7 +37090,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36199
37090
  previewUrl: string;
36200
37091
  imageSetId: string;
36201
37092
  repliedMessage: {
36202
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
37093
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
36203
37094
  message: string;
36204
37095
  id: string;
36205
37096
  url: string;