@homespot-sdk/core 0.0.358 → 0.0.360
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 +758 -141
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +829 -127
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +8 -2
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +45 -2
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +6 -1
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +56 -0
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +387 -45
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +2093 -270
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +577 -47
- 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
|
@@ -182,7 +182,7 @@ export declare const CommentBodyRequestSchema: {
|
|
|
182
182
|
readonly properties: {
|
|
183
183
|
readonly body: {
|
|
184
184
|
readonly type: "string";
|
|
185
|
-
readonly maxLength:
|
|
185
|
+
readonly maxLength: 6300;
|
|
186
186
|
readonly minLength: 0;
|
|
187
187
|
};
|
|
188
188
|
};
|
|
@@ -1091,8 +1091,25 @@ export declare const OauthConnectionResponseSchema: {
|
|
|
1091
1091
|
readonly type: "string";
|
|
1092
1092
|
readonly format: "date-time";
|
|
1093
1093
|
};
|
|
1094
|
+
readonly canPublish: {
|
|
1095
|
+
readonly type: "boolean";
|
|
1096
|
+
};
|
|
1097
|
+
readonly canReadComments: {
|
|
1098
|
+
readonly type: "boolean";
|
|
1099
|
+
};
|
|
1100
|
+
readonly canReply: {
|
|
1101
|
+
readonly type: "boolean";
|
|
1102
|
+
};
|
|
1103
|
+
readonly canReadStats: {
|
|
1104
|
+
readonly type: "boolean";
|
|
1105
|
+
readonly description: "Like and comment counts on a post";
|
|
1106
|
+
};
|
|
1107
|
+
readonly reconnectRequired: {
|
|
1108
|
+
readonly type: "boolean";
|
|
1109
|
+
readonly description: "The token is dead, or the grant lacks a scope the connect flow asks for — re-running the connect flow is what fixes it";
|
|
1110
|
+
};
|
|
1094
1111
|
};
|
|
1095
|
-
readonly required: readonly ["agencyId", "createdAt", "provider", "status", "updatedAt", "userId"];
|
|
1112
|
+
readonly required: readonly ["agencyId", "canPublish", "canReadComments", "canReadStats", "canReply", "createdAt", "provider", "reconnectRequired", "status", "updatedAt", "userId"];
|
|
1096
1113
|
};
|
|
1097
1114
|
export declare const AttendeeRequestSchema: {
|
|
1098
1115
|
readonly type: "object";
|
|
@@ -1462,6 +1479,156 @@ export declare const PercentageSchema: {
|
|
|
1462
1479
|
}];
|
|
1463
1480
|
readonly required: readonly ["rate"];
|
|
1464
1481
|
};
|
|
1482
|
+
export declare const FocusRequestSchema: {
|
|
1483
|
+
readonly type: "object";
|
|
1484
|
+
readonly properties: {
|
|
1485
|
+
readonly x: {
|
|
1486
|
+
readonly type: "number";
|
|
1487
|
+
readonly format: "double";
|
|
1488
|
+
};
|
|
1489
|
+
readonly y: {
|
|
1490
|
+
readonly type: "number";
|
|
1491
|
+
readonly format: "double";
|
|
1492
|
+
};
|
|
1493
|
+
};
|
|
1494
|
+
readonly required: readonly ["x", "y"];
|
|
1495
|
+
};
|
|
1496
|
+
export declare const PhotoSchema: {
|
|
1497
|
+
readonly type: "object";
|
|
1498
|
+
readonly properties: {
|
|
1499
|
+
readonly photoId: {
|
|
1500
|
+
readonly type: "integer";
|
|
1501
|
+
readonly format: "int64";
|
|
1502
|
+
};
|
|
1503
|
+
readonly mode: {
|
|
1504
|
+
readonly type: "string";
|
|
1505
|
+
readonly enum: readonly ["AUTO", "CROP", "FIT"];
|
|
1506
|
+
};
|
|
1507
|
+
readonly focus: {
|
|
1508
|
+
readonly $ref: "#/components/schemas/FocusRequest";
|
|
1509
|
+
};
|
|
1510
|
+
};
|
|
1511
|
+
readonly required: readonly ["photoId"];
|
|
1512
|
+
};
|
|
1513
|
+
export declare const PublishSocialPostRequestSchema: {
|
|
1514
|
+
readonly type: "object";
|
|
1515
|
+
readonly properties: {
|
|
1516
|
+
readonly channel: {
|
|
1517
|
+
readonly type: "string";
|
|
1518
|
+
readonly enum: readonly ["FACEBOOK", "INSTAGRAM"];
|
|
1519
|
+
};
|
|
1520
|
+
readonly caption: {
|
|
1521
|
+
readonly type: "string";
|
|
1522
|
+
};
|
|
1523
|
+
readonly ratio: {
|
|
1524
|
+
readonly type: "string";
|
|
1525
|
+
readonly description: "Instagram only; defaults to LANDSCAPE";
|
|
1526
|
+
readonly enum: readonly ["LANDSCAPE", "SQUARE", "PORTRAIT"];
|
|
1527
|
+
};
|
|
1528
|
+
readonly photos: {
|
|
1529
|
+
readonly type: "array";
|
|
1530
|
+
readonly description: "In post order";
|
|
1531
|
+
readonly items: {
|
|
1532
|
+
readonly $ref: "#/components/schemas/Photo";
|
|
1533
|
+
};
|
|
1534
|
+
};
|
|
1535
|
+
readonly templateId: {
|
|
1536
|
+
readonly type: "string";
|
|
1537
|
+
readonly format: "uuid";
|
|
1538
|
+
};
|
|
1539
|
+
};
|
|
1540
|
+
readonly required: readonly ["caption", "channel", "photos"];
|
|
1541
|
+
};
|
|
1542
|
+
export declare const FocusViewSchema: {
|
|
1543
|
+
readonly type: "object";
|
|
1544
|
+
readonly properties: {
|
|
1545
|
+
readonly x: {
|
|
1546
|
+
readonly type: "number";
|
|
1547
|
+
readonly format: "double";
|
|
1548
|
+
};
|
|
1549
|
+
readonly y: {
|
|
1550
|
+
readonly type: "number";
|
|
1551
|
+
readonly format: "double";
|
|
1552
|
+
};
|
|
1553
|
+
};
|
|
1554
|
+
readonly required: readonly ["x", "y"];
|
|
1555
|
+
};
|
|
1556
|
+
export declare const PhotoViewSchema: {
|
|
1557
|
+
readonly type: "object";
|
|
1558
|
+
readonly properties: {
|
|
1559
|
+
readonly photoId: {
|
|
1560
|
+
readonly type: "integer";
|
|
1561
|
+
readonly format: "int64";
|
|
1562
|
+
};
|
|
1563
|
+
readonly mode: {
|
|
1564
|
+
readonly type: "string";
|
|
1565
|
+
readonly enum: readonly ["AUTO", "CROP", "FIT"];
|
|
1566
|
+
};
|
|
1567
|
+
readonly focus: {
|
|
1568
|
+
readonly $ref: "#/components/schemas/FocusView";
|
|
1569
|
+
};
|
|
1570
|
+
};
|
|
1571
|
+
readonly required: readonly ["focus", "mode", "photoId"];
|
|
1572
|
+
};
|
|
1573
|
+
export declare const SocialPostViewSchema: {
|
|
1574
|
+
readonly type: "object";
|
|
1575
|
+
readonly properties: {
|
|
1576
|
+
readonly id: {
|
|
1577
|
+
readonly type: "string";
|
|
1578
|
+
readonly format: "uuid";
|
|
1579
|
+
};
|
|
1580
|
+
readonly channel: {
|
|
1581
|
+
readonly type: "string";
|
|
1582
|
+
readonly enum: readonly ["FACEBOOK", "INSTAGRAM"];
|
|
1583
|
+
};
|
|
1584
|
+
readonly status: {
|
|
1585
|
+
readonly type: "string";
|
|
1586
|
+
readonly enum: readonly ["PUBLISHING", "PUBLISHED", "FAILED", "REMOVED"];
|
|
1587
|
+
};
|
|
1588
|
+
readonly caption: {
|
|
1589
|
+
readonly type: "string";
|
|
1590
|
+
};
|
|
1591
|
+
readonly ratio: {
|
|
1592
|
+
readonly type: "string";
|
|
1593
|
+
readonly description: "Instagram only";
|
|
1594
|
+
readonly enum: readonly ["LANDSCAPE", "SQUARE", "PORTRAIT"];
|
|
1595
|
+
};
|
|
1596
|
+
readonly photos: {
|
|
1597
|
+
readonly type: "array";
|
|
1598
|
+
readonly items: {
|
|
1599
|
+
readonly $ref: "#/components/schemas/PhotoView";
|
|
1600
|
+
};
|
|
1601
|
+
};
|
|
1602
|
+
readonly templateId: {
|
|
1603
|
+
readonly type: "string";
|
|
1604
|
+
readonly format: "uuid";
|
|
1605
|
+
};
|
|
1606
|
+
readonly failureReason: {
|
|
1607
|
+
readonly type: "string";
|
|
1608
|
+
readonly enum: readonly ["RECONNECT_REQUIRED", "PERMISSION_MISSING", "PAGE_PUBLISHING_AUTHORIZATION", "RATE_LIMITED", "BAD_MEDIA", "UNCONFIRMED", "UNKNOWN"];
|
|
1609
|
+
};
|
|
1610
|
+
readonly failureDetail: {
|
|
1611
|
+
readonly type: "string";
|
|
1612
|
+
};
|
|
1613
|
+
readonly permalink: {
|
|
1614
|
+
readonly type: "string";
|
|
1615
|
+
readonly description: "The post on Facebook / Instagram, once published";
|
|
1616
|
+
};
|
|
1617
|
+
readonly publishedAt: {
|
|
1618
|
+
readonly type: "string";
|
|
1619
|
+
readonly format: "date-time";
|
|
1620
|
+
};
|
|
1621
|
+
readonly createdBy: {
|
|
1622
|
+
readonly type: "string";
|
|
1623
|
+
readonly format: "uuid";
|
|
1624
|
+
};
|
|
1625
|
+
readonly createdAt: {
|
|
1626
|
+
readonly type: "string";
|
|
1627
|
+
readonly format: "date-time";
|
|
1628
|
+
};
|
|
1629
|
+
};
|
|
1630
|
+
readonly required: readonly ["caption", "channel", "createdAt", "createdBy", "id", "photos", "status"];
|
|
1631
|
+
};
|
|
1465
1632
|
export declare const CloseListingRequestSchema: {
|
|
1466
1633
|
readonly type: "object";
|
|
1467
1634
|
readonly properties: {
|
|
@@ -1531,6 +1698,20 @@ export declare const IdResponseLongSchema: {
|
|
|
1531
1698
|
};
|
|
1532
1699
|
readonly required: readonly ["id"];
|
|
1533
1700
|
};
|
|
1701
|
+
export declare const ExternalListingWithdrawRequestSchema: {
|
|
1702
|
+
readonly type: "object";
|
|
1703
|
+
readonly properties: {
|
|
1704
|
+
readonly platform: {
|
|
1705
|
+
readonly type: "string";
|
|
1706
|
+
readonly enum: readonly ["SS", "MY_HOME"];
|
|
1707
|
+
};
|
|
1708
|
+
readonly listingId: {
|
|
1709
|
+
readonly type: "integer";
|
|
1710
|
+
readonly format: "int64";
|
|
1711
|
+
};
|
|
1712
|
+
};
|
|
1713
|
+
readonly required: readonly ["listingId", "platform"];
|
|
1714
|
+
};
|
|
1534
1715
|
export declare const ExternalListingPublishRequestSchema: {
|
|
1535
1716
|
readonly type: "object";
|
|
1536
1717
|
readonly properties: {
|
|
@@ -1845,44 +2026,36 @@ export declare const CommentViewSchema: {
|
|
|
1845
2026
|
readonly body: {
|
|
1846
2027
|
readonly type: "string";
|
|
1847
2028
|
};
|
|
1848
|
-
readonly
|
|
1849
|
-
readonly type: "
|
|
1850
|
-
readonly
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
readonly type: "string";
|
|
1854
|
-
readonly format: "date-time";
|
|
2029
|
+
readonly mentionedMembers: {
|
|
2030
|
+
readonly type: "array";
|
|
2031
|
+
readonly items: {
|
|
2032
|
+
readonly $ref: "#/components/schemas/MemberPeekResponse";
|
|
2033
|
+
};
|
|
1855
2034
|
};
|
|
1856
|
-
|
|
1857
|
-
readonly required: readonly ["authorFirstName", "authorId", "authorLastName", "body", "createdAt", "id"];
|
|
1858
|
-
};
|
|
1859
|
-
export declare const CursorPageCommentViewSchema: {
|
|
1860
|
-
readonly type: "object";
|
|
1861
|
-
readonly properties: {
|
|
1862
|
-
readonly items: {
|
|
2035
|
+
readonly mentionedContacts: {
|
|
1863
2036
|
readonly type: "array";
|
|
1864
2037
|
readonly items: {
|
|
1865
|
-
readonly $ref: "#/components/schemas/
|
|
2038
|
+
readonly $ref: "#/components/schemas/ContactMentionView";
|
|
1866
2039
|
};
|
|
1867
2040
|
};
|
|
1868
|
-
readonly
|
|
2041
|
+
readonly createdAt: {
|
|
1869
2042
|
readonly type: "string";
|
|
2043
|
+
readonly format: "date-time";
|
|
1870
2044
|
};
|
|
1871
|
-
readonly
|
|
1872
|
-
readonly type: "
|
|
2045
|
+
readonly editedAt: {
|
|
2046
|
+
readonly type: "string";
|
|
2047
|
+
readonly format: "date-time";
|
|
1873
2048
|
};
|
|
1874
2049
|
};
|
|
2050
|
+
readonly required: readonly ["authorFirstName", "authorId", "authorLastName", "body", "createdAt", "id", "mentionedContacts", "mentionedMembers"];
|
|
1875
2051
|
};
|
|
1876
|
-
export declare const
|
|
2052
|
+
export declare const ContactMentionViewSchema: {
|
|
1877
2053
|
readonly type: "object";
|
|
1878
2054
|
readonly properties: {
|
|
1879
2055
|
readonly contactId: {
|
|
1880
2056
|
readonly type: "integer";
|
|
1881
2057
|
readonly format: "int64";
|
|
1882
2058
|
};
|
|
1883
|
-
readonly primary: {
|
|
1884
|
-
readonly type: "boolean";
|
|
1885
|
-
};
|
|
1886
2059
|
readonly personalDetails: {
|
|
1887
2060
|
readonly oneOf: readonly [{
|
|
1888
2061
|
readonly $ref: "#/components/schemas/ContactPersonalDetailsRestricted";
|
|
@@ -1895,7 +2068,7 @@ export declare const ContactLinkSchema: {
|
|
|
1895
2068
|
readonly format: "uuid";
|
|
1896
2069
|
};
|
|
1897
2070
|
};
|
|
1898
|
-
readonly required: readonly ["contactId", "personalDetails"
|
|
2071
|
+
readonly required: readonly ["contactId", "personalDetails"];
|
|
1899
2072
|
};
|
|
1900
2073
|
export declare const ContactPersonalDetailsSchema: {
|
|
1901
2074
|
readonly discriminator: {
|
|
@@ -1942,6 +2115,72 @@ export declare const ContactPersonalDetailsVisibleSchema: {
|
|
|
1942
2115
|
};
|
|
1943
2116
|
readonly required: readonly ["status"];
|
|
1944
2117
|
};
|
|
2118
|
+
export declare const CursorPageCommentViewSchema: {
|
|
2119
|
+
readonly type: "object";
|
|
2120
|
+
readonly properties: {
|
|
2121
|
+
readonly items: {
|
|
2122
|
+
readonly type: "array";
|
|
2123
|
+
readonly items: {
|
|
2124
|
+
readonly $ref: "#/components/schemas/CommentView";
|
|
2125
|
+
};
|
|
2126
|
+
};
|
|
2127
|
+
readonly nextCursor: {
|
|
2128
|
+
readonly type: "string";
|
|
2129
|
+
};
|
|
2130
|
+
readonly hasNext: {
|
|
2131
|
+
readonly type: "boolean";
|
|
2132
|
+
};
|
|
2133
|
+
};
|
|
2134
|
+
};
|
|
2135
|
+
export declare const MemberPeekResponseSchema: {
|
|
2136
|
+
readonly type: "object";
|
|
2137
|
+
readonly properties: {
|
|
2138
|
+
readonly memberId: {
|
|
2139
|
+
readonly type: "string";
|
|
2140
|
+
readonly format: "uuid";
|
|
2141
|
+
};
|
|
2142
|
+
readonly firstName: {
|
|
2143
|
+
readonly type: "string";
|
|
2144
|
+
};
|
|
2145
|
+
readonly lastName: {
|
|
2146
|
+
readonly type: "string";
|
|
2147
|
+
};
|
|
2148
|
+
readonly photo: {
|
|
2149
|
+
readonly type: "string";
|
|
2150
|
+
};
|
|
2151
|
+
readonly phone: {
|
|
2152
|
+
readonly type: "string";
|
|
2153
|
+
};
|
|
2154
|
+
readonly email: {
|
|
2155
|
+
readonly type: "string";
|
|
2156
|
+
};
|
|
2157
|
+
};
|
|
2158
|
+
readonly required: readonly ["email", "firstName", "lastName", "memberId"];
|
|
2159
|
+
};
|
|
2160
|
+
export declare const ContactLinkSchema: {
|
|
2161
|
+
readonly type: "object";
|
|
2162
|
+
readonly properties: {
|
|
2163
|
+
readonly contactId: {
|
|
2164
|
+
readonly type: "integer";
|
|
2165
|
+
readonly format: "int64";
|
|
2166
|
+
};
|
|
2167
|
+
readonly primary: {
|
|
2168
|
+
readonly type: "boolean";
|
|
2169
|
+
};
|
|
2170
|
+
readonly personalDetails: {
|
|
2171
|
+
readonly oneOf: readonly [{
|
|
2172
|
+
readonly $ref: "#/components/schemas/ContactPersonalDetailsRestricted";
|
|
2173
|
+
}, {
|
|
2174
|
+
readonly $ref: "#/components/schemas/ContactPersonalDetailsVisible";
|
|
2175
|
+
}];
|
|
2176
|
+
};
|
|
2177
|
+
readonly contactAssignedTo: {
|
|
2178
|
+
readonly type: "string";
|
|
2179
|
+
readonly format: "uuid";
|
|
2180
|
+
};
|
|
2181
|
+
};
|
|
2182
|
+
readonly required: readonly ["contactId", "personalDetails", "primary"];
|
|
2183
|
+
};
|
|
1945
2184
|
export declare const InterestLinkSchema: {
|
|
1946
2185
|
readonly type: "object";
|
|
1947
2186
|
readonly properties: {
|
|
@@ -2018,31 +2257,6 @@ export declare const LocationResponseSchema: {
|
|
|
2018
2257
|
};
|
|
2019
2258
|
readonly required: readonly ["id", "names"];
|
|
2020
2259
|
};
|
|
2021
|
-
export declare const MemberPeekResponseSchema: {
|
|
2022
|
-
readonly type: "object";
|
|
2023
|
-
readonly properties: {
|
|
2024
|
-
readonly memberId: {
|
|
2025
|
-
readonly type: "string";
|
|
2026
|
-
readonly format: "uuid";
|
|
2027
|
-
};
|
|
2028
|
-
readonly firstName: {
|
|
2029
|
-
readonly type: "string";
|
|
2030
|
-
};
|
|
2031
|
-
readonly lastName: {
|
|
2032
|
-
readonly type: "string";
|
|
2033
|
-
};
|
|
2034
|
-
readonly photo: {
|
|
2035
|
-
readonly type: "string";
|
|
2036
|
-
};
|
|
2037
|
-
readonly phone: {
|
|
2038
|
-
readonly type: "string";
|
|
2039
|
-
};
|
|
2040
|
-
readonly email: {
|
|
2041
|
-
readonly type: "string";
|
|
2042
|
-
};
|
|
2043
|
-
};
|
|
2044
|
-
readonly required: readonly ["email", "firstName", "lastName", "memberId"];
|
|
2045
|
-
};
|
|
2046
2260
|
export declare const ParticipantSchema: {
|
|
2047
2261
|
readonly type: "object";
|
|
2048
2262
|
readonly properties: {
|
|
@@ -2307,118 +2521,152 @@ export declare const TodoItemSchema: {
|
|
|
2307
2521
|
};
|
|
2308
2522
|
readonly required: readonly ["fromTemplate", "position", "title", "todoId"];
|
|
2309
2523
|
};
|
|
2310
|
-
export declare const
|
|
2524
|
+
export declare const ContactTaskCardResponseSchema: {
|
|
2311
2525
|
readonly type: "object";
|
|
2312
2526
|
readonly properties: {
|
|
2313
2527
|
readonly taskId: {
|
|
2314
2528
|
readonly type: "string";
|
|
2315
2529
|
readonly format: "uuid";
|
|
2316
2530
|
};
|
|
2317
|
-
readonly
|
|
2318
|
-
readonly type: "string";
|
|
2319
|
-
};
|
|
2320
|
-
readonly boardId: {
|
|
2531
|
+
readonly stageId: {
|
|
2321
2532
|
readonly type: "string";
|
|
2322
2533
|
readonly format: "uuid";
|
|
2323
2534
|
};
|
|
2324
|
-
readonly
|
|
2535
|
+
readonly stageName: {
|
|
2325
2536
|
readonly type: "string";
|
|
2326
2537
|
};
|
|
2327
|
-
readonly
|
|
2538
|
+
readonly title: {
|
|
2328
2539
|
readonly type: "string";
|
|
2329
|
-
readonly format: "uuid";
|
|
2330
2540
|
};
|
|
2331
|
-
readonly
|
|
2332
|
-
readonly type: "
|
|
2541
|
+
readonly hasDescription: {
|
|
2542
|
+
readonly type: "boolean";
|
|
2333
2543
|
};
|
|
2334
|
-
readonly
|
|
2544
|
+
readonly commentCount: {
|
|
2545
|
+
readonly type: "integer";
|
|
2546
|
+
readonly format: "int32";
|
|
2547
|
+
};
|
|
2548
|
+
readonly contactCount: {
|
|
2549
|
+
readonly type: "integer";
|
|
2550
|
+
readonly format: "int32";
|
|
2551
|
+
};
|
|
2552
|
+
readonly priority: {
|
|
2335
2553
|
readonly type: "string";
|
|
2336
|
-
readonly enum: readonly ["
|
|
2554
|
+
readonly enum: readonly ["LOW", "MEDIUM", "HIGH", "CRITICAL"];
|
|
2337
2555
|
};
|
|
2338
2556
|
readonly value: {
|
|
2339
2557
|
readonly type: "number";
|
|
2340
2558
|
};
|
|
2341
|
-
readonly
|
|
2342
|
-
readonly type: "
|
|
2559
|
+
readonly commissionType: {
|
|
2560
|
+
readonly type: "string";
|
|
2561
|
+
readonly enum: readonly ["NOT_SET", "FIXED", "PERCENTAGE", "MONTHS_OF_RENT"];
|
|
2343
2562
|
};
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
};
|
|
2347
|
-
|
|
2348
|
-
readonly type: "object";
|
|
2349
|
-
readonly properties: {
|
|
2350
|
-
readonly boardId: {
|
|
2563
|
+
readonly commissionValue: {
|
|
2564
|
+
readonly type: "number";
|
|
2565
|
+
};
|
|
2566
|
+
readonly ownerId: {
|
|
2351
2567
|
readonly type: "string";
|
|
2352
2568
|
readonly format: "uuid";
|
|
2353
2569
|
};
|
|
2354
|
-
readonly
|
|
2355
|
-
readonly type: "
|
|
2570
|
+
readonly primaryContactId: {
|
|
2571
|
+
readonly type: "integer";
|
|
2572
|
+
readonly format: "int64";
|
|
2356
2573
|
};
|
|
2357
|
-
readonly
|
|
2574
|
+
readonly primaryContact: {
|
|
2575
|
+
readonly oneOf: readonly [{
|
|
2576
|
+
readonly $ref: "#/components/schemas/ContactPersonalDetailsRestricted";
|
|
2577
|
+
}, {
|
|
2578
|
+
readonly $ref: "#/components/schemas/ContactPersonalDetailsVisible";
|
|
2579
|
+
}];
|
|
2580
|
+
};
|
|
2581
|
+
readonly contactAssignedTo: {
|
|
2358
2582
|
readonly type: "string";
|
|
2359
|
-
readonly
|
|
2583
|
+
readonly format: "uuid";
|
|
2360
2584
|
};
|
|
2361
|
-
readonly
|
|
2362
|
-
readonly
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2585
|
+
readonly primaryContent: {
|
|
2586
|
+
readonly oneOf: readonly [{
|
|
2587
|
+
readonly $ref: "#/components/schemas/TaskContentInterest";
|
|
2588
|
+
}, {
|
|
2589
|
+
readonly $ref: "#/components/schemas/TaskContentProperty";
|
|
2590
|
+
}];
|
|
2366
2591
|
};
|
|
2367
|
-
readonly
|
|
2592
|
+
readonly participants: {
|
|
2368
2593
|
readonly type: "array";
|
|
2369
2594
|
readonly items: {
|
|
2370
|
-
readonly
|
|
2595
|
+
readonly type: "string";
|
|
2596
|
+
readonly format: "uuid";
|
|
2371
2597
|
};
|
|
2372
2598
|
};
|
|
2373
|
-
|
|
2374
|
-
readonly required: readonly ["boardId", "columns", "members", "name"];
|
|
2375
|
-
};
|
|
2376
|
-
export declare const ColumnSchema: {
|
|
2377
|
-
readonly type: "object";
|
|
2378
|
-
readonly properties: {
|
|
2379
|
-
readonly stageId: {
|
|
2599
|
+
readonly rank: {
|
|
2380
2600
|
readonly type: "string";
|
|
2381
|
-
readonly format: "uuid";
|
|
2382
2601
|
};
|
|
2383
|
-
readonly
|
|
2602
|
+
readonly stageEnteredAt: {
|
|
2384
2603
|
readonly type: "string";
|
|
2604
|
+
readonly format: "date-time";
|
|
2385
2605
|
};
|
|
2386
|
-
readonly
|
|
2387
|
-
readonly type: "
|
|
2606
|
+
readonly daysInStage: {
|
|
2607
|
+
readonly type: "integer";
|
|
2608
|
+
readonly format: "int64";
|
|
2388
2609
|
};
|
|
2389
|
-
readonly
|
|
2610
|
+
readonly openTodos: {
|
|
2390
2611
|
readonly type: "integer";
|
|
2391
|
-
readonly format: "
|
|
2612
|
+
readonly format: "int64";
|
|
2392
2613
|
};
|
|
2393
|
-
readonly
|
|
2614
|
+
readonly totalTodos: {
|
|
2394
2615
|
readonly type: "integer";
|
|
2395
2616
|
readonly format: "int64";
|
|
2396
2617
|
};
|
|
2397
|
-
readonly
|
|
2398
|
-
readonly type: "
|
|
2618
|
+
readonly hasLeftoverOpenTodos: {
|
|
2619
|
+
readonly type: "boolean";
|
|
2399
2620
|
};
|
|
2400
|
-
readonly
|
|
2401
|
-
readonly
|
|
2621
|
+
readonly expectedCloseDate: {
|
|
2622
|
+
readonly type: "string";
|
|
2623
|
+
readonly format: "date";
|
|
2624
|
+
};
|
|
2625
|
+
readonly outcome: {
|
|
2626
|
+
readonly type: "string";
|
|
2627
|
+
readonly enum: readonly ["WON", "LOST"];
|
|
2628
|
+
};
|
|
2629
|
+
readonly lostReason: {
|
|
2630
|
+
readonly type: "string";
|
|
2631
|
+
readonly enum: readonly ["NOT_WORKING_WITH_AGENTS", "NOT_RESPONDING", "ALREADY_SOLD", "COULD_NOT_NEGOTIATE_PRICE", "CHOSE_ANOTHER_AGENCY", "CHANGED_PLANS", "OUT_OF_BUDGET", "SPAM", "OTHER"];
|
|
2632
|
+
};
|
|
2633
|
+
readonly closedAt: {
|
|
2634
|
+
readonly type: "string";
|
|
2635
|
+
readonly format: "date-time";
|
|
2636
|
+
};
|
|
2637
|
+
readonly boardId: {
|
|
2638
|
+
readonly type: "string";
|
|
2639
|
+
readonly format: "uuid";
|
|
2640
|
+
};
|
|
2641
|
+
readonly boardName: {
|
|
2642
|
+
readonly type: "string";
|
|
2643
|
+
};
|
|
2644
|
+
readonly stageColor: {
|
|
2645
|
+
readonly type: "string";
|
|
2646
|
+
};
|
|
2647
|
+
readonly primary: {
|
|
2648
|
+
readonly type: "boolean";
|
|
2402
2649
|
};
|
|
2403
2650
|
};
|
|
2404
|
-
readonly required: readonly ["
|
|
2651
|
+
readonly required: readonly ["boardId", "boardName", "commentCount", "contactCount", "daysInStage", "hasDescription", "hasLeftoverOpenTodos", "openTodos", "participants", "primary", "priority", "rank", "stageColor", "stageEnteredAt", "stageId", "stageName", "taskId", "title", "totalTodos"];
|
|
2405
2652
|
};
|
|
2406
|
-
export declare const
|
|
2653
|
+
export declare const ContactTasksResponseSchema: {
|
|
2407
2654
|
readonly type: "object";
|
|
2408
2655
|
readonly properties: {
|
|
2409
|
-
readonly
|
|
2656
|
+
readonly members: {
|
|
2410
2657
|
readonly type: "array";
|
|
2411
2658
|
readonly items: {
|
|
2412
|
-
readonly $ref: "#/components/schemas/
|
|
2659
|
+
readonly $ref: "#/components/schemas/MemberPeekResponse";
|
|
2413
2660
|
};
|
|
2414
2661
|
};
|
|
2415
|
-
readonly
|
|
2416
|
-
readonly type: "
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2662
|
+
readonly items: {
|
|
2663
|
+
readonly type: "array";
|
|
2664
|
+
readonly items: {
|
|
2665
|
+
readonly $ref: "#/components/schemas/ContactTaskCardResponse";
|
|
2666
|
+
};
|
|
2420
2667
|
};
|
|
2421
2668
|
};
|
|
2669
|
+
readonly required: readonly ["items", "members"];
|
|
2422
2670
|
};
|
|
2423
2671
|
export declare const TaskCardResponseSchema: {
|
|
2424
2672
|
readonly type: "object";
|
|
@@ -2576,32 +2824,108 @@ export declare const TaskContentInterestSchema: {
|
|
|
2576
2824
|
};
|
|
2577
2825
|
};
|
|
2578
2826
|
};
|
|
2579
|
-
}];
|
|
2580
|
-
readonly required: readonly ["id", "listingType", "propertyTypes"];
|
|
2827
|
+
}];
|
|
2828
|
+
readonly required: readonly ["id", "listingType", "propertyTypes"];
|
|
2829
|
+
};
|
|
2830
|
+
export declare const TaskContentPropertySchema: {
|
|
2831
|
+
readonly allOf: readonly [{
|
|
2832
|
+
readonly $ref: "#/components/schemas/TaskContent";
|
|
2833
|
+
}, {
|
|
2834
|
+
readonly type: "object";
|
|
2835
|
+
readonly properties: {
|
|
2836
|
+
readonly id: {
|
|
2837
|
+
readonly type: "integer";
|
|
2838
|
+
readonly format: "int64";
|
|
2839
|
+
};
|
|
2840
|
+
readonly photo: {
|
|
2841
|
+
readonly type: "string";
|
|
2842
|
+
};
|
|
2843
|
+
readonly title: {
|
|
2844
|
+
readonly type: "string";
|
|
2845
|
+
};
|
|
2846
|
+
readonly type: {
|
|
2847
|
+
readonly type: "string";
|
|
2848
|
+
readonly enum: readonly ["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"];
|
|
2849
|
+
};
|
|
2850
|
+
};
|
|
2851
|
+
}];
|
|
2852
|
+
readonly required: readonly ["id", "type"];
|
|
2853
|
+
};
|
|
2854
|
+
export declare const BoardCardsResponseSchema: {
|
|
2855
|
+
readonly type: "object";
|
|
2856
|
+
readonly properties: {
|
|
2857
|
+
readonly boardId: {
|
|
2858
|
+
readonly type: "string";
|
|
2859
|
+
readonly format: "uuid";
|
|
2860
|
+
};
|
|
2861
|
+
readonly name: {
|
|
2862
|
+
readonly type: "string";
|
|
2863
|
+
};
|
|
2864
|
+
readonly kind: {
|
|
2865
|
+
readonly type: "string";
|
|
2866
|
+
readonly enum: readonly ["OWNER", "SEEKER"];
|
|
2867
|
+
};
|
|
2868
|
+
readonly members: {
|
|
2869
|
+
readonly type: "array";
|
|
2870
|
+
readonly items: {
|
|
2871
|
+
readonly $ref: "#/components/schemas/MemberPeekResponse";
|
|
2872
|
+
};
|
|
2873
|
+
};
|
|
2874
|
+
readonly columns: {
|
|
2875
|
+
readonly type: "array";
|
|
2876
|
+
readonly items: {
|
|
2877
|
+
readonly $ref: "#/components/schemas/Column";
|
|
2878
|
+
};
|
|
2879
|
+
};
|
|
2880
|
+
};
|
|
2881
|
+
readonly required: readonly ["boardId", "columns", "members", "name"];
|
|
2882
|
+
};
|
|
2883
|
+
export declare const ColumnSchema: {
|
|
2884
|
+
readonly type: "object";
|
|
2885
|
+
readonly properties: {
|
|
2886
|
+
readonly stageId: {
|
|
2887
|
+
readonly type: "string";
|
|
2888
|
+
readonly format: "uuid";
|
|
2889
|
+
};
|
|
2890
|
+
readonly name: {
|
|
2891
|
+
readonly type: "string";
|
|
2892
|
+
};
|
|
2893
|
+
readonly color: {
|
|
2894
|
+
readonly type: "string";
|
|
2895
|
+
};
|
|
2896
|
+
readonly position: {
|
|
2897
|
+
readonly type: "integer";
|
|
2898
|
+
readonly format: "int32";
|
|
2899
|
+
};
|
|
2900
|
+
readonly totalTasks: {
|
|
2901
|
+
readonly type: "integer";
|
|
2902
|
+
readonly format: "int64";
|
|
2903
|
+
};
|
|
2904
|
+
readonly totalValue: {
|
|
2905
|
+
readonly type: "number";
|
|
2906
|
+
};
|
|
2907
|
+
readonly cards: {
|
|
2908
|
+
readonly $ref: "#/components/schemas/CursorPageTaskCardResponse";
|
|
2909
|
+
};
|
|
2910
|
+
};
|
|
2911
|
+
readonly required: readonly ["cards", "color", "name", "position", "stageId", "totalTasks", "totalValue"];
|
|
2581
2912
|
};
|
|
2582
|
-
export declare const
|
|
2583
|
-
readonly
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
readonly type: "integer";
|
|
2590
|
-
readonly format: "int64";
|
|
2591
|
-
};
|
|
2592
|
-
readonly photo: {
|
|
2593
|
-
readonly type: "string";
|
|
2594
|
-
};
|
|
2595
|
-
readonly title: {
|
|
2596
|
-
readonly type: "string";
|
|
2597
|
-
};
|
|
2598
|
-
readonly type: {
|
|
2599
|
-
readonly type: "string";
|
|
2600
|
-
readonly enum: readonly ["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"];
|
|
2913
|
+
export declare const CursorPageTaskCardResponseSchema: {
|
|
2914
|
+
readonly type: "object";
|
|
2915
|
+
readonly properties: {
|
|
2916
|
+
readonly items: {
|
|
2917
|
+
readonly type: "array";
|
|
2918
|
+
readonly items: {
|
|
2919
|
+
readonly $ref: "#/components/schemas/TaskCardResponse";
|
|
2601
2920
|
};
|
|
2602
2921
|
};
|
|
2603
|
-
|
|
2604
|
-
|
|
2922
|
+
readonly nextCursor: {
|
|
2923
|
+
readonly type: "string";
|
|
2924
|
+
};
|
|
2925
|
+
readonly hasNext: {
|
|
2926
|
+
readonly type: "boolean";
|
|
2927
|
+
};
|
|
2928
|
+
};
|
|
2605
2929
|
};
|
|
2606
2930
|
export declare const StageCardsResponseSchema: {
|
|
2607
2931
|
readonly type: "object";
|
|
@@ -3754,7 +4078,7 @@ export declare const PlatformListingResponseSchema: {
|
|
|
3754
4078
|
};
|
|
3755
4079
|
readonly status: {
|
|
3756
4080
|
readonly type: "string";
|
|
3757
|
-
readonly enum: readonly ["PENDING", "SYNDICATED", "FAILED", "EXPIRED"];
|
|
4081
|
+
readonly enum: readonly ["PENDING", "SYNDICATED", "FAILED", "EXPIRED", "WITHDRAWING", "WITHDRAWN"];
|
|
3758
4082
|
};
|
|
3759
4083
|
readonly listedAt: {
|
|
3760
4084
|
readonly type: "string";
|
|
@@ -3768,6 +4092,9 @@ export declare const PlatformListingResponseSchema: {
|
|
|
3768
4092
|
readonly type: "string";
|
|
3769
4093
|
readonly format: "date";
|
|
3770
4094
|
};
|
|
4095
|
+
readonly failureReason: {
|
|
4096
|
+
readonly type: "string";
|
|
4097
|
+
};
|
|
3771
4098
|
readonly boost: {
|
|
3772
4099
|
readonly $ref: "#/components/schemas/BoostResponse";
|
|
3773
4100
|
};
|
|
@@ -3847,7 +4174,7 @@ export declare const PropertyListingResponseSchema: {
|
|
|
3847
4174
|
};
|
|
3848
4175
|
readonly isProcessing: {
|
|
3849
4176
|
readonly type: "boolean";
|
|
3850
|
-
readonly description: "True while an external-portal placement
|
|
4177
|
+
readonly description: "True while an external-portal placement, a boost or a social post is in flight — poll the property page until false. Creating the Homespot listing itself is synchronous, so it never sets this.";
|
|
3851
4178
|
};
|
|
3852
4179
|
readonly price: {
|
|
3853
4180
|
readonly type: "number";
|
|
@@ -3867,6 +4194,13 @@ export declare const PropertyListingResponseSchema: {
|
|
|
3867
4194
|
readonly $ref: "#/components/schemas/PlatformListingResponse";
|
|
3868
4195
|
};
|
|
3869
4196
|
};
|
|
4197
|
+
readonly socialPosts: {
|
|
4198
|
+
readonly type: "array";
|
|
4199
|
+
readonly description: "Facebook / Instagram posts of this listing, newest first";
|
|
4200
|
+
readonly items: {
|
|
4201
|
+
readonly $ref: "#/components/schemas/SocialPostResponse";
|
|
4202
|
+
};
|
|
4203
|
+
};
|
|
3870
4204
|
readonly createdAt: {
|
|
3871
4205
|
readonly type: "string";
|
|
3872
4206
|
readonly format: "date-time";
|
|
@@ -3876,7 +4210,7 @@ export declare const PropertyListingResponseSchema: {
|
|
|
3876
4210
|
readonly format: "date-time";
|
|
3877
4211
|
};
|
|
3878
4212
|
};
|
|
3879
|
-
readonly required: readonly ["createdAt", "crmState", "isProcessing", "listingId", "listingType", "marketplaceStatus", "platformListings", "price", "publicId"];
|
|
4213
|
+
readonly required: readonly ["createdAt", "crmState", "isProcessing", "listingId", "listingType", "marketplaceStatus", "platformListings", "price", "publicId", "socialPosts"];
|
|
3880
4214
|
};
|
|
3881
4215
|
export declare const PropertyPageResponseSchema: {
|
|
3882
4216
|
readonly type: "object";
|
|
@@ -3928,6 +4262,76 @@ export declare const PropertyPageResponseSchema: {
|
|
|
3928
4262
|
};
|
|
3929
4263
|
readonly required: readonly ["agreement", "contactId", "createdAt", "listings", "propertyId", "publicId", "state", "type", "updatedAt"];
|
|
3930
4264
|
};
|
|
4265
|
+
export declare const SocialPostResponseSchema: {
|
|
4266
|
+
readonly type: "object";
|
|
4267
|
+
readonly properties: {
|
|
4268
|
+
readonly postId: {
|
|
4269
|
+
readonly type: "string";
|
|
4270
|
+
readonly format: "uuid";
|
|
4271
|
+
readonly description: "For retrying a failed post, or reading it in full";
|
|
4272
|
+
};
|
|
4273
|
+
readonly channel: {
|
|
4274
|
+
readonly type: "string";
|
|
4275
|
+
readonly enum: readonly ["FACEBOOK", "INSTAGRAM"];
|
|
4276
|
+
};
|
|
4277
|
+
readonly status: {
|
|
4278
|
+
readonly type: "string";
|
|
4279
|
+
readonly enum: readonly ["PUBLISHING", "PUBLISHED", "FAILED", "REMOVED"];
|
|
4280
|
+
};
|
|
4281
|
+
readonly caption: {
|
|
4282
|
+
readonly type: "string";
|
|
4283
|
+
readonly description: "Exactly as published";
|
|
4284
|
+
};
|
|
4285
|
+
readonly thumbnailUrl: {
|
|
4286
|
+
readonly type: "string";
|
|
4287
|
+
readonly description: "The post's first photo, as uploaded to the gallery (not the Instagram crop)";
|
|
4288
|
+
};
|
|
4289
|
+
readonly permalink: {
|
|
4290
|
+
readonly type: "string";
|
|
4291
|
+
readonly description: "The post on Facebook / Instagram, once published";
|
|
4292
|
+
};
|
|
4293
|
+
readonly publishedAt: {
|
|
4294
|
+
readonly type: "string";
|
|
4295
|
+
readonly format: "date-time";
|
|
4296
|
+
};
|
|
4297
|
+
readonly createdBy: {
|
|
4298
|
+
readonly $ref: "#/components/schemas/MemberPeekResponse";
|
|
4299
|
+
readonly description: "The member who created the post, also after they left the agency";
|
|
4300
|
+
};
|
|
4301
|
+
readonly failureReason: {
|
|
4302
|
+
readonly type: "string";
|
|
4303
|
+
readonly enum: readonly ["RECONNECT_REQUIRED", "PERMISSION_MISSING", "PAGE_PUBLISHING_AUTHORIZATION", "RATE_LIMITED", "BAD_MEDIA", "UNCONFIRMED", "UNKNOWN"];
|
|
4304
|
+
};
|
|
4305
|
+
readonly stats: {
|
|
4306
|
+
readonly $ref: "#/components/schemas/SocialPostStats";
|
|
4307
|
+
readonly description: "The post's public counts as last read from Facebook / Instagram; null until the first read";
|
|
4308
|
+
};
|
|
4309
|
+
};
|
|
4310
|
+
readonly required: readonly ["caption", "channel", "createdBy", "postId", "status"];
|
|
4311
|
+
};
|
|
4312
|
+
export declare const SocialPostStatsSchema: {
|
|
4313
|
+
readonly type: "object";
|
|
4314
|
+
readonly properties: {
|
|
4315
|
+
readonly likes: {
|
|
4316
|
+
readonly type: "integer";
|
|
4317
|
+
readonly format: "int32";
|
|
4318
|
+
};
|
|
4319
|
+
readonly comments: {
|
|
4320
|
+
readonly type: "integer";
|
|
4321
|
+
readonly format: "int32";
|
|
4322
|
+
};
|
|
4323
|
+
readonly shares: {
|
|
4324
|
+
readonly type: "integer";
|
|
4325
|
+
readonly format: "int32";
|
|
4326
|
+
};
|
|
4327
|
+
readonly fetchedAt: {
|
|
4328
|
+
readonly type: "string";
|
|
4329
|
+
readonly format: "date-time";
|
|
4330
|
+
readonly description: "When the counts were read — show how old they are";
|
|
4331
|
+
};
|
|
4332
|
+
};
|
|
4333
|
+
readonly required: readonly ["comments", "fetchedAt", "likes", "shares"];
|
|
4334
|
+
};
|
|
3931
4335
|
export declare const ListingOwnerContactResponseSchema: {
|
|
3932
4336
|
readonly type: "object";
|
|
3933
4337
|
readonly properties: {
|
|
@@ -3969,6 +4373,25 @@ export declare const AgentCommentedSchema: {
|
|
|
3969
4373
|
};
|
|
3970
4374
|
readonly required: readonly ["kind"];
|
|
3971
4375
|
};
|
|
4376
|
+
export declare const ChannelReauthRequiredSchema: {
|
|
4377
|
+
readonly properties: {
|
|
4378
|
+
readonly connectionId: {
|
|
4379
|
+
readonly $ref: "#/components/schemas/ConnectionId";
|
|
4380
|
+
};
|
|
4381
|
+
readonly channelType: {
|
|
4382
|
+
readonly type: "string";
|
|
4383
|
+
readonly enum: readonly ["FACEBOOK", "INSTAGRAM", "WHATSAPP", "TIKTOK"];
|
|
4384
|
+
};
|
|
4385
|
+
readonly displayName: {
|
|
4386
|
+
readonly type: "string";
|
|
4387
|
+
};
|
|
4388
|
+
readonly kind: {
|
|
4389
|
+
readonly type: "string";
|
|
4390
|
+
readonly enum: readonly ["CHANNEL_REAUTH_REQUIRED"];
|
|
4391
|
+
};
|
|
4392
|
+
};
|
|
4393
|
+
readonly required: readonly ["kind"];
|
|
4394
|
+
};
|
|
3972
4395
|
export declare const CommentIdSchema: {
|
|
3973
4396
|
readonly type: "object";
|
|
3974
4397
|
readonly properties: {
|
|
@@ -3978,6 +4401,15 @@ export declare const CommentIdSchema: {
|
|
|
3978
4401
|
};
|
|
3979
4402
|
};
|
|
3980
4403
|
};
|
|
4404
|
+
export declare const ConnectionIdSchema: {
|
|
4405
|
+
readonly type: "object";
|
|
4406
|
+
readonly properties: {
|
|
4407
|
+
readonly value: {
|
|
4408
|
+
readonly type: "string";
|
|
4409
|
+
readonly format: "uuid";
|
|
4410
|
+
};
|
|
4411
|
+
};
|
|
4412
|
+
};
|
|
3981
4413
|
export declare const ContactAssignedSchema: {
|
|
3982
4414
|
readonly properties: {
|
|
3983
4415
|
readonly contactId: {
|
|
@@ -4069,6 +4501,33 @@ export declare const MemberIdSchema: {
|
|
|
4069
4501
|
};
|
|
4070
4502
|
};
|
|
4071
4503
|
};
|
|
4504
|
+
export declare const MemberMentionedSchema: {
|
|
4505
|
+
readonly properties: {
|
|
4506
|
+
readonly commentId: {
|
|
4507
|
+
readonly $ref: "#/components/schemas/CommentId";
|
|
4508
|
+
};
|
|
4509
|
+
readonly contactId: {
|
|
4510
|
+
readonly $ref: "#/components/schemas/ContactId";
|
|
4511
|
+
};
|
|
4512
|
+
readonly taskId: {
|
|
4513
|
+
readonly $ref: "#/components/schemas/TaskId";
|
|
4514
|
+
};
|
|
4515
|
+
readonly authorId: {
|
|
4516
|
+
readonly $ref: "#/components/schemas/MemberId";
|
|
4517
|
+
};
|
|
4518
|
+
readonly author: {
|
|
4519
|
+
readonly type: "string";
|
|
4520
|
+
};
|
|
4521
|
+
readonly commentSnippet: {
|
|
4522
|
+
readonly type: "string";
|
|
4523
|
+
};
|
|
4524
|
+
readonly kind: {
|
|
4525
|
+
readonly type: "string";
|
|
4526
|
+
readonly enum: readonly ["MEMBER_MENTIONED"];
|
|
4527
|
+
};
|
|
4528
|
+
};
|
|
4529
|
+
readonly required: readonly ["kind"];
|
|
4530
|
+
};
|
|
4072
4531
|
export declare const NewMessageSchema: {
|
|
4073
4532
|
readonly properties: {
|
|
4074
4533
|
readonly contactId: {
|
|
@@ -4131,6 +4590,7 @@ export declare const NotificationContentSchema: {
|
|
|
4131
4590
|
readonly mapping: {
|
|
4132
4591
|
readonly AGENT_COMMENTED: "#/components/schemas/AgentCommented";
|
|
4133
4592
|
readonly TASK_COMMENTED: "#/components/schemas/TaskCommented";
|
|
4593
|
+
readonly MEMBER_MENTIONED: "#/components/schemas/MemberMentioned";
|
|
4134
4594
|
readonly LISTING_EXPIRED: "#/components/schemas/ListingExpired";
|
|
4135
4595
|
readonly NEW_SEEKER_RATING: "#/components/schemas/NewSeekerRating";
|
|
4136
4596
|
readonly NEW_MESSAGE: "#/components/schemas/NewMessage";
|
|
@@ -4139,6 +4599,8 @@ export declare const NotificationContentSchema: {
|
|
|
4139
4599
|
readonly SUBSCRIPTION_ENDING: "#/components/schemas/SubscriptionEnding";
|
|
4140
4600
|
readonly SUBSCRIPTION_EXPIRED: "#/components/schemas/SubscriptionExpired";
|
|
4141
4601
|
readonly SUBSCRIPTION_PAYMENT_REVERSED: "#/components/schemas/SubscriptionPaymentReversed";
|
|
4602
|
+
readonly CHANNEL_REAUTH_REQUIRED: "#/components/schemas/ChannelReauthRequired";
|
|
4603
|
+
readonly SOCIAL_POST_FAILED: "#/components/schemas/SocialPostFailed";
|
|
4142
4604
|
};
|
|
4143
4605
|
};
|
|
4144
4606
|
readonly required: readonly ["kind"];
|
|
@@ -4169,7 +4631,7 @@ export declare const NotificationViewSchema: {
|
|
|
4169
4631
|
};
|
|
4170
4632
|
readonly type: {
|
|
4171
4633
|
readonly type: "string";
|
|
4172
|
-
readonly enum: readonly ["AGENT_COMMENTED", "TASK_COMMENTED", "EXTERNAL_LISTING_EXPIRED", "LISTING_EXPIRED", "NEW_SEEKER_RATING", "NEW_MESSAGE", "CONTACT_ASSIGNED", "SUBSCRIPTION_PAYMENT_FAILED", "SUBSCRIPTION_ENDING", "SUBSCRIPTION_EXPIRED", "SUBSCRIPTION_PAYMENT_REVERSED"];
|
|
4634
|
+
readonly enum: readonly ["AGENT_COMMENTED", "TASK_COMMENTED", "MEMBER_MENTIONED", "EXTERNAL_LISTING_EXPIRED", "LISTING_EXPIRED", "NEW_SEEKER_RATING", "NEW_MESSAGE", "CONTACT_ASSIGNED", "SUBSCRIPTION_PAYMENT_FAILED", "SUBSCRIPTION_ENDING", "SUBSCRIPTION_EXPIRED", "SUBSCRIPTION_PAYMENT_REVERSED", "CHANNEL_REAUTH_REQUIRED", "SOCIAL_POST_FAILED"];
|
|
4173
4635
|
};
|
|
4174
4636
|
readonly targetId: {
|
|
4175
4637
|
readonly type: "string";
|
|
@@ -4177,14 +4639,20 @@ export declare const NotificationViewSchema: {
|
|
|
4177
4639
|
readonly payload: {
|
|
4178
4640
|
readonly oneOf: readonly [{
|
|
4179
4641
|
readonly $ref: "#/components/schemas/AgentCommented";
|
|
4642
|
+
}, {
|
|
4643
|
+
readonly $ref: "#/components/schemas/ChannelReauthRequired";
|
|
4180
4644
|
}, {
|
|
4181
4645
|
readonly $ref: "#/components/schemas/ContactAssigned";
|
|
4182
4646
|
}, {
|
|
4183
4647
|
readonly $ref: "#/components/schemas/ListingExpired";
|
|
4648
|
+
}, {
|
|
4649
|
+
readonly $ref: "#/components/schemas/MemberMentioned";
|
|
4184
4650
|
}, {
|
|
4185
4651
|
readonly $ref: "#/components/schemas/NewMessage";
|
|
4186
4652
|
}, {
|
|
4187
4653
|
readonly $ref: "#/components/schemas/NewSeekerRating";
|
|
4654
|
+
}, {
|
|
4655
|
+
readonly $ref: "#/components/schemas/SocialPostFailed";
|
|
4188
4656
|
}, {
|
|
4189
4657
|
readonly $ref: "#/components/schemas/SubscriptionEnding";
|
|
4190
4658
|
}, {
|
|
@@ -4216,6 +4684,48 @@ export declare const PropertyIdSchema: {
|
|
|
4216
4684
|
};
|
|
4217
4685
|
};
|
|
4218
4686
|
};
|
|
4687
|
+
export declare const SocialPostFailedSchema: {
|
|
4688
|
+
readonly properties: {
|
|
4689
|
+
readonly postId: {
|
|
4690
|
+
readonly $ref: "#/components/schemas/SocialPostId";
|
|
4691
|
+
};
|
|
4692
|
+
readonly contactId: {
|
|
4693
|
+
readonly $ref: "#/components/schemas/ContactId";
|
|
4694
|
+
};
|
|
4695
|
+
readonly propertyId: {
|
|
4696
|
+
readonly $ref: "#/components/schemas/PropertyId";
|
|
4697
|
+
};
|
|
4698
|
+
readonly listingId: {
|
|
4699
|
+
readonly type: "integer";
|
|
4700
|
+
readonly format: "int64";
|
|
4701
|
+
};
|
|
4702
|
+
readonly propertyTitle: {
|
|
4703
|
+
readonly type: "string";
|
|
4704
|
+
};
|
|
4705
|
+
readonly channel: {
|
|
4706
|
+
readonly type: "string";
|
|
4707
|
+
readonly enum: readonly ["FACEBOOK", "INSTAGRAM"];
|
|
4708
|
+
};
|
|
4709
|
+
readonly reason: {
|
|
4710
|
+
readonly type: "string";
|
|
4711
|
+
readonly enum: readonly ["RECONNECT_REQUIRED", "PERMISSION_MISSING", "PAGE_PUBLISHING_AUTHORIZATION", "RATE_LIMITED", "BAD_MEDIA", "UNCONFIRMED", "UNKNOWN"];
|
|
4712
|
+
};
|
|
4713
|
+
readonly kind: {
|
|
4714
|
+
readonly type: "string";
|
|
4715
|
+
readonly enum: readonly ["SOCIAL_POST_FAILED"];
|
|
4716
|
+
};
|
|
4717
|
+
};
|
|
4718
|
+
readonly required: readonly ["kind"];
|
|
4719
|
+
};
|
|
4720
|
+
export declare const SocialPostIdSchema: {
|
|
4721
|
+
readonly type: "object";
|
|
4722
|
+
readonly properties: {
|
|
4723
|
+
readonly value: {
|
|
4724
|
+
readonly type: "string";
|
|
4725
|
+
readonly format: "uuid";
|
|
4726
|
+
};
|
|
4727
|
+
};
|
|
4728
|
+
};
|
|
4219
4729
|
export declare const SubscriptionEndingSchema: {
|
|
4220
4730
|
readonly properties: {
|
|
4221
4731
|
readonly subscriptionId: {
|
|
@@ -4671,6 +5181,13 @@ export declare const ListingGridResponseSchema: {
|
|
|
4671
5181
|
readonly $ref: "#/components/schemas/PlatformView";
|
|
4672
5182
|
};
|
|
4673
5183
|
};
|
|
5184
|
+
readonly socialPosts: {
|
|
5185
|
+
readonly type: "array";
|
|
5186
|
+
readonly description: "Where the listing is posted on Facebook / Instagram: the latest published post per channel";
|
|
5187
|
+
readonly items: {
|
|
5188
|
+
readonly $ref: "#/components/schemas/SocialPostLink";
|
|
5189
|
+
};
|
|
5190
|
+
};
|
|
4674
5191
|
readonly createdAt: {
|
|
4675
5192
|
readonly type: "string";
|
|
4676
5193
|
readonly format: "date-time";
|
|
@@ -4680,7 +5197,7 @@ export declare const ListingGridResponseSchema: {
|
|
|
4680
5197
|
readonly format: "date-time";
|
|
4681
5198
|
};
|
|
4682
5199
|
};
|
|
4683
|
-
readonly required: readonly ["agreementType", "contactId", "createdAt", "externalPropertyId", "featuredPhotos", "personalDetails", "platforms", "propertyId", "propertyState", "propertyType", "title", "updatedAt"];
|
|
5200
|
+
readonly required: readonly ["agreementType", "contactId", "createdAt", "externalPropertyId", "featuredPhotos", "personalDetails", "platforms", "propertyId", "propertyState", "propertyType", "socialPosts", "title", "updatedAt"];
|
|
4684
5201
|
};
|
|
4685
5202
|
export declare const PagedModelListingGridResponseSchema: {
|
|
4686
5203
|
readonly type: "object";
|
|
@@ -4721,6 +5238,20 @@ export declare const PlatformViewSchema: {
|
|
|
4721
5238
|
};
|
|
4722
5239
|
};
|
|
4723
5240
|
};
|
|
5241
|
+
export declare const SocialPostLinkSchema: {
|
|
5242
|
+
readonly type: "object";
|
|
5243
|
+
readonly properties: {
|
|
5244
|
+
readonly channel: {
|
|
5245
|
+
readonly type: "string";
|
|
5246
|
+
readonly enum: readonly ["FACEBOOK", "INSTAGRAM"];
|
|
5247
|
+
};
|
|
5248
|
+
readonly permalink: {
|
|
5249
|
+
readonly type: "string";
|
|
5250
|
+
readonly description: "Opens the post on Facebook / Instagram";
|
|
5251
|
+
};
|
|
5252
|
+
};
|
|
5253
|
+
readonly required: readonly ["channel", "permalink"];
|
|
5254
|
+
};
|
|
4724
5255
|
export declare const GroupCountSchema: {
|
|
4725
5256
|
readonly type: "object";
|
|
4726
5257
|
readonly properties: {
|
|
@@ -5136,6 +5667,95 @@ export declare const CursorPageMessageViewSchema: {
|
|
|
5136
5667
|
};
|
|
5137
5668
|
};
|
|
5138
5669
|
};
|
|
5670
|
+
export declare const ComposerLimitsSchema: {
|
|
5671
|
+
readonly type: "object";
|
|
5672
|
+
readonly properties: {
|
|
5673
|
+
readonly maxPhotos: {
|
|
5674
|
+
readonly type: "integer";
|
|
5675
|
+
readonly format: "int32";
|
|
5676
|
+
};
|
|
5677
|
+
readonly maxCaptionLength: {
|
|
5678
|
+
readonly type: "integer";
|
|
5679
|
+
readonly format: "int32";
|
|
5680
|
+
readonly description: "In Unicode code points: an emoji counts once, as [...text].length counts in JavaScript (text.length counts it twice)";
|
|
5681
|
+
};
|
|
5682
|
+
};
|
|
5683
|
+
readonly required: readonly ["maxCaptionLength", "maxPhotos"];
|
|
5684
|
+
};
|
|
5685
|
+
export declare const ComposerPhotoSchema: {
|
|
5686
|
+
readonly type: "object";
|
|
5687
|
+
readonly properties: {
|
|
5688
|
+
readonly photoId: {
|
|
5689
|
+
readonly type: "integer";
|
|
5690
|
+
readonly format: "int64";
|
|
5691
|
+
readonly description: "What the publish request sends";
|
|
5692
|
+
};
|
|
5693
|
+
readonly url: {
|
|
5694
|
+
readonly type: "string";
|
|
5695
|
+
};
|
|
5696
|
+
readonly width: {
|
|
5697
|
+
readonly type: "integer";
|
|
5698
|
+
readonly format: "int32";
|
|
5699
|
+
readonly description: "As the photo is shown, in pixels";
|
|
5700
|
+
};
|
|
5701
|
+
readonly height: {
|
|
5702
|
+
readonly type: "integer";
|
|
5703
|
+
readonly format: "int32";
|
|
5704
|
+
readonly description: "As the photo is shown, in pixels";
|
|
5705
|
+
};
|
|
5706
|
+
readonly selectedByDefault: {
|
|
5707
|
+
readonly type: "boolean";
|
|
5708
|
+
};
|
|
5709
|
+
};
|
|
5710
|
+
readonly required: readonly ["height", "photoId", "selectedByDefault", "url", "width"];
|
|
5711
|
+
};
|
|
5712
|
+
export declare const ComposerPreviewSchema: {
|
|
5713
|
+
readonly type: "object";
|
|
5714
|
+
readonly properties: {
|
|
5715
|
+
readonly channel: {
|
|
5716
|
+
readonly type: "string";
|
|
5717
|
+
readonly enum: readonly ["FACEBOOK", "INSTAGRAM"];
|
|
5718
|
+
};
|
|
5719
|
+
readonly caption: {
|
|
5720
|
+
readonly type: "string";
|
|
5721
|
+
readonly description: "The built-in Georgian template filled in from the listing; a line with nothing to fill it is left out";
|
|
5722
|
+
};
|
|
5723
|
+
readonly templateId: {
|
|
5724
|
+
readonly type: "string";
|
|
5725
|
+
readonly format: "uuid";
|
|
5726
|
+
readonly description: "The template the text came from, sent back on publish; null for the built-in one";
|
|
5727
|
+
};
|
|
5728
|
+
readonly limits: {
|
|
5729
|
+
readonly $ref: "#/components/schemas/ComposerLimits";
|
|
5730
|
+
};
|
|
5731
|
+
readonly ratios: {
|
|
5732
|
+
readonly type: "array";
|
|
5733
|
+
readonly description: "The shapes the agent can pick; empty on Facebook, which keeps each photo's own";
|
|
5734
|
+
readonly items: {
|
|
5735
|
+
readonly type: "string";
|
|
5736
|
+
readonly enum: readonly ["LANDSCAPE", "SQUARE", "PORTRAIT"];
|
|
5737
|
+
};
|
|
5738
|
+
};
|
|
5739
|
+
readonly defaultRatio: {
|
|
5740
|
+
readonly type: "string";
|
|
5741
|
+
readonly description: "Instagram only";
|
|
5742
|
+
readonly enum: readonly ["LANDSCAPE", "SQUARE", "PORTRAIT"];
|
|
5743
|
+
};
|
|
5744
|
+
readonly photos: {
|
|
5745
|
+
readonly type: "array";
|
|
5746
|
+
readonly description: "The whole gallery, in gallery order";
|
|
5747
|
+
readonly items: {
|
|
5748
|
+
readonly $ref: "#/components/schemas/ComposerPhoto";
|
|
5749
|
+
};
|
|
5750
|
+
};
|
|
5751
|
+
readonly access: {
|
|
5752
|
+
readonly type: "string";
|
|
5753
|
+
readonly description: "Whether the agency can post to the channel now; publishing refuses anything but ALLOWED";
|
|
5754
|
+
readonly enum: readonly ["ALLOWED", "NOT_CONNECTED", "RECONNECT_REQUIRED"];
|
|
5755
|
+
};
|
|
5756
|
+
};
|
|
5757
|
+
readonly required: readonly ["access", "caption", "channel", "limits", "photos", "ratios"];
|
|
5758
|
+
};
|
|
5139
5759
|
export declare const ContactGridResponseSchema: {
|
|
5140
5760
|
readonly type: "object";
|
|
5141
5761
|
readonly properties: {
|
|
@@ -5285,10 +5905,7 @@ export declare const Client360ResponseSchema: {
|
|
|
5285
5905
|
};
|
|
5286
5906
|
};
|
|
5287
5907
|
readonly tasks: {
|
|
5288
|
-
readonly
|
|
5289
|
-
readonly items: {
|
|
5290
|
-
readonly $ref: "#/components/schemas/ContactTaskResponse";
|
|
5291
|
-
};
|
|
5908
|
+
readonly $ref: "#/components/schemas/ContactTasksResponse";
|
|
5292
5909
|
};
|
|
5293
5910
|
};
|
|
5294
5911
|
readonly required: readonly ["agencyId", "contactId", "contactInfo", "createdAt", "createdBy", "interests", "isListing", "isSearching", "properties", "source", "tasks", "updatedAt"];
|