@kl1/contracts 1.3.43 → 1.3.44

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 (46) hide show
  1. package/dist/api-contracts/src/botpress/index.d.ts +2 -2
  2. package/dist/api-contracts/src/channel/index.d.ts +833 -2
  3. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  4. package/dist/api-contracts/src/channel/validation.d.ts +10 -0
  5. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  6. package/dist/api-contracts/src/chat/index.d.ts +233 -211
  7. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  8. package/dist/api-contracts/src/chat/schema.d.ts +60 -63
  9. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  10. package/dist/api-contracts/src/chat/validation.d.ts +85 -69
  11. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  12. package/dist/api-contracts/src/contract.d.ts +5892 -4653
  13. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  14. package/dist/api-contracts/src/cx-log/index.d.ts +12 -1
  15. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  16. package/dist/api-contracts/src/cx-log/schema.d.ts +4 -1
  17. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  18. package/dist/api-contracts/src/cx-log/validation.d.ts +3 -0
  19. package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
  20. package/dist/api-contracts/src/facebook-feed/index.d.ts +53 -53
  21. package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -3
  22. package/dist/api-contracts/src/index.d.ts +1 -0
  23. package/dist/api-contracts/src/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/instagram/index.d.ts +41 -41
  25. package/dist/api-contracts/src/line/index.d.ts +48 -48
  26. package/dist/api-contracts/src/line/validation.d.ts +7 -7
  27. package/dist/api-contracts/src/messenger/index.d.ts +41 -41
  28. package/dist/api-contracts/src/presence-status/index.d.ts +1 -1
  29. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  30. package/dist/api-contracts/src/sms/index.d.ts +7 -7
  31. package/dist/api-contracts/src/telegram/index.d.ts +41 -41
  32. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +0 -430
  33. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +0 -3
  35. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  36. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  37. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/viber/index.d.ts +41 -41
  39. package/dist/api-contracts/src/webchat/index.d.ts +41 -41
  40. package/dist/api-contracts/src/whatsapp/index.d.ts +41 -41
  41. package/dist/api-contracts/src/workflow-rule/index.d.ts +17 -17
  42. package/dist/index.js +1612 -1604
  43. package/dist/index.js.map +1 -1
  44. package/dist/index.mjs +1611 -1603
  45. package/dist/index.mjs.map +1 -1
  46. package/package.json +1 -1
