@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
@@ -123,6 +123,9 @@ export const zRescheduleRequest = z.object({
123
123
  start: z.iso.datetime(),
124
124
  durationMinutes: z.optional(z.int().gte(15).lte(480)),
125
125
  });
126
+ export const zUpdateListingPriceRequest = z.object({
127
+ price: z.number(),
128
+ });
126
129
  export const zAgreementRequest = z.object({
127
130
  type: z.enum(['EXCLUSIVE', 'NON_EXCLUSIVE']),
128
131
  expiresAt: z.optional(z.iso.date()),
@@ -207,6 +210,10 @@ export const zCaptureInterestRequest = z.object({
207
210
  export const zTitleRequest = z.object({
208
211
  title: z.string().min(1).max(50),
209
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
+ });
210
217
  export const zRecommendListingRequest = z.object({
211
218
  externalPropertyId: z.uuid(),
212
219
  externalListingId: z.uuid(),
@@ -329,6 +336,27 @@ export const zTransferFundsRequest = z.object({
329
336
  export const zDepositFundsRequest = z.object({
330
337
  amount: z.number(),
331
338
  });
339
+ export const zSubscriptionAddressRequest = z.object({
340
+ country: z.string().min(0).max(100),
341
+ city: z.string().min(0).max(100),
342
+ district: z.string().min(0).max(100),
343
+ subdistrict: z.string().min(0).max(100),
344
+ street: z.string().min(0).max(255),
345
+ });
346
+ export const zSubscribeRequest = z.object({
347
+ plan: z.enum(['STARTER', 'PRO', 'ENTERPRISE']),
348
+ billingCycle: z.enum(['MONTHLY', 'ANNUAL']),
349
+ name: z.string(),
350
+ email: z.email(),
351
+ phone: z.string(),
352
+ subdomain: z.string(),
353
+ address: zSubscriptionAddressRequest,
354
+ });
355
+ export const zSubscriptionCheckoutResponse = z.object({
356
+ checkoutUrl: z.optional(z.string()),
357
+ agencyId: z.optional(z.uuid()),
358
+ subscriptionId: z.optional(z.uuid()),
359
+ });
332
360
  export const zIdResponseInteger = z.object({
333
361
  id: z
334
362
  .int()
@@ -339,10 +367,6 @@ export const zIdResponseInteger = z.object({
339
367
  error: 'Invalid value: Expected int32 to be <= 2147483647',
340
368
  }),
341
369
  });
342
- export const zRateRecommendationItemRequest = z.object({
343
- decision: z.enum(['MAYBE', 'DISLIKE', 'LIKE']),
344
- note: z.optional(z.string().min(0).max(100)),
345
- });
346
370
  export const zContactInfoRequest = z.object({
347
371
  firstName: z.optional(z.string().min(1).max(20)),
348
372
  lastName: z.optional(z.string().min(1).max(20)),
@@ -484,23 +508,19 @@ export const zIdResponseUuid = z.object({
484
508
  id: z.uuid(),
485
509
  });
486
510
  export const zAddDealRequest = z.object({
487
- listingId: z.coerce
488
- .bigint()
489
- .min(BigInt('-9223372036854775808'), {
490
- error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
491
- })
492
- .max(BigInt('9223372036854775807'), {
493
- error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
494
- }),
495
- commissionType: z.enum([
496
- 'FIXED_SALE',
497
- 'FIXED_RENT',
498
- 'PERCENTAGE',
499
- 'MONTHS_OF_RENT',
511
+ type: z.string(),
512
+ });
513
+ export const zCloseListingRequest = z.object({
514
+ withdrawExternal: z.optional(z.boolean()),
515
+ });
516
+ export const zClosePropertyRequest = z.object({
517
+ reason: z.enum([
518
+ 'DEAL_CLOSED',
519
+ 'OWNER_WITHDREW',
520
+ 'MANDATE_EXPIRED',
521
+ 'OTHER',
500
522
  ]),
501
- rate: z.optional(z.number()),
502
- amount: z.optional(z.number()),
503
- factor: z.optional(z.number()),
523
+ withdrawExternal: z.optional(z.boolean()),
504
524
  });
505
525
  export const zInterestId = z.object({
506
526
  value: z.optional(z.coerce
@@ -1090,14 +1110,6 @@ export const zRecommendationResponse = z.object({
1090
1110
  recommendations: zPagedModelRecommendationsCardView,
1091
1111
  });
1092
1112
  export const zRecommendationDecisionResponse = z.object({
1093
- itemId: z.coerce
1094
- .bigint()
1095
- .min(BigInt('-9223372036854775808'), {
1096
- error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
1097
- })
1098
- .max(BigInt('9223372036854775807'), {
1099
- error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
1100
- }),
1101
1113
  externalPropertyId: z.uuid(),
1102
1114
  externalListingId: z.uuid(),
1103
1115
  decision: z.enum(['MAYBE', 'DISLIKE', 'LIKE']),
@@ -1264,6 +1276,172 @@ export const zWhitelabelResponse = z.object({
1264
1276
  socialLinks: z.optional(z.array(zSocialLinkResponse)),
1265
1277
  website: z.optional(z.string()),
1266
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
+ });
1267
1445
  export const zContactId = z.object({
1268
1446
  value: z.optional(z.coerce
1269
1447
  .bigint()
@@ -1566,7 +1744,7 @@ export const zListingGridView = z.object({
1566
1744
  ])),
1567
1745
  listingType: z.optional(z.enum(['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE'])),
1568
1746
  price: z.optional(z.number()),
1569
- commissionType: z.optional(z.enum(['FIXED_SALE', 'FIXED_RENT', 'PERCENTAGE', 'MONTHS_OF_RENT'])),
1747
+ commissionType: z.optional(z.enum(['NOT_SET', 'FIXED', 'PERCENTAGE', 'MONTHS_OF_RENT'])),
1570
1748
  commission: z.optional(z.number()),
1571
1749
  platforms: z.optional(z.array(zPlatformView)),
1572
1750
  createdAt: z.optional(z.iso.datetime()),
@@ -1880,10 +2058,6 @@ export const zPagedModelContactGridResponse = z.object({
1880
2058
  content: z.optional(z.array(zContactGridResponse)),
1881
2059
  page: z.optional(zPageMetadata),
1882
2060
  });
1883
- export const zAgreementResponse = z.object({
1884
- agreement: z.enum(['EXCLUSIVE', 'NON_EXCLUSIVE']),
1885
- expiryDate: z.optional(z.iso.date()),
1886
- });
1887
2061
  export const zAssignedMember = z.object({
1888
2062
  memberId: z.uuid(),
1889
2063
  name: z.string(),
@@ -1901,22 +2075,6 @@ export const zContactInfoResponse = z.object({
1901
2075
  phoneNumber: z.string(),
1902
2076
  email: z.optional(z.string()),
1903
2077
  });
1904
- export const zPropertyDetailsResponse = z.object({
1905
- title: z.string(),
1906
- coverPhoto: z.optional(z.string()),
1907
- photoCount: z.optional(z
1908
- .int()
1909
- .min(-2147483648, {
1910
- error: 'Invalid value: Expected int32 to be >= -2147483648',
1911
- })
1912
- .max(2147483647, {
1913
- error: 'Invalid value: Expected int32 to be <= 2147483647',
1914
- })),
1915
- totalArea: z.number(),
1916
- livingArea: z.optional(z.number()),
1917
- balconyArea: z.optional(z.number()),
1918
- address: zAddressResponse,
1919
- });
1920
2078
  export const zContactPropertyResponse = z.object({
1921
2079
  publicId: z.coerce
1922
2080
  .bigint()
@@ -2277,6 +2435,40 @@ export const zPutMeetingsByMeetingIdCancelData = z.object({
2277
2435
  * No Content
2278
2436
  */
2279
2437
  export const zPutMeetingsByMeetingIdCancelResponse = z.void();
2438
+ export const zPutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceData = z.object({
2439
+ body: zUpdateListingPriceRequest,
2440
+ path: z.object({
2441
+ contactId: z.coerce
2442
+ .bigint()
2443
+ .min(BigInt('-9223372036854775808'), {
2444
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2445
+ })
2446
+ .max(BigInt('9223372036854775807'), {
2447
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2448
+ }),
2449
+ propertyId: z.coerce
2450
+ .bigint()
2451
+ .min(BigInt('-9223372036854775808'), {
2452
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2453
+ })
2454
+ .max(BigInt('9223372036854775807'), {
2455
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2456
+ }),
2457
+ listingId: z.coerce
2458
+ .bigint()
2459
+ .min(BigInt('-9223372036854775808'), {
2460
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2461
+ })
2462
+ .max(BigInt('9223372036854775807'), {
2463
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2464
+ }),
2465
+ }),
2466
+ query: z.optional(z.never()),
2467
+ });
2468
+ /**
2469
+ * No Content
2470
+ */
2471
+ export const zPutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceResponse = z.void();
2280
2472
  export const zPutContactsByContactIdPropertiesByPropertyIdAgreementData = z.object({
2281
2473
  body: zAgreementRequest,
2282
2474
  path: z.object({
@@ -2481,6 +2673,33 @@ export const zPutContactsByContactIdInterestsByInterestIdPublishData = z.object(
2481
2673
  * No Content
2482
2674
  */
2483
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();
2484
2703
  export const zPutContactsByContactIdInterestsByInterestIdItemsData = z.object({
2485
2704
  body: zRecommendListingRequest,
2486
2705
  path: z.object({
@@ -2595,6 +2814,24 @@ export const zPutContactByContactIdUpdateContactDetailsData = z.object({
2595
2814
  * No Content
2596
2815
  */
2597
2816
  export const zPutContactByContactIdUpdateContactDetailsResponse = z.void();
2817
+ export const zPutContactByContactIdReopenData = z.object({
2818
+ body: z.optional(z.never()),
2819
+ path: z.object({
2820
+ contactId: z.coerce
2821
+ .bigint()
2822
+ .min(BigInt('-9223372036854775808'), {
2823
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2824
+ })
2825
+ .max(BigInt('9223372036854775807'), {
2826
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2827
+ }),
2828
+ }),
2829
+ query: z.optional(z.never()),
2830
+ });
2831
+ /**
2832
+ * No Content
2833
+ */
2834
+ export const zPutContactByContactIdReopenResponse = z.void();
2598
2835
  export const zPutContactByContactIdLostData = z.object({
2599
2836
  body: zRecordLostContactRequest,
2600
2837
  path: z.object({
@@ -2767,6 +3004,24 @@ export const zPostWalletDepositData = z.object({
2767
3004
  * No Content
2768
3005
  */
2769
3006
  export const zPostWalletDepositResponse = z.void();
3007
+ export const zDeleteSubscriptionsData = z.object({
3008
+ body: z.optional(z.never()),
3009
+ path: z.optional(z.never()),
3010
+ query: z.optional(z.never()),
3011
+ });
3012
+ /**
3013
+ * No Content
3014
+ */
3015
+ export const zDeleteSubscriptionsResponse = z.void();
3016
+ export const zPostSubscriptionsData = z.object({
3017
+ body: zSubscribeRequest,
3018
+ path: z.optional(z.never()),
3019
+ query: z.optional(z.never()),
3020
+ });
3021
+ /**
3022
+ * Created
3023
+ */
3024
+ export const zPostSubscriptionsResponse = zSubscriptionCheckoutResponse;
2770
3025
  export const zGetRolesData = z.object({
2771
3026
  body: z.optional(z.never()),
2772
3027
  path: z.optional(z.never()),
@@ -2852,25 +3107,23 @@ export const zPostPublicWebhooksMetaFbData = z.object({
2852
3107
  'X-Hub-Signature-256': z.optional(z.string()),
2853
3108
  })),
2854
3109
  });
2855
- export const zPostPublicRecomendationsByTokenItemsByItemIdRateData = z.object({
3110
+ export const zPostPublicWebhooksFlittData = z.object({
3111
+ body: z.record(z.string(), z.unknown()),
3112
+ path: z.optional(z.never()),
3113
+ query: z.optional(z.never()),
3114
+ });
3115
+ export const zPostPublicRecomendationsByTokenListingsByExternalListingIdRateData = z.object({
2856
3116
  body: zRateRecommendationItemRequest,
2857
3117
  path: z.object({
2858
3118
  token: z.uuid(),
2859
- itemId: z.coerce
2860
- .bigint()
2861
- .min(BigInt('-9223372036854775808'), {
2862
- error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2863
- })
2864
- .max(BigInt('9223372036854775807'), {
2865
- error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2866
- }),
3119
+ externalListingId: z.uuid(),
2867
3120
  }),
2868
3121
  query: z.optional(z.never()),
2869
3122
  });
2870
3123
  /**
2871
3124
  * No Content
2872
3125
  */
2873
- export const zPostPublicRecomendationsByTokenItemsByItemIdRateResponse = z.void();
3126
+ export const zPostPublicRecomendationsByTokenListingsByExternalListingIdRateResponse = z.void();
2874
3127
  export const zPostPublicOtpPhoneData = z.object({
2875
3128
  body: zPhoneRequest,
2876
3129
  path: z.optional(z.never()),
@@ -3053,6 +3306,194 @@ export const zPostConversationsByConversationIdMessagesData = z.object({
3053
3306
  * Message persisted and sent
3054
3307
  */
3055
3308
  export const zPostConversationsByConversationIdMessagesResponse = zIdResponseUuid;
3309
+ export const zPostContactsByContactIdPropertiesByPropertyIdReopenData = z.object({
3310
+ body: z.optional(z.never()),
3311
+ path: z.object({
3312
+ contactId: z.coerce
3313
+ .bigint()
3314
+ .min(BigInt('-9223372036854775808'), {
3315
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3316
+ })
3317
+ .max(BigInt('9223372036854775807'), {
3318
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3319
+ }),
3320
+ propertyId: z.coerce
3321
+ .bigint()
3322
+ .min(BigInt('-9223372036854775808'), {
3323
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3324
+ })
3325
+ .max(BigInt('9223372036854775807'), {
3326
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3327
+ }),
3328
+ }),
3329
+ query: z.optional(z.never()),
3330
+ });
3331
+ /**
3332
+ * No Content
3333
+ */
3334
+ export const zPostContactsByContactIdPropertiesByPropertyIdReopenResponse = z.void();
3335
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsData = z.object({
3336
+ body: zCreateListingRequest,
3337
+ path: z.object({
3338
+ contactId: z.coerce
3339
+ .bigint()
3340
+ .min(BigInt('-9223372036854775808'), {
3341
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3342
+ })
3343
+ .max(BigInt('9223372036854775807'), {
3344
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3345
+ }),
3346
+ propertyId: z.coerce
3347
+ .bigint()
3348
+ .min(BigInt('-9223372036854775808'), {
3349
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3350
+ })
3351
+ .max(BigInt('9223372036854775807'), {
3352
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3353
+ }),
3354
+ }),
3355
+ query: z.optional(z.never()),
3356
+ });
3357
+ /**
3358
+ * Created
3359
+ */
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();
3395
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenData = z.object({
3396
+ body: z.optional(z.never()),
3397
+ path: z.object({
3398
+ contactId: z.coerce
3399
+ .bigint()
3400
+ .min(BigInt('-9223372036854775808'), {
3401
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3402
+ })
3403
+ .max(BigInt('9223372036854775807'), {
3404
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3405
+ }),
3406
+ propertyId: z.coerce
3407
+ .bigint()
3408
+ .min(BigInt('-9223372036854775808'), {
3409
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3410
+ })
3411
+ .max(BigInt('9223372036854775807'), {
3412
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3413
+ }),
3414
+ listingId: z.coerce
3415
+ .bigint()
3416
+ .min(BigInt('-9223372036854775808'), {
3417
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3418
+ })
3419
+ .max(BigInt('9223372036854775807'), {
3420
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3421
+ }),
3422
+ }),
3423
+ query: z.optional(z.never()),
3424
+ });
3425
+ /**
3426
+ * No Content
3427
+ */
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();
3056
3497
  export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = z.object({
3057
3498
  body: z.optional(z.never()),
3058
3499
  path: z.object({
@@ -3088,7 +3529,7 @@ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingId
3088
3529
  */
3089
3530
  export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = z.void();
3090
3531
  export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = z.object({
3091
- body: zAddDealRequest,
3532
+ body: z.union([zFixed, zMonthsOfRent, zPercentage]),
3092
3533
  path: z.object({
3093
3534
  contactId: z.coerce
3094
3535
  .bigint()
@@ -3121,6 +3562,66 @@ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDe
3121
3562
  * No Content
3122
3563
  */
3123
3564
  export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = z.void();
3565
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseData = z.object({
3566
+ body: zCloseListingRequest,
3567
+ path: z.object({
3568
+ contactId: z.coerce
3569
+ .bigint()
3570
+ .min(BigInt('-9223372036854775808'), {
3571
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3572
+ })
3573
+ .max(BigInt('9223372036854775807'), {
3574
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3575
+ }),
3576
+ propertyId: z.coerce
3577
+ .bigint()
3578
+ .min(BigInt('-9223372036854775808'), {
3579
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3580
+ })
3581
+ .max(BigInt('9223372036854775807'), {
3582
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3583
+ }),
3584
+ listingId: z.coerce
3585
+ .bigint()
3586
+ .min(BigInt('-9223372036854775808'), {
3587
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3588
+ })
3589
+ .max(BigInt('9223372036854775807'), {
3590
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3591
+ }),
3592
+ }),
3593
+ query: z.optional(z.never()),
3594
+ });
3595
+ /**
3596
+ * No Content
3597
+ */
3598
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseResponse = z.void();
3599
+ export const zPostContactsByContactIdPropertiesByPropertyIdCloseData = z.object({
3600
+ body: zClosePropertyRequest,
3601
+ path: z.object({
3602
+ contactId: z.coerce
3603
+ .bigint()
3604
+ .min(BigInt('-9223372036854775808'), {
3605
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3606
+ })
3607
+ .max(BigInt('9223372036854775807'), {
3608
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3609
+ }),
3610
+ propertyId: z.coerce
3611
+ .bigint()
3612
+ .min(BigInt('-9223372036854775808'), {
3613
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3614
+ })
3615
+ .max(BigInt('9223372036854775807'), {
3616
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3617
+ }),
3618
+ }),
3619
+ query: z.optional(z.never()),
3620
+ });
3621
+ /**
3622
+ * No Content
3623
+ */
3624
+ export const zPostContactsByContactIdPropertiesByPropertyIdCloseResponse = z.void();
3124
3625
  export const zPostContactsByContactIdInterestsData = z.object({
3125
3626
  body: zCaptureInterestRequest,
3126
3627
  path: z.object({
@@ -3586,6 +4087,24 @@ export const zGetPublicAgencySubdomainBySubDomainData = z.object({
3586
4087
  * OK
3587
4088
  */
3588
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;
3589
4108
  export const zGetOauthData = z.object({
3590
4109
  body: z.optional(z.never()),
3591
4110
  path: z.optional(z.never()),
@@ -3642,6 +4161,17 @@ export const zGetOauthGoogleAuthorizeData = z.object({
3642
4161
  * OK
3643
4162
  */
3644
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();
3645
4175
  export const zGetNotificationsData = z.object({
3646
4176
  body: z.optional(z.never()),
3647
4177
  path: z.optional(z.never()),
@@ -4340,7 +4870,7 @@ export const zDeleteConversationsByConversationIdPresenceData = z.object({
4340
4870
  * No Content
4341
4871
  */
4342
4872
  export const zDeleteConversationsByConversationIdPresenceResponse = z.void();
4343
- export const zDeleteContactsByContactIdInterestsByInterestIdItemsByItemIdData = z.object({
4873
+ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdData = z.object({
4344
4874
  body: z.optional(z.never()),
4345
4875
  path: z.object({
4346
4876
  contactId: z.coerce
@@ -4351,7 +4881,7 @@ export const zDeleteContactsByContactIdInterestsByInterestIdItemsByItemIdData =
4351
4881
  .max(BigInt('9223372036854775807'), {
4352
4882
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
4353
4883
  }),
4354
- interestId: z.coerce
4884
+ propertyId: z.coerce
4355
4885
  .bigint()
4356
4886
  .min(BigInt('-9223372036854775808'), {
4357
4887
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -4359,7 +4889,35 @@ export const zDeleteContactsByContactIdInterestsByInterestIdItemsByItemIdData =
4359
4889
  .max(BigInt('9223372036854775807'), {
4360
4890
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
4361
4891
  }),
4362
- itemId: z.coerce
4892
+ listingId: z.coerce
4893
+ .bigint()
4894
+ .min(BigInt('-9223372036854775808'), {
4895
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
4896
+ })
4897
+ .max(BigInt('9223372036854775807'), {
4898
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
4899
+ }),
4900
+ }),
4901
+ query: z.optional(z.object({
4902
+ withdrawExternal: z.optional(z.boolean()).default(false),
4903
+ })),
4904
+ });
4905
+ /**
4906
+ * No Content
4907
+ */
4908
+ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdResponse = z.void();
4909
+ export const zDeleteContactsByContactIdInterestsByInterestIdListingsByExternalListingIdData = z.object({
4910
+ body: z.optional(z.never()),
4911
+ path: z.object({
4912
+ contactId: z.coerce
4913
+ .bigint()
4914
+ .min(BigInt('-9223372036854775808'), {
4915
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
4916
+ })
4917
+ .max(BigInt('9223372036854775807'), {
4918
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
4919
+ }),
4920
+ interestId: z.coerce
4363
4921
  .bigint()
4364
4922
  .min(BigInt('-9223372036854775808'), {
4365
4923
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -4367,11 +4925,12 @@ export const zDeleteContactsByContactIdInterestsByInterestIdItemsByItemIdData =
4367
4925
  .max(BigInt('9223372036854775807'), {
4368
4926
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
4369
4927
  }),
4928
+ externalListingId: z.uuid(),
4370
4929
  }),
4371
4930
  query: z.optional(z.never()),
4372
4931
  });
4373
4932
  /**
4374
4933
  * No Content
4375
4934
  */
4376
- export const zDeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponse = z.void();
4935
+ export const zDeleteContactsByContactIdInterestsByInterestIdListingsByExternalListingIdResponse = z.void();
4377
4936
  //# sourceMappingURL=zod.gen.js.map