@kl1/contracts 1.1.94-uat → 1.1.96-uat

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5192,13 +5192,14 @@ export declare const mainFeedContract: {
5192
5192
  updatedAt: z.ZodDate;
5193
5193
  deletedAt: z.ZodNullable<z.ZodDate>;
5194
5194
  message: z.ZodNullable<z.ZodString>;
5195
- type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "shared_story", "mobile_status_update", "no_data"]>, z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>]>;
5195
+ type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>]>;
5196
5196
  metadata: z.ZodAny;
5197
5197
  platformId: z.ZodString;
5198
5198
  platformMessageId: z.ZodString;
5199
5199
  postCreatedAt: z.ZodDate;
5200
5200
  postUpdatedAt: z.ZodDate;
5201
5201
  socialPlatformId: z.ZodString;
5202
+ template: z.ZodAny;
5202
5203
  channel: z.ZodObject<{
5203
5204
  id: z.ZodString;
5204
5205
  createdAt: z.ZodDate;
@@ -6886,10 +6887,9 @@ export declare const mainFeedContract: {
6886
6887
  telephonySignature: string | null;
6887
6888
  };
6888
6889
  }>;
6889
- imageURL: z.ZodString;
6890
6890
  permalinkURL: z.ZodString;
6891
6891
  }, "strip", z.ZodTypeAny, {
6892
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
6892
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
6893
6893
  message: string | null;
6894
6894
  id: string;
6895
6895
  channel: {
@@ -7149,11 +7149,11 @@ export declare const mainFeedContract: {
7149
7149
  platformMessageId: string;
7150
7150
  postCreatedAt: Date;
7151
7151
  postUpdatedAt: Date;
7152
- imageURL: string;
7153
7152
  permalinkURL: string;
7154
7153
  metadata?: any;
7154
+ template?: any;
7155
7155
  }, {
7156
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
7156
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
7157
7157
  message: string | null;
7158
7158
  id: string;
7159
7159
  channel: {
@@ -7413,13 +7413,13 @@ export declare const mainFeedContract: {
7413
7413
  platformMessageId: string;
7414
7414
  postCreatedAt: Date;
7415
7415
  postUpdatedAt: Date;
7416
- imageURL: string;
7417
7416
  permalinkURL: string;
7418
7417
  metadata?: any;
7418
+ template?: any;
7419
7419
  }>;
7420
7420
  }, "strip", z.ZodTypeAny, {
7421
7421
  data: {
7422
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
7422
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
7423
7423
  message: string | null;
7424
7424
  id: string;
7425
7425
  channel: {
@@ -7679,14 +7679,14 @@ export declare const mainFeedContract: {
7679
7679
  platformMessageId: string;
7680
7680
  postCreatedAt: Date;
7681
7681
  postUpdatedAt: Date;
7682
- imageURL: string;
7683
7682
  permalinkURL: string;
7684
7683
  metadata?: any;
7684
+ template?: any;
7685
7685
  };
7686
7686
  requestId: string;
7687
7687
  }, {
7688
7688
  data: {
7689
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
7689
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
7690
7690
  message: string | null;
7691
7691
  id: string;
7692
7692
  channel: {
@@ -7946,9 +7946,9 @@ export declare const mainFeedContract: {
7946
7946
  platformMessageId: string;
7947
7947
  postCreatedAt: Date;
7948
7948
  postUpdatedAt: Date;
7949
- imageURL: string;
7950
7949
  permalinkURL: string;
7951
7950
  metadata?: any;
7951
+ template?: any;
7952
7952
  };
7953
7953
  requestId: string;
7954
7954
  }>;
@@ -73843,8 +73843,9 @@ export declare const mainChatContract: {
73843
73843
  };
73844
73844
  initiateMessage: {
73845
73845
  body: z.ZodObject<{
73846
- platformContactId: z.ZodString;
73846
+ platformContactId: z.ZodOptional<z.ZodString>;
73847
73847
  channelId: z.ZodString;
73848
+ contactId: z.ZodOptional<z.ZodString>;
73848
73849
  message: z.ZodObject<{
73849
73850
  message: z.ZodOptional<z.ZodString>;
73850
73851
  messageType: 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"]>;
@@ -73861,14 +73862,16 @@ export declare const mainChatContract: {
73861
73862
  message?: string | undefined;
73862
73863
  };
73863
73864
  channelId: string;
73864
- platformContactId: string;
73865
+ platformContactId?: string | undefined;
73866
+ contactId?: string | undefined;
73865
73867
  }, {
73866
73868
  message: {
73867
73869
  messageType: "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";
73868
73870
  message?: string | undefined;
73869
73871
  };
73870
73872
  channelId: string;
73871
- platformContactId: string;
73873
+ platformContactId?: string | undefined;
73874
+ contactId?: string | undefined;
73872
73875
  }>;
73873
73876
  method: "POST";
73874
73877
  responses: {
@@ -86518,13 +86521,14 @@ export declare const mainChatContract: {
86518
86521
  updatedAt: z.ZodDate;
86519
86522
  deletedAt: z.ZodNullable<z.ZodDate>;
86520
86523
  message: z.ZodNullable<z.ZodString>;
86521
- type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "shared_story", "mobile_status_update", "no_data"]>, z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>]>;
86524
+ type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>]>;
86522
86525
  metadata: z.ZodAny;
86523
86526
  platformId: z.ZodString;
86524
86527
  platformMessageId: z.ZodString;
86525
86528
  postCreatedAt: z.ZodDate;
86526
86529
  postUpdatedAt: z.ZodDate;
86527
86530
  socialPlatformId: z.ZodString;
86531
+ template: z.ZodAny;
86528
86532
  channel: z.ZodObject<{
86529
86533
  id: z.ZodString;
86530
86534
  createdAt: z.ZodDate;
@@ -88212,10 +88216,9 @@ export declare const mainChatContract: {
88212
88216
  telephonySignature: string | null;
88213
88217
  };
88214
88218
  }>;
88215
- imageURL: z.ZodString;
88216
88219
  permalinkURL: z.ZodString;
88217
88220
  }, "strip", z.ZodTypeAny, {
88218
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
88221
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
88219
88222
  message: string | null;
88220
88223
  id: string;
88221
88224
  channel: {
@@ -88475,11 +88478,11 @@ export declare const mainChatContract: {
88475
88478
  platformMessageId: string;
88476
88479
  postCreatedAt: Date;
88477
88480
  postUpdatedAt: Date;
88478
- imageURL: string;
88479
88481
  permalinkURL: string;
88480
88482
  metadata?: any;
88483
+ template?: any;
88481
88484
  }, {
88482
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
88485
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
88483
88486
  message: string | null;
88484
88487
  id: string;
88485
88488
  channel: {
@@ -88739,9 +88742,9 @@ export declare const mainChatContract: {
88739
88742
  platformMessageId: string;
88740
88743
  postCreatedAt: Date;
88741
88744
  postUpdatedAt: Date;
88742
- imageURL: string;
88743
88745
  permalinkURL: string;
88744
88746
  metadata?: any;
88747
+ template?: any;
88745
88748
  }>>;
88746
88749
  replyReaction: z.ZodNullable<z.ZodString>;
88747
88750
  }, "strip", z.ZodTypeAny, {
@@ -89468,7 +89471,7 @@ export declare const mainChatContract: {
89468
89471
  parentMessageId: string | null;
89469
89472
  feedPostId: string | null;
89470
89473
  feedPost: {
89471
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
89474
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
89472
89475
  message: string | null;
89473
89476
  id: string;
89474
89477
  channel: {
@@ -89728,9 +89731,9 @@ export declare const mainChatContract: {
89728
89731
  platformMessageId: string;
89729
89732
  postCreatedAt: Date;
89730
89733
  postUpdatedAt: Date;
89731
- imageURL: string;
89732
89734
  permalinkURL: string;
89733
89735
  metadata?: any;
89736
+ template?: any;
89734
89737
  } | null;
89735
89738
  replyReaction: string | null;
89736
89739
  label?: string | undefined;
@@ -90460,7 +90463,7 @@ export declare const mainChatContract: {
90460
90463
  parentMessageId: string | null;
90461
90464
  feedPostId: string | null;
90462
90465
  feedPost: {
90463
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
90466
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
90464
90467
  message: string | null;
90465
90468
  id: string;
90466
90469
  channel: {
@@ -90720,9 +90723,9 @@ export declare const mainChatContract: {
90720
90723
  platformMessageId: string;
90721
90724
  postCreatedAt: Date;
90722
90725
  postUpdatedAt: Date;
90723
- imageURL: string;
90724
90726
  permalinkURL: string;
90725
90727
  metadata?: any;
90728
+ template?: any;
90726
90729
  } | null;
90727
90730
  replyReaction: string | null;
90728
90731
  label?: string | undefined;
@@ -91454,7 +91457,7 @@ export declare const mainChatContract: {
91454
91457
  parentMessageId: string | null;
91455
91458
  feedPostId: string | null;
91456
91459
  feedPost: {
91457
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
91460
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
91458
91461
  message: string | null;
91459
91462
  id: string;
91460
91463
  channel: {
@@ -91714,9 +91717,9 @@ export declare const mainChatContract: {
91714
91717
  platformMessageId: string;
91715
91718
  postCreatedAt: Date;
91716
91719
  postUpdatedAt: Date;
91717
- imageURL: string;
91718
91720
  permalinkURL: string;
91719
91721
  metadata?: any;
91722
+ template?: any;
91720
91723
  } | null;
91721
91724
  replyReaction: string | null;
91722
91725
  label?: string | undefined;
@@ -92452,7 +92455,7 @@ export declare const mainChatContract: {
92452
92455
  parentMessageId: string | null;
92453
92456
  feedPostId: string | null;
92454
92457
  feedPost: {
92455
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
92458
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
92456
92459
  message: string | null;
92457
92460
  id: string;
92458
92461
  channel: {
@@ -92712,9 +92715,9 @@ export declare const mainChatContract: {
92712
92715
  platformMessageId: string;
92713
92716
  postCreatedAt: Date;
92714
92717
  postUpdatedAt: Date;
92715
- imageURL: string;
92716
92718
  permalinkURL: string;
92717
92719
  metadata?: any;
92720
+ template?: any;
92718
92721
  } | null;
92719
92722
  replyReaction: string | null;
92720
92723
  label?: string | undefined;