@homespot-sdk/core 0.0.366 → 0.0.367
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/schemas.gen.d.ts +13 -1
- package/dist/property/schemas.gen.d.ts.map +1 -1
- package/dist/property/schemas.gen.js +22 -1
- package/dist/property/schemas.gen.js.map +1 -1
- package/dist/property/types.gen.d.ts +12 -0
- package/dist/property/types.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.d.ts +27 -0
- package/dist/property/zod.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.js +3 -0
- package/dist/property/zod.gen.js.map +1 -1
- package/dist/rem/index.d.ts +1 -1
- package/dist/rem/index.d.ts.map +1 -1
- package/dist/rem/schemas.gen.d.ts +88 -7
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +95 -5
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +61 -5
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +89 -4
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +63 -1
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/types.gen.d.ts
CHANGED
|
@@ -581,13 +581,17 @@ export type PublishSocialPostRequest = {
|
|
|
581
581
|
channel: 'FACEBOOK' | 'INSTAGRAM';
|
|
582
582
|
caption: string;
|
|
583
583
|
/**
|
|
584
|
-
*
|
|
584
|
+
* PHOTOS (the default) or VIDEO: the property's video, which takes no photos and no ratio
|
|
585
|
+
*/
|
|
586
|
+
media?: 'PHOTOS' | 'VIDEO';
|
|
587
|
+
/**
|
|
588
|
+
* Instagram photo posts only; defaults to LANDSCAPE
|
|
585
589
|
*/
|
|
586
590
|
ratio?: 'LANDSCAPE' | 'SQUARE' | 'PORTRAIT';
|
|
587
591
|
/**
|
|
588
|
-
* In post order
|
|
592
|
+
* In post order; none for a video post
|
|
589
593
|
*/
|
|
590
|
-
photos
|
|
594
|
+
photos?: Array<Photo>;
|
|
591
595
|
};
|
|
592
596
|
export type FocusView = {
|
|
593
597
|
x: number;
|
|
@@ -602,11 +606,15 @@ export type SocialPostView = {
|
|
|
602
606
|
id: string;
|
|
603
607
|
channel: 'FACEBOOK' | 'INSTAGRAM';
|
|
604
608
|
status: 'PUBLISHING' | 'PUBLISHED' | 'FAILED' | 'REMOVED';
|
|
609
|
+
media: 'PHOTOS' | 'VIDEO';
|
|
605
610
|
caption: string;
|
|
606
611
|
/**
|
|
607
|
-
* Instagram only
|
|
612
|
+
* Instagram photo posts only
|
|
608
613
|
*/
|
|
609
614
|
ratio?: 'LANDSCAPE' | 'SQUARE' | 'PORTRAIT';
|
|
615
|
+
/**
|
|
616
|
+
* Empty for a video post
|
|
617
|
+
*/
|
|
610
618
|
photos: Array<PhotoView>;
|
|
611
619
|
failureReason?: 'RECONNECT_REQUIRED' | 'PERMISSION_MISSING' | 'PAGE_PUBLISHING_AUTHORIZATION' | 'RATE_LIMITED' | 'BAD_MEDIA' | 'UNCONFIRMED' | 'UNKNOWN';
|
|
612
620
|
failureDetail?: string;
|
|
@@ -1636,12 +1644,35 @@ export type PropertyPageResponse = {
|
|
|
1636
1644
|
type: 'HOUSE' | 'TOWN_HOUSE' | 'COUNTRY_HOUSE' | 'VILLA' | 'COTTAGE' | 'APARTMENT' | 'DUPLEX' | 'TRIPLEX' | 'SEMI_BASEMENT' | 'ATTIC' | 'AGRICULTURAL_LAND' | 'RESIDENTIAL_LAND' | 'HOTEL_ROOM' | 'MOTEL_ROOM' | 'CO_LIVING_SPACE' | 'OFFICE' | 'COMMERCIAL_SPACE' | 'CO_WORKING_SPACE' | 'WAREHOUSE' | 'GARAGE';
|
|
1637
1645
|
state: 'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED';
|
|
1638
1646
|
details?: PropertyDetailsResponse;
|
|
1647
|
+
/**
|
|
1648
|
+
* The property's video; null when it has none
|
|
1649
|
+
*/
|
|
1650
|
+
video?: PropertyVideoResponse;
|
|
1639
1651
|
agreement: AgreementResponse;
|
|
1640
1652
|
listings: Array<PropertyListingResponse>;
|
|
1641
1653
|
createdAt: Date;
|
|
1642
1654
|
updatedAt: Date;
|
|
1643
1655
|
closeReason?: PropertyCloseReasonResponse;
|
|
1644
1656
|
};
|
|
1657
|
+
export type PropertyVideoResponse = {
|
|
1658
|
+
/**
|
|
1659
|
+
* An MP4 with its index first: a player can start before it has the file
|
|
1660
|
+
*/
|
|
1661
|
+
url: string;
|
|
1662
|
+
/**
|
|
1663
|
+
* A JPEG frame from the video, to show before it plays
|
|
1664
|
+
*/
|
|
1665
|
+
posterUrl: string;
|
|
1666
|
+
durationMs: number;
|
|
1667
|
+
/**
|
|
1668
|
+
* As the video is shown, after the phone's rotation
|
|
1669
|
+
*/
|
|
1670
|
+
width: number;
|
|
1671
|
+
/**
|
|
1672
|
+
* As the video is shown, after the phone's rotation
|
|
1673
|
+
*/
|
|
1674
|
+
height: number;
|
|
1675
|
+
};
|
|
1645
1676
|
export type SocialPostResponse = {
|
|
1646
1677
|
/**
|
|
1647
1678
|
* For retrying a failed post, or reading it in full
|
|
@@ -1649,12 +1680,13 @@ export type SocialPostResponse = {
|
|
|
1649
1680
|
postId: string;
|
|
1650
1681
|
channel: 'FACEBOOK' | 'INSTAGRAM';
|
|
1651
1682
|
status: 'PUBLISHING' | 'PUBLISHED' | 'FAILED' | 'REMOVED';
|
|
1683
|
+
media: 'PHOTOS' | 'VIDEO';
|
|
1652
1684
|
/**
|
|
1653
1685
|
* Exactly as published
|
|
1654
1686
|
*/
|
|
1655
1687
|
caption: string;
|
|
1656
1688
|
/**
|
|
1657
|
-
* The post's first photo, as uploaded to the gallery (not the Instagram crop)
|
|
1689
|
+
* The post's first photo, as uploaded to the gallery (not the Instagram crop), or the poster of its video
|
|
1658
1690
|
*/
|
|
1659
1691
|
thumbnailUrl?: string;
|
|
1660
1692
|
/**
|
|
@@ -2193,11 +2225,35 @@ export type ComposerPreview = {
|
|
|
2193
2225
|
* The whole gallery, in gallery order
|
|
2194
2226
|
*/
|
|
2195
2227
|
photos: Array<ComposerPhoto>;
|
|
2228
|
+
/**
|
|
2229
|
+
* The property's video, which a post may show instead of photos; null when it has none
|
|
2230
|
+
*/
|
|
2231
|
+
video?: ComposerVideo;
|
|
2196
2232
|
/**
|
|
2197
2233
|
* Whether the agency can post to the channel now; publishing refuses anything but ALLOWED
|
|
2198
2234
|
*/
|
|
2199
2235
|
access: 'ALLOWED' | 'NOT_CONNECTED' | 'RECONNECT_REQUIRED';
|
|
2200
2236
|
};
|
|
2237
|
+
export type ComposerVideo = {
|
|
2238
|
+
url: string;
|
|
2239
|
+
/**
|
|
2240
|
+
* A frame of the video: Instagram's cover for the Reel
|
|
2241
|
+
*/
|
|
2242
|
+
posterUrl: string;
|
|
2243
|
+
durationMs: number;
|
|
2244
|
+
/**
|
|
2245
|
+
* As the video is shown, in pixels
|
|
2246
|
+
*/
|
|
2247
|
+
width: number;
|
|
2248
|
+
/**
|
|
2249
|
+
* As the video is shown, in pixels
|
|
2250
|
+
*/
|
|
2251
|
+
height: number;
|
|
2252
|
+
/**
|
|
2253
|
+
* A copy that Instagram takes is being made to replace a 4K, slow-motion or very high-bitrate video, for a few minutes after the upload. Until it is done the video cannot be posted (409 video-processing); ask for the preview again to see when it is
|
|
2254
|
+
*/
|
|
2255
|
+
transcoding: boolean;
|
|
2256
|
+
};
|
|
2201
2257
|
export type LeftOutFact = {
|
|
2202
2258
|
/**
|
|
2203
2259
|
* As the template writes it, e.g. property.bedrooms
|