@homespot-sdk/core 0.0.323 → 0.0.325

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 (37) hide show
  1. package/dist/property/index.d.ts +2 -2
  2. package/dist/property/index.d.ts.map +1 -1
  3. package/dist/property/index.js +1 -1
  4. package/dist/property/index.js.map +1 -1
  5. package/dist/property/sdk.gen.d.ts +3 -1
  6. package/dist/property/sdk.gen.d.ts.map +1 -1
  7. package/dist/property/sdk.gen.js +10 -0
  8. package/dist/property/sdk.gen.js.map +1 -1
  9. package/dist/property/types.gen.d.ts +30 -0
  10. package/dist/property/types.gen.d.ts.map +1 -1
  11. package/dist/property/zod.gen.d.ts +22 -0
  12. package/dist/property/zod.gen.d.ts.map +1 -1
  13. package/dist/property/zod.gen.js +22 -0
  14. package/dist/property/zod.gen.js.map +1 -1
  15. package/dist/rem/index.d.ts +2 -2
  16. package/dist/rem/index.d.ts.map +1 -1
  17. package/dist/rem/index.js +1 -1
  18. package/dist/rem/index.js.map +1 -1
  19. package/dist/rem/schemas.gen.d.ts +471 -73
  20. package/dist/rem/schemas.gen.d.ts.map +1 -1
  21. package/dist/rem/schemas.gen.js +548 -73
  22. package/dist/rem/schemas.gen.js.map +1 -1
  23. package/dist/rem/sdk.gen.d.ts +28 -8
  24. package/dist/rem/sdk.gen.d.ts.map +1 -1
  25. package/dist/rem/sdk.gen.js +126 -9
  26. package/dist/rem/sdk.gen.js.map +1 -1
  27. package/dist/rem/transformers.gen.d.ts +2 -1
  28. package/dist/rem/transformers.gen.d.ts.map +1 -1
  29. package/dist/rem/transformers.gen.js +64 -6
  30. package/dist/rem/transformers.gen.js.map +1 -1
  31. package/dist/rem/types.gen.d.ts +413 -35
  32. package/dist/rem/types.gen.d.ts.map +1 -1
  33. package/dist/rem/zod.gen.d.ts +1114 -147
  34. package/dist/rem/zod.gen.d.ts.map +1 -1
  35. package/dist/rem/zod.gen.js +623 -64
  36. package/dist/rem/zod.gen.js.map +1 -1
  37. package/package.json +1 -1
@@ -75,6 +75,9 @@ export type RescheduleRequest = {
75
75
  start: Date;
76
76
  durationMinutes?: number;
77
77
  };