@@ -11,7 +11,7 @@ export declare const lineContract: {
11
11
  lastMessage: z.ZodOptional<z.ZodString>;
12
12
  handleTime: z.ZodOptional<z.ZodNumber>;
13
13
  isLatest: z.ZodBoolean;
14
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
14
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
15
15
  platformContact: z.ZodObject<{
16
16
  channelId: z.ZodString;
17
17
  socialPlatformId: z.ZodNullable<z.ZodString>;
@@ -555,8 +555,8 @@ export declare const lineContract: {
555
555
  }>;
556
556
  message: z.ZodObject<{
557
557
  message: z.ZodOptional<z.ZodString>;
558
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
559
- 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"]>;
558
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
559
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
560
560
  readAt: z.ZodOptional<z.ZodDate>;
561
561
  metadata: z.ZodOptional<z.ZodAny>;
562
562
  platformId: z.ZodOptional<z.ZodString>;
@@ -600,7 +600,7 @@ export declare const lineContract: {
600
600
  phone: string | null;
601
601
  }>;
602
602
  }, "strip", z.ZodTypeAny, {
603
- 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";
603
+ type: string;
604
604
  direction: "incoming" | "outgoing" | "system";
605
605
  sender: {
606
606
  name: string;
@@ -626,7 +626,7 @@ export declare const lineContract: {
626
626
  fileSize: number;
627
627
  } | undefined;
628
628
  }, {
629
- 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";
629
+ type: string;
630
630
  direction: "incoming" | "outgoing" | "system";
631
631
  sender: {
632
632
  name: string;
@@ -654,7 +654,7 @@ export declare const lineContract: {
654
654
  }>;
655
655
  }, "strip", z.ZodTypeAny, {
656
656
  message: {
657
- 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";
657
+ type: string;
658
658
  direction: "incoming" | "outgoing" | "system";
659
659
  sender: {
660
660
  name: string;
@@ -769,7 +769,7 @@ export declare const lineContract: {
769
769
  stickerId: number;
770
770
  }, {
771
771
  message: {
772
- 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";
772
+ type: string;
773
773
  direction: "incoming" | "outgoing" | "system";
774
774
  sender: {
775
775
  name: string;
@@ -1386,7 +1386,7 @@ export declare const lineContract: {
1386
1386
  lastMessage: z.ZodOptional<z.ZodString>;
1387
1387
  handleTime: z.ZodOptional<z.ZodNumber>;
1388
1388
  isLatest: z.ZodBoolean;
1389
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1389
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1390
1390
  metadata: z.ZodOptional<z.ZodAny>;
1391
1391
  createdAt: z.ZodString;
1392
1392
  updatedAt: z.ZodString;
@@ -1979,8 +1979,8 @@ export declare const lineContract: {
1979
1979
  message: z.ZodObject<{
1980
1980
  id: z.ZodOptional<z.ZodString>;
1981
1981
  message: z.ZodOptional<z.ZodString>;
1982
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1983
- 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"]>;
1982
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1983
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
1984
1984
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1985
1985
  metadata: z.ZodOptional<z.ZodAny>;
1986
1986
  platformId: z.ZodOptional<z.ZodString>;
@@ -2036,7 +2036,7 @@ export declare const lineContract: {
2036
2036
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2037
2037
  label: z.ZodOptional<z.ZodString>;
2038
2038
  }, "strip", z.ZodTypeAny, {
2039
- 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";
2039
+ type: string;
2040
2040
  direction: "incoming" | "outgoing" | "system";
2041
2041
  id?: string | undefined;
2042
2042
  message?: string | undefined;
@@ -2071,7 +2071,7 @@ export declare const lineContract: {
2071
2071
  editedAt?: string | Date | null | undefined;
2072
2072
  label?: string | undefined;
2073
2073
  }, {
2074
- 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";
2074
+ type: string;
2075
2075
  direction: "incoming" | "outgoing" | "system";
2076
2076
  id?: string | undefined;
2077
2077
  message?: string | undefined;
@@ -2108,7 +2108,7 @@ export declare const lineContract: {
2108
2108
  }>;
2109
2109
  }, "strip", z.ZodTypeAny, {
2110
2110
  message: {
2111
- 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";
2111
+ type: string;
2112
2112
  direction: "incoming" | "outgoing" | "system";
2113
2113
  id?: string | undefined;
2114
2114
  message?: string | undefined;
@@ -2243,7 +2243,7 @@ export declare const lineContract: {
2243
2243
  isBot: boolean | null;
2244
2244
  }, {
2245
2245
  message: {
2246
- 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";
2246
+ type: string;
2247
2247
  direction: "incoming" | "outgoing" | "system";
2248
2248
  id?: string | undefined;
2249
2249
  message?: string | undefined;
@@ -2382,11 +2382,11 @@ export declare const lineContract: {
2382
2382
  200: z.ZodUnion<[z.ZodObject<{
2383
2383
  requestId: z.ZodString;
2384
2384
  data: z.ZodObject<{
2385
- 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"]>;
2385
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
2386
2386
  message: z.ZodString;
2387
2387
  id: z.ZodString;
2388
2388
  url: z.ZodString;
2389
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2389
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
2390
2390
  label: z.ZodOptional<z.ZodString>;
2391
2391
  template: z.ZodAny;
2392
2392
  metadata: z.ZodAny;
@@ -2851,7 +2851,7 @@ export declare const lineContract: {
2851
2851
  firstResponseTime: z.ZodNumber;
2852
2852
  isLatest: z.ZodBoolean;
2853
2853
  isBotRoom: z.ZodBoolean;
2854
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2854
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
2855
2855
  platformContact: z.ZodObject<{
2856
2856
  id: z.ZodString;
2857
2857
  createdAt: z.ZodDate;
@@ -6364,8 +6364,8 @@ export declare const lineContract: {
6364
6364
  updatedAt: z.ZodDate;
6365
6365
  deletedAt: z.ZodNullable<z.ZodDate>;
6366
6366
  message: z.ZodString;
6367
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6368
- 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"]>;
6367
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
6368
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
6369
6369
  readAt: z.ZodDate;
6370
6370
  metadata: z.ZodAny;
6371
6371
  platformId: z.ZodString;
@@ -7023,7 +7023,7 @@ export declare const lineContract: {
7023
7023
  };
7024
7024
  }>;
7025
7025
  }, "strip", z.ZodTypeAny, {
7026
- 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";
7026
+ type: string;
7027
7027
  message: string;
7028
7028
  id: string;
7029
7029
  url: string;
@@ -7185,7 +7185,7 @@ export declare const lineContract: {
7185
7185
  metadata?: any;
7186
7186
  template?: any;
7187
7187
  }, {
7188
- 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";
7188
+ type: string;
7189
7189
  message: string;
7190
7190
  id: string;
7191
7191
  url: string;
@@ -7558,8 +7558,8 @@ export declare const lineContract: {
7558
7558
  updatedAt: z.ZodDate;
7559
7559
  deletedAt: z.ZodNullable<z.ZodDate>;
7560
7560
  message: z.ZodString;
7561
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7562
- 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"]>;
7561
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
7562
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
7563
7563
  readAt: z.ZodDate;
7564
7564
  metadata: z.ZodAny;
7565
7565
  platformId: z.ZodString;
@@ -7585,7 +7585,7 @@ export declare const lineContract: {
7585
7585
  firstResponseTime: z.ZodNumber;
7586
7586
  isLatest: z.ZodBoolean;
7587
7587
  isBotRoom: z.ZodBoolean;
7588
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7588
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
7589
7589
  platformContact: z.ZodObject<{
7590
7590
  id: z.ZodString;
7591
7591
  createdAt: z.ZodDate;
@@ -11101,8 +11101,8 @@ export declare const lineContract: {
11101
11101
  updatedAt: z.ZodDate;
11102
11102
  deletedAt: z.ZodNullable<z.ZodDate>;
11103
11103
  message: z.ZodString;
11104
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
11105
- 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"]>;
11104
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
11105
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
11106
11106
  readAt: z.ZodDate;
11107
11107
  metadata: z.ZodAny;
11108
11108
  platformId: z.ZodString;
@@ -11760,7 +11760,7 @@ export declare const lineContract: {
11760
11760
  };
11761
11761
  }>;
11762
11762
  }, "strip", z.ZodTypeAny, {
11763
- 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";
11763
+ type: string;
11764
11764
  message: string;
11765
11765
  id: string;
11766
11766
  url: string;
@@ -11922,7 +11922,7 @@ export declare const lineContract: {
11922
11922
  metadata?: any;
11923
11923
  template?: any;
11924
11924
  }, {
11925
- 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";
11925
+ type: string;
11926
11926
  message: string;
11927
11927
  id: string;
11928
11928
  url: string;
@@ -12724,7 +12724,7 @@ export declare const lineContract: {
12724
12724
  editedMessageid: z.ZodString;
12725
12725
  label: z.ZodOptional<z.ZodString>;
12726
12726
  }, "strip", z.ZodTypeAny, {
12727
- 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";
12727
+ type: string;
12728
12728
  message: string;
12729
12729
  id: string;
12730
12730
  url: string;
@@ -13286,7 +13286,7 @@ export declare const lineContract: {
13286
13286
  previewUrl: string;
13287
13287
  imageSetId: string;
13288
13288
  repliedMessage: {
13289
- 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";
13289
+ type: string;
13290
13290
  message: string;
13291
13291
  id: string;
13292
13292
  url: string;
@@ -13497,7 +13497,7 @@ export declare const lineContract: {
13497
13497
  template?: any;
13498
13498
  label?: string | undefined;
13499
13499
  }, {
13500
- 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";
13500
+ type: string;
13501
13501
  message: string;
13502
13502
  id: string;
13503
13503
  url: string;
@@ -14059,7 +14059,7 @@ export declare const lineContract: {
14059
14059
  previewUrl: string;
14060
14060
  imageSetId: string;
14061
14061
  repliedMessage: {
14062
- 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";
14062
+ type: string;
14063
14063
  message: string;
14064
14064
  id: string;
14065
14065
  url: string;
@@ -14271,7 +14271,7 @@ export declare const lineContract: {
14271
14271
  label?: string | undefined;
14272
14272
  }>>>;
14273
14273
  }, "strip", z.ZodTypeAny, {
14274
- 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";
14274
+ type: string;
14275
14275
  message: string;
14276
14276
  id: string;
14277
14277
  url: string;
@@ -14833,7 +14833,7 @@ export declare const lineContract: {
14833
14833
  previewUrl: string;
14834
14834
  imageSetId: string;
14835
14835
  repliedMessage: {
14836
- 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";
14836
+ type: string;
14837
14837
  message: string;
14838
14838
  id: string;
14839
14839
  url: string;
@@ -15044,7 +15044,7 @@ export declare const lineContract: {
15044
15044
  template?: any;
15045
15045
  metadata?: any;
15046
15046
  fromMessage?: {
15047
- 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";
15047
+ type: string;
15048
15048
  message: string;
15049
15049
  id: string;
15050
15050
  url: string;
@@ -15606,7 +15606,7 @@ export declare const lineContract: {
15606
15606
  previewUrl: string;
15607
15607
  imageSetId: string;
15608
15608
  repliedMessage: {
15609
- 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";
15609
+ type: string;
15610
15610
  message: string;
15611
15611
  id: string;
15612
15612
  url: string;
@@ -15818,7 +15818,7 @@ export declare const lineContract: {
15818
15818
  label?: string | undefined;
15819
15819
  } | null | undefined;
15820
15820
  }, {
15821
- 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";
15821
+ type: string;
15822
15822
  message: string;
15823
15823
  id: string;
15824
15824
  url: string;
@@ -16380,7 +16380,7 @@ export declare const lineContract: {
16380
16380
  previewUrl: string;
16381
16381
  imageSetId: string;
16382
16382
  repliedMessage: {
16383
- 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";
16383
+ type: string;
16384
16384
  message: string;
16385
16385
  id: string;
16386
16386
  url: string;
@@ -16591,7 +16591,7 @@ export declare const lineContract: {
16591
16591
  template?: any;
16592
16592
  metadata?: any;
16593
16593
  fromMessage?: {
16594
- 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";
16594
+ type: string;
16595
16595
  message: string;
16596
16596
  id: string;
16597
16597
  url: string;
@@ -17153,7 +17153,7 @@ export declare const lineContract: {
17153
17153
  previewUrl: string;
17154
17154
  imageSetId: string;
17155
17155
  repliedMessage: {
17156
- 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";
17156
+ type: string;
17157
17157
  message: string;
17158
17158
  id: string;
17159
17159
  url: string;
@@ -17367,7 +17367,7 @@ export declare const lineContract: {
17367
17367
  }>;
17368
17368
  }, "strip", z.ZodTypeAny, {
17369
17369
  data: {
17370
- 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";
17370
+ type: string;
17371
17371
  message: string;
17372
17372
  id: string;
17373
17373
  url: string;
@@ -17929,7 +17929,7 @@ export declare const lineContract: {
17929
17929
  previewUrl: string;
17930
17930
  imageSetId: string;
17931
17931
  repliedMessage: {
17932
- 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";
17932
+ type: string;
17933
17933
  message: string;
17934
17934
  id: string;
17935
17935
  url: string;
@@ -18140,7 +18140,7 @@ export declare const lineContract: {
18140
18140
  template?: any;
18141
18141
  metadata?: any;
18142
18142
  fromMessage?: {
18143
- 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";
18143
+ type: string;
18144
18144
  message: string;
18145
18145
  id: string;
18146
18146
  url: string;
@@ -18702,7 +18702,7 @@ export declare const lineContract: {
18702
18702
  previewUrl: string;
18703
18703
  imageSetId: string;
18704
18704
  repliedMessage: {
18705
- 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";
18705
+ type: string;
18706
18706
  message: string;
18707
18707
  id: string;
18708
18708
  url: string;
@@ -18917,7 +18917,7 @@ export declare const lineContract: {
18917
18917
  requestId: string;
18918
18918
  }, {
18919
18919
  data: {
18920
- 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";
18920
+ type: string;
18921
18921
  message: string;
18922
18922
  id: string;
18923
18923
  url: string;
@@ -19479,7 +19479,7 @@ export declare const lineContract: {
19479
19479
  previewUrl: string;
19480
19480
  imageSetId: string;
19481
19481
  repliedMessage: {
19482
- 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";
19482
+ type: string;
19483
19483
  message: string;
19484
19484
  id: string;
19485
19485
  url: string;
@@ -19690,7 +19690,7 @@ export declare const lineContract: {
19690
19690
  template?: any;
19691
19691
  metadata?: any;
19692
19692
  fromMessage?: {
19693
- 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";
19693
+ type: string;
19694
19694
  message: string;
19695
19695
  id: string;
19696
19696
  url: string;
@@ -20252,7 +20252,7 @@ export declare const lineContract: {
20252
20252
  previewUrl: string;
20253
20253
  imageSetId: string;
20254
20254
  repliedMessage: {
20255
- 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";
20255
+ type: string;
20256
20256
  message: string;
20257
20257
  id: string;
20258
20258
  url: string;
@@ -7,7 +7,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
7
7
  lastMessage: z.ZodOptional<z.ZodString>;
8
8
  handleTime: z.ZodOptional<z.ZodNumber>;
9
9
  isLatest: z.ZodBoolean;
10
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
10
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
11
11
  platformContact: z.ZodObject<{
12
12
  channelId: z.ZodString;
13
13
  socialPlatformId: z.ZodNullable<z.ZodString>;
@@ -551,8 +551,8 @@ export declare const SendLineStickerSchema: z.ZodObject<{
551
551
  }>;
552
552
  message: z.ZodObject<{
553
553
  message: z.ZodOptional<z.ZodString>;
554
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
555
- 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"]>;
554
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
555
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
556
556
  readAt: z.ZodOptional<z.ZodDate>;
557
557
  metadata: z.ZodOptional<z.ZodAny>;
558
558
  platformId: z.ZodOptional<z.ZodString>;
@@ -596,7 +596,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
596
596
  phone: string | null;
597
597
  }>;
598
598
  }, "strip", z.ZodTypeAny, {
599
- 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";
599
+ type: string;
600
600
  direction: "incoming" | "outgoing" | "system";
601
601
  sender: {
602
602
  name: string;
@@ -622,7 +622,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
622
622
  fileSize: number;
623
623
  } | undefined;
624
624
  }, {
625
- 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";
625
+ type: string;
626
626
  direction: "incoming" | "outgoing" | "system";
627
627
  sender: {
628
628
  name: string;
@@ -650,7 +650,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
650
650
  }>;
651
651
  }, "strip", z.ZodTypeAny, {
652
652
  message: {
653
- 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";
653
+ type: string;
654
654
  direction: "incoming" | "outgoing" | "system";
655
655
  sender: {
656
656
  name: string;
@@ -765,7 +765,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
765
765
  stickerId: number;
766
766
  }, {
767
767
  message: {
768
- 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";
768
+ type: string;
769
769
  direction: "incoming" | "outgoing" | "system";
770
770
  sender: {
771
771
  name: string;