@homespot-sdk/core 0.0.314 → 0.0.316

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.
Files changed (41) hide show
  1. package/dist/rem/index.d.ts +2 -2
  2. package/dist/rem/index.d.ts.map +1 -1
  3. package/dist/rem/index.js +1 -1
  4. package/dist/rem/index.js.map +1 -1
  5. package/dist/rem/schemas.gen.d.ts +135 -95
  6. package/dist/rem/schemas.gen.d.ts.map +1 -1
  7. package/dist/rem/schemas.gen.js +152 -100
  8. package/dist/rem/schemas.gen.js.map +1 -1
  9. package/dist/rem/sdk.gen.d.ts +20 -20
  10. package/dist/rem/sdk.gen.d.ts.map +1 -1
  11. package/dist/rem/sdk.gen.js +67 -63
  12. package/dist/rem/sdk.gen.js.map +1 -1
  13. package/dist/rem/transformers.gen.d.ts +4 -4
  14. package/dist/rem/transformers.gen.d.ts.map +1 -1
  15. package/dist/rem/transformers.gen.js +11 -6
  16. package/dist/rem/transformers.gen.js.map +1 -1
  17. package/dist/rem/types.gen.d.ts +204 -204
  18. package/dist/rem/types.gen.d.ts.map +1 -1
  19. package/dist/rem/zod.gen.d.ts +629 -555
  20. package/dist/rem/zod.gen.d.ts.map +1 -1
  21. package/dist/rem/zod.gen.js +223 -204
  22. package/dist/rem/zod.gen.js.map +1 -1
  23. package/dist/utils/index.d.ts +2 -2
  24. package/dist/utils/index.d.ts.map +1 -1
  25. package/dist/utils/index.js +1 -1
  26. package/dist/utils/index.js.map +1 -1
  27. package/dist/utils/schemas.gen.d.ts +25 -0
  28. package/dist/utils/schemas.gen.d.ts.map +1 -1
  29. package/dist/utils/schemas.gen.js +25 -0
  30. package/dist/utils/schemas.gen.js.map +1 -1
  31. package/dist/utils/sdk.gen.d.ts +3 -2
  32. package/dist/utils/sdk.gen.d.ts.map +1 -1
  33. package/dist/utils/sdk.gen.js +2 -1
  34. package/dist/utils/sdk.gen.js.map +1 -1
  35. package/dist/utils/types.gen.d.ts +23 -0
  36. package/dist/utils/types.gen.d.ts.map +1 -1
  37. package/dist/utils/zod.gen.d.ts +95 -0
  38. package/dist/utils/zod.gen.d.ts.map +1 -1
  39. package/dist/utils/zod.gen.js +26 -0
  40. package/dist/utils/zod.gen.js.map +1 -1
  41. package/package.json +1 -1
