@kl1/contracts 1.3.48 → 1.3.50

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +832 -1
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/validation.d.ts +10 -0
  4. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  5. package/dist/api-contracts/src/chat/index.d.ts +233 -211
  6. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/schema.d.ts +60 -63
  8. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/validation.d.ts +85 -69
  10. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  11. package/dist/api-contracts/src/contract.d.ts +3073 -1832
  12. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  13. package/dist/api-contracts/src/cx-log/index.d.ts +16 -5
  14. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  15. package/dist/api-contracts/src/cx-log/schema.d.ts +4 -1
  16. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  17. package/dist/api-contracts/src/cx-log/validation.d.ts +3 -0
  18. package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
  19. package/dist/api-contracts/src/facebook-feed/index.d.ts +53 -53
  20. package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -3
  21. package/dist/api-contracts/src/index.d.ts +1 -0
  22. package/dist/api-contracts/src/index.d.ts.map +1 -1
  23. package/dist/api-contracts/src/instagram/index.d.ts +41 -41
  24. package/dist/api-contracts/src/line/index.d.ts +48 -48
  25. package/dist/api-contracts/src/line/validation.d.ts +7 -7
  26. package/dist/api-contracts/src/messenger/index.d.ts +41 -41
  27. package/dist/api-contracts/src/presence-status/index.d.ts +1 -1
  28. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/sms/index.d.ts +7 -7
  30. package/dist/api-contracts/src/telegram/index.d.ts +41 -41
  31. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +0 -430
  32. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  33. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +0 -3
  34. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  35. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  36. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  37. package/dist/api-contracts/src/viber/index.d.ts +41 -41
  38. package/dist/api-contracts/src/webchat/index.d.ts +41 -41
  39. package/dist/api-contracts/src/whatsapp/index.d.ts +41 -41
  40. package/dist/api-contracts/src/workflow-rule/index.d.ts +17 -17
  41. package/dist/index.js +1667 -1658
  42. package/dist/index.js.map +1 -1
  43. package/dist/index.mjs +1666 -1658
  44. package/dist/index.mjs.map +1 -1
  45. package/package.json +1 -1
