@homespot-sdk/core 0.0.324 → 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.
- 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 +361 -100
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +430 -100
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +13 -8
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +43 -13
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +2 -1
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +64 -6
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +206 -55
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +873 -161
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +337 -97
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/zod.gen.js
CHANGED
|
@@ -210,6 +210,10 @@ export const zCaptureInterestRequest = z.object({
|
|
|
210
210
|
export const zTitleRequest = z.object({
|
|
211
211
|
title: z.string().min(1).max(50),
|
|
212
212
|
});
|
|
213
|
+
export const zRateRecommendationItemRequest = z.object({
|
|
214
|
+
decision: z.enum(['MAYBE', 'DISLIKE', 'LIKE']),
|
|
215
|
+
note: z.optional(z.string().min(0).max(100)),
|
|
216
|
+
});
|
|
213
217
|
export const zRecommendListingRequest = z.object({
|
|
214
218
|
externalPropertyId: z.uuid(),
|
|
215
219
|
externalListingId: z.uuid(),
|
|
@@ -363,10 +367,6 @@ export const zIdResponseInteger = z.object({
|
|
|
363
367
|
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
364
368
|
}),
|
|
365
369
|
});
|
|
366
|
-
export const zRateRecommendationItemRequest = z.object({
|
|
367
|
-
decision: z.enum(['MAYBE', 'DISLIKE', 'LIKE']),
|
|
368
|
-
note: z.optional(z.string().min(0).max(100)),
|
|
369
|
-
});
|
|
370
370
|
export const zContactInfoRequest = z.object({
|
|
371
371
|
firstName: z.optional(z.string().min(1).max(20)),
|
|
372
372
|
lastName: z.optional(z.string().min(1).max(20)),
|
|
@@ -507,28 +507,8 @@ export const zProblemDetail = z.object({
|
|
|
507
507
|
export const zIdResponseUuid = z.object({
|
|
508
508
|
id: z.uuid(),
|
|
509
509
|
});
|
|
510
|
-
export const zCreateListingRequest = z.object({
|
|
511
|
-
listingType: z.enum(['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE']),
|
|
512
|
-
askingPrice: z.number(),
|
|
513
|
-
});
|
|
514
510
|
export const zAddDealRequest = z.object({
|
|
515
|
-
|
|
516
|
-
.bigint()
|
|
517
|
-
.min(BigInt('-9223372036854775808'), {
|
|
518
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
519
|
-
})
|
|
520
|
-
.max(BigInt('9223372036854775807'), {
|
|
521
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
522
|
-
}),
|
|
523
|
-
commissionType: z.enum([
|
|
524
|
-
'FIXED_SALE',
|
|
525
|
-
'FIXED_RENT',
|
|
526
|
-
'PERCENTAGE',
|
|
527
|
-
'MONTHS_OF_RENT',
|
|
528
|
-
]),
|
|
529
|
-
rate: z.optional(z.number()),
|
|
530
|
-
amount: z.optional(z.number()),
|
|
531
|
-
factor: z.optional(z.number()),
|
|
511
|
+
type: z.string(),
|
|
532
512
|
});
|
|
533
513
|
export const zCloseListingRequest = z.object({
|
|
534
514
|
withdrawExternal: z.optional(z.boolean()),
|
|
@@ -1130,14 +1110,6 @@ export const zRecommendationResponse = z.object({
|
|
|
1130
1110
|
recommendations: zPagedModelRecommendationsCardView,
|
|
1131
1111
|
});
|
|
1132
1112
|
export const zRecommendationDecisionResponse = z.object({
|
|
1133
|
-
itemId: z.coerce
|
|
1134
|
-
.bigint()
|
|
1135
|
-
.min(BigInt('-9223372036854775808'), {
|
|
1136
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1137
|
-
})
|
|
1138
|
-
.max(BigInt('9223372036854775807'), {
|
|
1139
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1140
|
-
}),
|
|
1141
1113
|
externalPropertyId: z.uuid(),
|
|
1142
1114
|
externalListingId: z.uuid(),
|
|
1143
1115
|
decision: z.enum(['MAYBE', 'DISLIKE', 'LIKE']),
|
|
@@ -1304,6 +1276,172 @@ export const zWhitelabelResponse = z.object({
|
|
|
1304
1276
|
socialLinks: z.optional(z.array(zSocialLinkResponse)),
|
|
1305
1277
|
website: z.optional(z.string()),
|
|
1306
1278
|
});
|
|
1279
|
+
export const zAgreementResponse = z.object({
|
|
1280
|
+
agreement: z.enum(['EXCLUSIVE', 'NON_EXCLUSIVE']),
|
|
1281
|
+
expiryDate: z.optional(z.iso.date()),
|
|
1282
|
+
});
|
|
1283
|
+
export const zBoostResponse = z.object({
|
|
1284
|
+
tier: z.enum(['VIP', 'VIP_PLUS', 'SUPER_VIP']),
|
|
1285
|
+
status: z.enum(['PENDING', 'ACTIVE', 'FAIL_NO_BALANCE', 'FAILED']),
|
|
1286
|
+
activatedAt: z.optional(z.iso.date()),
|
|
1287
|
+
expiresAt: z.optional(z.iso.date()),
|
|
1288
|
+
});
|
|
1289
|
+
export const zColoredListingResponse = z.object({
|
|
1290
|
+
activatedAt: z.iso.date(),
|
|
1291
|
+
expiresAt: z.iso.date(),
|
|
1292
|
+
});
|
|
1293
|
+
export const zDealResponse = z.object({
|
|
1294
|
+
type: z.string(),
|
|
1295
|
+
});
|
|
1296
|
+
export const zFixed = zAddDealRequest
|
|
1297
|
+
.and(z.object({
|
|
1298
|
+
amount: z.number(),
|
|
1299
|
+
}))
|
|
1300
|
+
.and(zDealResponse)
|
|
1301
|
+
.and(z.object({
|
|
1302
|
+
amount: z.number(),
|
|
1303
|
+
commission: z.optional(z.number()),
|
|
1304
|
+
type: z.literal('FIXED'),
|
|
1305
|
+
}));
|
|
1306
|
+
export const zMonthsOfRent = zAddDealRequest
|
|
1307
|
+
.and(z.object({
|
|
1308
|
+
factor: z.number(),
|
|
1309
|
+
}))
|
|
1310
|
+
.and(zDealResponse)
|
|
1311
|
+
.and(z.object({
|
|
1312
|
+
factor: z.number(),
|
|
1313
|
+
commission: z.optional(z.number()),
|
|
1314
|
+
type: z.literal('MONTHS_OF_RENT'),
|
|
1315
|
+
}));
|
|
1316
|
+
export const zPercentage = zAddDealRequest
|
|
1317
|
+
.and(z.object({
|
|
1318
|
+
rate: z.number().gte(0).lte(1),
|
|
1319
|
+
}))
|
|
1320
|
+
.and(zDealResponse)
|
|
1321
|
+
.and(z.object({
|
|
1322
|
+
rate: z.number(),
|
|
1323
|
+
commission: z.optional(z.number()),
|
|
1324
|
+
type: z.literal('PERCENTAGE'),
|
|
1325
|
+
}));
|
|
1326
|
+
export const zCreateListingRequest = z.object({
|
|
1327
|
+
listingType: z.enum(['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE']),
|
|
1328
|
+
askingPrice: z.number(),
|
|
1329
|
+
deal: z.optional(z.union([zFixed, zMonthsOfRent, zPercentage])),
|
|
1330
|
+
});
|
|
1331
|
+
export const zPlatformListingResponse = z.object({
|
|
1332
|
+
platformId: z.optional(z.coerce
|
|
1333
|
+
.bigint()
|
|
1334
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1335
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1336
|
+
})
|
|
1337
|
+
.max(BigInt('9223372036854775807'), {
|
|
1338
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1339
|
+
})),
|
|
1340
|
+
platformType: z.enum(['SS', 'MY_HOME']),
|
|
1341
|
+
status: z.enum(['PENDING', 'SYNDICATED', 'FAILED', 'EXPIRED']),
|
|
1342
|
+
listedAt: z.optional(z.iso.date()),
|
|
1343
|
+
expiresAt: z.optional(z.iso.date()),
|
|
1344
|
+
renewedAt: z.optional(z.iso.date()),
|
|
1345
|
+
boost: z.optional(zBoostResponse),
|
|
1346
|
+
coloredListing: z.optional(zColoredListingResponse),
|
|
1347
|
+
});
|
|
1348
|
+
export const zPropertyCloseReasonResponse = z.object({
|
|
1349
|
+
closedAt: z.iso.datetime(),
|
|
1350
|
+
reason: z.enum([
|
|
1351
|
+
'DEAL_CLOSED',
|
|
1352
|
+
'OWNER_WITHDREW',
|
|
1353
|
+
'MANDATE_EXPIRED',
|
|
1354
|
+
'OTHER',
|
|
1355
|
+
]),
|
|
1356
|
+
});
|
|
1357
|
+
export const zPropertyDetailsResponse = z.object({
|
|
1358
|
+
title: z.string(),
|
|
1359
|
+
coverPhoto: z.optional(z.string()),
|
|
1360
|
+
photoCount: z.optional(z
|
|
1361
|
+
.int()
|
|
1362
|
+
.min(-2147483648, {
|
|
1363
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
1364
|
+
})
|
|
1365
|
+
.max(2147483647, {
|
|
1366
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
1367
|
+
})),
|
|
1368
|
+
totalArea: z.number(),
|
|
1369
|
+
livingArea: z.optional(z.number()),
|
|
1370
|
+
balconyArea: z.optional(z.number()),
|
|
1371
|
+
address: zAddressResponse,
|
|
1372
|
+
});
|
|
1373
|
+
export const zPropertyListingResponse = z.object({
|
|
1374
|
+
publicId: z.coerce
|
|
1375
|
+
.bigint()
|
|
1376
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1377
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1378
|
+
})
|
|
1379
|
+
.max(BigInt('9223372036854775807'), {
|
|
1380
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1381
|
+
}),
|
|
1382
|
+
listingId: z.uuid(),
|
|
1383
|
+
listingType: z.enum(['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE']),
|
|
1384
|
+
marketplaceStatus: z.enum([
|
|
1385
|
+
'PENDING',
|
|
1386
|
+
'ACTIVE',
|
|
1387
|
+
'PAUSED',
|
|
1388
|
+
'EXPIRED',
|
|
1389
|
+
'FAILED',
|
|
1390
|
+
]),
|
|
1391
|
+
crmState: z.enum(['OPEN', 'CLOSED']),
|
|
1392
|
+
isProcessing: z.boolean(),
|
|
1393
|
+
price: z.number(),
|
|
1394
|
+
deal: z.optional(z.union([zFixed, zMonthsOfRent, zPercentage])),
|
|
1395
|
+
platformListings: z.array(zPlatformListingResponse),
|
|
1396
|
+
createdAt: z.iso.datetime(),
|
|
1397
|
+
closedAt: z.optional(z.iso.datetime()),
|
|
1398
|
+
});
|
|
1399
|
+
export const zPropertyPageResponse = z.object({
|
|
1400
|
+
publicId: z.coerce
|
|
1401
|
+
.bigint()
|
|
1402
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1403
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1404
|
+
})
|
|
1405
|
+
.max(BigInt('9223372036854775807'), {
|
|
1406
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1407
|
+
}),
|
|
1408
|
+
propertyId: z.uuid(),
|
|
1409
|
+
type: z.enum([
|
|
1410
|
+
'HOUSE',
|
|
1411
|
+
'TOWN_HOUSE',
|
|
1412
|
+
'COUNTRY_HOUSE',
|
|
1413
|
+
'VILLA',
|
|
1414
|
+
'COTTAGE',
|
|
1415
|
+
'APARTMENT',
|
|
1416
|
+
'DUPLEX',
|
|
1417
|
+
'TRIPLEX',
|
|
1418
|
+
'SEMI_BASEMENT',
|
|
1419
|
+
'ATTIC',
|
|
1420
|
+
'AGRICULTURAL_LAND',
|
|
1421
|
+
'RESIDENTIAL_LAND',
|
|
1422
|
+
'HOTEL_ROOM',
|
|
1423
|
+
'MOTEL_ROOM',
|
|
1424
|
+
'CO_LIVING_SPACE',
|
|
1425
|
+
'OFFICE',
|
|
1426
|
+
'COMMERCIAL_SPACE',
|
|
1427
|
+
'CO_WORKING_SPACE',
|
|
1428
|
+
'WAREHOUSE',
|
|
1429
|
+
'GARAGE',
|
|
1430
|
+
]),
|
|
1431
|
+
state: z.enum([
|
|
1432
|
+
'IN_REGISTRATION',
|
|
1433
|
+
'UNLISTED',
|
|
1434
|
+
'LISTED_INTERNALLY',
|
|
1435
|
+
'LISTED',
|
|
1436
|
+
'CLOSED',
|
|
1437
|
+
]),
|
|
1438
|
+
details: z.optional(zPropertyDetailsResponse),
|
|
1439
|
+
agreement: zAgreementResponse,
|
|
1440
|
+
listings: z.array(zPropertyListingResponse),
|
|
1441
|
+
createdAt: z.iso.datetime(),
|
|
1442
|
+
updatedAt: z.iso.datetime(),
|
|
1443
|
+
closeReason: z.optional(zPropertyCloseReasonResponse),
|
|
1444
|
+
});
|
|
1307
1445
|
export const zContactId = z.object({
|
|
1308
1446
|
value: z.optional(z.coerce
|
|
1309
1447
|
.bigint()
|
|
@@ -1606,7 +1744,7 @@ export const zListingGridView = z.object({
|
|
|
1606
1744
|
])),
|
|
1607
1745
|
listingType: z.optional(z.enum(['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE'])),
|
|
1608
1746
|
price: z.optional(z.number()),
|
|
1609
|
-
commissionType: z.optional(z.enum(['
|
|
1747
|
+
commissionType: z.optional(z.enum(['NOT_SET', 'FIXED', 'PERCENTAGE', 'MONTHS_OF_RENT'])),
|
|
1610
1748
|
commission: z.optional(z.number()),
|
|
1611
1749
|
platforms: z.optional(z.array(zPlatformView)),
|
|
1612
1750
|
createdAt: z.optional(z.iso.datetime()),
|
|
@@ -1920,14 +2058,6 @@ export const zPagedModelContactGridResponse = z.object({
|
|
|
1920
2058
|
content: z.optional(z.array(zContactGridResponse)),
|
|
1921
2059
|
page: z.optional(zPageMetadata),
|
|
1922
2060
|
});
|
|
1923
|
-
export const zActiveItemsResult = z.object({
|
|
1924
|
-
propertyIds: z.optional(z.array(zPropertyId)),
|
|
1925
|
-
interestIds: z.optional(z.array(zInterestId)),
|
|
1926
|
-
});
|
|
1927
|
-
export const zAgreementResponse = z.object({
|
|
1928
|
-
agreement: z.enum(['EXCLUSIVE', 'NON_EXCLUSIVE']),
|
|
1929
|
-
expiryDate: z.optional(z.iso.date()),
|
|
1930
|
-
});
|
|
1931
2061
|
export const zAssignedMember = z.object({
|
|
1932
2062
|
memberId: z.uuid(),
|
|
1933
2063
|
name: z.string(),
|
|
@@ -1945,22 +2075,6 @@ export const zContactInfoResponse = z.object({
|
|
|
1945
2075
|
phoneNumber: z.string(),
|
|
1946
2076
|
email: z.optional(z.string()),
|
|
1947
2077
|
});
|
|
1948
|
-
export const zPropertyDetailsResponse = z.object({
|
|
1949
|
-
title: z.string(),
|
|
1950
|
-
coverPhoto: z.optional(z.string()),
|
|
1951
|
-
photoCount: z.optional(z
|
|
1952
|
-
.int()
|
|
1953
|
-
.min(-2147483648, {
|
|
1954
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
1955
|
-
})
|
|
1956
|
-
.max(2147483647, {
|
|
1957
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
1958
|
-
})),
|
|
1959
|
-
totalArea: z.number(),
|
|
1960
|
-
livingArea: z.optional(z.number()),
|
|
1961
|
-
balconyArea: z.optional(z.number()),
|
|
1962
|
-
address: zAddressResponse,
|
|
1963
|
-
});
|
|
1964
2078
|
export const zContactPropertyResponse = z.object({
|
|
1965
2079
|
publicId: z.coerce
|
|
1966
2080
|
.bigint()
|
|
@@ -2559,6 +2673,33 @@ export const zPutContactsByContactIdInterestsByInterestIdPublishData = z.object(
|
|
|
2559
2673
|
* No Content
|
|
2560
2674
|
*/
|
|
2561
2675
|
export const zPutContactsByContactIdInterestsByInterestIdPublishResponse = z.void();
|
|
2676
|
+
export const zPutContactsByContactIdInterestsByInterestIdListingsByExternalListingIdRateData = z.object({
|
|
2677
|
+
body: zRateRecommendationItemRequest,
|
|
2678
|
+
path: z.object({
|
|
2679
|
+
contactId: z.coerce
|
|
2680
|
+
.bigint()
|
|
2681
|
+
.min(BigInt('-9223372036854775808'), {
|
|
2682
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2683
|
+
})
|
|
2684
|
+
.max(BigInt('9223372036854775807'), {
|
|
2685
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2686
|
+
}),
|
|
2687
|
+
interestId: z.coerce
|
|
2688
|
+
.bigint()
|
|
2689
|
+
.min(BigInt('-9223372036854775808'), {
|
|
2690
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2691
|
+
})
|
|
2692
|
+
.max(BigInt('9223372036854775807'), {
|
|
2693
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2694
|
+
}),
|
|
2695
|
+
externalListingId: z.uuid(),
|
|
2696
|
+
}),
|
|
2697
|
+
query: z.optional(z.never()),
|
|
2698
|
+
});
|
|
2699
|
+
/**
|
|
2700
|
+
* No Content
|
|
2701
|
+
*/
|
|
2702
|
+
export const zPutContactsByContactIdInterestsByInterestIdListingsByExternalListingIdRateResponse = z.void();
|
|
2562
2703
|
export const zPutContactsByContactIdInterestsByInterestIdItemsData = z.object({
|
|
2563
2704
|
body: zRecommendListingRequest,
|
|
2564
2705
|
path: z.object({
|
|
@@ -2971,25 +3112,18 @@ export const zPostPublicWebhooksFlittData = z.object({
|
|
|
2971
3112
|
path: z.optional(z.never()),
|
|
2972
3113
|
query: z.optional(z.never()),
|
|
2973
3114
|
});
|
|
2974
|
-
export const
|
|
3115
|
+
export const zPostPublicRecomendationsByTokenListingsByExternalListingIdRateData = z.object({
|
|
2975
3116
|
body: zRateRecommendationItemRequest,
|
|
2976
3117
|
path: z.object({
|
|
2977
3118
|
token: z.uuid(),
|
|
2978
|
-
|
|
2979
|
-
.bigint()
|
|
2980
|
-
.min(BigInt('-9223372036854775808'), {
|
|
2981
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2982
|
-
})
|
|
2983
|
-
.max(BigInt('9223372036854775807'), {
|
|
2984
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2985
|
-
}),
|
|
3119
|
+
externalListingId: z.uuid(),
|
|
2986
3120
|
}),
|
|
2987
3121
|
query: z.optional(z.never()),
|
|
2988
3122
|
});
|
|
2989
3123
|
/**
|
|
2990
3124
|
* No Content
|
|
2991
3125
|
*/
|
|
2992
|
-
export const
|
|
3126
|
+
export const zPostPublicRecomendationsByTokenListingsByExternalListingIdRateResponse = z.void();
|
|
2993
3127
|
export const zPostPublicOtpPhoneData = z.object({
|
|
2994
3128
|
body: zPhoneRequest,
|
|
2995
3129
|
path: z.optional(z.never()),
|
|
@@ -3224,6 +3358,40 @@ export const zPostContactsByContactIdPropertiesByPropertyIdListingsData = z.obje
|
|
|
3224
3358
|
* Created
|
|
3225
3359
|
*/
|
|
3226
3360
|
export const zPostContactsByContactIdPropertiesByPropertyIdListingsResponse = zIdResponseUuid;
|
|
3361
|
+
export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdResumeData = z.object({
|
|
3362
|
+
body: z.optional(z.never()),
|
|
3363
|
+
path: z.object({
|
|
3364
|
+
contactId: z.coerce
|
|
3365
|
+
.bigint()
|
|
3366
|
+
.min(BigInt('-9223372036854775808'), {
|
|
3367
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
3368
|
+
})
|
|
3369
|
+
.max(BigInt('9223372036854775807'), {
|
|
3370
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
3371
|
+
}),
|
|
3372
|
+
propertyId: z.coerce
|
|
3373
|
+
.bigint()
|
|
3374
|
+
.min(BigInt('-9223372036854775808'), {
|
|
3375
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
3376
|
+
})
|
|
3377
|
+
.max(BigInt('9223372036854775807'), {
|
|
3378
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
3379
|
+
}),
|
|
3380
|
+
listingId: z.coerce
|
|
3381
|
+
.bigint()
|
|
3382
|
+
.min(BigInt('-9223372036854775808'), {
|
|
3383
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
3384
|
+
})
|
|
3385
|
+
.max(BigInt('9223372036854775807'), {
|
|
3386
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
3387
|
+
}),
|
|
3388
|
+
}),
|
|
3389
|
+
query: z.optional(z.never()),
|
|
3390
|
+
});
|
|
3391
|
+
/**
|
|
3392
|
+
* No Content
|
|
3393
|
+
*/
|
|
3394
|
+
export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdResumeResponse = z.void();
|
|
3227
3395
|
export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenData = z.object({
|
|
3228
3396
|
body: z.optional(z.never()),
|
|
3229
3397
|
path: z.object({
|
|
@@ -3258,6 +3426,74 @@ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdRe
|
|
|
3258
3426
|
* No Content
|
|
3259
3427
|
*/
|
|
3260
3428
|
export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenResponse = z.void();
|
|
3429
|
+
export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdRenewData = z.object({
|
|
3430
|
+
body: z.optional(z.never()),
|
|
3431
|
+
path: z.object({
|
|
3432
|
+
contactId: z.coerce
|
|
3433
|
+
.bigint()
|
|
3434
|
+
.min(BigInt('-9223372036854775808'), {
|
|
3435
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
3436
|
+
})
|
|
3437
|
+
.max(BigInt('9223372036854775807'), {
|
|
3438
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
3439
|
+
}),
|
|
3440
|
+
propertyId: z.coerce
|
|
3441
|
+
.bigint()
|
|
3442
|
+
.min(BigInt('-9223372036854775808'), {
|
|
3443
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
3444
|
+
})
|
|
3445
|
+
.max(BigInt('9223372036854775807'), {
|
|
3446
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
3447
|
+
}),
|
|
3448
|
+
listingId: z.coerce
|
|
3449
|
+
.bigint()
|
|
3450
|
+
.min(BigInt('-9223372036854775808'), {
|
|
3451
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
3452
|
+
})
|
|
3453
|
+
.max(BigInt('9223372036854775807'), {
|
|
3454
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
3455
|
+
}),
|
|
3456
|
+
}),
|
|
3457
|
+
query: z.optional(z.never()),
|
|
3458
|
+
});
|
|
3459
|
+
/**
|
|
3460
|
+
* No Content
|
|
3461
|
+
*/
|
|
3462
|
+
export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdRenewResponse = z.void();
|
|
3463
|
+
export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdPauseData = z.object({
|
|
3464
|
+
body: z.optional(z.never()),
|
|
3465
|
+
path: z.object({
|
|
3466
|
+
contactId: z.coerce
|
|
3467
|
+
.bigint()
|
|
3468
|
+
.min(BigInt('-9223372036854775808'), {
|
|
3469
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
3470
|
+
})
|
|
3471
|
+
.max(BigInt('9223372036854775807'), {
|
|
3472
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
3473
|
+
}),
|
|
3474
|
+
propertyId: z.coerce
|
|
3475
|
+
.bigint()
|
|
3476
|
+
.min(BigInt('-9223372036854775808'), {
|
|
3477
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
3478
|
+
})
|
|
3479
|
+
.max(BigInt('9223372036854775807'), {
|
|
3480
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
3481
|
+
}),
|
|
3482
|
+
listingId: z.coerce
|
|
3483
|
+
.bigint()
|
|
3484
|
+
.min(BigInt('-9223372036854775808'), {
|
|
3485
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
3486
|
+
})
|
|
3487
|
+
.max(BigInt('9223372036854775807'), {
|
|
3488
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
3489
|
+
}),
|
|
3490
|
+
}),
|
|
3491
|
+
query: z.optional(z.never()),
|
|
3492
|
+
});
|
|
3493
|
+
/**
|
|
3494
|
+
* No Content
|
|
3495
|
+
*/
|
|
3496
|
+
export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdPauseResponse = z.void();
|
|
3261
3497
|
export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = z.object({
|
|
3262
3498
|
body: z.optional(z.never()),
|
|
3263
3499
|
path: z.object({
|
|
@@ -3293,7 +3529,7 @@ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingId
|
|
|
3293
3529
|
*/
|
|
3294
3530
|
export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = z.void();
|
|
3295
3531
|
export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = z.object({
|
|
3296
|
-
body:
|
|
3532
|
+
body: z.union([zFixed, zMonthsOfRent, zPercentage]),
|
|
3297
3533
|
path: z.object({
|
|
3298
3534
|
contactId: z.coerce
|
|
3299
3535
|
.bigint()
|
|
@@ -3851,6 +4087,24 @@ export const zGetPublicAgencySubdomainBySubDomainData = z.object({
|
|
|
3851
4087
|
* OK
|
|
3852
4088
|
*/
|
|
3853
4089
|
export const zGetPublicAgencySubdomainBySubDomainResponse = zAgencySummaryResponse;
|
|
4090
|
+
export const zGetPropertyByPropertyIdPageData = z.object({
|
|
4091
|
+
body: z.optional(z.never()),
|
|
4092
|
+
path: z.object({
|
|
4093
|
+
propertyId: z.coerce
|
|
4094
|
+
.bigint()
|
|
4095
|
+
.min(BigInt('-9223372036854775808'), {
|
|
4096
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
4097
|
+
})
|
|
4098
|
+
.max(BigInt('9223372036854775807'), {
|
|
4099
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
4100
|
+
}),
|
|
4101
|
+
}),
|
|
4102
|
+
query: z.optional(z.never()),
|
|
4103
|
+
});
|
|
4104
|
+
/**
|
|
4105
|
+
* OK
|
|
4106
|
+
*/
|
|
4107
|
+
export const zGetPropertyByPropertyIdPageResponse = zPropertyPageResponse;
|
|
3854
4108
|
export const zGetOauthData = z.object({
|
|
3855
4109
|
body: z.optional(z.never()),
|
|
3856
4110
|
path: z.optional(z.never()),
|
|
@@ -3907,6 +4161,17 @@ export const zGetOauthGoogleAuthorizeData = z.object({
|
|
|
3907
4161
|
* OK
|
|
3908
4162
|
*/
|
|
3909
4163
|
export const zGetOauthGoogleAuthorizeResponse = z.record(z.string(), z.string());
|
|
4164
|
+
export const zDeleteNotificationsData = z.object({
|
|
4165
|
+
body: z.optional(z.never()),
|
|
4166
|
+
path: z.optional(z.never()),
|
|
4167
|
+
query: z.optional(z.object({
|
|
4168
|
+
target: z.optional(z.string()),
|
|
4169
|
+
})),
|
|
4170
|
+
});
|
|
4171
|
+
/**
|
|
4172
|
+
* No Content
|
|
4173
|
+
*/
|
|
4174
|
+
export const zDeleteNotificationsResponse = z.void();
|
|
3910
4175
|
export const zGetNotificationsData = z.object({
|
|
3911
4176
|
body: z.optional(z.never()),
|
|
3912
4177
|
path: z.optional(z.never()),
|
|
@@ -4379,24 +4644,6 @@ export const zGetContactByContactIdData = z.object({
|
|
|
4379
4644
|
* OK
|
|
4380
4645
|
*/
|
|
4381
4646
|
export const zGetContactByContactIdResponse = zContactGridResponse;
|
|
4382
|
-
export const zGetContactByContactIdOpenItemsData = z.object({
|
|
4383
|
-
body: z.optional(z.never()),
|
|
4384
|
-
path: z.object({
|
|
4385
|
-
contactId: z.coerce
|
|
4386
|
-
.bigint()
|
|
4387
|
-
.min(BigInt('-9223372036854775808'), {
|
|
4388
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
4389
|
-
})
|
|
4390
|
-
.max(BigInt('9223372036854775807'), {
|
|
4391
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
4392
|
-
}),
|
|
4393
|
-
}),
|
|
4394
|
-
query: z.optional(z.never()),
|
|
4395
|
-
});
|
|
4396
|
-
/**
|
|
4397
|
-
* OK
|
|
4398
|
-
*/
|
|
4399
|
-
export const zGetContactByContactIdOpenItemsResponse = zActiveItemsResult;
|
|
4400
4647
|
export const zGetContactByContactId360Data = z.object({
|
|
4401
4648
|
body: z.optional(z.never()),
|
|
4402
4649
|
path: z.object({
|
|
@@ -4659,7 +4906,7 @@ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingId
|
|
|
4659
4906
|
* No Content
|
|
4660
4907
|
*/
|
|
4661
4908
|
export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdResponse = z.void();
|
|
4662
|
-
export const
|
|
4909
|
+
export const zDeleteContactsByContactIdInterestsByInterestIdListingsByExternalListingIdData = z.object({
|
|
4663
4910
|
body: z.optional(z.never()),
|
|
4664
4911
|
path: z.object({
|
|
4665
4912
|
contactId: z.coerce
|
|
@@ -4678,19 +4925,12 @@ export const zDeleteContactsByContactIdInterestsByInterestIdItemsByItemIdData =
|
|
|
4678
4925
|
.max(BigInt('9223372036854775807'), {
|
|
4679
4926
|
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
4680
4927
|
}),
|
|
4681
|
-
|
|
4682
|
-
.bigint()
|
|
4683
|
-
.min(BigInt('-9223372036854775808'), {
|
|
4684
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
4685
|
-
})
|
|
4686
|
-
.max(BigInt('9223372036854775807'), {
|
|
4687
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
4688
|
-
}),
|
|
4928
|
+
externalListingId: z.uuid(),
|
|
4689
4929
|
}),
|
|
4690
4930
|
query: z.optional(z.never()),
|
|
4691
4931
|
});
|
|
4692
4932
|
/**
|
|
4693
4933
|
* No Content
|
|
4694
4934
|
*/
|
|
4695
|
-
export const
|
|
4935
|
+
export const zDeleteContactsByContactIdInterestsByInterestIdListingsByExternalListingIdResponse = z.void();
|
|
4696
4936
|
//# sourceMappingURL=zod.gen.js.map
|