@kl1/contracts 1.3.48 → 1.3.49

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 +3070 -1829
  12. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  13. package/dist/api-contracts/src/cx-log/index.d.ts +13 -2
  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 +1610 -1598
  42. package/dist/index.js.map +1 -1
  43. package/dist/index.mjs +1609 -1598
  44. package/dist/index.mjs.map +1 -1
  45. 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;
@@ -1982,8 +1982,8 @@ export declare const lineContract: {
1982
1982
  message: z.ZodObject<{
1983
1983
  id: z.ZodOptional<z.ZodString>;
1984
1984
  message: z.ZodOptional<z.ZodString>;
1985
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1986
- 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"]>;
1985
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1986
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
1987
1987
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1988
1988
  metadata: z.ZodOptional<z.ZodAny>;
1989
1989
  platformId: z.ZodOptional<z.ZodString>;
@@ -2039,7 +2039,7 @@ export declare const lineContract: {
2039
2039
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2040
2040
  label: z.ZodOptional<z.ZodString>;
2041
2041
  }, "strip", z.ZodTypeAny, {
2042
- 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";
2042
+ type: string;
2043
2043
  direction: "incoming" | "outgoing" | "system";
2044
2044
  id?: string | undefined;
2045
2045
  message?: string | undefined;
@@ -2074,7 +2074,7 @@ export declare const lineContract: {
2074
2074
  editedAt?: string | Date | null | undefined;
2075
2075
  label?: string | undefined;
2076
2076
  }, {
2077
- 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";
2077
+ type: string;
2078
2078
  direction: "incoming" | "outgoing" | "system";
2079
2079
  id?: string | undefined;
2080
2080
  message?: string | undefined;
@@ -2111,7 +2111,7 @@ export declare const lineContract: {
2111
2111
  }>;
2112
2112
  }, "strip", z.ZodTypeAny, {
2113
2113
  message: {
2114
- 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";
2114
+ type: string;
2115
2115
  direction: "incoming" | "outgoing" | "system";
2116
2116
  id?: string | undefined;
2117
2117
  message?: string | undefined;
@@ -2247,7 +2247,7 @@ export declare const lineContract: {
2247
2247
  isBot: boolean | null;
2248
2248
  }, {
2249
2249
  message: {
2250
- 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";
2250
+ type: string;
2251
2251
  direction: "incoming" | "outgoing" | "system";
2252
2252
  id?: string | undefined;
2253
2253
  message?: string | undefined;
@@ -2387,11 +2387,11 @@ export declare const lineContract: {
2387
2387
  200: z.ZodUnion<[z.ZodObject<{
2388
2388
  requestId: z.ZodString;
2389
2389
  data: z.ZodObject<{
2390
- 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"]>;
2390
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
2391
2391
  message: z.ZodString;
2392
2392
  id: z.ZodString;
2393
2393
  url: z.ZodString;
2394
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2394
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
2395
2395
  label: z.ZodOptional<z.ZodString>;
2396
2396
  template: z.ZodAny;
2397
2397
  metadata: z.ZodAny;
@@ -2856,7 +2856,7 @@ export declare const lineContract: {
2856
2856
  firstResponseTime: z.ZodNumber;
2857
2857
  isLatest: z.ZodBoolean;
2858
2858
  isBotRoom: z.ZodBoolean;
2859
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2859
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
2860
2860
  platformContact: z.ZodObject<{
2861
2861
  id: z.ZodString;
2862
2862
  createdAt: z.ZodDate;
@@ -6369,8 +6369,8 @@ export declare const lineContract: {
6369
6369
  updatedAt: z.ZodDate;
6370
6370
  deletedAt: z.ZodNullable<z.ZodDate>;
6371
6371
  message: z.ZodString;
6372
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6373
- 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"]>;
6372
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
6373
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
6374
6374
  readAt: z.ZodDate;
6375
6375
  metadata: z.ZodAny;
6376
6376
  platformId: z.ZodString;
@@ -7028,7 +7028,7 @@ export declare const lineContract: {
7028
7028
  };
7029
7029
  }>;
7030
7030
  }, "strip", z.ZodTypeAny, {
7031
- 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";
7031
+ type: string;
7032
7032
  message: string;
7033
7033
  id: string;
7034
7034
  url: string;
@@ -7190,7 +7190,7 @@ export declare const lineContract: {
7190
7190
  metadata?: any;
7191
7191
  template?: any;
7192
7192
  }, {
7193
- 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";
7193
+ type: string;
7194
7194
  message: string;
7195
7195
  id: string;
7196
7196
  url: string;
@@ -7563,8 +7563,8 @@ export declare const lineContract: {
7563
7563
  updatedAt: z.ZodDate;
7564
7564
  deletedAt: z.ZodNullable<z.ZodDate>;
7565
7565
  message: z.ZodString;
7566
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7567
- 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"]>;
7566
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
7567
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
7568
7568
  readAt: z.ZodDate;
7569
7569
  metadata: z.ZodAny;
7570
7570
  platformId: z.ZodString;
@@ -7590,7 +7590,7 @@ export declare const lineContract: {
7590
7590
  firstResponseTime: z.ZodNumber;
7591
7591
  isLatest: z.ZodBoolean;
7592
7592
  isBotRoom: z.ZodBoolean;
7593
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7593
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
7594
7594
  platformContact: z.ZodObject<{
7595
7595
  id: z.ZodString;
7596
7596
  createdAt: z.ZodDate;
@@ -11106,8 +11106,8 @@ export declare const lineContract: {
11106
11106
  updatedAt: z.ZodDate;
11107
11107
  deletedAt: z.ZodNullable<z.ZodDate>;
11108
11108
  message: z.ZodString;
11109
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
11110
- 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"]>;
11109
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
11110
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
11111
11111
  readAt: z.ZodDate;
11112
11112
  metadata: z.ZodAny;
11113
11113
  platformId: z.ZodString;
@@ -11765,7 +11765,7 @@ export declare const lineContract: {
11765
11765
  };
11766
11766
  }>;
11767
11767
  }, "strip", z.ZodTypeAny, {
11768
- 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";
11768
+ type: string;
11769
11769
  message: string;
11770
11770
  id: string;
11771
11771
  url: string;
@@ -11927,7 +11927,7 @@ export declare const lineContract: {
11927
11927
  metadata?: any;
11928
11928
  template?: any;
11929
11929
  }, {
11930
- 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";
11930
+ type: string;
11931
11931
  message: string;
11932
11932
  id: string;
11933
11933
  url: string;
@@ -12729,7 +12729,7 @@ export declare const lineContract: {
12729
12729
  editedMessageid: z.ZodString;
12730
12730
  label: z.ZodOptional<z.ZodString>;
12731
12731
  }, "strip", z.ZodTypeAny, {
12732
- 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";
12732
+ type: string;
12733
12733
  message: string;
12734
12734
  id: string;
12735
12735
  url: string;
@@ -13291,7 +13291,7 @@ export declare const lineContract: {
13291
13291
  previewUrl: string;
13292
13292
  imageSetId: string;
13293
13293
  repliedMessage: {
13294
- 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";
13294
+ type: string;
13295
13295
  message: string;
13296
13296
  id: string;
13297
13297
  url: string;
@@ -13502,7 +13502,7 @@ export declare const lineContract: {
13502
13502
  template?: any;
13503
13503
  label?: string | undefined;
13504
13504
  }, {
13505
- 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";
13505
+ type: string;
13506
13506
  message: string;
13507
13507
  id: string;
13508
13508
  url: string;
@@ -14064,7 +14064,7 @@ export declare const lineContract: {
14064
14064
  previewUrl: string;
14065
14065
  imageSetId: string;
14066
14066
  repliedMessage: {
14067
- 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";
14067
+ type: string;
14068
14068
  message: string;
14069
14069
  id: string;
14070
14070
  url: string;
@@ -14276,7 +14276,7 @@ export declare const lineContract: {
14276
14276
  label?: string | undefined;
14277
14277
  }>>>;
14278
14278
  }, "strip", z.ZodTypeAny, {
14279
- 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";
14279
+ type: string;
14280
14280
  message: string;
14281
14281
  id: string;
14282
14282
  url: string;
@@ -14838,7 +14838,7 @@ export declare const lineContract: {
14838
14838
  previewUrl: string;
14839
14839
  imageSetId: string;
14840
14840
  repliedMessage: {
14841
- 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";
14841
+ type: string;
14842
14842
  message: string;
14843
14843
  id: string;
14844
14844
  url: string;
@@ -15049,7 +15049,7 @@ export declare const lineContract: {
15049
15049
  template?: any;
15050
15050
  metadata?: any;
15051
15051
  fromMessage?: {
15052
- 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";
15052
+ type: string;
15053
15053
  message: string;
15054
15054
  id: string;
15055
15055
  url: string;
@@ -15611,7 +15611,7 @@ export declare const lineContract: {
15611
15611
  previewUrl: string;
15612
15612
  imageSetId: string;
15613
15613
  repliedMessage: {
15614
- 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";
15614
+ type: string;
15615
15615
  message: string;
15616
15616
  id: string;
15617
15617
  url: string;
@@ -15823,7 +15823,7 @@ export declare const lineContract: {
15823
15823
  label?: string | undefined;
15824
15824
  } | null | undefined;
15825
15825
  }, {
15826
- 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";
15826
+ type: string;
15827
15827
  message: string;
15828
15828
  id: string;
15829
15829
  url: string;
@@ -16385,7 +16385,7 @@ export declare const lineContract: {
16385
16385
  previewUrl: string;
16386
16386
  imageSetId: string;
16387
16387
  repliedMessage: {
16388
- 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";
16388
+ type: string;
16389
16389
  message: string;
16390
16390
  id: string;
16391
16391
  url: string;
@@ -16596,7 +16596,7 @@ export declare const lineContract: {
16596
16596
  template?: any;
16597
16597
  metadata?: any;
16598
16598
  fromMessage?: {
16599
- 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";
16599
+ type: string;
16600
16600
  message: string;
16601
16601
  id: string;
16602
16602
  url: string;
@@ -17158,7 +17158,7 @@ export declare const lineContract: {
17158
17158
  previewUrl: string;
17159
17159
  imageSetId: string;
17160
17160
  repliedMessage: {
17161
- 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";
17161
+ type: string;
17162
17162
  message: string;
17163
17163
  id: string;
17164
17164
  url: string;
@@ -17372,7 +17372,7 @@ export declare const lineContract: {
17372
17372
  }>;
17373
17373
  }, "strip", z.ZodTypeAny, {
17374
17374
  data: {
17375
- 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";
17375
+ type: string;
17376
17376
  message: string;
17377
17377
  id: string;
17378
17378
  url: string;
@@ -17934,7 +17934,7 @@ export declare const lineContract: {
17934
17934
  previewUrl: string;
17935
17935
  imageSetId: string;
17936
17936
  repliedMessage: {
17937
- 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";
17937
+ type: string;
17938
17938
  message: string;
17939
17939
  id: string;
17940
17940
  url: string;
@@ -18145,7 +18145,7 @@ export declare const lineContract: {
18145
18145
  template?: any;
18146
18146
  metadata?: any;
18147
18147
  fromMessage?: {
18148
- 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";
18148
+ type: string;
18149
18149
  message: string;
18150
18150
  id: string;
18151
18151
  url: string;
@@ -18707,7 +18707,7 @@ export declare const lineContract: {
18707
18707
  previewUrl: string;
18708
18708
  imageSetId: string;
18709
18709
  repliedMessage: {
18710
- 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";
18710
+ type: string;
18711
18711
  message: string;
18712
18712
  id: string;
18713
18713
  url: string;
@@ -18922,7 +18922,7 @@ export declare const lineContract: {
18922
18922
  requestId: string;
18923
18923
  }, {
18924
18924
  data: {
18925
- 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";
18925
+ type: string;
18926
18926
  message: string;
18927
18927
  id: string;
18928
18928
  url: string;
@@ -19484,7 +19484,7 @@ export declare const lineContract: {
19484
19484
  previewUrl: string;
19485
19485
  imageSetId: string;
19486
19486
  repliedMessage: {
19487
- 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";
19487
+ type: string;
19488
19488
  message: string;
19489
19489
  id: string;
19490
19490
  url: string;
@@ -19695,7 +19695,7 @@ export declare const lineContract: {
19695
19695
  template?: any;
19696
19696
  metadata?: any;
19697
19697
  fromMessage?: {
19698
- 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";
19698
+ type: string;
19699
19699
  message: string;
19700
19700
  id: string;
19701
19701
  url: string;
@@ -20257,7 +20257,7 @@ export declare const lineContract: {
20257
20257
  previewUrl: string;
20258
20258
  imageSetId: string;
20259
20259
  repliedMessage: {
20260
- 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";
20260
+ type: string;
20261
20261
  message: string;
20262
20262
  id: string;
20263
20263
  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;