@@ -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: {
@@ -1539,7 +1552,71 @@ export type PostRolesResponses = {
1539
1552
  201: IdResponseInteger;
1540
1553
  };
1541
1554
  export type PostRolesResponse = PostRolesResponses[keyof PostRolesResponses];
1542
- export type GetPublicWebhooksMetaData = {
1555
+ export type GetPublicWebhooksMetaWaData = {
1556
+ body?: never;
1557
+ path?: never;
1558
+ query: {
1559
+ 'hub.mode': string;
1560
+ 'hub.verify_token': string;
1561
+ 'hub.challenge': string;
1562
+ };
1563
+ url: '/public/webhooks/meta/wa';
1564
+ };
1565
+ export type GetPublicWebhooksMetaWaResponses = {
1566
+ /**
1567
+ * OK
1568
+ */
1569
+ 200: string;
1570
+ };
1571
+ export type GetPublicWebhooksMetaWaResponse = GetPublicWebhooksMetaWaResponses[keyof GetPublicWebhooksMetaWaResponses];
1572
+ export type PostPublicWebhooksMetaWaData = {
1573
+ body: string;
1574
+ headers?: {
1575
+ 'X-Hub-Signature-256'?: string;
1576
+ };
1577
+ path?: never;
1578
+ query?: never;
1579
+ url: '/public/webhooks/meta/wa';
1580
+ };
1581
+ export type PostPublicWebhooksMetaWaResponses = {
1582
+ /**
1583
+ * OK
1584
+ */
1585
+ 200: unknown;
1586
+ };
1587
+ export type GetPublicWebhooksMetaIgData = {
1588
+ body?: never;
1589
+ path?: never;
1590
+ query: {
1591
+ 'hub.mode': string;
1592
+ 'hub.verify_token': string;
1593
+ 'hub.challenge': string;
1594
+ };
1595
+ url: '/public/webhooks/meta/ig';
1596
+ };
1597
+ export type GetPublicWebhooksMetaIgResponses = {
1598
+ /**
1599
+ * OK
1600
+ */
1601
+ 200: string;
1602
+ };
1603
+ export type GetPublicWebhooksMetaIgResponse = GetPublicWebhooksMetaIgResponses[keyof GetPublicWebhooksMetaIgResponses];
1604
+ export type PostPublicWebhooksMetaIgData = {
1605
+ body: string;
1606
+ headers?: {
1607
+ 'X-Hub-Signature-256'?: string;
1608
+ };
1609
+ path?: never;
1610
+ query?: never;
1611
+ url: '/public/webhooks/meta/ig';
1612
+ };
1613
+ export type PostPublicWebhooksMetaIgResponses = {
1614
+ /**
1615
+ * OK
1616
+ */
1617
+ 200: unknown;
1618
+ };
1619
+ export type GetPublicWebhooksMetaFbData = {
1543
1620
  body?: never;
1544
1621
  path?: never;
1545
1622
  query: {
@@ -1547,46 +1624,46 @@ export type GetPublicWebhooksMetaData = {
1547
1624
  'hub.verify_token': string;
1548
1625
  'hub.challenge': string;
1549
1626
  };
1550
- url: '/public/webhooks/meta';
1627
+ url: '/public/webhooks/meta/fb';
1551
1628
  };
1552
- export type GetPublicWebhooksMetaResponses = {
1629
+ export type GetPublicWebhooksMetaFbResponses = {
1553
1630
  /**
1554
1631
  * OK
1555
1632
  */
1556
1633
  200: string;
1557
1634
  };
1558
- export type GetPublicWebhooksMetaResponse = GetPublicWebhooksMetaResponses[keyof GetPublicWebhooksMetaResponses];
1559
- export type PostPublicWebhooksMetaData = {
1635
+ export type GetPublicWebhooksMetaFbResponse = GetPublicWebhooksMetaFbResponses[keyof GetPublicWebhooksMetaFbResponses];
1636
+ export type PostPublicWebhooksMetaFbData = {
1560
1637
  body: string;
1561
1638
  headers?: {
1562
1639
  'X-Hub-Signature-256'?: string;
1563
1640
  };
1564
1641
  path?: never;
1565
1642
  query?: never;
1566
- url: '/public/webhooks/meta';
1643
+ url: '/public/webhooks/meta/fb';
1567
1644
  };
1568
- export type PostPublicWebhooksMetaResponses = {
1645
+ export type PostPublicWebhooksMetaFbResponses = {
1569
1646
  /**
1570
1647
  * OK
1571
1648
  */
1572
1649
  200: unknown;
1573
1650
  };
1574
- export type PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateData = {
1651
+ export type PostPublicRecomendationsByTokenItemsByItemIdRateData = {
1575
1652
  body: RateRecommendationItemRequest;
1576
1653
  path: {
1577
- recommendationsId: string;
1654
+ token: string;
1578
1655
  itemId: number;
1579
1656
  };
1580
1657
  query?: never;
1581
- url: '/public/recomendations/{recommendationsId}/items/{itemId}/rate';
1658
+ url: '/public/recomendations/{token}/items/{itemId}/rate';
1582
1659
  };
1583
- export type PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponses = {
1660
+ export type PostPublicRecomendationsByTokenItemsByItemIdRateResponses = {
1584
1661
  /**
1585
1662
  * No Content
1586
1663
  */
1587
1664
  204: void;
1588
1665
  };
1589
- export type PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponse = PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponses[keyof PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponses];
1666
+ export type PostPublicRecomendationsByTokenItemsByItemIdRateResponse = PostPublicRecomendationsByTokenItemsByItemIdRateResponses[keyof PostPublicRecomendationsByTokenItemsByItemIdRateResponses];
1590
1667
  export type PostPublicOtpPhoneData = {
1591
1668
  body: PhoneRequest;
1592
1669
  path?: never;
@@ -1823,165 +1900,134 @@ export type PostConversationsByConversationIdMessagesResponses = {
1823
1900
  201: IdResponseUuid;
1824
1901
  };
1825
1902
  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 = {
1903
+ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
1842
1904
  body?: never;
1843
1905
  path: {
1844
1906
  contactId: number;
1845
- recommendationsId: string;
1907
+ propertyId: number;
1908
+ listingId: number;
1846
1909
  };
1847
1910
  query?: never;
1848
- url: '/contacts/{contactId}/recommendations/{recommendationsId}/submit';
1911
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/deal';
1849
1912
  };
1850
- export type PostContactsByContactIdRecommendationsByRecommendationsIdSubmitResponses = {
1913
+ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses = {
1851
1914
  /**
1852
1915
  * No Content
1853
1916
  */
1854
1917
  204: void;
1855
1918
  };
1856
- export type PostContactsByContactIdRecommendationsByRecommendationsIdSubmitResponse = PostContactsByContactIdRecommendationsByRecommendationsIdSubmitResponses[keyof PostContactsByContactIdRecommendationsByRecommendationsIdSubmitResponses];
1857
- export type PostContactsByContactIdRecommendationsByRecommendationsIdReviseData = {
1858
- body?: never;
1919
+ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses[keyof DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses];
1920
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
1921
+ body: AddDealRequest;
1859
1922
  path: {
1860
1923
  contactId: number;
1861
- recommendationsId: string;
1924
+ propertyId: number;
1925
+ listingId: number;
1862
1926
  };
1863
1927
  query?: never;
1864
- url: '/contacts/{contactId}/recommendations/{recommendationsId}/revise';
1928
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/deal';
1865
1929
  };
1866
- export type PostContactsByContactIdRecommendationsByRecommendationsIdReviseResponses = {
1930
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses = {
1867
1931
  /**
1868
1932
  * No Content
1869
1933
  */
1870
1934
  204: void;
1871
1935
  };
1872
- export type PostContactsByContactIdRecommendationsByRecommendationsIdReviseResponse = PostContactsByContactIdRecommendationsByRecommendationsIdReviseResponses[keyof PostContactsByContactIdRecommendationsByRecommendationsIdReviseResponses];
1873
- export type PostContactsByContactIdRecommendationsByRecommendationsIdItemsData = {
1874
- body: RecommendListingRequest;
1936
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses];
1937
+ export type PostContactsByContactIdInterestsData = {
1938
+ body: CaptureInterestRequest;
1875
1939
  path: {
1876
1940
  contactId: number;
1877
- recommendationsId: string;
1878
1941
  };
1879
1942
  query?: never;
1880
- url: '/contacts/{contactId}/recommendations/{recommendationsId}/items';
1943
+ url: '/contacts/{contactId}/interests';
1881
1944
  };
1882
- export type PostContactsByContactIdRecommendationsByRecommendationsIdItemsResponses = {
1945
+ export type PostContactsByContactIdInterestsResponses = {
1883
1946
  /**
1884
1947
  * Created
1885
1948
  */
1886
- 201: unknown;
1949
+ 201: InterestId;
1887
1950
  };
1888
- export type PostContactsByContactIdRecommendationsByRecommendationsIdCloseData = {
1951
+ export type PostContactsByContactIdInterestsResponse = PostContactsByContactIdInterestsResponses[keyof PostContactsByContactIdInterestsResponses];
1952
+ export type PostContactsByContactIdInterestsByInterestIdShareData = {
1889
1953
  body?: never;
1890
1954
  path: {
1891
1955
  contactId: number;
1892
- recommendationsId: string;
1956
+ interestId: number;
1893
1957
  };
1894
1958
  query?: never;
1895
- url: '/contacts/{contactId}/recommendations/{recommendationsId}/close';
1959
+ url: '/contacts/{contactId}/interests/{interestId}/share';
1896
1960
  };
1897
- export type PostContactsByContactIdRecommendationsByRecommendationsIdCloseResponses = {
1961
+ export type PostContactsByContactIdInterestsByInterestIdShareResponses = {
1898
1962
  /**
1899
1963
  * No Content
1900
1964
  */
1901
1965
  204: void;
1902
1966
  };
1903
- export type PostContactsByContactIdRecommendationsByRecommendationsIdCloseResponse = PostContactsByContactIdRecommendationsByRecommendationsIdCloseResponses[keyof PostContactsByContactIdRecommendationsByRecommendationsIdCloseResponses];
1904
- export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
1967
+ export type PostContactsByContactIdInterestsByInterestIdShareResponse = PostContactsByContactIdInterestsByInterestIdShareResponses[keyof PostContactsByContactIdInterestsByInterestIdShareResponses];
1968
+ export type PostContactsByContactIdInterestsByInterestIdReviseData = {
1905
1969
  body?: never;
1906
1970
  path: {
1907
1971
  contactId: number;
1908
- propertyId: number;
1909
- listingId: number;
1972
+ interestId: number;
1910
1973
  };
1911
1974
  query?: never;
1912
- url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/deal';
1975
+ url: '/contacts/{contactId}/interests/{interestId}/revise';
1913
1976
  };
1914
- export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses = {
1977
+ export type PostContactsByContactIdInterestsByInterestIdReviseResponses = {
1915
1978
  /**
1916
1979
  * No Content
1917
1980
  */
1918
1981
  204: void;
1919
1982
  };
1920
- export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses[keyof DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses];
1921
- export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
1922
- body: AddDealRequest;
1983
+ export type PostContactsByContactIdInterestsByInterestIdReviseResponse = PostContactsByContactIdInterestsByInterestIdReviseResponses[keyof PostContactsByContactIdInterestsByInterestIdReviseResponses];
1984
+ export type PostContactsByContactIdInterestsByInterestIdRenameData = {
1985
+ body: TitleRequest;
1923
1986
  path: {
1924
1987
  contactId: number;
1925
- propertyId: number;
1926
- listingId: number;
1988
+ interestId: number;
1927
1989
  };
1928
1990
  query?: never;
1929
- url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/deal';
1991
+ url: '/contacts/{contactId}/interests/{interestId}/rename';
1930
1992
  };
1931
- export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses = {
1993
+ export type PostContactsByContactIdInterestsByInterestIdRenameResponses = {
1932
1994
  /**
1933
1995
  * No Content
1934
1996
  */
1935
1997
  204: void;
1936
1998
  };
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;
1999
+ export type PostContactsByContactIdInterestsByInterestIdRenameResponse = PostContactsByContactIdInterestsByInterestIdRenameResponses[keyof PostContactsByContactIdInterestsByInterestIdRenameResponses];
2000
+ export type PostContactsByContactIdInterestsByInterestIdItemsData = {
2001
+ body: RecommendListingRequest;
1955
2002
  path: {
1956
2003
  contactId: number;
1957
2004
  interestId: number;
1958
2005
  };
1959
2006
  query?: never;
1960
- url: '/contacts/{contactId}/interests/{interestId}/fulfilled';
2007
+ url: '/contacts/{contactId}/interests/{interestId}/items';
1961
2008
  };
1962
- export type PostContactsByContactIdInterestsByInterestIdFulfilledResponses = {
2009
+ export type PostContactsByContactIdInterestsByInterestIdItemsResponses = {
1963
2010
  /**
1964
- * No Content
2011
+ * Created
1965
2012
  */
1966
- 204: void;
2013
+ 201: unknown;
1967
2014
  };
1968
- export type PostContactsByContactIdInterestsByInterestIdFulfilledResponse = PostContactsByContactIdInterestsByInterestIdFulfilledResponses[keyof PostContactsByContactIdInterestsByInterestIdFulfilledResponses];
1969
- export type PostContactsByContactIdInterestsByInterestIdCancelledData = {
2015
+ export type PostContactsByContactIdInterestsByInterestIdCloseData = {
1970
2016
  body?: never;
1971
2017
  path: {
1972
2018
  contactId: number;
1973
2019
  interestId: number;
1974
2020
  };
1975
2021
  query?: never;
1976
- url: '/contacts/{contactId}/interests/{interestId}/cancelled';
2022
+ url: '/contacts/{contactId}/interests/{interestId}/close';
1977
2023
  };
1978
- export type PostContactsByContactIdInterestsByInterestIdCancelledResponses = {
2024
+ export type PostContactsByContactIdInterestsByInterestIdCloseResponses = {
1979
2025
  /**
1980
2026
  * No Content
1981
2027
  */
1982
2028
  204: void;
1983
2029
  };
1984
- export type PostContactsByContactIdInterestsByInterestIdCancelledResponse = PostContactsByContactIdInterestsByInterestIdCancelledResponses[keyof PostContactsByContactIdInterestsByInterestIdCancelledResponses];
2030
+ export type PostContactsByContactIdInterestsByInterestIdCloseResponse = PostContactsByContactIdInterestsByInterestIdCloseResponses[keyof PostContactsByContactIdInterestsByInterestIdCloseResponses];
1985
2031
  export type DeleteContactsByContactIdCommentsData = {
1986
2032
  body?: never;
1987
2033
  path: {
@@ -2187,13 +2233,13 @@ export type GetUserMeResponses = {
2187
2233
  200: UserContextViewResponse;
2188
2234
  };
2189
2235
  export type GetUserMeResponse = GetUserMeResponses[keyof GetUserMeResponses];
2190
- export type GetPublicRecomendationsByRecommendationsIdItemsData = {
2236
+ export type GetPublicRecomendationsByTokenItemsData = {
2191
2237
  body?: never;
2192
2238
  path: {
2193
- recommendationsId: string;
2239
+ token: string;
2194
2240
  };
2195
2241
  query?: {
2196
- decision?: 'MAYBE' | 'DISLIKE' | 'LIKE' | 'VISIT';
2242
+ decision?: 'MAYBE' | 'DISLIKE' | 'LIKE';
2197
2243
  /**
2198
2244
  * Zero-based page index (0..N)
2199
2245
  */
@@ -2207,30 +2253,30 @@ export type GetPublicRecomendationsByRecommendationsIdItemsData = {
2207
2253
  */
2208
2254
  sort?: Array<string>;
2209
2255
  };
2210
- url: '/public/recomendations/{recommendationsId}/items';
2256
+ url: '/public/recomendations/{token}/items';
2211
2257
  };
2212
- export type GetPublicRecomendationsByRecommendationsIdItemsResponses = {
2258
+ export type GetPublicRecomendationsByTokenItemsResponses = {
2213
2259
  /**
2214
2260
  * OK
2215
2261
  */
2216
2262
  200: RecommendationResponse;
2217
2263
  };
2218
- export type GetPublicRecomendationsByRecommendationsIdItemsResponse = GetPublicRecomendationsByRecommendationsIdItemsResponses[keyof GetPublicRecomendationsByRecommendationsIdItemsResponses];
2219
- export type GetPublicRecomendationsByRecommendationsIdDecisionsData = {
2264
+ export type GetPublicRecomendationsByTokenItemsResponse = GetPublicRecomendationsByTokenItemsResponses[keyof GetPublicRecomendationsByTokenItemsResponses];
2265
+ export type GetPublicRecomendationsByTokenDecisionsData = {
2220
2266
  body?: never;
2221
2267
  path: {
2222
- recommendationsId: string;
2268
+ token: string;
2223
2269
  };
2224
2270
  query?: never;
2225
- url: '/public/recomendations/{recommendationsId}/decisions';
2271
+ url: '/public/recomendations/{token}/decisions';
2226
2272
  };
2227
- export type GetPublicRecomendationsByRecommendationsIdDecisionsResponses = {
2273
+ export type GetPublicRecomendationsByTokenDecisionsResponses = {
2228
2274
  /**
2229
2275
  * OK
2230
2276
  */
2231
2277
  200: Array<RecommendationDecisionResponse>;
2232
2278
  };
2233
- export type GetPublicRecomendationsByRecommendationsIdDecisionsResponse = GetPublicRecomendationsByRecommendationsIdDecisionsResponses[keyof GetPublicRecomendationsByRecommendationsIdDecisionsResponses];
2279
+ export type GetPublicRecomendationsByTokenDecisionsResponse = GetPublicRecomendationsByTokenDecisionsResponses[keyof GetPublicRecomendationsByTokenDecisionsResponses];
2234
2280
  export type GetPublicPermissionsData = {
2235
2281
  body?: never;
2236
2282
  path?: never;
@@ -2685,44 +2731,14 @@ export type GetConversationsByConversationIdUpdatesResponses = {
2685
2731
  200: ThreadUpdates;
2686
2732
  };
2687
2733
  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 = {
2734
+ export type GetContactsByContactIdInterestsByInterestIdRecommendationsData = {
2719
2735
  body?: never;
2720
2736
  path: {
2721
2737
  contactId: number;
2722
2738
  interestId: number;
2723
2739
  };
2724
2740
  query?: {
2725
- decision?: 'MAYBE' | 'DISLIKE' | 'LIKE' | 'VISIT';
2741
+ decision?: 'MAYBE' | 'DISLIKE' | 'LIKE';
2726
2742
  /**
2727
2743
  * Zero-based page index (0..N)
2728
2744
  */
@@ -2736,31 +2752,15 @@ export type GetContactsByContactIdRecommendationsInterestByInterestIdData = {
2736
2752
  */
2737
2753
  sort?: Array<string>;
2738
2754
  };
2739
- url: '/contacts/{contactId}/recommendations/interest/{interestId}';
2755
+ url: '/contacts/{contactId}/interests/{interestId}/recommendations';
2740
2756
  };
2741
- export type GetContactsByContactIdRecommendationsInterestByInterestIdResponses = {
2757
+ export type GetContactsByContactIdInterestsByInterestIdRecommendationsResponses = {
2742
2758
  /**
2743
2759
  * OK
2744
2760
  */
2745
2761
  200: RecommendationResponse;
2746
2762
  };
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];
2763
+ export type GetContactsByContactIdInterestsByInterestIdRecommendationsResponse = GetContactsByContactIdInterestsByInterestIdRecommendationsResponses[keyof GetContactsByContactIdInterestsByInterestIdRecommendationsResponses];
2764
2764
  export type GetContactByContactIdData = {
2765
2765
  body?: never;
2766
2766
  path: {
@@ -2947,21 +2947,21 @@ export type DeleteConversationsByConversationIdPresenceResponses = {
2947
2947
  204: void;
2948
2948
  };
2949
2949
  export type DeleteConversationsByConversationIdPresenceResponse = DeleteConversationsByConversationIdPresenceResponses[keyof DeleteConversationsByConversationIdPresenceResponses];
2950
- export type DeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdData = {
2950
+ export type DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdData = {
2951
2951
  body?: never;
2952
2952
  path: {
2953
2953
  contactId: number;
2954
- recommendationsId: string;
2954
+ interestId: number;
2955
2955
  itemId: number;
2956
2956
  };
2957
2957
  query?: never;
2958
- url: '/contacts/{contactId}/recommendations/{recommendationsId}/items/{itemId}';
2958
+ url: '/contacts/{contactId}/interests/{interestId}/items/{itemId}';
2959
2959
  };
2960
- export type DeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdResponses = {
2960
+ export type DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponses = {
2961
2961
  /**
2962
2962
  * No Content
2963
2963
  */
2964
2964
  204: void;
2965
2965
  };
2966
- export type DeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdResponse = DeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdResponses[keyof DeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdResponses];
2966
+ export type DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponse = DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponses[keyof DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponses];
2967
2967
  //# sourceMappingURL=types.gen.d.ts.map