@homespot-sdk/core 0.0.358 → 0.0.359
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.
- package/dist/property/index.d.ts +2 -2
- package/dist/property/index.d.ts.map +1 -1
- package/dist/property/index.js +1 -1
- package/dist/property/index.js.map +1 -1
- package/dist/property/schemas.gen.d.ts +92 -0
- package/dist/property/schemas.gen.d.ts.map +1 -1
- package/dist/property/schemas.gen.js +99 -0
- package/dist/property/schemas.gen.js.map +1 -1
- package/dist/property/sdk.gen.d.ts +6 -2
- package/dist/property/sdk.gen.d.ts.map +1 -1
- package/dist/property/sdk.gen.js +34 -2
- package/dist/property/sdk.gen.js.map +1 -1
- package/dist/property/transformers.gen.d.ts +5 -1
- package/dist/property/transformers.gen.d.ts.map +1 -1
- package/dist/property/transformers.gen.js +40 -0
- package/dist/property/transformers.gen.js.map +1 -1
- package/dist/property/types.gen.d.ts +86 -0
- package/dist/property/types.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.d.ts +271 -6
- package/dist/property/zod.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.js +98 -0
- package/dist/property/zod.gen.js.map +1 -1
- package/dist/rem/index.d.ts +2 -2
- package/dist/rem/index.d.ts.map +1 -1
- package/dist/rem/index.js +1 -1
- package/dist/rem/index.js.map +1 -1
- package/dist/rem/schemas.gen.d.ts +453 -6
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +499 -2
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +7 -2
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +38 -2
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +4 -1
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +33 -0
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +288 -4
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +961 -74
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +401 -1
- package/dist/rem/zod.gen.js.map +1 -1
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/schemas.gen.d.ts +72 -0
- package/dist/utils/schemas.gen.d.ts.map +1 -1
- package/dist/utils/schemas.gen.js +72 -0
- package/dist/utils/schemas.gen.js.map +1 -1
- package/dist/utils/sdk.gen.d.ts +10 -1
- package/dist/utils/sdk.gen.d.ts.map +1 -1
- package/dist/utils/sdk.gen.js +9 -0
- package/dist/utils/sdk.gen.js.map +1 -1
- package/dist/utils/types.gen.d.ts +73 -0
- package/dist/utils/types.gen.d.ts.map +1 -1
- package/dist/utils/zod.gen.d.ts +157 -0
- package/dist/utils/zod.gen.d.ts.map +1 -1
- package/dist/utils/zod.gen.js +122 -0
- package/dist/utils/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/zod.gen.js
CHANGED
|
@@ -488,6 +488,11 @@ export const zOauthConnectionResponse = z.object({
|
|
|
488
488
|
createdAt: z.iso.datetime(),
|
|
489
489
|
updatedAt: z.iso.datetime(),
|
|
490
490
|
revokedAt: z.optional(z.iso.datetime()),
|
|
491
|
+
canPublish: z.boolean(),
|
|
492
|
+
canReadComments: z.boolean(),
|
|
493
|
+
canReply: z.boolean(),
|
|
494
|
+
canReadStats: z.boolean(),
|
|
495
|
+
reconnectRequired: z.boolean(),
|
|
491
496
|
});
|
|
492
497
|
export const zAttendeeRequest = z.object({
|
|
493
498
|
role: z.enum(['ORGANIZER', 'MEMBER', 'OWNER', 'CLIENT', 'OTHER']),
|
|
@@ -644,6 +649,68 @@ export const zRegistrationProgressResponse = z.object({
|
|
|
644
649
|
export const zAddDealRequest = z.object({
|
|
645
650
|
type: z.string(),
|
|
646
651
|
});
|
|
652
|
+
export const zFocusRequest = z.object({
|
|
653
|
+
x: z.number(),
|
|
654
|
+
y: z.number(),
|
|
655
|
+
});
|
|
656
|
+
export const zPhoto = z.object({
|
|
657
|
+
photoId: z.coerce
|
|
658
|
+
.bigint()
|
|
659
|
+
.min(BigInt('-9223372036854775808'), {
|
|
660
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
661
|
+
})
|
|
662
|
+
.max(BigInt('9223372036854775807'), {
|
|
663
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
664
|
+
}),
|
|
665
|
+
mode: z.optional(z.enum(['AUTO', 'CROP', 'FIT'])),
|
|
666
|
+
focus: z.optional(zFocusRequest),
|
|
667
|
+
});
|
|
668
|
+
export const zPublishSocialPostRequest = z.object({
|
|
669
|
+
channel: z.enum(['FACEBOOK', 'INSTAGRAM']),
|
|
670
|
+
caption: z.string(),
|
|
671
|
+
ratio: z.optional(z.enum(['LANDSCAPE', 'SQUARE', 'PORTRAIT'])),
|
|
672
|
+
photos: z.array(zPhoto),
|
|
673
|
+
templateId: z.optional(z.uuid()),
|
|
674
|
+
});
|
|
675
|
+
export const zFocusView = z.object({
|
|
676
|
+
x: z.number(),
|
|
677
|
+
y: z.number(),
|
|
678
|
+
});
|
|
679
|
+
export const zPhotoView = z.object({
|
|
680
|
+
photoId: z.coerce
|
|
681
|
+
.bigint()
|
|
682
|
+
.min(BigInt('-9223372036854775808'), {
|
|
683
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
684
|
+
})
|
|
685
|
+
.max(BigInt('9223372036854775807'), {
|
|
686
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
687
|
+
}),
|
|
688
|
+
mode: z.enum(['AUTO', 'CROP', 'FIT']),
|
|
689
|
+
focus: zFocusView,
|
|
690
|
+
});
|
|
691
|
+
export const zSocialPostView = z.object({
|
|
692
|
+
id: z.uuid(),
|
|
693
|
+
channel: z.enum(['FACEBOOK', 'INSTAGRAM']),
|
|
694
|
+
status: z.enum(['PUBLISHING', 'PUBLISHED', 'FAILED', 'REMOVED']),
|
|
695
|
+
caption: z.string(),
|
|
696
|
+
ratio: z.optional(z.enum(['LANDSCAPE', 'SQUARE', 'PORTRAIT'])),
|
|
697
|
+
photos: z.array(zPhotoView),
|
|
698
|
+
templateId: z.optional(z.uuid()),
|
|
699
|
+
failureReason: z.optional(z.enum([
|
|
700
|
+
'RECONNECT_REQUIRED',
|
|
701
|
+
'PERMISSION_MISSING',
|
|
702
|
+
'PAGE_PUBLISHING_AUTHORIZATION',
|
|
703
|
+
'RATE_LIMITED',
|
|
704
|
+
'BAD_MEDIA',
|
|
705
|
+
'UNCONFIRMED',
|
|
706
|
+
'UNKNOWN',
|
|
707
|
+
])),
|
|
708
|
+
failureDetail: z.optional(z.string()),
|
|
709
|
+
permalink: z.optional(z.string()),
|
|
710
|
+
publishedAt: z.optional(z.iso.datetime()),
|
|
711
|
+
createdBy: z.uuid(),
|
|
712
|
+
createdAt: z.iso.datetime(),
|
|
713
|
+
});
|
|
647
714
|
export const zCloseListingRequest = z.object({
|
|
648
715
|
withdrawExternal: z.optional(z.boolean()),
|
|
649
716
|
});
|
|
@@ -683,6 +750,17 @@ export const zIdResponseLong = z.object({
|
|
|
683
750
|
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
684
751
|
}),
|
|
685
752
|
});
|
|
753
|
+
export const zExternalListingWithdrawRequest = z.object({
|
|
754
|
+
platform: z.enum(['SS', 'MY_HOME']),
|
|
755
|
+
listingId: z.coerce
|
|
756
|
+
.bigint()
|
|
757
|
+
.min(BigInt('-9223372036854775808'), {
|
|
758
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
759
|
+
})
|
|
760
|
+
.max(BigInt('9223372036854775807'), {
|
|
761
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
762
|
+
}),
|
|
763
|
+
});
|
|
686
764
|
export const zExternalListingPublishRequest = z.object({
|
|
687
765
|
platform: z.enum(['SS', 'MY_HOME']),
|
|
688
766
|
listingId: z.coerce
|
|
@@ -2019,10 +2097,18 @@ export const zPlatformListingResponse = z.object({
|
|
|
2019
2097
|
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2020
2098
|
})),
|
|
2021
2099
|
platformType: z.enum(['SS', 'MY_HOME']),
|
|
2022
|
-
status: z.enum([
|
|
2100
|
+
status: z.enum([
|
|
2101
|
+
'PENDING',
|
|
2102
|
+
'SYNDICATED',
|
|
2103
|
+
'FAILED',
|
|
2104
|
+
'EXPIRED',
|
|
2105
|
+
'WITHDRAWING',
|
|
2106
|
+
'WITHDRAWN',
|
|
2107
|
+
]),
|
|
2023
2108
|
listedAt: z.optional(z.iso.date()),
|
|
2024
2109
|
expiresAt: z.optional(z.iso.date()),
|
|
2025
2110
|
renewedAt: z.optional(z.iso.date()),
|
|
2111
|
+
failureReason: z.optional(z.string()),
|
|
2026
2112
|
boost: z.optional(zBoostResponse),
|
|
2027
2113
|
coloredListing: z.optional(zColoredListingResponse),
|
|
2028
2114
|
});
|
|
@@ -2051,6 +2137,53 @@ export const zPropertyDetailsResponse = z.object({
|
|
|
2051
2137
|
balconyArea: z.optional(z.number()),
|
|
2052
2138
|
address: zAddressResponse,
|
|
2053
2139
|
});
|
|
2140
|
+
export const zSocialPostStats = z.object({
|
|
2141
|
+
likes: z
|
|
2142
|
+
.int()
|
|
2143
|
+
.min(-2147483648, {
|
|
2144
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
2145
|
+
})
|
|
2146
|
+
.max(2147483647, {
|
|
2147
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
2148
|
+
}),
|
|
2149
|
+
comments: z
|
|
2150
|
+
.int()
|
|
2151
|
+
.min(-2147483648, {
|
|
2152
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
2153
|
+
})
|
|
2154
|
+
.max(2147483647, {
|
|
2155
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
2156
|
+
}),
|
|
2157
|
+
shares: z
|
|
2158
|
+
.int()
|
|
2159
|
+
.min(-2147483648, {
|
|
2160
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
2161
|
+
})
|
|
2162
|
+
.max(2147483647, {
|
|
2163
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
2164
|
+
}),
|
|
2165
|
+
fetchedAt: z.iso.datetime(),
|
|
2166
|
+
});
|
|
2167
|
+
export const zSocialPostResponse = z.object({
|
|
2168
|
+
postId: z.uuid(),
|
|
2169
|
+
channel: z.enum(['FACEBOOK', 'INSTAGRAM']),
|
|
2170
|
+
status: z.enum(['PUBLISHING', 'PUBLISHED', 'FAILED', 'REMOVED']),
|
|
2171
|
+
caption: z.string(),
|
|
2172
|
+
thumbnailUrl: z.optional(z.string()),
|
|
2173
|
+
permalink: z.optional(z.string()),
|
|
2174
|
+
publishedAt: z.optional(z.iso.datetime()),
|
|
2175
|
+
createdBy: zMemberPeekResponse,
|
|
2176
|
+
failureReason: z.optional(z.enum([
|
|
2177
|
+
'RECONNECT_REQUIRED',
|
|
2178
|
+
'PERMISSION_MISSING',
|
|
2179
|
+
'PAGE_PUBLISHING_AUTHORIZATION',
|
|
2180
|
+
'RATE_LIMITED',
|
|
2181
|
+
'BAD_MEDIA',
|
|
2182
|
+
'UNCONFIRMED',
|
|
2183
|
+
'UNKNOWN',
|
|
2184
|
+
])),
|
|
2185
|
+
stats: z.optional(zSocialPostStats),
|
|
2186
|
+
});
|
|
2054
2187
|
export const zPropertyListingResponse = z.object({
|
|
2055
2188
|
publicId: z.coerce
|
|
2056
2189
|
.bigint()
|
|
@@ -2068,6 +2201,7 @@ export const zPropertyListingResponse = z.object({
|
|
|
2068
2201
|
price: z.number(),
|
|
2069
2202
|
deal: z.optional(z.union([zFixed, zMonthsOfRent, zPercentage])),
|
|
2070
2203
|
platformListings: z.array(zPlatformListingResponse),
|
|
2204
|
+
socialPosts: z.array(zSocialPostResponse),
|
|
2071
2205
|
createdAt: z.iso.datetime(),
|
|
2072
2206
|
closedAt: z.optional(z.iso.datetime()),
|
|
2073
2207
|
});
|
|
@@ -2142,6 +2276,15 @@ export const zListingOwnerContactResponse = z.object({
|
|
|
2142
2276
|
export const zCommentId = z.object({
|
|
2143
2277
|
value: z.optional(z.uuid()),
|
|
2144
2278
|
});
|
|
2279
|
+
export const zConnectionId = z.object({
|
|
2280
|
+
value: z.optional(z.uuid()),
|
|
2281
|
+
});
|
|
2282
|
+
export const zChannelReauthRequired = z.object({
|
|
2283
|
+
connectionId: z.optional(zConnectionId),
|
|
2284
|
+
channelType: z.optional(z.enum(['FACEBOOK', 'INSTAGRAM', 'WHATSAPP', 'TIKTOK'])),
|
|
2285
|
+
displayName: z.optional(z.string()),
|
|
2286
|
+
kind: z.enum(['CHANNEL_REAUTH_REQUIRED']),
|
|
2287
|
+
});
|
|
2145
2288
|
export const zContactId = z.object({
|
|
2146
2289
|
value: z.optional(z.coerce
|
|
2147
2290
|
.bigint()
|
|
@@ -2227,6 +2370,34 @@ export const zNewSeekerRating = z.object({
|
|
|
2227
2370
|
notePreview: z.optional(z.string()),
|
|
2228
2371
|
kind: z.enum(['NEW_SEEKER_RATING']),
|
|
2229
2372
|
});
|
|
2373
|
+
export const zSocialPostId = z.object({
|
|
2374
|
+
value: z.optional(z.uuid()),
|
|
2375
|
+
});
|
|
2376
|
+
export const zSocialPostFailed = z.object({
|
|
2377
|
+
postId: z.optional(zSocialPostId),
|
|
2378
|
+
contactId: z.optional(zContactId),
|
|
2379
|
+
propertyId: z.optional(zPropertyId),
|
|
2380
|
+
listingId: z.optional(z.coerce
|
|
2381
|
+
.bigint()
|
|
2382
|
+
.min(BigInt('-9223372036854775808'), {
|
|
2383
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2384
|
+
})
|
|
2385
|
+
.max(BigInt('9223372036854775807'), {
|
|
2386
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2387
|
+
})),
|
|
2388
|
+
propertyTitle: z.optional(z.string()),
|
|
2389
|
+
channel: z.optional(z.enum(['FACEBOOK', 'INSTAGRAM'])),
|
|
2390
|
+
reason: z.optional(z.enum([
|
|
2391
|
+
'RECONNECT_REQUIRED',
|
|
2392
|
+
'PERMISSION_MISSING',
|
|
2393
|
+
'PAGE_PUBLISHING_AUTHORIZATION',
|
|
2394
|
+
'RATE_LIMITED',
|
|
2395
|
+
'BAD_MEDIA',
|
|
2396
|
+
'UNCONFIRMED',
|
|
2397
|
+
'UNKNOWN',
|
|
2398
|
+
])),
|
|
2399
|
+
kind: z.enum(['SOCIAL_POST_FAILED']),
|
|
2400
|
+
});
|
|
2230
2401
|
export const zSubscriptionId = z.object({
|
|
2231
2402
|
value: z.optional(z.uuid()),
|
|
2232
2403
|
});
|
|
@@ -2292,14 +2463,18 @@ export const zNotificationView = z.object({
|
|
|
2292
2463
|
'SUBSCRIPTION_ENDING',
|
|
2293
2464
|
'SUBSCRIPTION_EXPIRED',
|
|
2294
2465
|
'SUBSCRIPTION_PAYMENT_REVERSED',
|
|
2466
|
+
'CHANNEL_REAUTH_REQUIRED',
|
|
2467
|
+
'SOCIAL_POST_FAILED',
|
|
2295
2468
|
]),
|
|
2296
2469
|
targetId: z.optional(z.string()),
|
|
2297
2470
|
payload: z.union([
|
|
2298
2471
|
zAgentCommented,
|
|
2472
|
+
zChannelReauthRequired,
|
|
2299
2473
|
zContactAssigned,
|
|
2300
2474
|
zListingExpired,
|
|
2301
2475
|
zNewMessage,
|
|
2302
2476
|
zNewSeekerRating,
|
|
2477
|
+
zSocialPostFailed,
|
|
2303
2478
|
zSubscriptionEnding,
|
|
2304
2479
|
zSubscriptionExpired,
|
|
2305
2480
|
zSubscriptionPaymentFailed,
|
|
@@ -2490,6 +2665,10 @@ export const zPlatformView = z.object({
|
|
|
2490
2665
|
tier: z.optional(z.enum(['VIP', 'VIP_PLUS', 'SUPER_VIP'])),
|
|
2491
2666
|
boostExpiresAt: z.optional(z.iso.date()),
|
|
2492
2667
|
});
|
|
2668
|
+
export const zSocialPostLink = z.object({
|
|
2669
|
+
channel: z.enum(['FACEBOOK', 'INSTAGRAM']),
|
|
2670
|
+
permalink: z.string(),
|
|
2671
|
+
});
|
|
2493
2672
|
export const zListingGridResponse = z.object({
|
|
2494
2673
|
externalPropertyId: z.uuid(),
|
|
2495
2674
|
externalListingId: z.optional(z.uuid()),
|
|
@@ -2561,6 +2740,7 @@ export const zListingGridResponse = z.object({
|
|
|
2561
2740
|
commissionType: z.optional(z.enum(['NOT_SET', 'FIXED', 'PERCENTAGE', 'MONTHS_OF_RENT'])),
|
|
2562
2741
|
commission: z.optional(z.number()),
|
|
2563
2742
|
platforms: z.array(zPlatformView),
|
|
2743
|
+
socialPosts: z.array(zSocialPostLink),
|
|
2564
2744
|
createdAt: z.iso.datetime(),
|
|
2565
2745
|
updatedAt: z.iso.datetime(),
|
|
2566
2746
|
});
|
|
@@ -2789,6 +2969,62 @@ export const zCursorPageMessageView = z.object({
|
|
|
2789
2969
|
nextCursor: z.optional(z.string()),
|
|
2790
2970
|
hasNext: z.optional(z.boolean()),
|
|
2791
2971
|
});
|
|
2972
|
+
export const zComposerLimits = z.object({
|
|
2973
|
+
maxPhotos: z
|
|
2974
|
+
.int()
|
|
2975
|
+
.min(-2147483648, {
|
|
2976
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
2977
|
+
})
|
|
2978
|
+
.max(2147483647, {
|
|
2979
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
2980
|
+
}),
|
|
2981
|
+
maxCaptionLength: z
|
|
2982
|
+
.int()
|
|
2983
|
+
.min(-2147483648, {
|
|
2984
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
2985
|
+
})
|
|
2986
|
+
.max(2147483647, {
|
|
2987
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
2988
|
+
}),
|
|
2989
|
+
});
|
|
2990
|
+
export const zComposerPhoto = z.object({
|
|
2991
|
+
photoId: z.coerce
|
|
2992
|
+
.bigint()
|
|
2993
|
+
.min(BigInt('-9223372036854775808'), {
|
|
2994
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2995
|
+
})
|
|
2996
|
+
.max(BigInt('9223372036854775807'), {
|
|
2997
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2998
|
+
}),
|
|
2999
|
+
url: z.string(),
|
|
3000
|
+
width: z
|
|
3001
|
+
.int()
|
|
3002
|
+
.min(-2147483648, {
|
|
3003
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
3004
|
+
})
|
|
3005
|
+
.max(2147483647, {
|
|
3006
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
3007
|
+
}),
|
|
3008
|
+
height: z
|
|
3009
|
+
.int()
|
|
3010
|
+
.min(-2147483648, {
|
|
3011
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
3012
|
+
})
|
|
3013
|
+
.max(2147483647, {
|
|
3014
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
3015
|
+
}),
|
|
3016
|
+
selectedByDefault: z.boolean(),
|
|
3017
|
+
});
|
|
3018
|
+
export const zComposerPreview = z.object({
|
|
3019
|
+
channel: z.enum(['FACEBOOK', 'INSTAGRAM']),
|
|
3020
|
+
caption: z.string(),
|
|
3021
|
+
templateId: z.optional(z.uuid()),
|
|
3022
|
+
limits: zComposerLimits,
|
|
3023
|
+
ratios: z.array(z.enum(['LANDSCAPE', 'SQUARE', 'PORTRAIT'])),
|
|
3024
|
+
defaultRatio: z.optional(z.enum(['LANDSCAPE', 'SQUARE', 'PORTRAIT'])),
|
|
3025
|
+
photos: z.array(zComposerPhoto),
|
|
3026
|
+
access: z.enum(['ALLOWED', 'NOT_CONNECTED', 'RECONNECT_REQUIRED']),
|
|
3027
|
+
});
|
|
2792
3028
|
export const zContactGridResponse = z.object({
|
|
2793
3029
|
id: z.coerce
|
|
2794
3030
|
.bigint()
|
|
@@ -4611,6 +4847,75 @@ export const zPostContactsByContactIdPropertiesByPropertyIdListingsData = z.obje
|
|
|
4611
4847
|
* Created
|
|
4612
4848
|
*/
|
|
4613
4849
|
export const zPostContactsByContactIdPropertiesByPropertyIdListingsResponse = zIdResponseUuid;
|
|
4850
|
+
export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsData = z.object({
|
|
4851
|
+
body: zPublishSocialPostRequest,
|
|
4852
|
+
path: z.object({
|
|
4853
|
+
contactId: z.coerce
|
|
4854
|
+
.bigint()
|
|
4855
|
+
.min(BigInt('-9223372036854775808'), {
|
|
4856
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
4857
|
+
})
|
|
4858
|
+
.max(BigInt('9223372036854775807'), {
|
|
4859
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
4860
|
+
}),
|
|
4861
|
+
propertyId: z.coerce
|
|
4862
|
+
.bigint()
|
|
4863
|
+
.min(BigInt('-9223372036854775808'), {
|
|
4864
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
4865
|
+
})
|
|
4866
|
+
.max(BigInt('9223372036854775807'), {
|
|
4867
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
4868
|
+
}),
|
|
4869
|
+
listingId: z.coerce
|
|
4870
|
+
.bigint()
|
|
4871
|
+
.min(BigInt('-9223372036854775808'), {
|
|
4872
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
4873
|
+
})
|
|
4874
|
+
.max(BigInt('9223372036854775807'), {
|
|
4875
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
4876
|
+
}),
|
|
4877
|
+
}),
|
|
4878
|
+
query: z.optional(z.never()),
|
|
4879
|
+
});
|
|
4880
|
+
/**
|
|
4881
|
+
* Accepted
|
|
4882
|
+
*/
|
|
4883
|
+
export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsResponse = zSocialPostView;
|
|
4884
|
+
export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsByPostIdRetryData = z.object({
|
|
4885
|
+
body: z.optional(z.never()),
|
|
4886
|
+
path: z.object({
|
|
4887
|
+
contactId: z.coerce
|
|
4888
|
+
.bigint()
|
|
4889
|
+
.min(BigInt('-9223372036854775808'), {
|
|
4890
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
4891
|
+
})
|
|
4892
|
+
.max(BigInt('9223372036854775807'), {
|
|
4893
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
4894
|
+
}),
|
|
4895
|
+
propertyId: z.coerce
|
|
4896
|
+
.bigint()
|
|
4897
|
+
.min(BigInt('-9223372036854775808'), {
|
|
4898
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
4899
|
+
})
|
|
4900
|
+
.max(BigInt('9223372036854775807'), {
|
|
4901
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
4902
|
+
}),
|
|
4903
|
+
listingId: z.coerce
|
|
4904
|
+
.bigint()
|
|
4905
|
+
.min(BigInt('-9223372036854775808'), {
|
|
4906
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
4907
|
+
})
|
|
4908
|
+
.max(BigInt('9223372036854775807'), {
|
|
4909
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
4910
|
+
}),
|
|
4911
|
+
postId: z.uuid(),
|
|
4912
|
+
}),
|
|
4913
|
+
query: z.optional(z.never()),
|
|
4914
|
+
});
|
|
4915
|
+
/**
|
|
4916
|
+
* Accepted
|
|
4917
|
+
*/
|
|
4918
|
+
export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsByPostIdRetryResponse = zSocialPostView;
|
|
4614
4919
|
export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdResumeData = z.object({
|
|
4615
4920
|
body: z.optional(z.never()),
|
|
4616
4921
|
path: z.object({
|
|
@@ -5001,6 +5306,28 @@ export const zPostContactData = z.object({
|
|
|
5001
5306
|
* Created
|
|
5002
5307
|
*/
|
|
5003
5308
|
export const zPostContactResponse = zIdResponseLong;
|
|
5309
|
+
export const zPostContactByContactIdPropertyByPropertyIdExternalListingWithdrawData = z.object({
|
|
5310
|
+
body: zExternalListingWithdrawRequest,
|
|
5311
|
+
path: z.object({
|
|
5312
|
+
contactId: z.coerce
|
|
5313
|
+
.bigint()
|
|
5314
|
+
.min(BigInt('-9223372036854775808'), {
|
|
5315
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
5316
|
+
})
|
|
5317
|
+
.max(BigInt('9223372036854775807'), {
|
|
5318
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
5319
|
+
}),
|
|
5320
|
+
propertyId: z.coerce
|
|
5321
|
+
.bigint()
|
|
5322
|
+
.min(BigInt('-9223372036854775808'), {
|
|
5323
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
5324
|
+
})
|
|
5325
|
+
.max(BigInt('9223372036854775807'), {
|
|
5326
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
5327
|
+
}),
|
|
5328
|
+
}),
|
|
5329
|
+
query: z.optional(z.never()),
|
|
5330
|
+
});
|
|
5004
5331
|
export const zPostContactByContactIdPropertyByPropertyIdExternalListingPublishData = z.object({
|
|
5005
5332
|
body: zExternalListingPublishRequest,
|
|
5006
5333
|
path: z.object({
|
|
@@ -5661,6 +5988,7 @@ export const zGetListingData = z.object({
|
|
|
5661
5988
|
platforms: z.optional(z.array(z.enum(['SS', 'MY_HOME']))),
|
|
5662
5989
|
platformExpiresFrom: z.optional(z.iso.date()),
|
|
5663
5990
|
platformExpiresTo: z.optional(z.iso.date()),
|
|
5991
|
+
socialChannels: z.optional(z.array(z.enum(['FACEBOOK', 'INSTAGRAM']))),
|
|
5664
5992
|
boostTiers: z.optional(z.array(z.string())),
|
|
5665
5993
|
boostExpiresFrom: z.optional(z.iso.date()),
|
|
5666
5994
|
boostExpiresTo: z.optional(z.iso.date()),
|
|
@@ -5763,6 +6091,7 @@ export const zGetListingGroupsData = z.object({
|
|
|
5763
6091
|
platforms: z.optional(z.array(z.enum(['SS', 'MY_HOME']))),
|
|
5764
6092
|
platformExpiresFrom: z.optional(z.iso.date()),
|
|
5765
6093
|
platformExpiresTo: z.optional(z.iso.date()),
|
|
6094
|
+
socialChannels: z.optional(z.array(z.enum(['FACEBOOK', 'INSTAGRAM']))),
|
|
5766
6095
|
boostTiers: z.optional(z.array(z.string())),
|
|
5767
6096
|
boostExpiresFrom: z.optional(z.iso.date()),
|
|
5768
6097
|
boostExpiresTo: z.optional(z.iso.date()),
|
|
@@ -6079,6 +6408,77 @@ export const zGetConversationsByConversationIdUpdatesData = z.object({
|
|
|
6079
6408
|
* OK
|
|
6080
6409
|
*/
|
|
6081
6410
|
export const zGetConversationsByConversationIdUpdatesResponse = zThreadUpdates;
|
|
6411
|
+
export const zGetContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsByPostIdData = z.object({
|
|
6412
|
+
body: z.optional(z.never()),
|
|
6413
|
+
path: z.object({
|
|
6414
|
+
contactId: z.coerce
|
|
6415
|
+
.bigint()
|
|
6416
|
+
.min(BigInt('-9223372036854775808'), {
|
|
6417
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
6418
|
+
})
|
|
6419
|
+
.max(BigInt('9223372036854775807'), {
|
|
6420
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
6421
|
+
}),
|
|
6422
|
+
propertyId: z.coerce
|
|
6423
|
+
.bigint()
|
|
6424
|
+
.min(BigInt('-9223372036854775808'), {
|
|
6425
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
6426
|
+
})
|
|
6427
|
+
.max(BigInt('9223372036854775807'), {
|
|
6428
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
6429
|
+
}),
|
|
6430
|
+
listingId: z.coerce
|
|
6431
|
+
.bigint()
|
|
6432
|
+
.min(BigInt('-9223372036854775808'), {
|
|
6433
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
6434
|
+
})
|
|
6435
|
+
.max(BigInt('9223372036854775807'), {
|
|
6436
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
6437
|
+
}),
|
|
6438
|
+
postId: z.uuid(),
|
|
6439
|
+
}),
|
|
6440
|
+
query: z.optional(z.never()),
|
|
6441
|
+
});
|
|
6442
|
+
/**
|
|
6443
|
+
* OK
|
|
6444
|
+
*/
|
|
6445
|
+
export const zGetContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsByPostIdResponse = zSocialPostView;
|
|
6446
|
+
export const zGetContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsPreviewData = z.object({
|
|
6447
|
+
body: z.optional(z.never()),
|
|
6448
|
+
path: z.object({
|
|
6449
|
+
contactId: z.coerce
|
|
6450
|
+
.bigint()
|
|
6451
|
+
.min(BigInt('-9223372036854775808'), {
|
|
6452
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
6453
|
+
})
|
|
6454
|
+
.max(BigInt('9223372036854775807'), {
|
|
6455
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
6456
|
+
}),
|
|
6457
|
+
propertyId: z.coerce
|
|
6458
|
+
.bigint()
|
|
6459
|
+
.min(BigInt('-9223372036854775808'), {
|
|
6460
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
6461
|
+
})
|
|
6462
|
+
.max(BigInt('9223372036854775807'), {
|
|
6463
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
6464
|
+
}),
|
|
6465
|
+
listingId: z.coerce
|
|
6466
|
+
.bigint()
|
|
6467
|
+
.min(BigInt('-9223372036854775808'), {
|
|
6468
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
6469
|
+
})
|
|
6470
|
+
.max(BigInt('9223372036854775807'), {
|
|
6471
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
6472
|
+
}),
|
|
6473
|
+
}),
|
|
6474
|
+
query: z.object({
|
|
6475
|
+
channel: z.enum(['FACEBOOK', 'INSTAGRAM']),
|
|
6476
|
+
}),
|
|
6477
|
+
});
|
|
6478
|
+
/**
|
|
6479
|
+
* OK
|
|
6480
|
+
*/
|
|
6481
|
+
export const zGetContactsByContactIdPropertiesByPropertyIdListingsByListingIdSocialPostsPreviewResponse = zComposerPreview;
|
|
6082
6482
|
export const zGetContactsByContactIdInterestsByInterestIdRecommendationsDecisionsData = z.object({
|
|
6083
6483
|
body: z.optional(z.never()),
|
|
6084
6484
|
path: z.object({
|