@homespot-sdk/core 0.0.314 → 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';
@@ -726,25 +718,45 @@ export type CursorPageMessageView = {
726
718
  nextCursor?: string;
727
719
  hasNext?: boolean;
728
720
  };
729
- export type ConstantInterestResponse = {
730
- id: number;
721
+ export type Criteria = {
731
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'>;
732
723
  listingType: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
733
- priceMin?: number;
734
- priceMax?: number;
735
- bedroomsMin?: number;
736
- bedroomsMax?: number;
737
- bathroomsMin?: number;
738
- bathroomsMax?: number;
739
- totalAreaMin?: number;
740
- totalAreaMax?: number;
741
- livingAreaMin?: number;
742
- livingAreaMax?: number;
724
+ budget?: RangeBigDecimal;
725
+ bedrooms?: RangeInteger;
726
+ bathrooms?: RangeInteger;
727
+ totalArea?: RangeDouble;
728
+ livingArea?: RangeDouble;
743
729
  region?: LocationResponse;
744
730
  district?: LocationResponse;
745
731
  subDistrict?: LocationResponse;
746
732
  street?: LocationResponse;
747
- 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;
748
760
  };
749
761
  export type CommentView = {
750
762
  id: string;
@@ -805,10 +817,11 @@ export type Client360Response = {
805
817
  communicationPreference?: CommunicationPreferenceResponse;
806
818
  isSearching: boolean;
807
819
  isListing: boolean;
808
- priority?: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
820
+ priority: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
821
+ status: 'NEW' | 'ON_HOLD' | 'COLD' | 'WARM' | 'HOT' | 'WAITING_PAYMENT' | 'LOST' | 'WON';
809
822
  createdAt: Date;
810
823
  updatedAt: Date;
811
- interests: Array<ConstantInterestResponse>;
824
+ interests: Array<InterestResponse>;
812
825
  properties: Array<ContactPropertyResponse>;
813
826
  };
814
827
  export type CommunicationPreferenceResponse = {
@@ -1178,37 +1191,37 @@ export type PutMeetingsByMeetingIdCancelResponses = {
1178
1191
  204: void;
1179
1192
  };
1180
1193
  export type PutMeetingsByMeetingIdCancelResponse = PutMeetingsByMeetingIdCancelResponses[keyof PutMeetingsByMeetingIdCancelResponses];
1181
- export type PutContactsByContactIdRecommendationsByRecommendationsIdTitleData = {
1182
- body: RenameClientRecommendationsRequest;
1194
+ export type PutContactsByContactIdPropertiesByPropertyIdAgreementData = {
1195
+ body: AgreementRequest;
1183
1196
  path: {
1184
1197
  contactId: number;
1185
- recommendationsId: string;
1198
+ propertyId: number;
1186
1199
  };
1187
1200
  query?: never;
1188
- url: '/contacts/{contactId}/recommendations/{recommendationsId}/title';
1201
+ url: '/contacts/{contactId}/properties/{propertyId}/agreement';
1189
1202
  };
1190
- export type PutContactsByContactIdRecommendationsByRecommendationsIdTitleResponses = {
1203
+ export type PutContactsByContactIdPropertiesByPropertyIdAgreementResponses = {
1191
1204
  /**
1192
- * No Content
1205
+ * OK
1193
1206
  */
1194
- 204: void;
1207
+ 200: unknown;
1195
1208
  };
1196
- export type PutContactsByContactIdRecommendationsByRecommendationsIdTitleResponse = PutContactsByContactIdRecommendationsByRecommendationsIdTitleResponses[keyof PutContactsByContactIdRecommendationsByRecommendationsIdTitleResponses];
1197
- export type PutContactsByContactIdPropertiesByPropertyIdAgreementData = {
1198
- body: AgreementRequest;
1209
+ export type GetContactsByContactIdInterestsByInterestIdData = {
1210
+ body?: never;
1199
1211
  path: {
1200
1212
  contactId: number;
1201
- propertyId: number;
1213
+ interestId: number;
1202
1214
  };
1203
1215
  query?: never;
1204
- url: '/contacts/{contactId}/properties/{propertyId}/agreement';
1216
+ url: '/contacts/{contactId}/interests/{interestId}';
1205
1217
  };
1206
- export type PutContactsByContactIdPropertiesByPropertyIdAgreementResponses = {
1218
+ export type GetContactsByContactIdInterestsByInterestIdResponses = {
1207
1219
  /**
1208
1220
  * OK
1209
1221
  */
1210
- 200: unknown;
1222
+ 200: InterestResponse;
1211
1223
  };
1224
+ export type GetContactsByContactIdInterestsByInterestIdResponse = GetContactsByContactIdInterestsByInterestIdResponses[keyof GetContactsByContactIdInterestsByInterestIdResponses];
1212
1225
  export type PutContactsByContactIdInterestsByInterestIdData = {
1213
1226
  body: CaptureInterestRequest;
1214
1227
  path: {
@@ -1571,22 +1584,22 @@ export type PostPublicWebhooksMetaResponses = {
1571
1584
  */
1572
1585
  200: unknown;
1573
1586
  };
1574
- export type PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateData = {
1587
+ export type PostPublicRecomendationsByTokenItemsByItemIdRateData = {
1575
1588
  body: RateRecommendationItemRequest;
1576
1589
  path: {
1577
- recommendationsId: string;
1590
+ token: string;
1578
1591
  itemId: number;
1579
1592
  };
1580
1593
  query?: never;
1581
- url: '/public/recomendations/{recommendationsId}/items/{itemId}/rate';
1594
+ url: '/public/recomendations/{token}/items/{itemId}/rate';
1582
1595
  };
1583
- export type PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponses = {
1596
+ export type PostPublicRecomendationsByTokenItemsByItemIdRateResponses = {
1584
1597
  /**
1585
1598
  * No Content
1586
1599
  */
1587
1600
  204: void;
1588
1601
  };
1589
- export type PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponse = PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponses[keyof PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponses];
1602
+ export type PostPublicRecomendationsByTokenItemsByItemIdRateResponse = PostPublicRecomendationsByTokenItemsByItemIdRateResponses[keyof PostPublicRecomendationsByTokenItemsByItemIdRateResponses];
1590
1603
  export type PostPublicOtpPhoneData = {
1591
1604
  body: PhoneRequest;
1592
1605
  path?: never;
@@ -1823,165 +1836,134 @@ export type PostConversationsByConversationIdMessagesResponses = {
1823
1836
  201: IdResponseUuid;
1824
1837
  };
1825
1838
  export type PostConversationsByConversationIdMessagesResponse = PostConversationsByConversationIdMessagesResponses[keyof PostConversationsByConversationIdMessagesResponses];
1826
- export type PostContactsByContactIdRecommendationsData = {
1827
- body: CreateClientRecommendationsRequest;
1828
- path: {
1829
- contactId: number;
1830
- };
1831
- query?: never;
1832
- url: '/contacts/{contactId}/recommendations';
1833
- };
1834
- export type PostContactsByContactIdRecommendationsResponses = {
1835
- /**
1836
- * Created
1837
- */
1838
- 201: RecommendationsId;
1839
- };
1840
- export type PostContactsByContactIdRecommendationsResponse = PostContactsByContactIdRecommendationsResponses[keyof PostContactsByContactIdRecommendationsResponses];
1841
- export type PostContactsByContactIdRecommendationsByRecommendationsIdSubmitData = {
1839
+ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
1842
1840
  body?: never;
1843
1841
  path: {
1844
1842
  contactId: number;
1845
- recommendationsId: string;
1843
+ propertyId: number;
1844
+ listingId: number;
1846
1845
  };
1847
1846
  query?: never;
1848
- url: '/contacts/{contactId}/recommendations/{recommendationsId}/submit';
1847
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/deal';
1849
1848
  };
1850
- export type PostContactsByContactIdRecommendationsByRecommendationsIdSubmitResponses = {
1849
+ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses = {
1851
1850
  /**
1852
1851
  * No Content
1853
1852
  */
1854
1853
  204: void;
1855
1854
  };
1856
- export type PostContactsByContactIdRecommendationsByRecommendationsIdSubmitResponse = PostContactsByContactIdRecommendationsByRecommendationsIdSubmitResponses[keyof PostContactsByContactIdRecommendationsByRecommendationsIdSubmitResponses];
1857
- export type PostContactsByContactIdRecommendationsByRecommendationsIdReviseData = {
1858
- body?: never;
1855
+ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses[keyof DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses];
1856
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
1857
+ body: AddDealRequest;
1859
1858
  path: {
1860
1859
  contactId: number;
1861
- recommendationsId: string;
1860
+ propertyId: number;
1861
+ listingId: number;
1862
1862
  };
1863
1863
  query?: never;
1864
- url: '/contacts/{contactId}/recommendations/{recommendationsId}/revise';
1864
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/deal';
1865
1865
  };
1866
- export type PostContactsByContactIdRecommendationsByRecommendationsIdReviseResponses = {
1866
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses = {
1867
1867
  /**
1868
1868
  * No Content
1869
1869
  */
1870
1870
  204: void;
1871
1871
  };
1872
- export type PostContactsByContactIdRecommendationsByRecommendationsIdReviseResponse = PostContactsByContactIdRecommendationsByRecommendationsIdReviseResponses[keyof PostContactsByContactIdRecommendationsByRecommendationsIdReviseResponses];
1873
- export type PostContactsByContactIdRecommendationsByRecommendationsIdItemsData = {
1874
- body: RecommendListingRequest;
1872
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses];
1873
+ export type PostContactsByContactIdInterestsData = {
1874
+ body: CaptureInterestRequest;
1875
1875
  path: {
1876
1876
  contactId: number;
1877
- recommendationsId: string;
1878
1877
  };
1879
1878
  query?: never;
1880
- url: '/contacts/{contactId}/recommendations/{recommendationsId}/items';
1879
+ url: '/contacts/{contactId}/interests';
1881
1880
  };
1882
- export type PostContactsByContactIdRecommendationsByRecommendationsIdItemsResponses = {
1881
+ export type PostContactsByContactIdInterestsResponses = {
1883
1882
  /**
1884
1883
  * Created
1885
1884
  */
1886
- 201: unknown;
1885
+ 201: InterestId;
1887
1886
  };
1888
- export type PostContactsByContactIdRecommendationsByRecommendationsIdCloseData = {
1887
+ export type PostContactsByContactIdInterestsResponse = PostContactsByContactIdInterestsResponses[keyof PostContactsByContactIdInterestsResponses];
1888
+ export type PostContactsByContactIdInterestsByInterestIdShareData = {
1889
1889
  body?: never;
1890
1890
  path: {
1891
1891
  contactId: number;
1892
- recommendationsId: string;
1892
+ interestId: number;
1893
1893
  };
1894
1894
  query?: never;
1895
- url: '/contacts/{contactId}/recommendations/{recommendationsId}/close';
1895
+ url: '/contacts/{contactId}/interests/{interestId}/share';
1896
1896
  };
1897
- export type PostContactsByContactIdRecommendationsByRecommendationsIdCloseResponses = {
1897
+ export type PostContactsByContactIdInterestsByInterestIdShareResponses = {
1898
1898
  /**
1899
1899
  * No Content
1900
1900
  */
1901
1901
  204: void;
1902
1902
  };
1903
- export type PostContactsByContactIdRecommendationsByRecommendationsIdCloseResponse = PostContactsByContactIdRecommendationsByRecommendationsIdCloseResponses[keyof PostContactsByContactIdRecommendationsByRecommendationsIdCloseResponses];
1904
- export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
1903
+ export type PostContactsByContactIdInterestsByInterestIdShareResponse = PostContactsByContactIdInterestsByInterestIdShareResponses[keyof PostContactsByContactIdInterestsByInterestIdShareResponses];
1904
+ export type PostContactsByContactIdInterestsByInterestIdReviseData = {
1905
1905
  body?: never;
1906
1906
  path: {
1907
1907
  contactId: number;
1908
- propertyId: number;
1909
- listingId: number;
1908
+ interestId: number;
1910
1909
  };
1911
1910
  query?: never;
1912
- url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/deal';
1911
+ url: '/contacts/{contactId}/interests/{interestId}/revise';
1913
1912
  };
1914
- export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses = {
1913
+ export type PostContactsByContactIdInterestsByInterestIdReviseResponses = {
1915
1914
  /**
1916
1915
  * No Content
1917
1916
  */
1918
1917
  204: void;
1919
1918
  };
1920
- export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses[keyof DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses];
1921
- export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
1922
- body: AddDealRequest;
1919
+ export type PostContactsByContactIdInterestsByInterestIdReviseResponse = PostContactsByContactIdInterestsByInterestIdReviseResponses[keyof PostContactsByContactIdInterestsByInterestIdReviseResponses];
1920
+ export type PostContactsByContactIdInterestsByInterestIdRenameData = {
1921
+ body: TitleRequest;
1923
1922
  path: {
1924
1923
  contactId: number;
1925
- propertyId: number;
1926
- listingId: number;
1924
+ interestId: number;
1927
1925
  };
1928
1926
  query?: never;
1929
- url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/deal';
1927
+ url: '/contacts/{contactId}/interests/{interestId}/rename';
1930
1928
  };
1931
- export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses = {
1929
+ export type PostContactsByContactIdInterestsByInterestIdRenameResponses = {
1932
1930
  /**
1933
1931
  * No Content
1934
1932
  */
1935
1933
  204: void;
1936
1934
  };
1937
- export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses];
1938
- export type PostContactsByContactIdInterestsData = {
1939
- body: CaptureInterestRequest;
1940
- path: {
1941
- contactId: number;
1942
- };
1943
- query?: never;
1944
- url: '/contacts/{contactId}/interests';
1945
- };
1946
- export type PostContactsByContactIdInterestsResponses = {
1947
- /**
1948
- * Created
1949
- */
1950
- 201: InterestId;
1951
- };
1952
- export type PostContactsByContactIdInterestsResponse = PostContactsByContactIdInterestsResponses[keyof PostContactsByContactIdInterestsResponses];
1953
- export type PostContactsByContactIdInterestsByInterestIdFulfilledData = {
1954
- body?: never;
1935
+ export type PostContactsByContactIdInterestsByInterestIdRenameResponse = PostContactsByContactIdInterestsByInterestIdRenameResponses[keyof PostContactsByContactIdInterestsByInterestIdRenameResponses];
1936
+ export type PostContactsByContactIdInterestsByInterestIdItemsData = {
1937
+ body: RecommendListingRequest;
1955
1938
  path: {
1956
1939
  contactId: number;
1957
1940
  interestId: number;
1958
1941
  };
1959
1942
  query?: never;
1960
- url: '/contacts/{contactId}/interests/{interestId}/fulfilled';
1943
+ url: '/contacts/{contactId}/interests/{interestId}/items';
1961
1944
  };
1962
- export type PostContactsByContactIdInterestsByInterestIdFulfilledResponses = {
1945
+ export type PostContactsByContactIdInterestsByInterestIdItemsResponses = {
1963
1946
  /**
1964
- * No Content
1947
+ * Created
1965
1948
  */
1966
- 204: void;
1949
+ 201: unknown;
1967
1950
  };
1968
- export type PostContactsByContactIdInterestsByInterestIdFulfilledResponse = PostContactsByContactIdInterestsByInterestIdFulfilledResponses[keyof PostContactsByContactIdInterestsByInterestIdFulfilledResponses];
1969
- export type PostContactsByContactIdInterestsByInterestIdCancelledData = {
1951
+ export type PostContactsByContactIdInterestsByInterestIdCloseData = {
1970
1952
  body?: never;
1971
1953
  path: {
1972
1954
  contactId: number;
1973
1955
  interestId: number;
1974
1956
  };
1975
1957
  query?: never;
1976
- url: '/contacts/{contactId}/interests/{interestId}/cancelled';
1958
+ url: '/contacts/{contactId}/interests/{interestId}/close';
1977
1959
  };
1978
- export type PostContactsByContactIdInterestsByInterestIdCancelledResponses = {
1960
+ export type PostContactsByContactIdInterestsByInterestIdCloseResponses = {
1979
1961
  /**
1980
1962
  * No Content
1981
1963
  */
1982
1964
  204: void;
1983
1965
  };
1984
- export type PostContactsByContactIdInterestsByInterestIdCancelledResponse = PostContactsByContactIdInterestsByInterestIdCancelledResponses[keyof PostContactsByContactIdInterestsByInterestIdCancelledResponses];
1966
+ export type PostContactsByContactIdInterestsByInterestIdCloseResponse = PostContactsByContactIdInterestsByInterestIdCloseResponses[keyof PostContactsByContactIdInterestsByInterestIdCloseResponses];
1985
1967
  export type DeleteContactsByContactIdCommentsData = {
1986
1968
  body?: never;
1987
1969
  path: {
@@ -2187,13 +2169,13 @@ export type GetUserMeResponses = {
2187
2169
  200: UserContextViewResponse;
2188
2170
  };
2189
2171
  export type GetUserMeResponse = GetUserMeResponses[keyof GetUserMeResponses];
2190
- export type GetPublicRecomendationsByRecommendationsIdItemsData = {
2172
+ export type GetPublicRecomendationsByTokenItemsData = {
2191
2173
  body?: never;
2192
2174
  path: {
2193
- recommendationsId: string;
2175
+ token: string;
2194
2176
  };
2195
2177
  query?: {
2196
- decision?: 'MAYBE' | 'DISLIKE' | 'LIKE' | 'VISIT';
2178
+ decision?: 'MAYBE' | 'DISLIKE' | 'LIKE';
2197
2179
  /**
2198
2180
  * Zero-based page index (0..N)
2199
2181
  */
@@ -2207,30 +2189,30 @@ export type GetPublicRecomendationsByRecommendationsIdItemsData = {
2207
2189
  */
2208
2190
  sort?: Array<string>;
2209
2191
  };
2210
- url: '/public/recomendations/{recommendationsId}/items';
2192
+ url: '/public/recomendations/{token}/items';
2211
2193
  };
2212
- export type GetPublicRecomendationsByRecommendationsIdItemsResponses = {
2194
+ export type GetPublicRecomendationsByTokenItemsResponses = {
2213
2195
  /**
2214
2196
  * OK
2215
2197
  */
2216
2198
  200: RecommendationResponse;
2217
2199
  };
2218
- export type GetPublicRecomendationsByRecommendationsIdItemsResponse = GetPublicRecomendationsByRecommendationsIdItemsResponses[keyof GetPublicRecomendationsByRecommendationsIdItemsResponses];
2219
- export type GetPublicRecomendationsByRecommendationsIdDecisionsData = {
2200
+ export type GetPublicRecomendationsByTokenItemsResponse = GetPublicRecomendationsByTokenItemsResponses[keyof GetPublicRecomendationsByTokenItemsResponses];
2201
+ export type GetPublicRecomendationsByTokenDecisionsData = {
2220
2202
  body?: never;
2221
2203
  path: {
2222
- recommendationsId: string;
2204
+ token: string;
2223
2205
  };
2224
2206
  query?: never;
2225
- url: '/public/recomendations/{recommendationsId}/decisions';
2207
+ url: '/public/recomendations/{token}/decisions';
2226
2208
  };
2227
- export type GetPublicRecomendationsByRecommendationsIdDecisionsResponses = {
2209
+ export type GetPublicRecomendationsByTokenDecisionsResponses = {
2228
2210
  /**
2229
2211
  * OK
2230
2212
  */
2231
2213
  200: Array<RecommendationDecisionResponse>;
2232
2214
  };
2233
- export type GetPublicRecomendationsByRecommendationsIdDecisionsResponse = GetPublicRecomendationsByRecommendationsIdDecisionsResponses[keyof GetPublicRecomendationsByRecommendationsIdDecisionsResponses];
2215
+ export type GetPublicRecomendationsByTokenDecisionsResponse = GetPublicRecomendationsByTokenDecisionsResponses[keyof GetPublicRecomendationsByTokenDecisionsResponses];
2234
2216
  export type GetPublicPermissionsData = {
2235
2217
  body?: never;
2236
2218
  path?: never;
@@ -2685,44 +2667,14 @@ export type GetConversationsByConversationIdUpdatesResponses = {
2685
2667
  200: ThreadUpdates;
2686
2668
  };
2687
2669
  export type GetConversationsByConversationIdUpdatesResponse = GetConversationsByConversationIdUpdatesResponses[keyof GetConversationsByConversationIdUpdatesResponses];
2688
- export type GetContactsByContactIdRecommendationsByRecommendationsIdData = {
2689
- body?: never;
2690
- path: {
2691
- contactId: number;
2692
- recommendationsId: string;
2693
- };
2694
- query?: {
2695
- decision?: 'MAYBE' | 'DISLIKE' | 'LIKE' | 'VISIT';
2696
- /**
2697
- * Zero-based page index (0..N)
2698
- */
2699
- page?: number;
2700
- /**
2701
- * The size of the page to be returned
2702
- */
2703
- size?: number;
2704
- /**
2705
- * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
2706
- */
2707
- sort?: Array<string>;
2708
- };
2709
- url: '/contacts/{contactId}/recommendations/{recommendationsId}';
2710
- };
2711
- export type GetContactsByContactIdRecommendationsByRecommendationsIdResponses = {
2712
- /**
2713
- * OK
2714
- */
2715
- 200: RecommendationResponse;
2716
- };
2717
- export type GetContactsByContactIdRecommendationsByRecommendationsIdResponse = GetContactsByContactIdRecommendationsByRecommendationsIdResponses[keyof GetContactsByContactIdRecommendationsByRecommendationsIdResponses];
2718
- export type GetContactsByContactIdRecommendationsInterestByInterestIdData = {
2670
+ export type GetContactsByContactIdInterestsByInterestIdRecommendationsData = {
2719
2671
  body?: never;
2720
2672
  path: {
2721
2673
  contactId: number;
2722
2674
  interestId: number;
2723
2675
  };
2724
2676
  query?: {
2725
- decision?: 'MAYBE' | 'DISLIKE' | 'LIKE' | 'VISIT';
2677
+ decision?: 'MAYBE' | 'DISLIKE' | 'LIKE';
2726
2678
  /**
2727
2679
  * Zero-based page index (0..N)
2728
2680
  */
@@ -2736,31 +2688,15 @@ export type GetContactsByContactIdRecommendationsInterestByInterestIdData = {
2736
2688
  */
2737
2689
  sort?: Array<string>;
2738
2690
  };
2739
- url: '/contacts/{contactId}/recommendations/interest/{interestId}';
2691
+ url: '/contacts/{contactId}/interests/{interestId}/recommendations';
2740
2692
  };
2741
- export type GetContactsByContactIdRecommendationsInterestByInterestIdResponses = {
2693
+ export type GetContactsByContactIdInterestsByInterestIdRecommendationsResponses = {
2742
2694
  /**
2743
2695
  * OK
2744
2696
  */
2745
2697
  200: RecommendationResponse;
2746
2698
  };
2747
- export type GetContactsByContactIdRecommendationsInterestByInterestIdResponse = GetContactsByContactIdRecommendationsInterestByInterestIdResponses[keyof GetContactsByContactIdRecommendationsInterestByInterestIdResponses];
2748
- export type GetContactsByContactIdInterestsRecommendationByRecommendationIdData = {
2749
- body?: never;
2750
- path: {
2751
- contactId: number;
2752
- recommendationId: string;
2753
- };
2754
- query?: never;
2755
- url: '/contacts/{contactId}/interests/recommendation/{recommendationId}';
2756
- };
2757
- export type GetContactsByContactIdInterestsRecommendationByRecommendationIdResponses = {
2758
- /**
2759
- * OK
2760
- */
2761
- 200: ConstantInterestResponse;
2762
- };
2763
- export type GetContactsByContactIdInterestsRecommendationByRecommendationIdResponse = GetContactsByContactIdInterestsRecommendationByRecommendationIdResponses[keyof GetContactsByContactIdInterestsRecommendationByRecommendationIdResponses];
2699
+ export type GetContactsByContactIdInterestsByInterestIdRecommendationsResponse = GetContactsByContactIdInterestsByInterestIdRecommendationsResponses[keyof GetContactsByContactIdInterestsByInterestIdRecommendationsResponses];
2764
2700
  export type GetContactByContactIdData = {
2765
2701
  body?: never;
2766
2702
  path: {
@@ -2947,21 +2883,21 @@ export type DeleteConversationsByConversationIdPresenceResponses = {
2947
2883
  204: void;
2948
2884
  };
2949
2885
  export type DeleteConversationsByConversationIdPresenceResponse = DeleteConversationsByConversationIdPresenceResponses[keyof DeleteConversationsByConversationIdPresenceResponses];
2950
- export type DeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdData = {
2886
+ export type DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdData = {
2951
2887
  body?: never;
2952
2888
  path: {
2953
2889
  contactId: number;
2954
- recommendationsId: string;
2890
+ interestId: number;
2955
2891
  itemId: number;
2956
2892
  };
2957
2893
  query?: never;
2958
- url: '/contacts/{contactId}/recommendations/{recommendationsId}/items/{itemId}';
2894
+ url: '/contacts/{contactId}/interests/{interestId}/items/{itemId}';
2959
2895
  };
2960
- export type DeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdResponses = {
2896
+ export type DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponses = {
2961
2897
  /**
2962
2898
  * No Content
2963
2899
  */
2964
2900
  204: void;
2965
2901
  };
2966
- export type DeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdResponse = DeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdResponses[keyof DeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdResponses];
2902
+ export type DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponse = DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponses[keyof DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponses];
2967
2903
  //# sourceMappingURL=types.gen.d.ts.map