@@ -15,7 +15,7 @@ export declare const messengerContract: {
15
15
  lastMessage: z.ZodOptional<z.ZodString>;
16
16
  handleTime: z.ZodOptional<z.ZodNumber>;
17
17
  isLatest: z.ZodBoolean;
18
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
18
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
19
19
  metadata: z.ZodOptional<z.ZodAny>;
20
20
  createdAt: z.ZodString;
21
21
  updatedAt: z.ZodString;
@@ -611,8 +611,8 @@ export declare const messengerContract: {
611
611
  message: z.ZodObject<{
612
612
  id: z.ZodOptional<z.ZodString>;
613
613
  message: z.ZodOptional<z.ZodString>;
614
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
615
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
614
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
615
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
616
616
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
617
617
  metadata: z.ZodOptional<z.ZodAny>;
618
618
  platformId: z.ZodOptional<z.ZodString>;
@@ -668,7 +668,7 @@ export declare const messengerContract: {
668
668
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
669
669
  label: z.ZodOptional<z.ZodString>;
670
670
  }, "strip", z.ZodTypeAny, {
671
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
671
+ type: string;
672
672
  direction: "incoming" | "outgoing" | "system";
673
673
  id?: string | undefined;
674
674
  message?: string | undefined;
@@ -703,7 +703,7 @@ export declare const messengerContract: {
703
703
  editedAt?: string | Date | null | undefined;
704
704
  label?: string | undefined;
705
705
  }, {
706
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
706
+ type: string;
707
707
  direction: "incoming" | "outgoing" | "system";
708
708
  id?: string | undefined;
709
709
  message?: string | undefined;
@@ -740,7 +740,7 @@ export declare const messengerContract: {
740
740
  }>;
741
741
  }, "strip", z.ZodTypeAny, {
742
742
  message: {
743
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
743
+ type: string;
744
744
  direction: "incoming" | "outgoing" | "system";
745
745
  id?: string | undefined;
746
746
  message?: string | undefined;
@@ -876,7 +876,7 @@ export declare const messengerContract: {
876
876
  isBot: boolean | null;
877
877
  }, {
878
878
  message: {
879
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
879
+ type: string;
880
880
  direction: "incoming" | "outgoing" | "system";
881
881
  id?: string | undefined;
882
882
  message?: string | undefined;
@@ -1016,11 +1016,11 @@ export declare const messengerContract: {
1016
1016
  200: z.ZodObject<{
1017
1017
  requestId: z.ZodString;
1018
1018
  data: z.ZodObject<{
1019
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
1019
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
1020
1020
  message: z.ZodString;
1021
1021
  id: z.ZodString;
1022
1022
  url: z.ZodString;
1023
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1023
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1024
1024
  label: z.ZodOptional<z.ZodString>;
1025
1025
  template: z.ZodAny;
1026
1026
  metadata: z.ZodAny;
@@ -1485,7 +1485,7 @@ export declare const messengerContract: {
1485
1485
  firstResponseTime: z.ZodNumber;
1486
1486
  isLatest: z.ZodBoolean;
1487
1487
  isBotRoom: z.ZodBoolean;
1488
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1488
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1489
1489
  platformContact: z.ZodObject<{
1490
1490
  id: z.ZodString;
1491
1491
  createdAt: z.ZodDate;
@@ -4998,8 +4998,8 @@ export declare const messengerContract: {
4998
4998
  updatedAt: z.ZodDate;
4999
4999
  deletedAt: z.ZodNullable<z.ZodDate>;
5000
5000
  message: z.ZodString;
5001
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
5002
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
5001
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
5002
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
5003
5003
  readAt: z.ZodDate;
5004
5004
  metadata: z.ZodAny;
5005
5005
  platformId: z.ZodString;
@@ -5657,7 +5657,7 @@ export declare const messengerContract: {
5657
5657
  };
5658
5658
  }>;
5659
5659
  }, "strip", z.ZodTypeAny, {
5660
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
5660
+ type: string;
5661
5661
  message: string;
5662
5662
  id: string;
5663
5663
  url: string;
@@ -5819,7 +5819,7 @@ export declare const messengerContract: {
5819
5819
  metadata?: any;
5820
5820
  template?: any;
5821
5821
  }, {
5822
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
5822
+ type: string;
5823
5823
  message: string;
5824
5824
  id: string;
5825
5825
  url: string;
@@ -6192,8 +6192,8 @@ export declare const messengerContract: {
6192
6192
  updatedAt: z.ZodDate;
6193
6193
  deletedAt: z.ZodNullable<z.ZodDate>;
6194
6194
  message: z.ZodString;
6195
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6196
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
6195
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
6196
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
6197
6197
  readAt: z.ZodDate;
6198
6198
  metadata: z.ZodAny;
6199
6199
  platformId: z.ZodString;
@@ -6219,7 +6219,7 @@ export declare const messengerContract: {
6219
6219
  firstResponseTime: z.ZodNumber;
6220
6220
  isLatest: z.ZodBoolean;
6221
6221
  isBotRoom: z.ZodBoolean;
6222
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6222
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
6223
6223
  platformContact: z.ZodObject<{
6224
6224
  id: z.ZodString;
6225
6225
  createdAt: z.ZodDate;
@@ -9735,8 +9735,8 @@ export declare const messengerContract: {
9735
9735
  updatedAt: z.ZodDate;
9736
9736
  deletedAt: z.ZodNullable<z.ZodDate>;
9737
9737
  message: z.ZodString;
9738
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
9739
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
9738
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
9739
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
9740
9740
  readAt: z.ZodDate;
9741
9741
  metadata: z.ZodAny;
9742
9742
  platformId: z.ZodString;
@@ -10394,7 +10394,7 @@ export declare const messengerContract: {
10394
10394
  };
10395
10395
  }>;
10396
10396
  }, "strip", z.ZodTypeAny, {
10397
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10397
+ type: string;
10398
10398
  message: string;
10399
10399
  id: string;
10400
10400
  url: string;
@@ -10556,7 +10556,7 @@ export declare const messengerContract: {
10556
10556
  metadata?: any;
10557
10557
  template?: any;
10558
10558
  }, {
10559
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10559
+ type: string;
10560
10560
  message: string;
10561
10561
  id: string;
10562
10562
  url: string;
@@ -11358,7 +11358,7 @@ export declare const messengerContract: {
11358
11358
  editedMessageid: z.ZodString;
11359
11359
  label: z.ZodOptional<z.ZodString>;
11360
11360
  }, "strip", z.ZodTypeAny, {
11361
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11361
+ type: string;
11362
11362
  message: string;
11363
11363
  id: string;
11364
11364
  url: string;
@@ -11920,7 +11920,7 @@ export declare const messengerContract: {
11920
11920
  previewUrl: string;
11921
11921
  imageSetId: string;
11922
11922
  repliedMessage: {
11923
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11923
+ type: string;
11924
11924
  message: string;
11925
11925
  id: string;
11926
11926
  url: string;
@@ -12131,7 +12131,7 @@ export declare const messengerContract: {
12131
12131
  template?: any;
12132
12132
  label?: string | undefined;
12133
12133
  }, {
12134
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12134
+ type: string;
12135
12135
  message: string;
12136
12136
  id: string;
12137
12137
  url: string;
@@ -12693,7 +12693,7 @@ export declare const messengerContract: {
12693
12693
  previewUrl: string;
12694
12694
  imageSetId: string;
12695
12695
  repliedMessage: {
12696
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12696
+ type: string;
12697
12697
  message: string;
12698
12698
  id: string;
12699
12699
  url: string;
@@ -12905,7 +12905,7 @@ export declare const messengerContract: {
12905
12905
  label?: string | undefined;
12906
12906
  }>>>;
12907
12907
  }, "strip", z.ZodTypeAny, {
12908
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12908
+ type: string;
12909
12909
  message: string;
12910
12910
  id: string;
12911
12911
  url: string;
@@ -13467,7 +13467,7 @@ export declare const messengerContract: {
13467
13467
  previewUrl: string;
13468
13468
  imageSetId: string;
13469
13469
  repliedMessage: {
13470
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13470
+ type: string;
13471
13471
  message: string;
13472
13472
  id: string;
13473
13473
  url: string;
@@ -13678,7 +13678,7 @@ export declare const messengerContract: {
13678
13678
  template?: any;
13679
13679
  metadata?: any;
13680
13680
  fromMessage?: {
13681
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13681
+ type: string;
13682
13682
  message: string;
13683
13683
  id: string;
13684
13684
  url: string;
@@ -14240,7 +14240,7 @@ export declare const messengerContract: {
14240
14240
  previewUrl: string;
14241
14241
  imageSetId: string;
14242
14242
  repliedMessage: {
14243
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14243
+ type: string;
14244
14244
  message: string;
14245
14245
  id: string;
14246
14246
  url: string;
@@ -14452,7 +14452,7 @@ export declare const messengerContract: {
14452
14452
  label?: string | undefined;
14453
14453
  } | null | undefined;
14454
14454
  }, {
14455
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14455
+ type: string;
14456
14456
  message: string;
14457
14457
  id: string;
14458
14458
  url: string;
@@ -15014,7 +15014,7 @@ export declare const messengerContract: {
15014
15014
  previewUrl: string;
15015
15015
  imageSetId: string;
15016
15016
  repliedMessage: {
15017
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15017
+ type: string;
15018
15018
  message: string;
15019
15019
  id: string;
15020
15020
  url: string;
@@ -15225,7 +15225,7 @@ export declare const messengerContract: {
15225
15225
  template?: any;
15226
15226
  metadata?: any;
15227
15227
  fromMessage?: {
15228
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15228
+ type: string;
15229
15229
  message: string;
15230
15230
  id: string;
15231
15231
  url: string;
@@ -15787,7 +15787,7 @@ export declare const messengerContract: {
15787
15787
  previewUrl: string;
15788
15788
  imageSetId: string;
15789
15789
  repliedMessage: {
15790
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15790
+ type: string;
15791
15791
  message: string;
15792
15792
  id: string;
15793
15793
  url: string;
@@ -16001,7 +16001,7 @@ export declare const messengerContract: {
16001
16001
  }>;
16002
16002
  }, "strip", z.ZodTypeAny, {
16003
16003
  data: {
16004
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16004
+ type: string;
16005
16005
  message: string;
16006
16006
  id: string;
16007
16007
  url: string;
@@ -16563,7 +16563,7 @@ export declare const messengerContract: {
16563
16563
  previewUrl: string;
16564
16564
  imageSetId: string;
16565
16565
  repliedMessage: {
16566
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16566
+ type: string;
16567
16567
  message: string;
16568
16568
  id: string;
16569
16569
  url: string;
@@ -16774,7 +16774,7 @@ export declare const messengerContract: {
16774
16774
  template?: any;
16775
16775
  metadata?: any;
16776
16776
  fromMessage?: {
16777
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16777
+ type: string;
16778
16778
  message: string;
16779
16779
  id: string;
16780
16780
  url: string;
@@ -17336,7 +17336,7 @@ export declare const messengerContract: {
17336
17336
  previewUrl: string;
17337
17337
  imageSetId: string;
17338
17338
  repliedMessage: {
17339
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17339
+ type: string;
17340
17340
  message: string;
17341
17341
  id: string;
17342
17342
  url: string;
@@ -17551,7 +17551,7 @@ export declare const messengerContract: {
17551
17551
  requestId: string;
17552
17552
  }, {
17553
17553
  data: {
17554
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17554
+ type: string;
17555
17555
  message: string;
17556
17556
  id: string;
17557
17557
  url: string;
@@ -18113,7 +18113,7 @@ export declare const messengerContract: {
18113
18113
  previewUrl: string;
18114
18114
  imageSetId: string;
18115
18115
  repliedMessage: {
18116
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18116
+ type: string;
18117
18117
  message: string;
18118
18118
  id: string;
18119
18119
  url: string;
@@ -18324,7 +18324,7 @@ export declare const messengerContract: {
18324
18324
  template?: any;
18325
18325
  metadata?: any;
18326
18326
  fromMessage?: {
18327
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18327
+ type: string;
18328
18328
  message: string;
18329
18329
  id: string;
18330
18330
  url: string;
@@ -18886,7 +18886,7 @@ export declare const messengerContract: {
18886
18886
  previewUrl: string;
18887
18887
  imageSetId: string;
18888
18888
  repliedMessage: {
18889
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18889
+ type: string;
18890
18890
  message: string;
18891
18891
  id: string;
18892
18892
  url: string;
@@ -1,5 +1,5 @@
1
1
  import z from 'zod';
2
- import { TPresenceStatusOption, PresenceStatusSchema, UserPresenceStatusSchema } from './schema';
2
+ import { PresenceStatusSchema, TPresenceStatusOption, UserPresenceStatusSchema } from './schema';
3
3
  import { CreatePresenceStatusSchema, UpdatePresenceStatusSchema } from './validation';
4
4
  export type CreatePresenceStatusRequest = z.infer<typeof CreatePresenceStatusSchema>;
5
5
  export type UpdatePresenceStatusRequest = z.infer<typeof UpdatePresenceStatusSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,cAAc,CA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@ export declare const smsContract: {
3371
3371
  lastMessage: z.ZodOptional<z.ZodString>;
3372
3372
  handleTime: z.ZodOptional<z.ZodNumber>;
3373
3373
  isLatest: z.ZodBoolean;
3374
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
3374
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
3375
3375
  metadata: z.ZodOptional<z.ZodAny>;
3376
3376
  createdAt: z.ZodString;
3377
3377
  updatedAt: z.ZodString;
@@ -3967,8 +3967,8 @@ export declare const smsContract: {
3967
3967
  message: z.ZodObject<{
3968
3968
  id: z.ZodOptional<z.ZodString>;
3969
3969
  message: z.ZodOptional<z.ZodString>;
3970
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
3971
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
3970
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
3971
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
3972
3972
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
3973
3973
  metadata: z.ZodOptional<z.ZodAny>;
3974
3974
  platformId: z.ZodOptional<z.ZodString>;
@@ -4024,7 +4024,7 @@ export declare const smsContract: {
4024
4024
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
4025
4025
  label: z.ZodOptional<z.ZodString>;
4026
4026
  }, "strip", z.ZodTypeAny, {
4027
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
4027
+ type: string;
4028
4028
  direction: "incoming" | "outgoing" | "system";
4029
4029
  id?: string | undefined;
4030
4030
  message?: string | undefined;
@@ -4059,7 +4059,7 @@ export declare const smsContract: {
4059
4059
  editedAt?: string | Date | null | undefined;
4060
4060
  label?: string | undefined;
4061
4061
  }, {
4062
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
4062
+ type: string;
4063
4063
  direction: "incoming" | "outgoing" | "system";
4064
4064
  id?: string | undefined;
4065
4065
  message?: string | undefined;
@@ -4096,7 +4096,7 @@ export declare const smsContract: {
4096
4096
  }>;
4097
4097
  }, "strip", z.ZodTypeAny, {
4098
4098
  message: {
4099
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
4099
+ type: string;
4100
4100
  direction: "incoming" | "outgoing" | "system";
4101
4101
  id?: string | undefined;
4102
4102
  message?: string | undefined;
@@ -4232,7 +4232,7 @@ export declare const smsContract: {
4232
4232
  isBot: boolean | null;
4233
4233
  }, {
4234
4234
  message: {
4235
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
4235
+ type: string;
4236
4236
  direction: "incoming" | "outgoing" | "system";
4237
4237
  id?: string | undefined;
4238
4238
  message?: string | undefined;