@homespot-sdk/core 0.0.322 → 0.0.324

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,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;
@@ -98,6 +101,13 @@ export type LocationTargetRequest = {
98
101
  id: number;
99
102
  type: 'REGION' | 'DISTRICT' | 'SUBDISTRICT' | 'STREET';
100
103
  };
104
+ export type TitleRequest = {
105
+ title: string;
106
+ };
107
+ export type RecommendListingRequest = {
108
+ externalPropertyId: string;
109
+ externalListingId: string;
110
+ };
101
111
  export type CommentBodyRequest = {
102
112
  body: string;
103
113
  };
@@ -176,6 +186,27 @@ export type TransferFundsRequest = {
176
186
  export type DepositFundsRequest = {
177
187
  amount: number;
178
188
  };
189
+ export type SubscribeRequest = {
190
+ plan: 'STARTER' | 'PRO' | 'ENTERPRISE';
191
+ billingCycle: 'MONTHLY' | 'ANNUAL';
192
+ name: string;
193
+ email: string;
194
+ phone: string;
195
+ subdomain: string;
196
+ address: SubscriptionAddressRequest;
197
+ };
198
+ export type SubscriptionAddressRequest = {
199
+ country: string;
200
+ city: string;
201
+ district: string;
202
+ subdistrict: string;
203
+ street: string;
204
+ };
205
+ export type SubscriptionCheckoutResponse = {
206
+ checkoutUrl?: string;
207
+ agencyId?: string;
208
+ subscriptionId?: string;
209
+ };
179
210
  export type IdResponseInteger = {
180
211
  id: number;
181
212
  };
@@ -276,6 +307,10 @@ export type ProblemDetail = {
276
307
  export type IdResponseUuid = {
277
308
  id: string;
278
309
  };
310
+ export type CreateListingRequest = {
311
+ listingType: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
312
+ askingPrice: number;
313
+ };
279
314
  export type AddDealRequest = {
280
315
  listingId: number;
281
316
  commissionType: 'FIXED_SALE' | 'FIXED_RENT' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
@@ -283,15 +318,15 @@ export type AddDealRequest = {
283
318
  amount?: number;
284
319
  factor?: number;
285
320
  };
286
- export type InterestId = {
287
- value?: number;
321
+ export type CloseListingRequest = {
322
+ withdrawExternal?: boolean;
288
323
  };
289
- export type TitleRequest = {
290
- title: string;
324
+ export type ClosePropertyRequest = {
325
+ reason: 'DEAL_CLOSED' | 'OWNER_WITHDREW' | 'MANDATE_EXPIRED' | 'OTHER';
326
+ withdrawExternal?: boolean;
291
327
  };
292
- export type RecommendListingRequest = {
293
- externalPropertyId: string;
294
- externalListingId: string;
328
+ export type InterestId = {
329
+ value?: number;
295
330
  };
296
331
  export type OnboardClientRequest = {
297
332
  title?: string;
@@ -329,6 +364,7 @@ export type OrganizationSummaryViewResponse = {
329
364
  roleName: string;
330
365
  permissions: Array<'AGENCY_WRITE' | 'INVITATION_READ' | 'INVITATION_WRITE' | 'ROLE_READ' | 'ROLE_WRITE' | 'MEMBER_READ' | 'MEMBER_WRITE' | 'MEETING_READ_ALL' | 'CONTACT_READ' | 'CONTACT_WRITE' | 'CONTACT_READ_ALL' | 'CONTACT_WRITE_ALL' | 'PROPERTY_READ_ALL'>;
331
366
  status: 'NEW' | 'ACTIVE' | 'PAYMENT_FAILED' | 'INACTIVE';
367
+ phone: string;
332
368
  isPhoneVerified: boolean;
333
369
  };
334
370
  export type UserContextViewResponse = {
@@ -519,7 +555,7 @@ export type RecommendationResponse = {
519
555
  shareToken: string;
520
556
  title: string;
521
557
  createdAt: Date;
522
- status: 'DRAFT' | 'SHARED' | 'CLOSED';
558
+ status: 'UNPUBLISHED' | 'PUBLISHED' | 'CLOSED';
523
559
  recommendations: PagedModelRecommendationsCardView;
524
560
  };
525
561
  export type RecommendationsCardView = {
@@ -881,7 +917,7 @@ export type Criteria = {
881
917
  export type InterestResponse = {
882
918
  id: number;
883
919
  title: string;
884
- status: 'DRAFT' | 'SHARED' | 'CLOSED';
920
+ status: 'UNPUBLISHED' | 'PUBLISHED' | 'CLOSED';
885
921
  shareToken: string;
886
922
  createdAt: Date;
887
923
  criteria: Criteria;
@@ -942,6 +978,10 @@ export type PagedModelContactGridResponse = {
942
978
  content?: Array<ContactGridResponse>;
943
979
  page?: PageMetadata;
944
980
  };
981
+ export type ActiveItemsResult = {
982
+ propertyIds?: Array<PropertyId>;
983
+ interestIds?: Array<InterestId>;
984
+ };
945
985
  export type AgreementResponse = {
946
986
  agreement: 'EXCLUSIVE' | 'NON_EXCLUSIVE';
947
987
  expiryDate?: Date;
@@ -1338,6 +1378,23 @@ export type PutMeetingsByMeetingIdCancelResponses = {
1338
1378
  204: void;
1339
1379
  };
1340
1380
  export type PutMeetingsByMeetingIdCancelResponse = PutMeetingsByMeetingIdCancelResponses[keyof PutMeetingsByMeetingIdCancelResponses];
1381
+ export type PutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceData = {
1382
+ body: UpdateListingPriceRequest;
1383
+ path: {
1384
+ contactId: number;
1385
+ propertyId: number;
1386
+ listingId: number;
1387
+ };
1388
+ query?: never;
1389
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/price';
1390
+ };
1391
+ export type PutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceResponses = {
1392
+ /**
1393
+ * No Content
1394
+ */
1395
+ 204: void;
1396
+ };
1397
+ export type PutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceResponse = PutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceResponses[keyof PutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceResponses];
1341
1398
  export type PutContactsByContactIdPropertiesByPropertyIdAgreementData = {
1342
1399
  body: AgreementRequest;
1343
1400
  path: {
@@ -1353,6 +1410,22 @@ export type PutContactsByContactIdPropertiesByPropertyIdAgreementResponses = {
1353
1410
  */
1354
1411
  200: unknown;
1355
1412
  };
1413
+ export type DeleteContactsByContactIdInterestsByInterestIdData = {
1414
+ body?: never;
1415
+ path: {
1416
+ contactId: number;
1417
+ interestId: number;
1418
+ };
1419
+ query?: never;
1420
+ url: '/contacts/{contactId}/interests/{interestId}';
1421
+ };
1422
+ export type DeleteContactsByContactIdInterestsByInterestIdResponses = {
1423
+ /**
1424
+ * No Content
1425
+ */
1426
+ 204: void;
1427
+ };
1428
+ export type DeleteContactsByContactIdInterestsByInterestIdResponse = DeleteContactsByContactIdInterestsByInterestIdResponses[keyof DeleteContactsByContactIdInterestsByInterestIdResponses];
1356
1429
  export type GetContactsByContactIdInterestsByInterestIdData = {
1357
1430
  body?: never;
1358
1431
  path: {
@@ -1385,6 +1458,101 @@ export type PutContactsByContactIdInterestsByInterestIdResponses = {
1385
1458
  204: void;
1386
1459
  };
1387
1460
  export type PutContactsByContactIdInterestsByInterestIdResponse = PutContactsByContactIdInterestsByInterestIdResponses[keyof PutContactsByContactIdInterestsByInterestIdResponses];
1461
+ export type PutContactsByContactIdInterestsByInterestIdUnpublishData = {
1462
+ body?: never;
1463
+ path: {
1464
+ contactId: number;
1465
+ interestId: number;
1466
+ };
1467
+ query?: never;
1468
+ url: '/contacts/{contactId}/interests/{interestId}/unpublish';
1469
+ };
1470
+ export type PutContactsByContactIdInterestsByInterestIdUnpublishResponses = {
1471
+ /**
1472
+ * No Content
1473
+ */
1474
+ 204: void;
1475
+ };
1476
+ export type PutContactsByContactIdInterestsByInterestIdUnpublishResponse = PutContactsByContactIdInterestsByInterestIdUnpublishResponses[keyof PutContactsByContactIdInterestsByInterestIdUnpublishResponses];
1477
+ export type PutContactsByContactIdInterestsByInterestIdReopenData = {
1478
+ body?: never;
1479
+ path: {
1480
+ contactId: number;
1481
+ interestId: number;
1482
+ };
1483
+ query?: never;
1484
+ url: '/contacts/{contactId}/interests/{interestId}/reopen';
1485
+ };
1486
+ export type PutContactsByContactIdInterestsByInterestIdReopenResponses = {
1487
+ /**
1488
+ * No Content
1489
+ */
1490
+ 204: void;
1491
+ };
1492
+ export type PutContactsByContactIdInterestsByInterestIdReopenResponse = PutContactsByContactIdInterestsByInterestIdReopenResponses[keyof PutContactsByContactIdInterestsByInterestIdReopenResponses];
1493
+ export type PutContactsByContactIdInterestsByInterestIdRenameData = {
1494
+ body: TitleRequest;
1495
+ path: {
1496
+ contactId: number;
1497
+ interestId: number;
1498
+ };
1499
+ query?: never;
1500
+ url: '/contacts/{contactId}/interests/{interestId}/rename';
1501
+ };
1502
+ export type PutContactsByContactIdInterestsByInterestIdRenameResponses = {
1503
+ /**
1504
+ * No Content
1505
+ */
1506
+ 204: void;
1507
+ };
1508
+ export type PutContactsByContactIdInterestsByInterestIdRenameResponse = PutContactsByContactIdInterestsByInterestIdRenameResponses[keyof PutContactsByContactIdInterestsByInterestIdRenameResponses];
1509
+ export type PutContactsByContactIdInterestsByInterestIdPublishData = {
1510
+ body?: never;
1511
+ path: {
1512
+ contactId: number;
1513
+ interestId: number;
1514
+ };
1515
+ query?: never;
1516
+ url: '/contacts/{contactId}/interests/{interestId}/publish';
1517
+ };
1518
+ export type PutContactsByContactIdInterestsByInterestIdPublishResponses = {
1519
+ /**
1520
+ * No Content
1521
+ */
1522
+ 204: void;
1523
+ };
1524
+ export type PutContactsByContactIdInterestsByInterestIdPublishResponse = PutContactsByContactIdInterestsByInterestIdPublishResponses[keyof PutContactsByContactIdInterestsByInterestIdPublishResponses];
1525
+ export type PutContactsByContactIdInterestsByInterestIdItemsData = {
1526
+ body: RecommendListingRequest;
1527
+ path: {
1528
+ contactId: number;
1529
+ interestId: number;
1530
+ };
1531
+ query?: never;
1532
+ url: '/contacts/{contactId}/interests/{interestId}/items';
1533
+ };
1534
+ export type PutContactsByContactIdInterestsByInterestIdItemsResponses = {
1535
+ /**
1536
+ * Created
1537
+ */
1538
+ 201: unknown;
1539
+ };
1540
+ export type PutContactsByContactIdInterestsByInterestIdCloseData = {
1541
+ body?: never;
1542
+ path: {
1543
+ contactId: number;
1544
+ interestId: number;
1545
+ };
1546
+ query?: never;
1547
+ url: '/contacts/{contactId}/interests/{interestId}/close';
1548
+ };
1549
+ export type PutContactsByContactIdInterestsByInterestIdCloseResponses = {
1550
+ /**
1551
+ * No Content
1552
+ */
1553
+ 204: void;
1554
+ };
1555
+ export type PutContactsByContactIdInterestsByInterestIdCloseResponse = PutContactsByContactIdInterestsByInterestIdCloseResponses[keyof PutContactsByContactIdInterestsByInterestIdCloseResponses];
1388
1556
  export type DeleteContactsByContactIdCommentsByCommentIdData = {
1389
1557
  body?: never;
1390
1558
  path: {
@@ -1445,6 +1613,21 @@ export type PutContactByContactIdUpdateContactDetailsResponses = {
1445
1613
  204: void;
1446
1614
  };
1447
1615
  export type PutContactByContactIdUpdateContactDetailsResponse = PutContactByContactIdUpdateContactDetailsResponses[keyof PutContactByContactIdUpdateContactDetailsResponses];
1616
+ export type PutContactByContactIdReopenData = {
1617
+ body?: never;
1618
+ path: {
1619
+ contactId: number;
1620
+ };
1621
+ query?: never;
1622
+ url: '/contact/{contactId}/reopen';
1623
+ };
1624
+ export type PutContactByContactIdReopenResponses = {
1625
+ /**
1626
+ * No Content
1627
+ */
1628
+ 204: void;
1629
+ };
1630
+ export type PutContactByContactIdReopenResponse = PutContactByContactIdReopenResponses[keyof PutContactByContactIdReopenResponses];
1448
1631
  export type PutContactByContactIdLostData = {
1449
1632
  body: RecordLostContactRequest;
1450
1633
  path: {
@@ -1673,6 +1856,32 @@ export type PostWalletDepositResponses = {
1673
1856
  204: void;
1674
1857
  };
1675
1858
  export type PostWalletDepositResponse = PostWalletDepositResponses[keyof PostWalletDepositResponses];
1859
+ export type DeleteSubscriptionsData = {
1860
+ body?: never;
1861
+ path?: never;
1862
+ query?: never;
1863
+ url: '/subscriptions';
1864
+ };
1865
+ export type DeleteSubscriptionsResponses = {
1866
+ /**
1867
+ * No Content
1868
+ */
1869
+ 204: void;
1870
+ };
1871
+ export type DeleteSubscriptionsResponse = DeleteSubscriptionsResponses[keyof DeleteSubscriptionsResponses];
1872
+ export type PostSubscriptionsData = {
1873
+ body: SubscribeRequest;
1874
+ path?: never;
1875
+ query?: never;
1876
+ url: '/subscriptions';
1877
+ };
1878
+ export type PostSubscriptionsResponses = {
1879
+ /**
1880
+ * Created
1881
+ */
1882
+ 201: SubscriptionCheckoutResponse;
1883
+ };
1884
+ export type PostSubscriptionsResponse = PostSubscriptionsResponses[keyof PostSubscriptionsResponses];
1676
1885
  export type GetRolesData = {
1677
1886
  body?: never;
1678
1887
  path?: never;
@@ -1808,6 +2017,20 @@ export type PostPublicWebhooksMetaFbResponses = {
1808
2017
  */
1809
2018
  200: unknown;
1810
2019
  };
2020
+ export type PostPublicWebhooksFlittData = {
2021
+ body: {
2022
+ [key: string]: unknown;
2023
+ };
2024
+ path?: never;
2025
+ query?: never;
2026
+ url: '/public/webhooks/flitt';
2027
+ };
2028
+ export type PostPublicWebhooksFlittResponses = {
2029
+ /**
2030
+ * OK
2031
+ */
2032
+ 200: unknown;
2033
+ };
1811
2034
  export type PostPublicRecomendationsByTokenItemsByItemIdRateData = {
1812
2035
  body: RateRecommendationItemRequest;
1813
2036
  path: {
@@ -2101,134 +2324,137 @@ export type PostConversationsByConversationIdMessagesResponses = {
2101
2324
  201: IdResponseUuid;
2102
2325
  };
2103
2326
  export type PostConversationsByConversationIdMessagesResponse = PostConversationsByConversationIdMessagesResponses[keyof PostConversationsByConversationIdMessagesResponses];
2104
- export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
2327
+ export type PostContactsByContactIdPropertiesByPropertyIdReopenData = {
2105
2328
  body?: never;
2106
2329
  path: {
2107
2330
  contactId: number;
2108
2331
  propertyId: number;
2109
- listingId: number;
2110
2332
  };
2111
2333
  query?: never;
2112
- url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/deal';
2334
+ url: '/contacts/{contactId}/properties/{propertyId}/reopen';
2113
2335
  };
2114
- export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses = {
2336
+ export type PostContactsByContactIdPropertiesByPropertyIdReopenResponses = {
2115
2337
  /**
2116
2338
  * No Content
2117
2339
  */
2118
2340
  204: void;
2119
2341
  };
2120
- export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses[keyof DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses];
2121
- export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
2122
- body: AddDealRequest;
2342
+ export type PostContactsByContactIdPropertiesByPropertyIdReopenResponse = PostContactsByContactIdPropertiesByPropertyIdReopenResponses[keyof PostContactsByContactIdPropertiesByPropertyIdReopenResponses];
2343
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsData = {
2344
+ body: CreateListingRequest;
2123
2345
  path: {
2124
2346
  contactId: number;
2125
2347
  propertyId: number;
2126
- listingId: number;
2127
2348
  };
2128
2349
  query?: never;
2129
- url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/deal';
2350
+ url: '/contacts/{contactId}/properties/{propertyId}/listings';
2130
2351
  };
2131
- export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses = {
2352
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsResponses = {
2132
2353
  /**
2133
- * No Content
2354
+ * Created
2134
2355
  */
2135
- 204: void;
2356
+ 201: IdResponseUuid;
2136
2357
  };
2137
- export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses];
2138
- export type PostContactsByContactIdInterestsData = {
2139
- body: CaptureInterestRequest;
2358
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsResponse = PostContactsByContactIdPropertiesByPropertyIdListingsResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsResponses];
2359
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenData = {
2360
+ body?: never;
2140
2361
  path: {
2141
2362
  contactId: number;
2363
+ propertyId: number;
2364
+ listingId: number;
2142
2365
  };
2143
2366
  query?: never;
2144
- url: '/contacts/{contactId}/interests';
2367
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/reopen';
2145
2368
  };
2146
- export type PostContactsByContactIdInterestsResponses = {
2369
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenResponses = {
2147
2370
  /**
2148
- * Created
2371
+ * No Content
2149
2372
  */
2150
- 201: InterestId;
2373
+ 204: void;
2151
2374
  };
2152
- export type PostContactsByContactIdInterestsResponse = PostContactsByContactIdInterestsResponses[keyof PostContactsByContactIdInterestsResponses];
2153
- export type PostContactsByContactIdInterestsByInterestIdShareData = {
2375
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenResponse = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenResponses];
2376
+ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
2154
2377
  body?: never;
2155
2378
  path: {
2156
2379
  contactId: number;
2157
- interestId: number;
2380
+ propertyId: number;
2381
+ listingId: number;
2158
2382
  };
2159
2383
  query?: never;
2160
- url: '/contacts/{contactId}/interests/{interestId}/share';
2384
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/deal';
2161
2385
  };
2162
- export type PostContactsByContactIdInterestsByInterestIdShareResponses = {
2386
+ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses = {
2163
2387
  /**
2164
2388
  * No Content
2165
2389
  */
2166
2390
  204: void;
2167
2391
  };
2168
- export type PostContactsByContactIdInterestsByInterestIdShareResponse = PostContactsByContactIdInterestsByInterestIdShareResponses[keyof PostContactsByContactIdInterestsByInterestIdShareResponses];
2169
- export type PostContactsByContactIdInterestsByInterestIdReviseData = {
2170
- body?: never;
2392
+ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses[keyof DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses];
2393
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
2394
+ body: AddDealRequest;
2171
2395
  path: {
2172
2396
  contactId: number;
2173
- interestId: number;
2397
+ propertyId: number;
2398
+ listingId: number;
2174
2399
  };
2175
2400
  query?: never;
2176
- url: '/contacts/{contactId}/interests/{interestId}/revise';
2401
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/deal';
2177
2402
  };
2178
- export type PostContactsByContactIdInterestsByInterestIdReviseResponses = {
2403
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses = {
2179
2404
  /**
2180
2405
  * No Content
2181
2406
  */
2182
2407
  204: void;
2183
2408
  };
2184
- export type PostContactsByContactIdInterestsByInterestIdReviseResponse = PostContactsByContactIdInterestsByInterestIdReviseResponses[keyof PostContactsByContactIdInterestsByInterestIdReviseResponses];
2185
- export type PostContactsByContactIdInterestsByInterestIdRenameData = {
2186
- body: TitleRequest;
2409
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses];
2410
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseData = {
2411
+ body: CloseListingRequest;
2187
2412
  path: {
2188
2413
  contactId: number;
2189
- interestId: number;
2414
+ propertyId: number;
2415
+ listingId: number;
2190
2416
  };
2191
2417
  query?: never;
2192
- url: '/contacts/{contactId}/interests/{interestId}/rename';
2418
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/close';
2193
2419
  };
2194
- export type PostContactsByContactIdInterestsByInterestIdRenameResponses = {
2420
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseResponses = {
2195
2421
  /**
2196
2422
  * No Content
2197
2423
  */
2198
2424
  204: void;
2199
2425
  };
2200
- export type PostContactsByContactIdInterestsByInterestIdRenameResponse = PostContactsByContactIdInterestsByInterestIdRenameResponses[keyof PostContactsByContactIdInterestsByInterestIdRenameResponses];
2201
- export type PostContactsByContactIdInterestsByInterestIdItemsData = {
2202
- body: RecommendListingRequest;
2426
+ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseResponse = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseResponses];
2427
+ export type PostContactsByContactIdPropertiesByPropertyIdCloseData = {
2428
+ body: ClosePropertyRequest;
2203
2429
  path: {
2204
2430
  contactId: number;
2205
- interestId: number;
2431
+ propertyId: number;
2206
2432
  };
2207
2433
  query?: never;
2208
- url: '/contacts/{contactId}/interests/{interestId}/items';
2434
+ url: '/contacts/{contactId}/properties/{propertyId}/close';
2209
2435
  };
2210
- export type PostContactsByContactIdInterestsByInterestIdItemsResponses = {
2436
+ export type PostContactsByContactIdPropertiesByPropertyIdCloseResponses = {
2211
2437
  /**
2212
- * Created
2438
+ * No Content
2213
2439
  */
2214
- 201: unknown;
2440
+ 204: void;
2215
2441
  };
2216
- export type PostContactsByContactIdInterestsByInterestIdCloseData = {
2217
- body?: never;
2442
+ export type PostContactsByContactIdPropertiesByPropertyIdCloseResponse = PostContactsByContactIdPropertiesByPropertyIdCloseResponses[keyof PostContactsByContactIdPropertiesByPropertyIdCloseResponses];
2443
+ export type PostContactsByContactIdInterestsData = {
2444
+ body: CaptureInterestRequest;
2218
2445
  path: {
2219
2446
  contactId: number;
2220
- interestId: number;
2221
2447
  };
2222
2448
  query?: never;
2223
- url: '/contacts/{contactId}/interests/{interestId}/close';
2449
+ url: '/contacts/{contactId}/interests';
2224
2450
  };
2225
- export type PostContactsByContactIdInterestsByInterestIdCloseResponses = {
2451
+ export type PostContactsByContactIdInterestsResponses = {
2226
2452
  /**
2227
- * No Content
2453
+ * Created
2228
2454
  */
2229
- 204: void;
2455
+ 201: InterestId;
2230
2456
  };
2231
- export type PostContactsByContactIdInterestsByInterestIdCloseResponse = PostContactsByContactIdInterestsByInterestIdCloseResponses[keyof PostContactsByContactIdInterestsByInterestIdCloseResponses];
2457
+ export type PostContactsByContactIdInterestsResponse = PostContactsByContactIdInterestsResponses[keyof PostContactsByContactIdInterestsResponses];
2232
2458
  export type DeleteContactsByContactIdCommentsData = {
2233
2459
  body?: never;
2234
2460
  path: {
@@ -3078,6 +3304,21 @@ export type GetContactByContactIdResponses = {
3078
3304
  200: ContactGridResponse;
3079
3305
  };
3080
3306
  export type GetContactByContactIdResponse = GetContactByContactIdResponses[keyof GetContactByContactIdResponses];
3307
+ export type GetContactByContactIdOpenItemsData = {
3308
+ body?: never;
3309
+ path: {
3310
+ contactId: number;
3311
+ };
3312
+ query?: never;
3313
+ url: '/contact/{contactId}/open-items';
3314
+ };
3315
+ export type GetContactByContactIdOpenItemsResponses = {
3316
+ /**
3317
+ * OK
3318
+ */
3319
+ 200: ActiveItemsResult;
3320
+ };
3321
+ export type GetContactByContactIdOpenItemsResponse = GetContactByContactIdOpenItemsResponses[keyof GetContactByContactIdOpenItemsResponses];
3081
3322
  export type GetContactByContactId360Data = {
3082
3323
  body?: never;
3083
3324
  path: {
@@ -3248,6 +3489,25 @@ export type DeleteConversationsByConversationIdPresenceResponses = {
3248
3489
  204: void;
3249
3490
  };
3250
3491
  export type DeleteConversationsByConversationIdPresenceResponse = DeleteConversationsByConversationIdPresenceResponses[keyof DeleteConversationsByConversationIdPresenceResponses];
3492
+ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdData = {
3493
+ body?: never;
3494
+ path: {
3495
+ contactId: number;
3496
+ propertyId: number;
3497
+ listingId: number;
3498
+ };
3499
+ query?: {
3500
+ withdrawExternal?: boolean;
3501
+ };
3502
+ url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}';
3503
+ };
3504
+ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdResponses = {
3505
+ /**
3506
+ * No Content
3507
+ */
3508
+ 204: void;
3509
+ };
3510
+ export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdResponse = DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdResponses[keyof DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdResponses];
3251
3511
  export type DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdData = {
3252
3512
  body?: never;
3253
3513
  path: {