@kl1/contracts 1.1.78-uat → 1.1.80-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. package/dist/api-contracts/src/automation-queue/index.d.ts +3410 -0
  2. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -0
  3. package/dist/api-contracts/src/automation-queue/schema.d.ts +618 -0
  4. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -0
  5. package/dist/api-contracts/src/automation-queue/validation.d.ts +52 -0
  6. package/dist/api-contracts/src/automation-queue/validation.d.ts.map +1 -0
  7. package/dist/api-contracts/src/chat/index.d.ts +145 -145
  8. package/dist/api-contracts/src/chat/schema.d.ts +64 -76
  9. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  10. package/dist/api-contracts/src/chat/validation.d.ts +51 -51
  11. package/dist/api-contracts/src/comment/index.d.ts +1 -1
  12. package/dist/api-contracts/src/comment/validation.d.ts +1 -1
  13. package/dist/api-contracts/src/contract.d.ts +219 -219
  14. package/dist/api-contracts/src/facebook-feed/index.d.ts +43 -43
  15. package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -3
  16. package/dist/api-contracts/src/hold-label/index.d.ts +1 -1
  17. package/dist/api-contracts/src/index.d.ts +1 -0
  18. package/dist/api-contracts/src/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/instagram/index.d.ts +33 -33
  20. package/dist/api-contracts/src/line/index.d.ts +38 -38
  21. package/dist/api-contracts/src/line/validation.d.ts +5 -5
  22. package/dist/api-contracts/src/messenger/index.d.ts +33 -33
  23. package/dist/api-contracts/src/sms/index.d.ts +5 -5
  24. package/dist/api-contracts/src/viber/index.d.ts +33 -33
  25. package/dist/api-contracts/src/webchat/index.d.ts +33 -33
  26. package/dist/entities/src/enums/chat.d.ts +2 -0
  27. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  28. package/dist/index.js +491 -388
  29. package/dist/index.js.map +1 -1
  30. package/dist/index.mjs +490 -388
  31. package/dist/index.mjs.map +1 -1
  32. package/package.json +1 -1
