@kl1/contracts 1.1.94-uat → 1.1.96-uat

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.mjs CHANGED
@@ -1211,10 +1211,10 @@ var FeedPostSchema = DefaultEntitySchema.extend({
1211
1211
  postCreatedAt: z29.date(),
1212
1212
  postUpdatedAt: z29.date(),
1213
1213
  socialPlatformId: z29.string(),
1214
+ template: z29.any(),
1214
1215
  channel: ChannelSchema,
1215
1216
  platformContact: PlatformContactSchema,
1216
1217
  actor: UserSchema,
1217
- imageURL: z29.string(),
1218
1218
  permalinkURL: z29.string()
1219
1219
  });
1220
1220
 
@@ -1264,6 +1264,7 @@ var MessageTypeSchema = z30.enum([
1264
1264
  var FeedPostTypeSchema = z30.enum([
1265
1265
  "text",
1266
1266
  "added_photos",
1267
+ "added_video",
1267
1268
  "shared_story",
1268
1269
  "mobile_status_update",
1269
1270
  "no_data"
@@ -1640,8 +1641,9 @@ var SendMessageSchema = z33.object({
1640
1641
  }).optional()
1641
1642
  });
1642
1643
  var InitiateMessageSchema = z33.object({
1643
- platformContactId: z33.string().uuid(),
1644
+ platformContactId: z33.string().uuid().optional(),
1644
1645
  channelId: z33.string().uuid(),
1646
+ contactId: z33.string().uuid().optional(),
1645
1647
  message: z33.object({
1646
1648
  message: z33.string().optional(),
1647
1649
  messageType: MessageTypeSchema