78
+ export type UpdateListingPriceRequest = {
79
+ price: number;
80
+ };
78
81
  export type AgreementRequest = {
79
82
  type: 'EXCLUSIVE' | 'NON_EXCLUSIVE';
80
83
  expiresAt?: Date;
@@ -101,6 +104,10 @@ export type LocationTargetRequest = {
101
104
  export type TitleRequest = {
102
105
  title: string;
103
106
  };
107
+ export type RateRecommendationItemRequest = {
108
+ decision: 'MAYBE' | 'DISLIKE' | 'LIKE';
109
+ note?: string;
110
+ };
104
111
  export type RecommendListingRequest = {
105
112
  externalPropertyId: string;
106
113
  externalListingId: string;
@@ -183,13 +190,30 @@ export type TransferFundsRequest = {
183
190
  export type DepositFundsRequest = {
184
191
  amount: number;
185
192
  };
193
+ export type SubscribeRequest = {
194
+ plan: 'STARTER' | 'PRO' | 'ENTERPRISE';
195
+ billingCycle: 'MONTHLY' | 'ANNUAL';
196
+ name: string;
197
+ email: string;
198
+ phone: string;
199
+ subdomain: string;
200
+ address: SubscriptionAddressRequest;
201
+ };
202
+ export type SubscriptionAddressRequest = {
203
+ country: string;
204
+ city: string;
205
+ district: string;
206
+ subdistrict: string;
207
+ street: string;
208
+ };
209
+ export type SubscriptionCheckoutResponse = {
210
+ checkoutUrl?: string;
211
+ agencyId?: string;
212
+ subscriptionId?: string;
213
+ };
186
214
  export type IdResponseInteger = {
187
215
  id: number;
188
216
  };
189
- export type RateRecommendationItemRequest = {
190
- decision: 'MAYBE' | 'DISLIKE' | 'LIKE';
191
- note?: string;
192
- };
193
217
  export type ContactInfoRequest = {
194
218
  firstName?: string;
195
219
  lastName?: string;
@@ -284,11 +308,40 @@ export type IdResponseUuid = {
284
308
  id: string;
285
309
  };
286
310
  export type AddDealRequest = {
287
- listingId: number;
288
- commissionType: 'FIXED_SALE' | 'FIXED_RENT' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
289
- rate?: number;
290
- amount?: number;
291
- factor?: number;
311
+ type: string;
312
+ };
313
+ export type CreateListingRequest = {
314
+ listingType: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
315
+ askingPrice: number;
316
+ deal?: Fixed | MonthsOfRent | Percentage;
317
+ };
318
+ export type Fixed = Omit<AddDealRequest, 'type'> & {
319
+ amount: number;
320
+ } & Omit<DealResponse, 'type'> & {
321
+ amount: number;
322
+ commission?: number;
323
+ type: 'FIXED';
324
+ };
325
+ export type MonthsOfRent = Omit<AddDealRequest, 'type'> & {
326
+ factor: number;
327
+ } & Omit<DealResponse, 'type'> & {
328
+ factor: number;
329
+ commission?: number;
330
+ type: 'MONTHS_OF_RENT';
331
+ };
332
+ export type Percentage = Omit<AddDealRequest, 'type'> & {
333
+ rate: number;
334
+ } & Omit<DealResponse, 'type'> & {
335
+ rate: number;
336
+ commission?: number;
337
+ type: 'PERCENTAGE';
338
+ };
339
+ export type CloseListingRequest = {
340
+ withdrawExternal?: boolean;
341
+ };
342
+ export type ClosePropertyRequest = {
343
+ reason: 'DEAL_CLOSED' | 'OWNER_WITHDREW' | 'MANDATE_EXPIRED' | 'OTHER';
344
+ withdrawExternal?: boolean;
292
345
  };
293
346
  export type InterestId = {
294
347
  value?: number;
@@ -542,7 +595,6 @@ export type RecommendationsCardView = {
542
595
  address: AddressResponse;
543
596
  };
544
597
  export type RecommendationDecisionResponse = {
545
- itemId: number;
546
598
  externalPropertyId: string;
547
599
  externalListingId: string;
548
600
  decision: 'MAYBE' | 'DISLIKE' | 'LIKE';
@@ -625,6 +677,74 @@ export type WhitelabelResponse = {
625
677
  socialLinks?: Array<SocialLinkResponse>;
626
678
  website?: string;
627
679
  };
680
+ export type AgreementResponse = {
681
+ agreement: 'EXCLUSIVE' | 'NON_EXCLUSIVE';
682
+ expiryDate?: Date;
683
+ };
684
+ export type BoostResponse = {
685
+ tier: 'VIP' | 'VIP_PLUS' | 'SUPER_VIP';
686
+ status: 'PENDING' | 'ACTIVE' | 'FAIL_NO_BALANCE' | 'FAILED';
687
+ activatedAt?: Date;
688
+ expiresAt?: Date;
689
+ };
690
+ export type ColoredListingResponse = {
691
+ activatedAt: Date;
692
+ expiresAt: Date;
693
+ };
694
+ export type DealResponse = {
695
+ type: string;
696
+ };
697
+ export type PlatformListingResponse = {
698
+ platformId?: number;
699
+ platformType: 'SS' | 'MY_HOME';
700
+ status: 'PENDING' | 'SYNDICATED' | 'FAILED' | 'EXPIRED';
701
+ listedAt?: Date;
702
+ expiresAt?: Date;
703
+ renewedAt?: Date;
704
+ boost?: BoostResponse;
705
+ coloredListing?: ColoredListingResponse;
706
+ };
707
+ export type PropertyCloseReasonResponse = {
708
+ closedAt: Date;
709
+ reason: 'DEAL_CLOSED' | 'OWNER_WITHDREW' | 'MANDATE_EXPIRED' | 'OTHER';
710
+ };
711
+ export type PropertyDetailsResponse = {
712
+ title: string;
713
+ coverPhoto?: string;
714
+ photoCount?: number;
715
+ totalArea: number;
716
+ livingArea?: number;
717
+ balconyArea?: number;
718
+ address: AddressResponse;
719
+ };
720
+ export type PropertyListingResponse = {
721
+ publicId: number;
722
+ listingId: string;
723
+ listingType: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
724
+ marketplaceStatus: 'PENDING' | 'ACTIVE' | 'PAUSED' | 'EXPIRED' | 'FAILED';
725
+ crmState: 'OPEN' | 'CLOSED';
726
+ /**
727
+ * True while any async saga is in flight (create PENDING, or any placement/boost PENDING) — poll the property page until false.
728
+ */
729
+ isProcessing: boolean;
730
+ price: number;
731
+ deal?: Fixed | MonthsOfRent | Percentage;
732
+ platformListings: Array<PlatformListingResponse>;
733
+ createdAt: Date;
734
+ closedAt?: Date;
735
+ };
736
+ export type PropertyPageResponse = {
737
+ publicId: number;
738
+ propertyId: string;
739
+ type: 'HOUSE' | 'TOWN_HOUSE' | 'COUNTRY_HOUSE' | 'VILLA' | 'COTTAGE' | 'APARTMENT' | 'DUPLEX' | 'TRIPLEX' | 'SEMI_BASEMENT' | 'ATTIC' | 'AGRICULTURAL_LAND' | 'RESIDENTIAL_LAND' | 'HOTEL_ROOM' | 'MOTEL_ROOM' | 'CO_LIVING_SPACE' | 'OFFICE' | 'COMMERCIAL_SPACE' | 'CO_WORKING_SPACE' | 'WAREHOUSE' | 'GARAGE';
740
+ state: 'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED';
741
+ details?: PropertyDetailsResponse;
742
+ agreement: AgreementResponse;
743
+ listings: Array<PropertyListingResponse>;
744
+ createdAt: Date;
745
+ updatedAt: Date;
746
+ closeReason?: PropertyCloseReasonResponse;
747
+ };
628
748
  export type ContactAssigned = {
629
749
  contactId?: ContactId;
630
750
  contactName?: string;
@@ -766,7 +886,7 @@ export type ListingGridView = {
766
886
  propertyState?: 'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED';
767
887
  listingType?: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
768
888
  price?: number;
769
- commissionType?: 'FIXED_SALE' | 'FIXED_RENT' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
889
+ commissionType?: 'NOT_SET' | 'FIXED' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
770
890
  commission?: number;
771
891
  platforms?: Array<PlatformView>;
772
892
  createdAt?: Date;
@@ -943,10 +1063,6 @@ export type PagedModelContactGridResponse = {
943
1063
  content?: Array<ContactGridResponse>;
944
1064
  page?: PageMetadata;
945
1065
  };
946
- export type AgreementResponse = {
947
- agreement: 'EXCLUSIVE' | 'NON_EXCLUSIVE';
948
- expiryDate?: Date;
949
- };
950
1066
  export type AssignedMember = {
951
1067
  memberId: string;
952
1068
  name: string;
@@ -992,15 +1108,6 @@ export type ContactPropertyResponse = {
992
1108
  agreement: AgreementResponse;
993
1109
  listings: Array<'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE'>;
994
1110
  };
995
- export type PropertyDetailsResponse = {
996
- title: string;
997
- coverPhoto?: string;
998
- photoCount?: number;
999
- totalArea: number;
1000
- livingArea?: number;
1001
- balconyArea?: number;
1002
- address: AddressResponse;
1003
- };
1004
1111
  export type SourceResponse = {
1005
1112
  sourceType: 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'UNKNOWN';
1006
1113
  sourceLink?: string;
@@ -1339,6 +1446,23 @@ export type PutMeetingsByMeetingIdCancelResponses = {
1339
1446
  204: void;
1340
1447
  };
1341
1448
  export type PutMeetingsByMeetingIdCancelResponse = PutMeetingsByMeetingIdCancelResponses[keyof PutMeetingsByMeetingIdCancelResponses];
1449
+ export type PutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceData = {
1450
+ body: UpdateListingPriceRequest;
1451
+ path: {
1452
+ contactId: number;
1453
+ propertyId: number;
1454
+ listingId: number;
1455
+ };
1456
+ query?: never;
1457
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/price';
1458
+ };
1459
+ export type PutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceResponses = {
1460
+ /**
1461
+ * No Content
1462
+ */
1463
+ 204: void;
1464
+ };
1465
+ export type PutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceResponse = PutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceResponses[keyof PutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceResponses];
1342
1466
  export type PutContactsByContactIdPropertiesByPropertyIdAgreementData = {
1343
1467
  body: AgreementRequest;
1344
1468
  path: {
@@ -1466,6 +1590,23 @@ export type PutContactsByContactIdInterestsByInterestIdPublishResponses = {
1466
1590
  204: void;
1467
1591
  };
1468
1592
  export type PutContactsByContactIdInterestsByInterestIdPublishResponse = PutContactsByContactIdInterestsByInterestIdPublishResponses[keyof PutContactsByContactIdInterestsByInterestIdPublishResponses];
1593
+ export type PutContactsByContactIdInterestsByInterestIdListingsByExternalListingIdRateData = {
1594
+ body: RateRecommendationItemRequest;
1595
+ path: {
1596
+ contactId: number;
1597
+ interestId: number;
1598
+ externalListingId: string;
1599
+ };
1600
+ query?: never;
1601
+ url: '/contacts/{contactId}/interests/{interestId}/listings/{externalListingId}/rate';
1602
+ };
1603
+ export type PutContactsByContactIdInterestsByInterestIdListingsByExternalListingIdRateResponses = {
1604
+ /**
1605
+ * No Content
1606
+ */
1607
+ 204: void;
1608
+ };
1609
+ export type PutContactsByContactIdInterestsByInterestIdListingsByExternalListingIdRateResponse = PutContactsByContactIdInterestsByInterestIdListingsByExternalListingIdRateResponses[keyof PutContactsByContactIdInterestsByInterestIdListingsByExternalListingIdRateResponses];
1469
1610
  export type PutContactsByContactIdInterestsByInterestIdItemsData = {
1470
1611
  body: RecommendListingRequest;
1471
1612
  path: {
@@ -1557,6 +1698,21 @@ export type PutContactByContactIdUpdateContactDetailsResponses = {
1557
1698
  204: void;
1558
1699
  };
1559
1700
  export type PutContactByContactIdUpdateContactDetailsResponse = PutContactByContactIdUpdateContactDetailsResponses[keyof PutContactByContactIdUpdateContactDetailsResponses];
1701
+ export type PutContactByContactIdReopenData = {
1702
+ body?: never;
1703
+ path: {
1704
+ contactId: number;
1705
+ };
1706
+ query?: never;
1707
+ url: '/contact/{contactId}/reopen';
1708
+ };
1709
+ export type PutContactByContactIdReopenResponses = {
1710
+ /**
1711
+ * No Content
1712
+ */
1713
+ 204: void;
1714
+ };
1715
+ export type PutContactByContactIdReopenResponse = PutContactByContactIdReopenResponses[keyof PutContactByContactIdReopenResponses];
1560
1716
  export type PutContactByContactIdLostData = {
1561
1717
  body: RecordLostContactRequest;
1562
1718
  path: {
@@ -1785,6 +1941,32 @@ export type PostWalletDepositResponses = {
1785
1941
  204: void;
1786
1942
  };
1787
1943
  export type PostWalletDepositResponse = PostWalletDepositResponses[keyof PostWalletDepositResponses];
1944
+ export type DeleteSubscriptionsData = {
1945
+ body?: never;
1946
+ path?: never;
1947
+ query?: never;
1948
+ url: '/subscriptions';
1949
+ };
1950
+ export type DeleteSubscriptionsResponses = {
1951
+ /**
1952
+ * No Content
1953
+ */
1954
+ 204: void;
1955
+ };
1956
+ export type DeleteSubscriptionsResponse = DeleteSubscriptionsResponses[keyof DeleteSubscriptionsResponses];
1957
+ export type PostSubscriptionsData = {
1958
+ body: SubscribeRequest;
1959
+ path?: never;
1960
+ query?: never;
1961
+ url: '/subscriptions';
1962
+ };
1963
+ export type PostSubscriptionsResponses = {
1964
+ /**
1965
+ * Created
1966
+ */
1967
+ 201: SubscriptionCheckoutResponse;
1968
+ };
1969
+ export type PostSubscriptionsResponse = PostSubscriptionsResponses[keyof PostSubscriptionsResponses];
1788
1970
  export type GetRolesData = {
1789
1971
  body?: never;
1790
1972
  path?: never;
@@ -1920,22 +2102,36 @@ export type PostPublicWebhooksMetaFbResponses = {
1920
2102
  */
1921
2103
  200: unknown;
1922
2104
  };
1923
- export type PostPublicRecomendationsByTokenItemsByItemIdRateData = {
2105
+ export type PostPublicWebhooksFlittData = {
2106
+ body: {
2107
+ [key: string]: unknown;
2108
+ };
2109
+ path?: never;
2110
+ query?: never;
2111
+ url: '/public/webhooks/flitt';
2112
+ };
2113
+ export type PostPublicWebhooksFlittResponses = {
2114
+ /**
2115
+ * OK
2116
+ */
2117
+ 200: unknown;
2118
+ };
2119
+ export type PostPublicRecomendationsByTokenListingsByExternalListingIdRateData = {
1924
2120
  body: RateRecommendationItemRequest;
1925
2121
  path: {
1926
2122
  token: string;
1927
- itemId: number;
2123
+ externalListingId: string;
1928
2124
  };
1929
2125
  query?: never;
1930
- url: '/public/recomendations/{token}/items/{itemId}/rate';
2126
+ url: '/public/recomendations/{token}/listings/{externalListingId}/rate';
1931
2127
  };
1932
- export type PostPublicRecomendationsByTokenItemsByItemIdRateResponses = {
2128
+ export type PostPublicRecomendationsByTokenListingsByExternalListingIdRateResponses = {
1933
2129
  /**
1934
2130
  * No Content
1935
2131
  */
1936
2132
  204: void;
1937
2133
  };
1938
- export type PostPublicRecomendationsByTokenItemsByItemIdRateResponse = PostPublicRecomendationsByTokenItemsByItemIdRateResponses[keyof PostPublicRecomendationsByTokenItemsByItemIdRateResponses];
2134
+ export type PostPublicRecomendationsByTokenListingsByExternalListingIdRateResponse = PostPublicRecomendationsByTokenListingsByExternalListingIdRateResponses[keyof PostPublicRecomendationsByTokenListingsByExternalListingIdRateResponses];
1939
2135
  export type PostPublicOtpPhoneData = {
1940
2136
  body: PhoneRequest;
1941
2137
  path?: never;
@@ -2213,6 +2409,106 @@ export type PostConversationsByConversationIdMessagesResponses = {
2213
2409
  201: IdResponseUuid;
2214
2410
  };
2215
2411
  export type PostConversationsByConversationIdMessagesResponse = PostConversationsByConversationIdMessagesResponses[keyof PostConversationsByConversationIdMessagesResponses];
2412
+ export type PostContactsByContactIdPropertiesByPropertyIdReopenData = {
2413
+ body?: never;
2414
+ path: {
2415
+ contactId: number;
2416
+ propertyId: number;
2417
+ };
2418
+ query?: never;
2419
+ url: '/contacts/{contactId}/properties/{propertyId}/reopen';
2420
+ };
2421
+ export type PostContactsByContactIdPropertiesByPropertyIdReopenResponses = {
2422
+ /**
2423
+ * No Content
2424
+ */
2425
+ 204: void;
2426
+ };
2427
+ export type PostContactsByContactIdPropertiesByPropertyIdReopenResponse = PostContactsByContactIdPropertiesByPropertyIdReopenResponses[keyof PostContactsByContactIdPropertiesByPropertyIdReopenResponses];
2428
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsData = {
2429
+ body: CreateListingRequest;
2430
+ path: {
2431
+ contactId: number;
2432
+ propertyId: number;
2433
+ };
2434
+ query?: never;
2435
+ url: '/contacts/{contactId}/properties/{propertyId}/listings';
2436
+ };
2437
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsResponses = {
2438
+ /**
2439
+ * Created
2440
+ */
2441
+ 201: IdResponseUuid;
2442
+ };
2443
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsResponse = PostContactsByContactIdPropertiesByPropertyIdListingsResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsResponses];
2444
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdResumeData = {
2445
+ body?: never;
2446
+ path: {
2447
+ contactId: number;
2448
+ propertyId: number;
2449
+ listingId: number;
2450
+ };
2451
+ query?: never;
2452
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/resume';
2453
+ };
2454
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdResumeResponses = {
2455
+ /**
2456
+ * No Content
2457
+ */
2458
+ 204: void;
2459
+ };
2460
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdResumeResponse = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdResumeResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdResumeResponses];
2461
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenData = {
2462
+ body?: never;
2463
+ path: {
2464
+ contactId: number;
2465
+ propertyId: number;
2466
+ listingId: number;
2467
+ };
2468
+ query?: never;
2469
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/reopen';
2470
+ };
2471
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenResponses = {
2472
+ /**
2473
+ * No Content
2474
+ */
2475
+ 204: void;
2476
+ };
2477
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenResponse = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenResponses];
2478
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdRenewData = {
2479
+ body?: never;
2480
+ path: {
2481
+ contactId: number;
2482
+ propertyId: number;
2483
+ listingId: number;
2484
+ };
2485
+ query?: never;
2486
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/renew';
2487
+ };
2488
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdRenewResponses = {
2489
+ /**
2490
+ * No Content
2491
+ */
2492
+ 204: void;
2493
+ };
2494
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdRenewResponse = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdRenewResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdRenewResponses];
2495
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdPauseData = {
2496
+ body?: never;
2497
+ path: {
2498
+ contactId: number;
2499
+ propertyId: number;
2500
+ listingId: number;
2501
+ };
2502
+ query?: never;
2503
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/pause';
2504
+ };
2505
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdPauseResponses = {
2506
+ /**
2507
+ * No Content
2508
+ */
2509
+ 204: void;
2510
+ };
2511
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdPauseResponse = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdPauseResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdPauseResponses];
2216
2512
  export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
2217
2513
  body?: never;
2218
2514
  path: {
@@ -2231,7 +2527,7 @@ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDe
2231
2527
  };
2232
2528
  export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses[keyof DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses];
2233
2529
  export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
2234
- body: AddDealRequest;
2530
+ body: Fixed | MonthsOfRent | Percentage;
2235
2531
  path: {
2236
2532
  contactId: number;
2237
2533
  propertyId: number;
@@ -2247,6 +2543,39 @@ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDeal
2247
2543
  204: void;
2248
2544
  };
2249
2545
  export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses];
2546
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseData = {
2547
+ body: CloseListingRequest;
2548
+ path: {
2549
+ contactId: number;
2550
+ propertyId: number;
2551
+ listingId: number;
2552
+ };
2553
+ query?: never;
2554
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/close';
2555
+ };
2556
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseResponses = {
2557
+ /**
2558
+ * No Content
2559
+ */
2560
+ 204: void;
2561
+ };
2562
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseResponse = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseResponses];
2563
+ export type PostContactsByContactIdPropertiesByPropertyIdCloseData = {
2564
+ body: ClosePropertyRequest;
2565
+ path: {
2566
+ contactId: number;
2567
+ propertyId: number;
2568
+ };
2569
+ query?: never;
2570
+ url: '/contacts/{contactId}/properties/{propertyId}/close';
2571
+ };
2572
+ export type PostContactsByContactIdPropertiesByPropertyIdCloseResponses = {
2573
+ /**
2574
+ * No Content
2575
+ */
2576
+ 204: void;
2577
+ };
2578
+ export type PostContactsByContactIdPropertiesByPropertyIdCloseResponse = PostContactsByContactIdPropertiesByPropertyIdCloseResponses[keyof PostContactsByContactIdPropertiesByPropertyIdCloseResponses];
2250
2579
  export type PostContactsByContactIdInterestsData = {
2251
2580
  body: CaptureInterestRequest;
2252
2581
  path: {
@@ -2716,6 +3045,21 @@ export type GetPublicAgencySubdomainBySubDomainResponses = {
2716
3045
  200: AgencySummaryResponse;
2717
3046
  };
2718
3047
  export type GetPublicAgencySubdomainBySubDomainResponse = GetPublicAgencySubdomainBySubDomainResponses[keyof GetPublicAgencySubdomainBySubDomainResponses];
3048
+ export type GetPropertyByPropertyIdPageData = {
3049
+ body?: never;
3050
+ path: {
3051
+ propertyId: number;
3052
+ };
3053
+ query?: never;
3054
+ url: '/property/{propertyId}/page';
3055
+ };
3056
+ export type GetPropertyByPropertyIdPageResponses = {
3057
+ /**
3058
+ * OK
3059
+ */
3060
+ 200: PropertyPageResponse;
3061
+ };
3062
+ export type GetPropertyByPropertyIdPageResponse = GetPropertyByPropertyIdPageResponses[keyof GetPropertyByPropertyIdPageResponses];
2719
3063
  export type GetOauthData = {
2720
3064
  body?: never;
2721
3065
  path?: never;
@@ -2805,6 +3149,21 @@ export type GetOauthGoogleAuthorizeResponses = {
2805
3149
  };
2806
3150
  };
2807
3151
  export type GetOauthGoogleAuthorizeResponse = GetOauthGoogleAuthorizeResponses[keyof GetOauthGoogleAuthorizeResponses];
3152
+ export type DeleteNotificationsData = {
3153
+ body?: never;
3154
+ path?: never;
3155
+ query?: {
3156
+ target?: string;
3157
+ };
3158
+ url: '/notifications';
3159
+ };
3160
+ export type DeleteNotificationsResponses = {
3161
+ /**
3162
+ * No Content
3163
+ */
3164
+ 204: void;
3165
+ };
3166
+ export type DeleteNotificationsResponse = DeleteNotificationsResponses[keyof DeleteNotificationsResponses];
2808
3167
  export type GetNotificationsData = {
2809
3168
  body?: never;
2810
3169
  path?: never;
@@ -3281,21 +3640,40 @@ export type DeleteConversationsByConversationIdPresenceResponses = {
3281
3640
  204: void;
3282
3641
  };
3283
3642
  export type DeleteConversationsByConversationIdPresenceResponse = DeleteConversationsByConversationIdPresenceResponses[keyof DeleteConversationsByConversationIdPresenceResponses];
3284
- export type DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdData = {
3643
+ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdData = {
3644
+ body?: never;
3645
+ path: {
3646
+ contactId: number;
3647
+ propertyId: number;
3648
+ listingId: number;
3649
+ };
3650
+ query?: {
3651
+ withdrawExternal?: boolean;
3652
+ };
3653
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}';
3654
+ };
3655
+ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdResponses = {
3656
+ /**
3657
+ * No Content
3658
+ */
3659
+ 204: void;
3660
+ };
3661
+ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdResponse = DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdResponses[keyof DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdResponses];
3662
+ export type DeleteContactsByContactIdInterestsByInterestIdListingsByExternalListingIdData = {
3285
3663
  body?: never;
3286
3664
  path: {
3287
3665
  contactId: number;
3288
3666
  interestId: number;
3289
- itemId: number;
3667
+ externalListingId: string;
3290
3668
  };
3291
3669
  query?: never;
3292
- url: '/contacts/{contactId}/interests/{interestId}/items/{itemId}';
3670
+ url: '/contacts/{contactId}/interests/{interestId}/listings/{externalListingId}';
3293
3671
  };
3294
- export type DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponses = {
3672
+ export type DeleteContactsByContactIdInterestsByInterestIdListingsByExternalListingIdResponses = {
3295
3673
  /**
3296
3674
  * No Content
3297
3675
  */
3298
3676
  204: void;
3299
3677
  };
3300
- export type DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponse = DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponses[keyof DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponses];
3678
+ export type DeleteContactsByContactIdInterestsByInterestIdListingsByExternalListingIdResponse = DeleteContactsByContactIdInterestsByInterestIdListingsByExternalListingIdResponses[keyof DeleteContactsByContactIdInterestsByInterestIdListingsByExternalListingIdResponses];
3301
3679
  //# sourceMappingURL=types.gen.d.ts.map