@@ -413,7 +413,7 @@ export declare const platformWebchatContract: {
413
413
  id: z.ZodOptional<z.ZodString>;
414
414
  message: z.ZodOptional<z.ZodString>;
415
415
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
416
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
416
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
417
417
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
418
418
  metadata: z.ZodOptional<z.ZodAny>;
419
419
  platformId: z.ZodOptional<z.ZodString>;
@@ -468,7 +468,7 @@ export declare const platformWebchatContract: {
468
468
  isEdited: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
469
469
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
470
470
  }, "strip", z.ZodTypeAny, {
471
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
471
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
472
472
  direction: "incoming" | "outgoing" | "system";
473
473
  message?: string | undefined;
474
474
  id?: string | undefined;
@@ -502,7 +502,7 @@ export declare const platformWebchatContract: {
502
502
  isEdited?: boolean | null | undefined;
503
503
  editedAt?: string | Date | null | undefined;
504
504
  }, {
505
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
505
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
506
506
  direction: "incoming" | "outgoing" | "system";
507
507
  message?: string | undefined;
508
508
  id?: string | undefined;
@@ -538,7 +538,7 @@ export declare const platformWebchatContract: {
538
538
  }>;
539
539
  }, "strip", z.ZodTypeAny, {
540
540
  message: {
541
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
541
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
542
542
  direction: "incoming" | "outgoing" | "system";
543
543
  message?: string | undefined;
544
544
  id?: string | undefined;
@@ -649,7 +649,7 @@ export declare const platformWebchatContract: {
649
649
  isBot: boolean | null;
650
650
  }, {
651
651
  message: {
652
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
652
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
653
653
  direction: "incoming" | "outgoing" | "system";
654
654
  message?: string | undefined;
655
655
  id?: string | undefined;
@@ -773,7 +773,7 @@ export declare const platformWebchatContract: {
773
773
  }, {
774
774
  message: z.ZodString;
775
775
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
776
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
776
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
777
777
  readAt: z.ZodDate;
778
778
  metadata: z.ZodAny;
779
779
  platformId: z.ZodString;
@@ -3826,7 +3826,7 @@ export declare const platformWebchatContract: {
3826
3826
  }, {
3827
3827
  message: z.ZodString;
3828
3828
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
3829
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
3829
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
3830
3830
  readAt: z.ZodDate;
3831
3831
  metadata: z.ZodAny;
3832
3832
  platformId: z.ZodString;
@@ -4485,7 +4485,7 @@ export declare const platformWebchatContract: {
4485
4485
  };
4486
4486
  }>;
4487
4487
  }>, "strip", z.ZodTypeAny, {
4488
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
4488
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
4489
4489
  message: string;
4490
4490
  id: string;
4491
4491
  url: string;
@@ -4647,7 +4647,7 @@ export declare const platformWebchatContract: {
4647
4647
  template?: any;
4648
4648
  metadata?: any;
4649
4649
  }, {
4650
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
4650
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
4651
4651
  message: string;
4652
4652
  id: string;
4653
4653
  url: string;
@@ -5457,7 +5457,7 @@ export declare const platformWebchatContract: {
5457
5457
  }, {
5458
5458
  message: z.ZodString;
5459
5459
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
5460
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
5460
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
5461
5461
  readAt: z.ZodDate;
5462
5462
  metadata: z.ZodAny;
5463
5463
  platformId: z.ZodString;
@@ -8510,7 +8510,7 @@ export declare const platformWebchatContract: {
8510
8510
  }, {
8511
8511
  message: z.ZodString;
8512
8512
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
8513
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
8513
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
8514
8514
  readAt: z.ZodDate;
8515
8515
  metadata: z.ZodAny;
8516
8516
  platformId: z.ZodString;
@@ -9169,7 +9169,7 @@ export declare const platformWebchatContract: {
9169
9169
  };
9170
9170
  }>;
9171
9171
  }>, "strip", z.ZodTypeAny, {
9172
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
9172
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
9173
9173
  message: string;
9174
9174
  id: string;
9175
9175
  url: string;
@@ -9331,7 +9331,7 @@ export declare const platformWebchatContract: {
9331
9331
  template?: any;
9332
9332
  metadata?: any;
9333
9333
  }, {
9334
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
9334
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
9335
9335
  message: string;
9336
9336
  id: string;
9337
9337
  url: string;
@@ -10133,7 +10133,7 @@ export declare const platformWebchatContract: {
10133
10133
  }>;
10134
10134
  editedMessageid: z.ZodString;
10135
10135
  }>, "strip", z.ZodTypeAny, {
10136
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
10136
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
10137
10137
  message: string;
10138
10138
  id: string;
10139
10139
  url: string;
@@ -10631,7 +10631,7 @@ export declare const platformWebchatContract: {
10631
10631
  previewUrl: string;
10632
10632
  imageSetId: string;
10633
10633
  repliedMessage: {
10634
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
10634
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
10635
10635
  message: string;
10636
10636
  id: string;
10637
10637
  url: string;
@@ -10841,7 +10841,7 @@ export declare const platformWebchatContract: {
10841
10841
  template?: any;
10842
10842
  metadata?: any;
10843
10843
  }, {
10844
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
10844
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
10845
10845
  message: string;
10846
10846
  id: string;
10847
10847
  url: string;
@@ -11339,7 +11339,7 @@ export declare const platformWebchatContract: {
11339
11339
  previewUrl: string;
11340
11340
  imageSetId: string;
11341
11341
  repliedMessage: {
11342
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
11342
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
11343
11343
  message: string;
11344
11344
  id: string;
11345
11345
  url: string;
@@ -11550,7 +11550,7 @@ export declare const platformWebchatContract: {
11550
11550
  metadata?: any;
11551
11551
  }>>>;
11552
11552
  }>, "strip", z.ZodTypeAny, {
11553
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
11553
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
11554
11554
  message: string;
11555
11555
  id: string;
11556
11556
  url: string;
@@ -12048,7 +12048,7 @@ export declare const platformWebchatContract: {
12048
12048
  previewUrl: string;
12049
12049
  imageSetId: string;
12050
12050
  repliedMessage: {
12051
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
12051
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12052
12052
  message: string;
12053
12053
  id: string;
12054
12054
  url: string;
@@ -12258,7 +12258,7 @@ export declare const platformWebchatContract: {
12258
12258
  template?: any;
12259
12259
  metadata?: any;
12260
12260
  fromMessage?: {
12261
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
12261
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12262
12262
  message: string;
12263
12263
  id: string;
12264
12264
  url: string;
@@ -12756,7 +12756,7 @@ export declare const platformWebchatContract: {
12756
12756
  previewUrl: string;
12757
12757
  imageSetId: string;
12758
12758
  repliedMessage: {
12759
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
12759
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12760
12760
  message: string;
12761
12761
  id: string;
12762
12762
  url: string;
@@ -12967,7 +12967,7 @@ export declare const platformWebchatContract: {
12967
12967
  metadata?: any;
12968
12968
  } | null | undefined;
12969
12969
  }, {
12970
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
12970
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12971
12971
  message: string;
12972
12972
  id: string;
12973
12973
  url: string;
@@ -13465,7 +13465,7 @@ export declare const platformWebchatContract: {
13465
13465
  previewUrl: string;
13466
13466
  imageSetId: string;
13467
13467
  repliedMessage: {
13468
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
13468
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13469
13469
  message: string;
13470
13470
  id: string;
13471
13471
  url: string;
@@ -13675,7 +13675,7 @@ export declare const platformWebchatContract: {
13675
13675
  template?: any;
13676
13676
  metadata?: any;
13677
13677
  fromMessage?: {
13678
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
13678
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13679
13679
  message: string;
13680
13680
  id: string;
13681
13681
  url: string;
@@ -14173,7 +14173,7 @@ export declare const platformWebchatContract: {
14173
14173
  previewUrl: string;
14174
14174
  imageSetId: string;
14175
14175
  repliedMessage: {
14176
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
14176
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14177
14177
  message: string;
14178
14178
  id: string;
14179
14179
  url: string;
@@ -14386,7 +14386,7 @@ export declare const platformWebchatContract: {
14386
14386
  }>;
14387
14387
  }>, "strip", z.ZodTypeAny, {
14388
14388
  data: {
14389
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
14389
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14390
14390
  message: string;
14391
14391
  id: string;
14392
14392
  url: string;
@@ -14884,7 +14884,7 @@ export declare const platformWebchatContract: {
14884
14884
  previewUrl: string;
14885
14885
  imageSetId: string;
14886
14886
  repliedMessage: {
14887
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
14887
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14888
14888
  message: string;
14889
14889
  id: string;
14890
14890
  url: string;
@@ -15094,7 +15094,7 @@ export declare const platformWebchatContract: {
15094
15094
  template?: any;
15095
15095
  metadata?: any;
15096
15096
  fromMessage?: {
15097
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
15097
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15098
15098
  message: string;
15099
15099
  id: string;
15100
15100
  url: string;
@@ -15592,7 +15592,7 @@ export declare const platformWebchatContract: {
15592
15592
  previewUrl: string;
15593
15593
  imageSetId: string;
15594
15594
  repliedMessage: {
15595
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
15595
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15596
15596
  message: string;
15597
15597
  id: string;
15598
15598
  url: string;
@@ -15806,7 +15806,7 @@ export declare const platformWebchatContract: {
15806
15806
  requestId: string;
15807
15807
  }, {
15808
15808
  data: {
15809
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
15809
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15810
15810
  message: string;
15811
15811
  id: string;
15812
15812
  url: string;
@@ -16304,7 +16304,7 @@ export declare const platformWebchatContract: {
16304
16304
  previewUrl: string;
16305
16305
  imageSetId: string;
16306
16306
  repliedMessage: {
16307
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
16307
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16308
16308
  message: string;
16309
16309
  id: string;
16310
16310
  url: string;
@@ -16514,7 +16514,7 @@ export declare const platformWebchatContract: {
16514
16514
  template?: any;
16515
16515
  metadata?: any;
16516
16516
  fromMessage?: {
16517
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
16517
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16518
16518
  message: string;
16519
16519
  id: string;
16520
16520
  url: string;
@@ -17012,7 +17012,7 @@ export declare const platformWebchatContract: {
17012
17012
  previewUrl: string;
17013
17013
  imageSetId: string;
17014
17014
  repliedMessage: {
17015
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
17015
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17016
17016
  message: string;
17017
17017
  id: string;
17018
17018
  url: string;
@@ -52,6 +52,7 @@ export declare enum EMessageType {
52
52
  UPDATED = "updated",
53
53
  STARTED = "started",
54
54
  EDITED = "edited",// this is for customer editing the message.
55
+ DELETED = "deleted",
55
56
  UNSUPPORTED = "unsupported"
56
57
  }
57
58
  export type TMessageType = `${EMessageType}`;
@@ -60,6 +61,7 @@ export declare enum EFeedPostType {
60
61
  ADDED_PHOTOS = "added_photos",
61
62
  SHARED_STORY = "shared_story",
62
63
  MOBILE_STATUS_UPDATE = "mobile_status_update",
64
+ NO_DATA = "no_data",
63
65
  UNSUPPORTED = "unsupported"
64
66
  }
65
67
  export type TFeedPostType = `${EFeedPostType}`;
@@ -1 +1 @@
1
- {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../../../entities/src/enums/chat.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,QAAQ,YAAY;IACpB,aAAa,kBAAkB;IAG/B,UAAU,eAAe;CAC1B;AAED,MAAM,MAAM,YAAY,GAAG,GAAG,YAAY,EAAE,CAAC;AAE7C,oBAAY,iBAAiB;IAC3B,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,MAAM,WAAW;CAClB;AAED,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,YAAY,iBAAiB;CAC9B;AAED,MAAM,MAAM,iBAAiB,GAAG,GAAG,iBAAiB,EAAE,CAAC;AAEvD,oBAAY,cAAc;IACxB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,MAAM,MAAM,cAAc,GAAG,GAAG,cAAc,EAAE,CAAC;AAEjD,oBAAY,YAAY;IACtB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;IACf,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,QAAQ,aAAa;IAGrB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,QAAQ,aAAa;IAGrB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW,CAAE,4CAA4C;IAG/D,WAAW,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