@homespot-sdk/core 0.0.313 → 0.0.315

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.
@@ -75,9 +75,6 @@ export type RescheduleRequest = {
75
75
  start: Date;
76
76
  durationMinutes?: number;
77
77
  };
78
- export type RenameClientRecommendationsRequest = {
79
- name?: string;
80
- };
81
78
  export type AgreementRequest = {
82
79
  type: 'EXCLUSIVE' | 'NON_EXCLUSIVE';
83
80
  expiresAt?: Date;
@@ -179,7 +176,7 @@ export type IdResponseInteger = {
179
176
  id: number;
180
177
  };
181
178
  export type RateRecommendationItemRequest = {
182
- decision: 'MAYBE' | 'DISLIKE' | 'LIKE' | 'VISIT';
179
+ decision: 'MAYBE' | 'DISLIKE' | 'LIKE';
183
180
  note?: string;
184
181
  };
185
182
  export type ContactInfoRequest = {
@@ -258,17 +255,6 @@ export type ProblemDetail = {
258
255
  export type IdResponseUuid = {
259
256
  id: string;
260
257
  };
261
- export type CreateClientRecommendationsRequest = {
262
- title: string;
263
- interestId: number;
264
- };
265
- export type RecommendationsId = {
266
- value?: string;
267
- };
268
- export type RecommendListingRequest = {
269
- externalPropertyId: string;
270
- externalListingId: string;
271
- };
272
258
  export type AddDealRequest = {
273
259
  listingId: number;
274
260
  commissionType: 'FIXED_SALE' | 'FIXED_RENT' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
@@ -279,6 +265,13 @@ export type AddDealRequest = {
279
265
  export type InterestId = {
280
266
  value?: number;
281
267
  };
268
+ export type TitleRequest = {
269
+ title: string;
270
+ };
271
+ export type RecommendListingRequest = {
272
+ externalPropertyId: string;
273
+ externalListingId: string;
274
+ };
282
275
  export type OnboardClientRequest = {
283
276
  title?: string;
284
277
  contactInfo: ContactInfoRequest;
@@ -365,15 +358,14 @@ export type PagedModelRecommendationsCardView = {
365
358
  page?: PageMetadata;
366
359
  };
367
360
  export type RecommendationResponse = {
368
- recommendationsId: string;
361
+ shareToken: string;
369
362
  title: string;
370
363
  createdAt: Date;
371
- status: 'DRAFT' | 'AWAITING_CLIENT_REVIEW' | 'CLOSED';
364
+ status: 'DRAFT' | 'SHARED' | 'CLOSED';
372
365
  recommendations: PagedModelRecommendationsCardView;
373
366
  };
374
367
  export type RecommendationsCardView = {
375
- recommendationItemId: number;
376
- decision?: 'MAYBE' | 'DISLIKE' | 'LIKE' | 'VISIT';
368
+ decision?: 'MAYBE' | 'DISLIKE' | 'LIKE';
377
369
  clientNote?: string;
378
370
  ownerContactId: number;
379
371
  listingId: number;
@@ -394,7 +386,7 @@ export type RecommendationDecisionResponse = {
394
386
  itemId: number;
395
387
  externalPropertyId: string;
396
388
  externalListingId: string;
397
- decision: 'MAYBE' | 'DISLIKE' | 'LIKE' | 'VISIT';
389
+ decision: 'MAYBE' | 'DISLIKE' | 'LIKE';
398
390
  };
399
391
  export type GroupedPermissionsResponse = {
400
392
  group: 'AGENCY' | 'INVITATION' | 'ROLE' | 'MEMBER' | 'CONTACT' | 'PROPERTY';
@@ -491,7 +483,7 @@ export type ContactAssigned = {
491
483
  from?: MemberId;
492
484
  by?: MemberId;
493
485
  source?: 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'UNKNOWN';
494
- kind: 'NEW_CONTACT';
486
+ kind: 'CONTACT_ASSIGNED';
495
487
  };
496
488
  export type ContactId = {
497
489
  value?: number;
@@ -683,6 +675,10 @@ export type InboxResponse = {
683
675
  memberLastName?: string;
684
676
  memberPicture?: string;
685
677
  };
678
+ export type Image = {
679
+ urls?: Array<string>;
680
+ kind: 'IMAGE';
681
+ };
686
682
  export type MessageContent = ({
687
683
  kind: 'TEXT';
688
684
  } & Text) | ({
@@ -722,25 +718,45 @@ export type CursorPageMessageView = {
722
718
  nextCursor?: string;
723
719
  hasNext?: boolean;
724
720
  };
725
- export type ConstantInterestResponse = {
726
- id: number;
721
+ export type Criteria = {
727
722
  propertyTypes: Array<'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'>;
728
723
  listingType: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
729
- priceMin?: number;
730
- priceMax?: number;
731
- bedroomsMin?: number;
732
- bedroomsMax?: number;
733
- bathroomsMin?: number;
734
- bathroomsMax?: number;
735
- totalAreaMin?: number;
736
- totalAreaMax?: number;
737
- livingAreaMin?: number;
738
- livingAreaMax?: number;
724
+ budget?: RangeBigDecimal;
725
+ bedrooms?: RangeInteger;
726
+ bathrooms?: RangeInteger;
727
+ totalArea?: RangeDouble;
728
+ livingArea?: RangeDouble;
739
729
  region?: LocationResponse;
740
730
  district?: LocationResponse;
741
731
  subDistrict?: LocationResponse;
742
732
  street?: LocationResponse;
743
- active: boolean;
733
+ };
734
+ export type InterestResponse = {
735
+ id: number;
736
+ title: string;
737
+ status: 'DRAFT' | 'SHARED' | 'CLOSED';
738
+ shareToken: string;
739
+ createdAt: Date;
740
+ criteria: Criteria;
741
+ recommendations: RecommendationStats;
742
+ };
743
+ export type RangeBigDecimal = {
744
+ min?: number;
745
+ max?: number;
746
+ };
747
+ export type RangeDouble = {
748
+ min?: number;
749
+ max?: number;
750
+ };
751
+ export type RangeInteger = {
752
+ min?: number;
753
+ max?: number;
754
+ };
755
+ export type RecommendationStats = {
756
+ total: number;
757
+ liked: number;
758
+ disliked: number;
759
+ undecided: number;
744
760
  };
745
761
  export type CommentView = {
746
762
  id: string;
@@ -801,10 +817,11 @@ export type Client360Response = {
801
817
  communicationPreference?: CommunicationPreferenceResponse;
802
818
  isSearching: boolean;
803
819
  isListing: boolean;
804
- priority?: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
820
+ priority: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
821
+ status: 'NEW' | 'ON_HOLD' | 'COLD' | 'WARM' | 'HOT' | 'WAITING_PAYMENT' | 'LOST' | 'WON';
805
822
  createdAt: Date;
806
823
  updatedAt: Date;
807
- interests: Array<ConstantInterestResponse>;
824
+ interests: Array<InterestResponse>;
808
825
  properties: Array<ContactPropertyResponse>;
809
826
  };
810
827
  export type CommunicationPreferenceResponse = {
@@ -1174,37 +1191,37 @@ export type PutMeetingsByMeetingIdCancelResponses = {
1174
1191
  204: void;
1175
1192
  };
1176
1193
  export type PutMeetingsByMeetingIdCancelResponse = PutMeetingsByMeetingIdCancelResponses[keyof PutMeetingsByMeetingIdCancelResponses];
1177
- export type PutContactsByContactIdRecommendationsByRecommendationsIdTitleData = {
1178
- body: RenameClientRecommendationsRequest;
1194
+ export type PutContactsByContactIdPropertiesByPropertyIdAgreementData = {
1195
+ body: AgreementRequest;
1179
1196
  path: {
1180
1197
  contactId: number;
1181
- recommendationsId: string;
1198
+ propertyId: number;
1182
1199
  };
1183
1200
  query?: never;
1184
- url: '/contacts/{contactId}/recommendations/{recommendationsId}/title';
1201
+ url: '/contacts/{contactId}/properties/{propertyId}/agreement';
1185
1202
  };
1186
- export type PutContactsByContactIdRecommendationsByRecommendationsIdTitleResponses = {
1203
+ export type PutContactsByContactIdPropertiesByPropertyIdAgreementResponses = {
1187
1204
  /**
1188
- * No Content
1205
+ * OK
1189
1206
  */
1190
- 204: void;
1207
+ 200: unknown;
1191
1208
  };
1192
- export type PutContactsByContactIdRecommendationsByRecommendationsIdTitleResponse = PutContactsByContactIdRecommendationsByRecommendationsIdTitleResponses[keyof PutContactsByContactIdRecommendationsByRecommendationsIdTitleResponses];
1193
- export type PutContactsByContactIdPropertiesByPropertyIdAgreementData = {
1194
- body: AgreementRequest;
1209
+ export type GetContactsByContactIdInterestsByInterestIdData = {
1210
+ body?: never;
1195
1211
  path: {
1196
1212
  contactId: number;
1197
- propertyId: number;
1213
+ interestId: number;
1198
1214
  };
1199
1215
  query?: never;
1200
- url: '/contacts/{contactId}/properties/{propertyId}/agreement';
1216
+ url: '/contacts/{contactId}/interests/{interestId}';
1201
1217
  };
1202
- export type PutContactsByContactIdPropertiesByPropertyIdAgreementResponses = {
1218
+ export type GetContactsByContactIdInterestsByInterestIdResponses = {
1203
1219
  /**
1204
1220
  * OK
1205
1221
  */
1206
- 200: unknown;
1222
+ 200: InterestResponse;
1207
1223
  };
1224
+ export type GetContactsByContactIdInterestsByInterestIdResponse = GetContactsByContactIdInterestsByInterestIdResponses[keyof GetContactsByContactIdInterestsByInterestIdResponses];
1208
1225
  export type PutContactsByContactIdInterestsByInterestIdData = {
1209
1226
  body: CaptureInterestRequest;
1210
1227
  path: {
@@ -1567,22 +1584,22 @@ export type PostPublicWebhooksMetaResponses = {
1567
1584
  */
1568
1585
  200: unknown;
1569
1586
  };
1570
- export type PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateData = {
1587
+ export type PostPublicRecomendationsByTokenItemsByItemIdRateData = {
1571
1588
  body: RateRecommendationItemRequest;
1572
1589
  path: {
1573
- recommendationsId: string;
1590
+ token: string;
1574
1591
  itemId: number;
1575
1592
  };
1576
1593
  query?: never;
1577
- url: '/public/recomendations/{recommendationsId}/items/{itemId}/rate';
1594
+ url: '/public/recomendations/{token}/items/{itemId}/rate';
1578
1595
  };
1579
- export type PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponses = {
1596
+ export type PostPublicRecomendationsByTokenItemsByItemIdRateResponses = {
1580
1597
  /**
1581
1598
  * No Content
1582
1599
  */
1583
1600
  204: void;
1584
1601
  };
1585
- export type PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponse = PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponses[keyof PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponses];
1602
+ export type PostPublicRecomendationsByTokenItemsByItemIdRateResponse = PostPublicRecomendationsByTokenItemsByItemIdRateResponses[keyof PostPublicRecomendationsByTokenItemsByItemIdRateResponses];
1586
1603
  export type PostPublicOtpPhoneData = {
1587
1604
  body: PhoneRequest;
1588
1605
  path?: never;
@@ -1819,165 +1836,134 @@ export type PostConversationsByConversationIdMessagesResponses = {
1819
1836
  201: IdResponseUuid;
1820
1837
  };
1821
1838
  export type PostConversationsByConversationIdMessagesResponse = PostConversationsByConversationIdMessagesResponses[keyof PostConversationsByConversationIdMessagesResponses];
1822
- export type PostContactsByContactIdRecommendationsData = {
1823
- body: CreateClientRecommendationsRequest;
1824
- path: {
1825
- contactId: number;
1826
- };
1827
- query?: never;
1828
- url: '/contacts/{contactId}/recommendations';
1829
- };
1830
- export type PostContactsByContactIdRecommendationsResponses = {
1831
- /**
1832
- * Created
1833
- */
1834
- 201: RecommendationsId;
1835
- };
1836
- export type PostContactsByContactIdRecommendationsResponse = PostContactsByContactIdRecommendationsResponses[keyof PostContactsByContactIdRecommendationsResponses];
1837
- export type PostContactsByContactIdRecommendationsByRecommendationsIdSubmitData = {
1839
+ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
1838
1840
  body?: never;
1839
1841
  path: {
1840
1842
  contactId: number;
1841
- recommendationsId: string;
1843
+ propertyId: number;
1844
+ listingId: number;
1842
1845
  };
1843
1846
  query?: never;
1844
- url: '/contacts/{contactId}/recommendations/{recommendationsId}/submit';
1847
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/deal';
1845
1848
  };
1846
- export type PostContactsByContactIdRecommendationsByRecommendationsIdSubmitResponses = {
1849
+ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses = {
1847
1850
  /**
1848
1851
  * No Content
1849
1852
  */
1850
1853
  204: void;
1851
1854
  };
1852
- export type PostContactsByContactIdRecommendationsByRecommendationsIdSubmitResponse = PostContactsByContactIdRecommendationsByRecommendationsIdSubmitResponses[keyof PostContactsByContactIdRecommendationsByRecommendationsIdSubmitResponses];
1853
- export type PostContactsByContactIdRecommendationsByRecommendationsIdReviseData = {
1854
- body?: never;
1855
+ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses[keyof DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses];
1856
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
1857
+ body: AddDealRequest;
1855
1858
  path: {
1856
1859
  contactId: number;
1857
- recommendationsId: string;
1860
+ propertyId: number;
1861
+ listingId: number;
1858
1862
  };
1859
1863
  query?: never;
1860
- url: '/contacts/{contactId}/recommendations/{recommendationsId}/revise';
1864
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/deal';
1861
1865
  };
1862
- export type PostContactsByContactIdRecommendationsByRecommendationsIdReviseResponses = {
1866
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses = {
1863
1867
  /**
1864
1868
  * No Content
1865
1869
  */
1866
1870
  204: void;
1867
1871
  };
1868
- export type PostContactsByContactIdRecommendationsByRecommendationsIdReviseResponse = PostContactsByContactIdRecommendationsByRecommendationsIdReviseResponses[keyof PostContactsByContactIdRecommendationsByRecommendationsIdReviseResponses];
1869
- export type PostContactsByContactIdRecommendationsByRecommendationsIdItemsData = {
1870
- body: RecommendListingRequest;
1872
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses];
1873
+ export type PostContactsByContactIdInterestsData = {
1874
+ body: CaptureInterestRequest;
1871
1875
  path: {
1872
1876
  contactId: number;
1873
- recommendationsId: string;
1874
1877
  };
1875
1878
  query?: never;
1876
- url: '/contacts/{contactId}/recommendations/{recommendationsId}/items';
1879
+ url: '/contacts/{contactId}/interests';
1877
1880
  };
1878
- export type PostContactsByContactIdRecommendationsByRecommendationsIdItemsResponses = {
1881
+ export type PostContactsByContactIdInterestsResponses = {
1879
1882
  /**
1880
1883
  * Created
1881
1884
  */
1882
- 201: unknown;
1885
+ 201: InterestId;
1883
1886
  };
1884
- export type PostContactsByContactIdRecommendationsByRecommendationsIdCloseData = {
1887
+ export type PostContactsByContactIdInterestsResponse = PostContactsByContactIdInterestsResponses[keyof PostContactsByContactIdInterestsResponses];
1888
+ export type PostContactsByContactIdInterestsByInterestIdShareData = {
1885
1889
  body?: never;
1886
1890
  path: {
1887
1891
  contactId: number;
1888
- recommendationsId: string;
1892
+ interestId: number;
1889
1893
  };
1890
1894
  query?: never;
1891
- url: '/contacts/{contactId}/recommendations/{recommendationsId}/close';
1895
+ url: '/contacts/{contactId}/interests/{interestId}/share';
1892
1896
  };
1893
- export type PostContactsByContactIdRecommendationsByRecommendationsIdCloseResponses = {
1897
+ export type PostContactsByContactIdInterestsByInterestIdShareResponses = {
1894
1898
  /**
1895
1899
  * No Content
1896
1900
  */
1897
1901
  204: void;
1898
1902
  };
1899
- export type PostContactsByContactIdRecommendationsByRecommendationsIdCloseResponse = PostContactsByContactIdRecommendationsByRecommendationsIdCloseResponses[keyof PostContactsByContactIdRecommendationsByRecommendationsIdCloseResponses];
1900
- export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
1903
+ export type PostContactsByContactIdInterestsByInterestIdShareResponse = PostContactsByContactIdInterestsByInterestIdShareResponses[keyof PostContactsByContactIdInterestsByInterestIdShareResponses];
1904
+ export type PostContactsByContactIdInterestsByInterestIdReviseData = {
1901
1905
  body?: never;
1902
1906
  path: {
1903
1907
  contactId: number;
1904
- propertyId: number;
1905
- listingId: number;
1908
+ interestId: number;
1906
1909
  };
1907
1910
  query?: never;
1908
- url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/deal';
1911
+ url: '/contacts/{contactId}/interests/{interestId}/revise';
1909
1912
  };
1910
- export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses = {
1913
+ export type PostContactsByContactIdInterestsByInterestIdReviseResponses = {
1911
1914
  /**
1912
1915
  * No Content
1913
1916
  */
1914
1917
  204: void;
1915
1918
  };
1916
- export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses[keyof DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses];
1917
- export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
1918
- body: AddDealRequest;
1919
+ export type PostContactsByContactIdInterestsByInterestIdReviseResponse = PostContactsByContactIdInterestsByInterestIdReviseResponses[keyof PostContactsByContactIdInterestsByInterestIdReviseResponses];
1920
+ export type PostContactsByContactIdInterestsByInterestIdRenameData = {
1921
+ body: TitleRequest;
1919
1922
  path: {
1920
1923
  contactId: number;
1921
- propertyId: number;
1922
- listingId: number;
1924
+ interestId: number;
1923
1925
  };
1924
1926
  query?: never;
1925
- url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/deal';
1927
+ url: '/contacts/{contactId}/interests/{interestId}/rename';
1926
1928
  };
1927
- export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses = {
1929
+ export type PostContactsByContactIdInterestsByInterestIdRenameResponses = {
1928
1930
  /**
1929
1931
  * No Content
1930
1932
  */
1931
1933
  204: void;
1932
1934
  };
1933
- export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses];
1934
- export type PostContactsByContactIdInterestsData = {
1935
- body: CaptureInterestRequest;
1936
- path: {
1937
- contactId: number;
1938
- };
1939
- query?: never;
1940
- url: '/contacts/{contactId}/interests';
1941
- };
1942
- export type PostContactsByContactIdInterestsResponses = {
1943
- /**
1944
- * Created
1945
- */
1946
- 201: InterestId;
1947
- };
1948
- export type PostContactsByContactIdInterestsResponse = PostContactsByContactIdInterestsResponses[keyof PostContactsByContactIdInterestsResponses];
1949
- export type PostContactsByContactIdInterestsByInterestIdFulfilledData = {
1950
- body?: never;
1935
+ export type PostContactsByContactIdInterestsByInterestIdRenameResponse = PostContactsByContactIdInterestsByInterestIdRenameResponses[keyof PostContactsByContactIdInterestsByInterestIdRenameResponses];
1936
+ export type PostContactsByContactIdInterestsByInterestIdItemsData = {
1937
+ body: RecommendListingRequest;
1951
1938
  path: {
1952
1939
  contactId: number;
1953
1940
  interestId: number;
1954
1941
  };
1955
1942
  query?: never;
1956
- url: '/contacts/{contactId}/interests/{interestId}/fulfilled';
1943
+ url: '/contacts/{contactId}/interests/{interestId}/items';
1957
1944
  };
1958
- export type PostContactsByContactIdInterestsByInterestIdFulfilledResponses = {
1945
+ export type PostContactsByContactIdInterestsByInterestIdItemsResponses = {
1959
1946
  /**
1960
- * No Content
1947
+ * Created
1961
1948
  */
1962
- 204: void;
1949
+ 201: unknown;
1963
1950
  };
1964
- export type PostContactsByContactIdInterestsByInterestIdFulfilledResponse = PostContactsByContactIdInterestsByInterestIdFulfilledResponses[keyof PostContactsByContactIdInterestsByInterestIdFulfilledResponses];
1965
- export type PostContactsByContactIdInterestsByInterestIdCancelledData = {
1951
+ export type PostContactsByContactIdInterestsByInterestIdCloseData = {
1966
1952
  body?: never;
1967
1953
  path: {
1968
1954
  contactId: number;
1969
1955
  interestId: number;
1970
1956
  };
1971
1957
  query?: never;
1972
- url: '/contacts/{contactId}/interests/{interestId}/cancelled';
1958
+ url: '/contacts/{contactId}/interests/{interestId}/close';
1973
1959
  };
1974
- export type PostContactsByContactIdInterestsByInterestIdCancelledResponses = {
1960
+ export type PostContactsByContactIdInterestsByInterestIdCloseResponses = {
1975
1961
  /**
1976
1962
  * No Content
1977
1963
  */
1978
1964
  204: void;
1979
1965
  };
1980
- export type PostContactsByContactIdInterestsByInterestIdCancelledResponse = PostContactsByContactIdInterestsByInterestIdCancelledResponses[keyof PostContactsByContactIdInterestsByInterestIdCancelledResponses];
1966
+ export type PostContactsByContactIdInterestsByInterestIdCloseResponse = PostContactsByContactIdInterestsByInterestIdCloseResponses[keyof PostContactsByContactIdInterestsByInterestIdCloseResponses];
1981
1967
  export type DeleteContactsByContactIdCommentsData = {
1982
1968
  body?: never;
1983
1969
  path: {
@@ -2183,13 +2169,13 @@ export type GetUserMeResponses = {
2183
2169
  200: UserContextViewResponse;
2184
2170
  };
2185
2171
  export type GetUserMeResponse = GetUserMeResponses[keyof GetUserMeResponses];
2186
- export type GetPublicRecomendationsByRecommendationsIdItemsData = {
2172
+ export type GetPublicRecomendationsByTokenItemsData = {
2187
2173
  body?: never;
2188
2174
  path: {
2189
- recommendationsId: string;
2175
+ token: string;
2190
2176
  };
2191
2177
  query?: {
2192
- decision?: 'MAYBE' | 'DISLIKE' | 'LIKE' | 'VISIT';
2178
+ decision?: 'MAYBE' | 'DISLIKE' | 'LIKE';
2193
2179
  /**
2194
2180
  * Zero-based page index (0..N)
2195
2181
  */
@@ -2203,30 +2189,30 @@ export type GetPublicRecomendationsByRecommendationsIdItemsData = {
2203
2189
  */
2204
2190
  sort?: Array<string>;
2205
2191
  };
2206
- url: '/public/recomendations/{recommendationsId}/items';
2192
+ url: '/public/recomendations/{token}/items';
2207
2193
  };
2208
- export type GetPublicRecomendationsByRecommendationsIdItemsResponses = {
2194
+ export type GetPublicRecomendationsByTokenItemsResponses = {
2209
2195
  /**
2210
2196
  * OK
2211
2197
  */
2212
2198
  200: RecommendationResponse;
2213
2199
  };
2214
- export type GetPublicRecomendationsByRecommendationsIdItemsResponse = GetPublicRecomendationsByRecommendationsIdItemsResponses[keyof GetPublicRecomendationsByRecommendationsIdItemsResponses];
2215
- export type GetPublicRecomendationsByRecommendationsIdDecisionsData = {
2200
+ export type GetPublicRecomendationsByTokenItemsResponse = GetPublicRecomendationsByTokenItemsResponses[keyof GetPublicRecomendationsByTokenItemsResponses];
2201
+ export type GetPublicRecomendationsByTokenDecisionsData = {
2216
2202
  body?: never;
2217
2203
  path: {
2218
- recommendationsId: string;
2204
+ token: string;
2219
2205
  };
2220
2206
  query?: never;
2221
- url: '/public/recomendations/{recommendationsId}/decisions';
2207
+ url: '/public/recomendations/{token}/decisions';
2222
2208
  };
2223
- export type GetPublicRecomendationsByRecommendationsIdDecisionsResponses = {
2209
+ export type GetPublicRecomendationsByTokenDecisionsResponses = {
2224
2210
  /**
2225
2211
  * OK
2226
2212
  */
2227
2213
  200: Array<RecommendationDecisionResponse>;
2228
2214
  };
2229
- export type GetPublicRecomendationsByRecommendationsIdDecisionsResponse = GetPublicRecomendationsByRecommendationsIdDecisionsResponses[keyof GetPublicRecomendationsByRecommendationsIdDecisionsResponses];
2215
+ export type GetPublicRecomendationsByTokenDecisionsResponse = GetPublicRecomendationsByTokenDecisionsResponses[keyof GetPublicRecomendationsByTokenDecisionsResponses];
2230
2216
  export type GetPublicPermissionsData = {
2231
2217
  body?: never;
2232
2218
  path?: never;
@@ -2576,7 +2562,7 @@ export type GetListingGroupsData = {
2576
2562
  body?: never;
2577
2563
  path?: never;
2578
2564
  query: {
2579
- groupBy: 'STATE' | 'PROPERTY_TYPE' | 'LISTING_TYPE' | 'ASSIGNED_TO' | 'CONTACT' | 'REGION' | 'PLATFORM' | 'BOOST_TIER' | 'CREATED_AT_DAY' | 'CREATED_AT_WEEK' | 'CREATED_AT_MONTH';
2565
+ groupBy: 'STATE' | 'PROPERTY_TYPE' | 'LISTING_TYPE' | 'ASSIGNED_TO' | 'CONTACT' | 'REGION' | 'DISTRICT' | 'PLATFORM' | 'BOOST_TIER' | 'CREATED_AT_DAY' | 'CREATED_AT_WEEK' | 'CREATED_AT_MONTH';
2580
2566
  states?: Array<'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED'>;
2581
2567
  agreementTypes?: Array<'EXCLUSIVE' | 'NON_EXCLUSIVE'>;
2582
2568
  agreementExpiresFrom?: Date;
@@ -2681,44 +2667,14 @@ export type GetConversationsByConversationIdUpdatesResponses = {
2681
2667
  200: ThreadUpdates;
2682
2668
  };
2683
2669
  export type GetConversationsByConversationIdUpdatesResponse = GetConversationsByConversationIdUpdatesResponses[keyof GetConversationsByConversationIdUpdatesResponses];
2684
- export type GetContactsByContactIdRecommendationsByRecommendationsIdData = {
2685
- body?: never;
2686
- path: {
2687
- contactId: number;
2688
- recommendationsId: string;
2689
- };
2690
- query?: {
2691
- decision?: 'MAYBE' | 'DISLIKE' | 'LIKE' | 'VISIT';
2692
- /**
2693
- * Zero-based page index (0..N)
2694
- */
2695
- page?: number;
2696
- /**
2697
- * The size of the page to be returned
2698
- */
2699
- size?: number;
2700
- /**
2701
- * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
2702
- */
2703
- sort?: Array<string>;
2704
- };
2705
- url: '/contacts/{contactId}/recommendations/{recommendationsId}';
2706
- };
2707
- export type GetContactsByContactIdRecommendationsByRecommendationsIdResponses = {
2708
- /**
2709
- * OK
2710
- */
2711
- 200: RecommendationResponse;
2712
- };
2713
- export type GetContactsByContactIdRecommendationsByRecommendationsIdResponse = GetContactsByContactIdRecommendationsByRecommendationsIdResponses[keyof GetContactsByContactIdRecommendationsByRecommendationsIdResponses];
2714
- export type GetContactsByContactIdRecommendationsInterestByInterestIdData = {
2670
+ export type GetContactsByContactIdInterestsByInterestIdRecommendationsData = {
2715
2671
  body?: never;
2716
2672
  path: {
2717
2673
  contactId: number;
2718
2674
  interestId: number;
2719
2675
  };
2720
2676
  query?: {
2721
- decision?: 'MAYBE' | 'DISLIKE' | 'LIKE' | 'VISIT';
2677
+ decision?: 'MAYBE' | 'DISLIKE' | 'LIKE';
2722
2678
  /**
2723
2679
  * Zero-based page index (0..N)
2724
2680
  */
@@ -2732,31 +2688,15 @@ export type GetContactsByContactIdRecommendationsInterestByInterestIdData = {
2732
2688
  */
2733
2689
  sort?: Array<string>;
2734
2690
  };
2735
- url: '/contacts/{contactId}/recommendations/interest/{interestId}';
2691
+ url: '/contacts/{contactId}/interests/{interestId}/recommendations';
2736
2692
  };
2737
- export type GetContactsByContactIdRecommendationsInterestByInterestIdResponses = {
2693
+ export type GetContactsByContactIdInterestsByInterestIdRecommendationsResponses = {
2738
2694
  /**
2739
2695
  * OK
2740
2696
  */
2741
2697
  200: RecommendationResponse;
2742
2698
  };
2743
- export type GetContactsByContactIdRecommendationsInterestByInterestIdResponse = GetContactsByContactIdRecommendationsInterestByInterestIdResponses[keyof GetContactsByContactIdRecommendationsInterestByInterestIdResponses];
2744
- export type GetContactsByContactIdInterestsRecommendationByRecommendationIdData = {
2745
- body?: never;
2746
- path: {
2747
- contactId: number;
2748
- recommendationId: string;
2749
- };
2750
- query?: never;
2751
- url: '/contacts/{contactId}/interests/recommendation/{recommendationId}';
2752
- };
2753
- export type GetContactsByContactIdInterestsRecommendationByRecommendationIdResponses = {
2754
- /**
2755
- * OK
2756
- */
2757
- 200: ConstantInterestResponse;
2758
- };
2759
- export type GetContactsByContactIdInterestsRecommendationByRecommendationIdResponse = GetContactsByContactIdInterestsRecommendationByRecommendationIdResponses[keyof GetContactsByContactIdInterestsRecommendationByRecommendationIdResponses];
2699
+ export type GetContactsByContactIdInterestsByInterestIdRecommendationsResponse = GetContactsByContactIdInterestsByInterestIdRecommendationsResponses[keyof GetContactsByContactIdInterestsByInterestIdRecommendationsResponses];
2760
2700
  export type GetContactByContactIdData = {
2761
2701
  body?: never;
2762
2702
  path: {
@@ -2943,21 +2883,21 @@ export type DeleteConversationsByConversationIdPresenceResponses = {
2943
2883
  204: void;
2944
2884
  };
2945
2885
  export type DeleteConversationsByConversationIdPresenceResponse = DeleteConversationsByConversationIdPresenceResponses[keyof DeleteConversationsByConversationIdPresenceResponses];
2946
- export type DeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdData = {
2886
+ export type DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdData = {
2947
2887
  body?: never;
2948
2888
  path: {
2949
2889
  contactId: number;
2950
- recommendationsId: string;
2890
+ interestId: number;
2951
2891
  itemId: number;
2952
2892
  };
2953
2893
  query?: never;
2954
- url: '/contacts/{contactId}/recommendations/{recommendationsId}/items/{itemId}';
2894
+ url: '/contacts/{contactId}/interests/{interestId}/items/{itemId}';
2955
2895
  };
2956
- export type DeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdResponses = {
2896
+ export type DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponses = {
2957
2897
  /**
2958
2898
  * No Content
2959
2899
  */
2960
2900
  204: void;
2961
2901
  };
2962
- export type DeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdResponse = DeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdResponses[keyof DeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdResponses];
2902
+ export type DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponse = DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponses[keyof DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponses];
2963
2903
  //# sourceMappingURL=types.gen.d.ts.map