@homespot-sdk/core 0.0.323 → 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.
- package/dist/property/index.d.ts +2 -2
- package/dist/property/index.d.ts.map +1 -1
- package/dist/property/index.js +1 -1
- package/dist/property/index.js.map +1 -1
- package/dist/property/sdk.gen.d.ts +3 -1
- package/dist/property/sdk.gen.d.ts.map +1 -1
- package/dist/property/sdk.gen.js +10 -0
- package/dist/property/sdk.gen.js.map +1 -1
- package/dist/property/types.gen.d.ts +30 -0
- package/dist/property/types.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.d.ts +22 -0
- package/dist/property/zod.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.js +22 -0
- package/dist/property/zod.gen.js.map +1 -1
- package/dist/rem/index.d.ts +2 -2
- package/dist/rem/index.d.ts.map +1 -1
- package/dist/rem/index.js +1 -1
- package/dist/rem/index.js.map +1 -1
- package/dist/rem/schemas.gen.d.ts +137 -0
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +145 -0
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +18 -3
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +89 -2
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +227 -0
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +255 -0
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +319 -0
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/types.gen.d.ts
CHANGED
|
@@ -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;
|
|
@@ -183,6 +186,27 @@ export type TransferFundsRequest = {
|
|
|
183
186
|
export type DepositFundsRequest = {
|
|
184
187
|
amount: number;
|
|
185
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
|
+
};
|
|
186
210
|
export type IdResponseInteger = {
|
|
187
211
|
id: number;
|
|
188
212
|
};
|
|
@@ -283,6 +307,10 @@ export type ProblemDetail = {
|
|
|
283
307
|
export type IdResponseUuid = {
|
|
284
308
|
id: string;
|
|
285
309
|
};
|
|
310
|
+
export type CreateListingRequest = {
|
|
311
|
+
listingType: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
312
|
+
askingPrice: number;
|
|
313
|
+
};
|
|
286
314
|
export type AddDealRequest = {
|
|
287
315
|
listingId: number;
|
|
288
316
|
commissionType: 'FIXED_SALE' | 'FIXED_RENT' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
|
|
@@ -290,6 +318,13 @@ export type AddDealRequest = {
|
|
|
290
318
|
amount?: number;
|
|
291
319
|
factor?: number;
|
|
292
320
|
};
|
|
321
|
+
export type CloseListingRequest = {
|
|
322
|
+
withdrawExternal?: boolean;
|
|
323
|
+
};
|
|
324
|
+
export type ClosePropertyRequest = {
|
|
325
|
+
reason: 'DEAL_CLOSED' | 'OWNER_WITHDREW' | 'MANDATE_EXPIRED' | 'OTHER';
|
|
326
|
+
withdrawExternal?: boolean;
|
|
327
|
+
};
|
|
293
328
|
export type InterestId = {
|
|
294
329
|
value?: number;
|
|
295
330
|
};
|
|
@@ -943,6 +978,10 @@ export type PagedModelContactGridResponse = {
|
|
|
943
978
|
content?: Array<ContactGridResponse>;
|
|
944
979
|
page?: PageMetadata;
|
|
945
980
|
};
|
|
981
|
+
export type ActiveItemsResult = {
|
|
982
|
+
propertyIds?: Array<PropertyId>;
|
|
983
|
+
interestIds?: Array<InterestId>;
|
|
984
|
+
};
|
|
946
985
|
export type AgreementResponse = {
|
|
947
986
|
agreement: 'EXCLUSIVE' | 'NON_EXCLUSIVE';
|
|
948
987
|
expiryDate?: Date;
|
|
@@ -1339,6 +1378,23 @@ export type PutMeetingsByMeetingIdCancelResponses = {
|
|
|
1339
1378
|
204: void;
|
|
1340
1379
|
};
|
|
1341
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];
|
|
1342
1398
|
export type PutContactsByContactIdPropertiesByPropertyIdAgreementData = {
|
|
1343
1399
|
body: AgreementRequest;
|
|
1344
1400
|
path: {
|
|
@@ -1557,6 +1613,21 @@ export type PutContactByContactIdUpdateContactDetailsResponses = {
|
|
|
1557
1613
|
204: void;
|
|
1558
1614
|
};
|
|
1559
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];
|
|
1560
1631
|
export type PutContactByContactIdLostData = {
|
|
1561
1632
|
body: RecordLostContactRequest;
|
|
1562
1633
|
path: {
|
|
@@ -1785,6 +1856,32 @@ export type PostWalletDepositResponses = {
|
|
|
1785
1856
|
204: void;
|
|
1786
1857
|
};
|
|
1787
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];
|
|
1788
1885
|
export type GetRolesData = {
|
|
1789
1886
|
body?: never;
|
|
1790
1887
|
path?: never;
|
|
@@ -1920,6 +2017,20 @@ export type PostPublicWebhooksMetaFbResponses = {
|
|
|
1920
2017
|
*/
|
|
1921
2018
|
200: unknown;
|
|
1922
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
|
+
};
|
|
1923
2034
|
export type PostPublicRecomendationsByTokenItemsByItemIdRateData = {
|
|
1924
2035
|
body: RateRecommendationItemRequest;
|
|
1925
2036
|
path: {
|
|
@@ -2213,6 +2324,55 @@ export type PostConversationsByConversationIdMessagesResponses = {
|
|
|
2213
2324
|
201: IdResponseUuid;
|
|
2214
2325
|
};
|
|
2215
2326
|
export type PostConversationsByConversationIdMessagesResponse = PostConversationsByConversationIdMessagesResponses[keyof PostConversationsByConversationIdMessagesResponses];
|
|
2327
|
+
export type PostContactsByContactIdPropertiesByPropertyIdReopenData = {
|
|
2328
|
+
body?: never;
|
|
2329
|
+
path: {
|
|
2330
|
+
contactId: number;
|
|
2331
|
+
propertyId: number;
|
|
2332
|
+
};
|
|
2333
|
+
query?: never;
|
|
2334
|
+
url: '/contacts/{contactId}/properties/{propertyId}/reopen';
|
|
2335
|
+
};
|
|
2336
|
+
export type PostContactsByContactIdPropertiesByPropertyIdReopenResponses = {
|
|
2337
|
+
/**
|
|
2338
|
+
* No Content
|
|
2339
|
+
*/
|
|
2340
|
+
204: void;
|
|
2341
|
+
};
|
|
2342
|
+
export type PostContactsByContactIdPropertiesByPropertyIdReopenResponse = PostContactsByContactIdPropertiesByPropertyIdReopenResponses[keyof PostContactsByContactIdPropertiesByPropertyIdReopenResponses];
|
|
2343
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsData = {
|
|
2344
|
+
body: CreateListingRequest;
|
|
2345
|
+
path: {
|
|
2346
|
+
contactId: number;
|
|
2347
|
+
propertyId: number;
|
|
2348
|
+
};
|
|
2349
|
+
query?: never;
|
|
2350
|
+
url: '/contacts/{contactId}/properties/{propertyId}/listings';
|
|
2351
|
+
};
|
|
2352
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsResponses = {
|
|
2353
|
+
/**
|
|
2354
|
+
* Created
|
|
2355
|
+
*/
|
|
2356
|
+
201: IdResponseUuid;
|
|
2357
|
+
};
|
|
2358
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsResponse = PostContactsByContactIdPropertiesByPropertyIdListingsResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsResponses];
|
|
2359
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenData = {
|
|
2360
|
+
body?: never;
|
|
2361
|
+
path: {
|
|
2362
|
+
contactId: number;
|
|
2363
|
+
propertyId: number;
|
|
2364
|
+
listingId: number;
|
|
2365
|
+
};
|
|
2366
|
+
query?: never;
|
|
2367
|
+
url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/reopen';
|
|
2368
|
+
};
|
|
2369
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenResponses = {
|
|
2370
|
+
/**
|
|
2371
|
+
* No Content
|
|
2372
|
+
*/
|
|
2373
|
+
204: void;
|
|
2374
|
+
};
|
|
2375
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenResponse = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenResponses];
|
|
2216
2376
|
export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = {
|
|
2217
2377
|
body?: never;
|
|
2218
2378
|
path: {
|
|
@@ -2247,6 +2407,39 @@ export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDeal
|
|
|
2247
2407
|
204: void;
|
|
2248
2408
|
};
|
|
2249
2409
|
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponses];
|
|
2410
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseData = {
|
|
2411
|
+
body: CloseListingRequest;
|
|
2412
|
+
path: {
|
|
2413
|
+
contactId: number;
|
|
2414
|
+
propertyId: number;
|
|
2415
|
+
listingId: number;
|
|
2416
|
+
};
|
|
2417
|
+
query?: never;
|
|
2418
|
+
url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/close';
|
|
2419
|
+
};
|
|
2420
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseResponses = {
|
|
2421
|
+
/**
|
|
2422
|
+
* No Content
|
|
2423
|
+
*/
|
|
2424
|
+
204: void;
|
|
2425
|
+
};
|
|
2426
|
+
export type PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseResponse = PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseResponses[keyof PostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseResponses];
|
|
2427
|
+
export type PostContactsByContactIdPropertiesByPropertyIdCloseData = {
|
|
2428
|
+
body: ClosePropertyRequest;
|
|
2429
|
+
path: {
|
|
2430
|
+
contactId: number;
|
|
2431
|
+
propertyId: number;
|
|
2432
|
+
};
|
|
2433
|
+
query?: never;
|
|
2434
|
+
url: '/contacts/{contactId}/properties/{propertyId}/close';
|
|
2435
|
+
};
|
|
2436
|
+
export type PostContactsByContactIdPropertiesByPropertyIdCloseResponses = {
|
|
2437
|
+
/**
|
|
2438
|
+
* No Content
|
|
2439
|
+
*/
|
|
2440
|
+
204: void;
|
|
2441
|
+
};
|
|
2442
|
+
export type PostContactsByContactIdPropertiesByPropertyIdCloseResponse = PostContactsByContactIdPropertiesByPropertyIdCloseResponses[keyof PostContactsByContactIdPropertiesByPropertyIdCloseResponses];
|
|
2250
2443
|
export type PostContactsByContactIdInterestsData = {
|
|
2251
2444
|
body: CaptureInterestRequest;
|
|
2252
2445
|
path: {
|
|
@@ -3111,6 +3304,21 @@ export type GetContactByContactIdResponses = {
|
|
|
3111
3304
|
200: ContactGridResponse;
|
|
3112
3305
|
};
|
|
3113
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];
|
|
3114
3322
|
export type GetContactByContactId360Data = {
|
|
3115
3323
|
body?: never;
|
|
3116
3324
|
path: {
|
|
@@ -3281,6 +3489,25 @@ export type DeleteConversationsByConversationIdPresenceResponses = {
|
|
|
3281
3489
|
204: void;
|
|
3282
3490
|
};
|
|
3283
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];
|
|
3284
3511
|
export type DeleteContactsByContactIdInterestsByInterestIdItemsByItemIdData = {
|
|
3285
3512
|
body?: never;
|
|
3286
3513
|
path: {
|