@homespot-sdk/core 0.0.359 → 0.0.361

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.
@@ -64,7 +64,7 @@ export const zUpdateEmailRequest = z.object({
64
64
  email: z.email().min(1),
65
65
  });
66
66
  export const zCommentBodyRequest = z.object({
67
- body: z.string().min(0).max(4000),
67
+ body: z.string().min(0).max(6300),
68
68
  });
69
69
  export const zSetTaskValueRequest = z.object({
70
70
  value: z.optional(z.number()),
@@ -492,6 +492,7 @@ export const zOauthConnectionResponse = z.object({
492
492
  canReadComments: z.boolean(),
493
493
  canReply: z.boolean(),
494
494
  canReadStats: z.boolean(),
495
+ canReadInsights: z.boolean(),
495
496
  reconnectRequired: z.boolean(),
496
497
  });
497
498
  export const zAttendeeRequest = z.object({
@@ -711,6 +712,43 @@ export const zSocialPostView = z.object({
711
712
  createdBy: z.uuid(),
712
713
  createdAt: z.iso.datetime(),
713
714
  });
715
+ export const zMemberPeekResponse = z.object({
716
+ memberId: z.uuid(),
717
+ firstName: z.string(),
718
+ lastName: z.string(),
719
+ photo: z.optional(z.string()),
720
+ phone: z.optional(z.string()),
721
+ email: z.string(),
722
+ });
723
+ export const zSocialCommentAuthor = z.object({
724
+ name: z.optional(z.string()),
725
+ username: z.optional(z.string()),
726
+ });
727
+ export const zSocialCommentSender = z.object({
728
+ type: z.enum(['AGENT', 'AI', 'PAGE']),
729
+ member: z.optional(zMemberPeekResponse),
730
+ });
731
+ export const zSocialCommentResponse = z.object({
732
+ commentId: z.uuid(),
733
+ author: z.optional(zSocialCommentAuthor),
734
+ text: z.optional(z.string()),
735
+ commentedAt: z.iso.datetime(),
736
+ state: z.enum(['VISIBLE', 'HIDDEN', 'REMOVED']),
737
+ edited: z.boolean(),
738
+ own: z.boolean(),
739
+ sentBy: z.optional(zSocialCommentSender),
740
+ delivery: z.optional(z.enum(['PENDING', 'SENT', 'FAILED'])),
741
+ failureReason: z.optional(z.enum([
742
+ 'COMMENT_DELETED',
743
+ 'RECONNECT_REQUIRED',
744
+ 'PERMISSION_MISSING',
745
+ 'RATE_LIMITED',
746
+ 'UNKNOWN',
747
+ ])),
748
+ });
749
+ export const zReplyToSocialCommentRequest = z.object({
750
+ text: z.string().min(1),
751
+ });
714
752
  export const zCloseListingRequest = z.object({
715
753
  withdrawExternal: z.optional(z.boolean()),
716
754
  });
@@ -916,30 +954,6 @@ export const zUserContextViewResponse = z.object({
916
954
  user: zUserSummaryViewResponse,
917
955
  organizations: z.array(zOrganizationSummaryViewResponse),
918
956
  });
919
- export const zCommentView = z.object({
920
- id: z.uuid(),
921
- contactId: z.optional(z.coerce
922
- .bigint()
923
- .min(BigInt('-9223372036854775808'), {
924
- error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
925
- })
926
- .max(BigInt('9223372036854775807'), {
927
- error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
928
- })),
929
- taskId: z.optional(z.uuid()),
930
- authorId: z.uuid(),
931
- authorFirstName: z.string(),
932
- authorLastName: z.string(),
933
- profilePictureUrl: z.optional(z.string()),
934
- body: z.string(),
935
- createdAt: z.iso.datetime(),
936
- editedAt: z.optional(z.iso.datetime()),
937
- });
938
- export const zCursorPageCommentView = z.object({
939
- items: z.optional(z.array(zCommentView)),
940
- nextCursor: z.optional(z.string()),
941
- hasNext: z.optional(z.boolean()),
942
- });
943
957
  export const zContactPersonalDetails = z.unknown();
944
958
  export const zContactPersonalDetailsRestricted = z.object({
945
959
  requires: z.optional(z.array(z.enum([
@@ -964,6 +978,47 @@ export const zContactPersonalDetailsVisible = z.object({
964
978
  email: z.optional(z.string()),
965
979
  status: z.enum(['VISIBLE']),
966
980
  });
981
+ export const zContactMentionView = z.object({
982
+ contactId: z.coerce
983
+ .bigint()
984
+ .min(BigInt('-9223372036854775808'), {
985
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
986
+ })
987
+ .max(BigInt('9223372036854775807'), {
988
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
989
+ }),
990
+ personalDetails: z.union([
991
+ zContactPersonalDetailsRestricted,
992
+ zContactPersonalDetailsVisible,
993
+ ]),
994
+ contactAssignedTo: z.optional(z.uuid()),
995
+ });
996
+ export const zCommentView = z.object({
997
+ id: z.uuid(),
998
+ contactId: z.optional(z.coerce
999
+ .bigint()
1000
+ .min(BigInt('-9223372036854775808'), {
1001
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
1002
+ })
1003
+ .max(BigInt('9223372036854775807'), {
1004
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
1005
+ })),
1006
+ taskId: z.optional(z.uuid()),
1007
+ authorId: z.uuid(),
1008
+ authorFirstName: z.string(),
1009
+ authorLastName: z.string(),
1010
+ profilePictureUrl: z.optional(z.string()),
1011
+ body: z.string(),
1012
+ mentionedMembers: z.array(zMemberPeekResponse),
1013
+ mentionedContacts: z.array(zContactMentionView),
1014
+ createdAt: z.iso.datetime(),
1015
+ editedAt: z.optional(z.iso.datetime()),
1016
+ });
1017
+ export const zCursorPageCommentView = z.object({
1018
+ items: z.optional(z.array(zCommentView)),
1019
+ nextCursor: z.optional(z.string()),
1020
+ hasNext: z.optional(z.boolean()),
1021
+ });
967
1022
  export const zContactLink = z.object({
968
1023
  contactId: z.coerce
969
1024
  .bigint()
@@ -1043,14 +1098,6 @@ export const zLocationResponse = z.object({
1043
1098
  }),
1044
1099
  names: z.array(zLangTextResponse),
1045
1100
  });
1046
- export const zMemberPeekResponse = z.object({
1047
- memberId: z.uuid(),
1048
- firstName: z.string(),
1049
- lastName: z.string(),
1050
- photo: z.optional(z.string()),
1051
- phone: z.optional(z.string()),
1052
- email: z.string(),
1053
- });
1054
1101
  export const zParticipant = z.object({
1055
1102
  memberId: z.uuid(),
1056
1103
  firstName: z.string(),
@@ -1178,17 +1225,6 @@ export const zTaskDetailResponse = z.object({
1178
1225
  todoGroups: z.array(zTodoGroup),
1179
1226
  timeline: z.array(zTimelineEntry),
1180
1227
  });
1181
- export const zContactTaskResponse = z.object({
1182
- taskId: z.uuid(),
1183
- title: z.string(),
1184
- boardId: z.uuid(),
1185
- boardName: z.string(),
1186
- stageId: z.uuid(),
1187
- stageName: z.string(),
1188
- outcome: z.optional(z.enum(['WON', 'LOST'])),
1189
- value: z.optional(z.number()),
1190
- primary: z.boolean(),
1191
- });
1192
1228
  export const zTaskContent = z.object({
1193
1229
  type: z.string(),
1194
1230
  });
@@ -1240,6 +1276,98 @@ export const zTaskContentProperty = zTaskContent.and(z.object({
1240
1276
  title: z.optional(z.string()),
1241
1277
  type: z.literal('PROPERTY'),
1242
1278
  }));
1279
+ export const zContactTaskCardResponse = z.object({
1280
+ taskId: z.uuid(),
1281
+ stageId: z.uuid(),
1282
+ stageName: z.string(),
1283
+ title: z.string(),
1284
+ hasDescription: z.boolean(),
1285
+ commentCount: z
1286
+ .int()
1287
+ .min(-2147483648, {
1288
+ error: 'Invalid value: Expected int32 to be >= -2147483648',
1289
+ })
1290
+ .max(2147483647, {
1291
+ error: 'Invalid value: Expected int32 to be <= 2147483647',
1292
+ }),
1293
+ contactCount: z
1294
+ .int()
1295
+ .min(-2147483648, {
1296
+ error: 'Invalid value: Expected int32 to be >= -2147483648',
1297
+ })
1298
+ .max(2147483647, {
1299
+ error: 'Invalid value: Expected int32 to be <= 2147483647',
1300
+ }),
1301
+ priority: z.enum(['LOW', 'MEDIUM', 'HIGH', 'CRITICAL']),
1302
+ value: z.optional(z.number()),
1303
+ commissionType: z.optional(z.enum(['NOT_SET', 'FIXED', 'PERCENTAGE', 'MONTHS_OF_RENT'])),
1304
+ commissionValue: z.optional(z.number()),
1305
+ ownerId: z.optional(z.uuid()),
1306
+ primaryContactId: z.optional(z.coerce
1307
+ .bigint()
1308
+ .min(BigInt('-9223372036854775808'), {
1309
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
1310
+ })
1311
+ .max(BigInt('9223372036854775807'), {
1312
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
1313
+ })),
1314
+ primaryContact: z.optional(z.union([
1315
+ zContactPersonalDetailsRestricted,
1316
+ zContactPersonalDetailsVisible,
1317
+ ])),
1318
+ contactAssignedTo: z.optional(z.uuid()),
1319
+ primaryContent: z.optional(z.union([zTaskContentInterest, zTaskContentProperty])),
1320
+ participants: z.array(z.uuid()),
1321
+ rank: z.string(),
1322
+ stageEnteredAt: z.iso.datetime(),
1323
+ daysInStage: z.coerce
1324
+ .bigint()
1325
+ .min(BigInt('-9223372036854775808'), {
1326
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
1327
+ })
1328
+ .max(BigInt('9223372036854775807'), {
1329
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
1330
+ }),
1331
+ openTodos: z.coerce
1332
+ .bigint()
1333
+ .min(BigInt('-9223372036854775808'), {
1334
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
1335
+ })
1336
+ .max(BigInt('9223372036854775807'), {
1337
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
1338
+ }),
1339
+ totalTodos: z.coerce
1340
+ .bigint()
1341
+ .min(BigInt('-9223372036854775808'), {
1342
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
1343
+ })
1344
+ .max(BigInt('9223372036854775807'), {
1345
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
1346
+ }),
1347
+ hasLeftoverOpenTodos: z.boolean(),
1348
+ expectedCloseDate: z.optional(z.iso.date()),
1349
+ outcome: z.optional(z.enum(['WON', 'LOST'])),
1350
+ lostReason: z.optional(z.enum([
1351
+ 'NOT_WORKING_WITH_AGENTS',
1352
+ 'NOT_RESPONDING',
1353
+ 'ALREADY_SOLD',
1354
+ 'COULD_NOT_NEGOTIATE_PRICE',
1355
+ 'CHOSE_ANOTHER_AGENCY',
1356
+ 'CHANGED_PLANS',
1357
+ 'OUT_OF_BUDGET',
1358
+ 'SPAM',
1359
+ 'OTHER',
1360
+ ])),
1361
+ closedAt: z.optional(z.iso.datetime()),
1362
+ boardId: z.uuid(),
1363
+ boardName: z.string(),
1364
+ stageColor: z.string(),
1365
+ primary: z.boolean(),
1366
+ });
1367
+ export const zContactTasksResponse = z.object({
1368
+ members: z.array(zMemberPeekResponse),
1369
+ items: z.array(zContactTaskCardResponse),
1370
+ });
1243
1371
  export const zTaskCardResponse = z.object({
1244
1372
  taskId: z.uuid(),
1245
1373
  stageId: z.uuid(),
@@ -2138,30 +2266,46 @@ export const zPropertyDetailsResponse = z.object({
2138
2266
  address: zAddressResponse,
2139
2267
  });
2140
2268
  export const zSocialPostStats = z.object({
2141
- likes: z
2269
+ likes: z.optional(z
2142
2270
  .int()
2143
2271
  .min(-2147483648, {
2144
2272
  error: 'Invalid value: Expected int32 to be >= -2147483648',
2145
2273
  })
2146
2274
  .max(2147483647, {
2147
2275
  error: 'Invalid value: Expected int32 to be <= 2147483647',
2148
- }),
2149
- comments: z
2276
+ })),
2277
+ comments: z.optional(z
2150
2278
  .int()
2151
2279
  .min(-2147483648, {
2152
2280
  error: 'Invalid value: Expected int32 to be >= -2147483648',
2153
2281
  })
2154
2282
  .max(2147483647, {
2155
2283
  error: 'Invalid value: Expected int32 to be <= 2147483647',
2156
- }),
2157
- shares: z
2284
+ })),
2285
+ shares: z.optional(z
2158
2286
  .int()
2159
2287
  .min(-2147483648, {
2160
2288
  error: 'Invalid value: Expected int32 to be >= -2147483648',
2161
2289
  })
2162
2290
  .max(2147483647, {
2163
2291
  error: 'Invalid value: Expected int32 to be <= 2147483647',
2164
- }),
2292
+ })),
2293
+ views: z.optional(z
2294
+ .int()
2295
+ .min(-2147483648, {
2296
+ error: 'Invalid value: Expected int32 to be >= -2147483648',
2297
+ })
2298
+ .max(2147483647, {
2299
+ error: 'Invalid value: Expected int32 to be <= 2147483647',
2300
+ })),
2301
+ reach: z.optional(z
2302
+ .int()
2303
+ .min(-2147483648, {
2304
+ error: 'Invalid value: Expected int32 to be >= -2147483648',
2305
+ })
2306
+ .max(2147483647, {
2307
+ error: 'Invalid value: Expected int32 to be <= 2147483647',
2308
+ })),
2165
2309
  fetchedAt: z.iso.datetime(),
2166
2310
  });
2167
2311
  export const zSocialPostResponse = z.object({
@@ -2183,6 +2327,14 @@ export const zSocialPostResponse = z.object({
2183
2327
  'UNKNOWN',
2184
2328
  ])),
2185
2329
  stats: z.optional(zSocialPostStats),
2330
+ unansweredComments: z
2331
+ .int()
2332
+ .min(-2147483648, {
2333
+ error: 'Invalid value: Expected int32 to be >= -2147483648',
2334
+ })
2335
+ .max(2147483647, {
2336
+ error: 'Invalid value: Expected int32 to be <= 2147483647',
2337
+ }),
2186
2338
  });
2187
2339
  export const zPropertyListingResponse = z.object({
2188
2340
  publicId: z.coerce
@@ -2202,6 +2354,14 @@ export const zPropertyListingResponse = z.object({
2202
2354
  deal: z.optional(z.union([zFixed, zMonthsOfRent, zPercentage])),
2203
2355
  platformListings: z.array(zPlatformListingResponse),
2204
2356
  socialPosts: z.array(zSocialPostResponse),
2357
+ unansweredComments: z
2358
+ .int()
2359
+ .min(-2147483648, {
2360
+ error: 'Invalid value: Expected int32 to be >= -2147483648',
2361
+ })
2362
+ .max(2147483647, {
2363
+ error: 'Invalid value: Expected int32 to be <= 2147483647',
2364
+ }),
2205
2365
  createdAt: z.iso.datetime(),
2206
2366
  closedAt: z.optional(z.iso.datetime()),
2207
2367
  });
@@ -2370,9 +2530,31 @@ export const zNewSeekerRating = z.object({
2370
2530
  notePreview: z.optional(z.string()),
2371
2531
  kind: z.enum(['NEW_SEEKER_RATING']),
2372
2532
  });
2533
+ export const zSocialCommentId = z.object({
2534
+ value: z.optional(z.uuid()),
2535
+ });
2373
2536
  export const zSocialPostId = z.object({
2374
2537
  value: z.optional(z.uuid()),
2375
2538
  });
2539
+ export const zSocialPostCommented = z.object({
2540
+ postId: z.optional(zSocialPostId),
2541
+ commentId: z.optional(zSocialCommentId),
2542
+ contactId: z.optional(zContactId),
2543
+ propertyId: z.optional(zPropertyId),
2544
+ listingId: z.optional(z.coerce
2545
+ .bigint()
2546
+ .min(BigInt('-9223372036854775808'), {
2547
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2548
+ })
2549
+ .max(BigInt('9223372036854775807'), {
2550
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2551
+ })),
2552
+ propertyTitle: z.optional(z.string()),
2553
+ channel: z.optional(z.enum(['FACEBOOK', 'INSTAGRAM'])),
2554
+ author: z.optional(z.string()),
2555
+ commentSnippet: z.optional(z.string()),
2556
+ kind: z.enum(['SOCIAL_POST_COMMENTED']),
2557
+ });
2376
2558
  export const zSocialPostFailed = z.object({
2377
2559
  postId: z.optional(zSocialPostId),
2378
2560
  contactId: z.optional(zContactId),
@@ -2433,6 +2615,15 @@ export const zSubscriptionPaymentReversed = z.object({
2433
2615
  export const zTaskId = z.object({
2434
2616
  value: z.optional(z.uuid()),
2435
2617
  });
2618
+ export const zMemberMentioned = z.object({
2619
+ commentId: z.optional(zCommentId),
2620
+ contactId: z.optional(zContactId),
2621
+ taskId: z.optional(zTaskId),
2622
+ authorId: z.optional(zMemberId),
2623
+ author: z.optional(z.string()),
2624
+ commentSnippet: z.optional(z.string()),
2625
+ kind: z.enum(['MEMBER_MENTIONED']),
2626
+ });
2436
2627
  export const zTaskCommented = z.object({
2437
2628
  commentId: z.optional(zCommentId),
2438
2629
  taskId: z.optional(zTaskId),
@@ -2454,6 +2645,7 @@ export const zNotificationView = z.object({
2454
2645
  type: z.enum([
2455
2646
  'AGENT_COMMENTED',
2456
2647
  'TASK_COMMENTED',
2648
+ 'MEMBER_MENTIONED',
2457
2649
  'EXTERNAL_LISTING_EXPIRED',
2458
2650
  'LISTING_EXPIRED',
2459
2651
  'NEW_SEEKER_RATING',
@@ -2465,6 +2657,7 @@ export const zNotificationView = z.object({
2465
2657
  'SUBSCRIPTION_PAYMENT_REVERSED',
2466
2658
  'CHANNEL_REAUTH_REQUIRED',
2467
2659
  'SOCIAL_POST_FAILED',
2660
+ 'SOCIAL_POST_COMMENTED',
2468
2661
  ]),
2469
2662
  targetId: z.optional(z.string()),
2470
2663
  payload: z.union([
@@ -2472,8 +2665,10 @@ export const zNotificationView = z.object({
2472
2665
  zChannelReauthRequired,
2473
2666
  zContactAssigned,
2474
2667
  zListingExpired,
2668
+ zMemberMentioned,
2475
2669
  zNewMessage,
2476
2670
  zNewSeekerRating,
2671
+ zSocialPostCommented,
2477
2672
  zSocialPostFailed,
2478
2673
  zSubscriptionEnding,
2479
2674
  zSubscriptionExpired,
@@ -2481,6 +2676,14 @@ export const zNotificationView = z.object({
2481
2676
  zSubscriptionPaymentReversed,
2482
2677
  zTaskCommented,
2483
2678
  ]),
2679
+ count: z
2680
+ .int()
2681
+ .min(-2147483648, {
2682
+ error: 'Invalid value: Expected int32 to be >= -2147483648',
2683
+ })
2684
+ .max(2147483647, {
2685
+ error: 'Invalid value: Expected int32 to be <= 2147483647',
2686
+ }),
2484
2687
  createdAt: z.iso.datetime(),
2485
2688
  read: z.boolean(),
2486
2689
  });
@@ -3025,6 +3228,24 @@ export const zComposerPreview = z.object({
3025
3228
  photos: z.array(zComposerPhoto),
3026
3229
  access: z.enum(['ALLOWED', 'NOT_CONNECTED', 'RECONNECT_REQUIRED']),
3027
3230
  });
3231
+ export const zSocialCommentPost = z.object({
3232
+ postId: z.uuid(),
3233
+ channel: z.enum(['FACEBOOK', 'INSTAGRAM']),
3234
+ status: z.enum(['PUBLISHING', 'PUBLISHED', 'FAILED', 'REMOVED']),
3235
+ permalink: z.string(),
3236
+ publishedAt: z.iso.datetime(),
3237
+ });
3238
+ export const zSocialCommentThreadResponse = z.object({
3239
+ post: zSocialCommentPost,
3240
+ comment: zSocialCommentResponse,
3241
+ replies: z.array(zSocialCommentResponse),
3242
+ answered: z.boolean(),
3243
+ });
3244
+ export const zCursorPageSocialCommentThreadResponse = z.object({
3245
+ items: z.optional(z.array(zSocialCommentThreadResponse)),
3246
+ nextCursor: z.optional(z.string()),
3247
+ hasNext: z.optional(z.boolean()),
3248
+ });
3028
3249
  export const zContactGridResponse = z.object({
3029
3250
  id: z.coerce
3030
3251
  .bigint()
@@ -3195,7 +3416,7 @@ export const zClient360Response = z.object({
3195
3416
  updatedAt: z.iso.datetime(),
3196
3417
  interests: z.array(zContactInterestResponse),
3197
3418
  properties: z.array(zContactPropertyResponse),
3198
- tasks: z.array(zContactTaskResponse),
3419
+ tasks: zContactTasksResponse,
3199
3420
  });
3200
3421
  export const zAssignedAgent = z.object({
3201
3422
  memberId: z.uuid(),
@@ -4916,6 +5137,76 @@ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSo
4916
5137
  * Accepted
4917
5138
  */
4918
5139
  export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsByPostIdRetryResponse = zSocialPostView;
5140
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialCommentsByCommentIdRetryData = z.object({
5141
+ body: z.optional(z.never()),
5142
+ path: z.object({
5143
+ contactId: z.coerce
5144
+ .bigint()
5145
+ .min(BigInt('-9223372036854775808'), {
5146
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
5147
+ })
5148
+ .max(BigInt('9223372036854775807'), {
5149
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
5150
+ }),
5151
+ propertyId: z.coerce
5152
+ .bigint()
5153
+ .min(BigInt('-9223372036854775808'), {
5154
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
5155
+ })
5156
+ .max(BigInt('9223372036854775807'), {
5157
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
5158
+ }),
5159
+ listingId: z.coerce
5160
+ .bigint()
5161
+ .min(BigInt('-9223372036854775808'), {
5162
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
5163
+ })
5164
+ .max(BigInt('9223372036854775807'), {
5165
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
5166
+ }),
5167
+ commentId: z.uuid(),
5168
+ }),
5169
+ query: z.optional(z.never()),
5170
+ });
5171
+ /**
5172
+ * Accepted
5173
+ */
5174
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialCommentsByCommentIdRetryResponse = zSocialCommentResponse;
5175
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialCommentsByCommentIdRepliesData = z.object({
5176
+ body: zReplyToSocialCommentRequest,
5177
+ path: z.object({
5178
+ contactId: z.coerce
5179
+ .bigint()
5180
+ .min(BigInt('-9223372036854775808'), {
5181
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
5182
+ })
5183
+ .max(BigInt('9223372036854775807'), {
5184
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
5185
+ }),
5186
+ propertyId: z.coerce
5187
+ .bigint()
5188
+ .min(BigInt('-9223372036854775808'), {
5189
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
5190
+ })
5191
+ .max(BigInt('9223372036854775807'), {
5192
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
5193
+ }),
5194
+ listingId: z.coerce
5195
+ .bigint()
5196
+ .min(BigInt('-9223372036854775808'), {
5197
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
5198
+ })
5199
+ .max(BigInt('9223372036854775807'), {
5200
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
5201
+ }),
5202
+ commentId: z.uuid(),
5203
+ }),
5204
+ query: z.optional(z.never()),
5205
+ });
5206
+ /**
5207
+ * Accepted
5208
+ */
5209
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialCommentsByCommentIdRepliesResponse = zSocialCommentResponse;
4919
5210
  export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdResumeData = z.object({
4920
5211
  body: z.optional(z.never()),
4921
5212
  path: z.object({
@@ -5490,7 +5781,7 @@ export const zGetTaskByContactByContactIdData = z.object({
5490
5781
  /**
5491
5782
  * OK
5492
5783
  */
5493
- export const zGetTaskByContactByContactIdResponse = z.array(zContactTaskResponse);
5784
+ export const zGetTaskByContactByContactIdResponse = zContactTasksResponse;
5494
5785
  export const zGetTaskBoardByBoardIdData = z.object({
5495
5786
  body: z.optional(z.never()),
5496
5787
  path: z.object({
@@ -6479,6 +6770,54 @@ export const zGetContactsByContactIdPropertiesByPropertyIdListingsByListingIdSoc
6479
6770
  * OK
6480
6771
  */
6481
6772
  export const zGetContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsPreviewResponse = zComposerPreview;
6773
+ export const zGetContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialCommentsData = z.object({
6774
+ body: z.optional(z.never()),
6775
+ path: z.object({
6776
+ contactId: z.coerce
6777
+ .bigint()
6778
+ .min(BigInt('-9223372036854775808'), {
6779
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
6780
+ })
6781
+ .max(BigInt('9223372036854775807'), {
6782
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
6783
+ }),
6784
+ propertyId: z.coerce
6785
+ .bigint()
6786
+ .min(BigInt('-9223372036854775808'), {
6787
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
6788
+ })
6789
+ .max(BigInt('9223372036854775807'), {
6790
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
6791
+ }),
6792
+ listingId: z.coerce
6793
+ .bigint()
6794
+ .min(BigInt('-9223372036854775808'), {
6795
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
6796
+ })
6797
+ .max(BigInt('9223372036854775807'), {
6798
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
6799
+ }),
6800
+ }),
6801
+ query: z.optional(z.object({
6802
+ postId: z.optional(z.uuid()),
6803
+ channel: z.optional(z.enum(['FACEBOOK', 'INSTAGRAM'])),
6804
+ cursor: z.optional(z.string()),
6805
+ limit: z
6806
+ .optional(z
6807
+ .int()
6808
+ .min(-2147483648, {
6809
+ error: 'Invalid value: Expected int32 to be >= -2147483648',
6810
+ })
6811
+ .max(2147483647, {
6812
+ error: 'Invalid value: Expected int32 to be <= 2147483647',
6813
+ }))
6814
+ .default(10),
6815
+ })),
6816
+ });
6817
+ /**
6818
+ * OK
6819
+ */
6820
+ export const zGetContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialCommentsResponse = zCursorPageSocialCommentThreadResponse;
6482
6821
  export const zGetContactsByContactIdInterestsByInterestIdRecommendationsDecisionsData = z.object({
6483
6822
  body: z.optional(z.never()),
6484
6823
  path: z.object({
@@ -6625,6 +6964,27 @@ export const zGetContactGroupsData = z.object({
6625
6964
  * OK
6626
6965
  */
6627
6966
  export const zGetContactGroupsResponse = z.array(zGroupCount);
6967
+ export const zGetCommentsMentionsData = z.object({
6968
+ body: z.optional(z.never()),
6969
+ path: z.optional(z.never()),
6970
+ query: z.optional(z.object({
6971
+ cursor: z.optional(z.string()),
6972
+ limit: z
6973
+ .optional(z
6974
+ .int()
6975
+ .min(-2147483648, {
6976
+ error: 'Invalid value: Expected int32 to be >= -2147483648',
6977
+ })
6978
+ .max(2147483647, {
6979
+ error: 'Invalid value: Expected int32 to be <= 2147483647',
6980
+ }))
6981
+ .default(10),
6982
+ })),
6983
+ });
6984
+ /**
6985
+ * OK
6986
+ */
6987
+ export const zGetCommentsMentionsResponse = zCursorPageCommentView;
6628
6988
  export const zDeleteBoardByBoardIdData = z.object({
6629
6989
  body: z.optional(z.never()),
6630
6990
  path: z.object({