@homespot-sdk/core 0.0.314 → 0.0.315

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.
@@ -123,9 +123,6 @@ 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 zRenameClientRecommendationsRequest = z.object({
127
- name: z.optional(z.string()),
128
- });
129
126
  export const zAgreementRequest = z.object({
130
127
  type: z.enum(['EXCLUSIVE', 'NON_EXCLUSIVE']),
131
128
  expiresAt: z.optional(z.iso.date()),
@@ -318,7 +315,7 @@ export const zIdResponseInteger = z.object({
318
315
  }),
319
316
  });
320
317
  export const zRateRecommendationItemRequest = z.object({
321
- decision: z.enum(['MAYBE', 'DISLIKE', 'LIKE', 'VISIT']),
318
+ decision: z.enum(['MAYBE', 'DISLIKE', 'LIKE']),
322
319
  note: z.optional(z.string().min(0).max(100)),
323
320
  });
324
321
  export const zContactInfoRequest = z.object({
@@ -444,24 +441,6 @@ export const zProblemDetail = z.object({
444
441
  export const zIdResponseUuid = z.object({
445
442
  id: z.uuid(),
446
443
  });
447
- export const zCreateClientRecommendationsRequest = z.object({
448
- title: z.string().min(1),
449
- interestId: z.coerce
450
- .bigint()
451
- .min(BigInt('-9223372036854775808'), {
452
- error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
453
- })
454
- .max(BigInt('9223372036854775807'), {
455
- error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
456
- }),
457
- });
458
- export const zRecommendationsId = z.object({
459
- value: z.optional(z.uuid()),
460
- });
461
- export const zRecommendListingRequest = z.object({
462
- externalPropertyId: z.uuid(),
463
- externalListingId: z.uuid(),
464
- });
465
444
  export const zAddDealRequest = z.object({
466
445
  listingId: z.coerce
467
446
  .bigint()
@@ -491,6 +470,13 @@ export const zInterestId = z.object({
491
470
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
492
471
  })),
493
472
  });
473
+ export const zTitleRequest = z.object({
474
+ title: z.string().min(1).max(50),
475
+ });
476
+ export const zRecommendListingRequest = z.object({
477
+ externalPropertyId: z.uuid(),
478
+ externalListingId: z.uuid(),
479
+ });
494
480
  export const zOnboardClientRequest = z.object({
495
481
  title: z.optional(z.string()),
496
482
  contactInfo: zContactInfoRequest,
@@ -678,15 +664,7 @@ export const zAddressResponse = z.object({
678
664
  lng: z.number(),
679
665
  });
680
666
  export const zRecommendationsCardView = z.object({
681
- recommendationItemId: z.coerce
682
- .bigint()
683
- .min(BigInt('-9223372036854775808'), {
684
- error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
685
- })
686
- .max(BigInt('9223372036854775807'), {
687
- error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
688
- }),
689
- decision: z.optional(z.enum(['MAYBE', 'DISLIKE', 'LIKE', 'VISIT'])),
667
+ decision: z.optional(z.enum(['MAYBE', 'DISLIKE', 'LIKE'])),
690
668
  clientNote: z.optional(z.string()),
691
669
  ownerContactId: z.coerce
692
670
  .bigint()
@@ -757,10 +735,10 @@ export const zPagedModelRecommendationsCardView = z.object({
757
735
  page: z.optional(zPageMetadata),
758
736
  });
759
737
  export const zRecommendationResponse = z.object({
760
- recommendationsId: z.uuid(),
738
+ shareToken: z.uuid(),
761
739
  title: z.string(),
762
740
  createdAt: z.iso.datetime(),
763
- status: z.enum(['DRAFT', 'AWAITING_CLIENT_REVIEW', 'CLOSED']),
741
+ status: z.enum(['DRAFT', 'SHARED', 'CLOSED']),
764
742
  recommendations: zPagedModelRecommendationsCardView,
765
743
  });
766
744
  export const zRecommendationDecisionResponse = z.object({
@@ -774,7 +752,7 @@ export const zRecommendationDecisionResponse = z.object({
774
752
  }),
775
753
  externalPropertyId: z.uuid(),
776
754
  externalListingId: z.uuid(),
777
- decision: z.enum(['MAYBE', 'DISLIKE', 'LIKE', 'VISIT']),
755
+ decision: z.enum(['MAYBE', 'DISLIKE', 'LIKE']),
778
756
  });
779
757
  export const zPermissionResponse = z.object({
780
758
  permission: z.enum([
@@ -1386,15 +1364,33 @@ export const zCursorPageMessageView = z.object({
1386
1364
  nextCursor: z.optional(z.string()),
1387
1365
  hasNext: z.optional(z.boolean()),
1388
1366
  });
1389
- export const zConstantInterestResponse = z.object({
1390
- id: z.coerce
1391
- .bigint()
1392
- .min(BigInt('-9223372036854775808'), {
1393
- error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
1367
+ export const zRangeBigDecimal = z.object({
1368
+ min: z.optional(z.number()),
1369
+ max: z.optional(z.number()),
1370
+ });
1371
+ export const zRangeDouble = z.object({
1372
+ min: z.optional(z.number()),
1373
+ max: z.optional(z.number()),
1374
+ });
1375
+ export const zRangeInteger = z.object({
1376
+ min: z.optional(z
1377
+ .int()
1378
+ .min(-2147483648, {
1379
+ error: 'Invalid value: Expected int32 to be >= -2147483648',
1394
1380
  })
1395
- .max(BigInt('9223372036854775807'), {
1396
- error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
1397
- }),
1381
+ .max(2147483647, {
1382
+ error: 'Invalid value: Expected int32 to be <= 2147483647',
1383
+ })),
1384
+ max: z.optional(z
1385
+ .int()
1386
+ .min(-2147483648, {
1387
+ error: 'Invalid value: Expected int32 to be >= -2147483648',
1388
+ })
1389
+ .max(2147483647, {
1390
+ error: 'Invalid value: Expected int32 to be <= 2147483647',
1391
+ })),
1392
+ });
1393
+ export const zCriteria = z.object({
1398
1394
  propertyTypes: z.array(z.enum([
1399
1395
  'HOUSE',
1400
1396
  'TOWN_HOUSE',
@@ -1418,49 +1414,65 @@ export const zConstantInterestResponse = z.object({
1418
1414
  'GARAGE',
1419
1415
  ])),
1420
1416
  listingType: z.enum(['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE']),
1421
- priceMin: z.optional(z.number()),
1422
- priceMax: z.optional(z.number()),
1423
- bedroomsMin: z.optional(z
1417
+ budget: z.optional(zRangeBigDecimal),
1418
+ bedrooms: z.optional(zRangeInteger),
1419
+ bathrooms: z.optional(zRangeInteger),
1420
+ totalArea: z.optional(zRangeDouble),
1421
+ livingArea: z.optional(zRangeDouble),
1422
+ region: z.optional(zLocationResponse),
1423
+ district: z.optional(zLocationResponse),
1424
+ subDistrict: z.optional(zLocationResponse),
1425
+ street: z.optional(zLocationResponse),
1426
+ });
1427
+ export const zRecommendationStats = z.object({
1428
+ total: z
1424
1429
  .int()
1425
1430
  .min(-2147483648, {
1426
1431
  error: 'Invalid value: Expected int32 to be >= -2147483648',
1427
1432
  })
1428
1433
  .max(2147483647, {
1429
1434
  error: 'Invalid value: Expected int32 to be <= 2147483647',
1430
- })),
1431
- bedroomsMax: z.optional(z
1435
+ }),
1436
+ liked: z
1432
1437
  .int()
1433
1438
  .min(-2147483648, {
1434
1439
  error: 'Invalid value: Expected int32 to be >= -2147483648',
1435
1440
  })
1436
1441
  .max(2147483647, {
1437
1442
  error: 'Invalid value: Expected int32 to be <= 2147483647',
1438
- })),
1439
- bathroomsMin: z.optional(z
1443
+ }),
1444
+ disliked: z
1440
1445
  .int()
1441
1446
  .min(-2147483648, {
1442
1447
  error: 'Invalid value: Expected int32 to be >= -2147483648',
1443
1448
  })
1444
1449
  .max(2147483647, {
1445
1450
  error: 'Invalid value: Expected int32 to be <= 2147483647',
1446
- })),
1447
- bathroomsMax: z.optional(z
1451
+ }),
1452
+ undecided: z
1448
1453
  .int()
1449
1454
  .min(-2147483648, {
1450
1455
  error: 'Invalid value: Expected int32 to be >= -2147483648',
1451
1456
  })
1452
1457
  .max(2147483647, {
1453
1458
  error: 'Invalid value: Expected int32 to be <= 2147483647',
1454
- })),
1455
- totalAreaMin: z.optional(z.number()),
1456
- totalAreaMax: z.optional(z.number()),
1457
- livingAreaMin: z.optional(z.number()),
1458
- livingAreaMax: z.optional(z.number()),
1459
- region: z.optional(zLocationResponse),
1460
- district: z.optional(zLocationResponse),
1461
- subDistrict: z.optional(zLocationResponse),
1462
- street: z.optional(zLocationResponse),
1463
- active: z.boolean(),
1459
+ }),
1460
+ });
1461
+ export const zInterestResponse = z.object({
1462
+ id: z.coerce
1463
+ .bigint()
1464
+ .min(BigInt('-9223372036854775808'), {
1465
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
1466
+ })
1467
+ .max(BigInt('9223372036854775807'), {
1468
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
1469
+ }),
1470
+ title: z.string(),
1471
+ status: z.enum(['DRAFT', 'SHARED', 'CLOSED']),
1472
+ shareToken: z.uuid(),
1473
+ createdAt: z.iso.datetime(),
1474
+ criteria: zCriteria,
1475
+ recommendations: zRecommendationStats,
1464
1476
  });
1465
1477
  export const zCommentView = z.object({
1466
1478
  id: z.uuid(),
@@ -1643,10 +1655,20 @@ export const zClient360Response = z.object({
1643
1655
  communicationPreference: z.optional(zCommunicationPreferenceResponse),
1644
1656
  isSearching: z.boolean(),
1645
1657
  isListing: z.boolean(),
1646
- priority: z.optional(z.enum(['CRITICAL', 'HIGH', 'MEDIUM', 'LOW'])),
1658
+ priority: z.enum(['CRITICAL', 'HIGH', 'MEDIUM', 'LOW']),
1659
+ status: z.enum([
1660
+ 'NEW',
1661
+ 'ON_HOLD',
1662
+ 'COLD',
1663
+ 'WARM',
1664
+ 'HOT',
1665
+ 'WAITING_PAYMENT',
1666
+ 'LOST',
1667
+ 'WON',
1668
+ ]),
1647
1669
  createdAt: z.iso.datetime(),
1648
1670
  updatedAt: z.iso.datetime(),
1649
- interests: z.array(zConstantInterestResponse),
1671
+ interests: z.array(zInterestResponse),
1650
1672
  properties: z.array(zContactPropertyResponse),
1651
1673
  });
1652
1674
  export const zAssignedAgent = z.object({
@@ -1918,8 +1940,8 @@ export const zPutMeetingsByMeetingIdCancelData = z.object({
1918
1940
  * No Content
1919
1941
  */
1920
1942
  export const zPutMeetingsByMeetingIdCancelResponse = z.void();
1921
- export const zPutContactsByContactIdRecommendationsByRecommendationsIdTitleData = z.object({
1922
- body: zRenameClientRecommendationsRequest,
1943
+ export const zPutContactsByContactIdPropertiesByPropertyIdAgreementData = z.object({
1944
+ body: zAgreementRequest,
1923
1945
  path: z.object({
1924
1946
  contactId: z.coerce
1925
1947
  .bigint()
@@ -1929,16 +1951,19 @@ export const zPutContactsByContactIdRecommendationsByRecommendationsIdTitleData
1929
1951
  .max(BigInt('9223372036854775807'), {
1930
1952
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
1931
1953
  }),
1932
- recommendationsId: z.uuid(),
1954
+ propertyId: z.coerce
1955
+ .bigint()
1956
+ .min(BigInt('-9223372036854775808'), {
1957
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
1958
+ })
1959
+ .max(BigInt('9223372036854775807'), {
1960
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
1961
+ }),
1933
1962
  }),
1934
1963
  query: z.optional(z.never()),
1935
1964
  });
1936
- /**
1937
- * No Content
1938
- */
1939
- export const zPutContactsByContactIdRecommendationsByRecommendationsIdTitleResponse = z.void();
1940
- export const zPutContactsByContactIdPropertiesByPropertyIdAgreementData = z.object({
1941
- body: zAgreementRequest,
1965
+ export const zGetContactsByContactIdInterestsByInterestIdData = z.object({
1966
+ body: z.optional(z.never()),
1942
1967
  path: z.object({
1943
1968
  contactId: z.coerce
1944
1969
  .bigint()
@@ -1948,7 +1973,7 @@ export const zPutContactsByContactIdPropertiesByPropertyIdAgreementData = z.obje
1948
1973
  .max(BigInt('9223372036854775807'), {
1949
1974
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
1950
1975
  }),
1951
- propertyId: z.coerce
1976
+ interestId: z.coerce
1952
1977
  .bigint()
1953
1978
  .min(BigInt('-9223372036854775808'), {
1954
1979
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -1959,6 +1984,10 @@ export const zPutContactsByContactIdPropertiesByPropertyIdAgreementData = z.obje
1959
1984
  }),
1960
1985
  query: z.optional(z.never()),
1961
1986
  });
1987
+ /**
1988
+ * OK
1989
+ */
1990
+ export const zGetContactsByContactIdInterestsByInterestIdResponse = zInterestResponse;
1962
1991
  export const zPutContactsByContactIdInterestsByInterestIdData = z.object({
1963
1992
  body: zCaptureInterestRequest,
1964
1993
  path: z.object({
@@ -2257,10 +2286,10 @@ export const zPostPublicWebhooksMetaData = z.object({
2257
2286
  'X-Hub-Signature-256': z.optional(z.string()),
2258
2287
  })),
2259
2288
  });
2260
- export const zPostPublicRecomendationsByRecommendationsIdItemsByItemIdRateData = z.object({
2289
+ export const zPostPublicRecomendationsByTokenItemsByItemIdRateData = z.object({
2261
2290
  body: zRateRecommendationItemRequest,
2262
2291
  path: z.object({
2263
- recommendationsId: z.uuid(),
2292
+ token: z.uuid(),
2264
2293
  itemId: z.coerce
2265
2294
  .bigint()
2266
2295
  .min(BigInt('-9223372036854775808'), {
@@ -2275,7 +2304,7 @@ export const zPostPublicRecomendationsByRecommendationsIdItemsByItemIdRateData =
2275
2304
  /**
2276
2305
  * No Content
2277
2306
  */
2278
- export const zPostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponse = z.void();
2307
+ export const zPostPublicRecomendationsByTokenItemsByItemIdRateResponse = z.void();
2279
2308
  export const zPostPublicOtpPhoneData = z.object({
2280
2309
  body: zPhoneRequest,
2281
2310
  path: z.optional(z.never()),
@@ -2429,8 +2458,8 @@ export const zPostConversationsByConversationIdMessagesData = z.object({
2429
2458
  * Message persisted and sent
2430
2459
  */
2431
2460
  export const zPostConversationsByConversationIdMessagesResponse = zIdResponseUuid;
2432
- export const zPostContactsByContactIdRecommendationsData = z.object({
2433
- body: zCreateClientRecommendationsRequest,
2461
+ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = z.object({
2462
+ body: z.optional(z.never()),
2434
2463
  path: z.object({
2435
2464
  contactId: z.coerce
2436
2465
  .bigint()
@@ -2440,17 +2469,7 @@ export const zPostContactsByContactIdRecommendationsData = z.object({
2440
2469
  .max(BigInt('9223372036854775807'), {
2441
2470
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2442
2471
  }),
2443
- }),
2444
- query: z.optional(z.never()),
2445
- });
2446
- /**
2447
- * Created
2448
- */
2449
- export const zPostContactsByContactIdRecommendationsResponse = zRecommendationsId;
2450
- export const zPostContactsByContactIdRecommendationsByRecommendationsIdSubmitData = z.object({
2451
- body: z.optional(z.never()),
2452
- path: z.object({
2453
- contactId: z.coerce
2472
+ propertyId: z.coerce
2454
2473
  .bigint()
2455
2474
  .min(BigInt('-9223372036854775808'), {
2456
2475
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -2458,18 +2477,7 @@ export const zPostContactsByContactIdRecommendationsByRecommendationsIdSubmitDat
2458
2477
  .max(BigInt('9223372036854775807'), {
2459
2478
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2460
2479
  }),
2461
- recommendationsId: z.uuid(),
2462
- }),
2463
- query: z.optional(z.never()),
2464
- });
2465
- /**
2466
- * No Content
2467
- */
2468
- export const zPostContactsByContactIdRecommendationsByRecommendationsIdSubmitResponse = z.void();
2469
- export const zPostContactsByContactIdRecommendationsByRecommendationsIdReviseData = z.object({
2470
- body: z.optional(z.never()),
2471
- path: z.object({
2472
- contactId: z.coerce
2480
+ listingId: z.coerce
2473
2481
  .bigint()
2474
2482
  .min(BigInt('-9223372036854775808'), {
2475
2483
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -2477,16 +2485,15 @@ export const zPostContactsByContactIdRecommendationsByRecommendationsIdReviseDat
2477
2485
  .max(BigInt('9223372036854775807'), {
2478
2486
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2479
2487
  }),
2480
- recommendationsId: z.uuid(),
2481
2488
  }),
2482
2489
  query: z.optional(z.never()),
2483
2490
  });
2484
2491
  /**
2485
2492
  * No Content
2486
2493
  */
2487
- export const zPostContactsByContactIdRecommendationsByRecommendationsIdReviseResponse = z.void();
2488
- export const zPostContactsByContactIdRecommendationsByRecommendationsIdItemsData = z.object({
2489
- body: zRecommendListingRequest,
2494
+ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = z.void();
2495
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = z.object({
2496
+ body: zAddDealRequest,
2490
2497
  path: z.object({
2491
2498
  contactId: z.coerce
2492
2499
  .bigint()
@@ -2496,14 +2503,15 @@ export const zPostContactsByContactIdRecommendationsByRecommendationsIdItemsData
2496
2503
  .max(BigInt('9223372036854775807'), {
2497
2504
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2498
2505
  }),
2499
- recommendationsId: z.uuid(),
2500
- }),
2501
- query: z.optional(z.never()),
2502
- });
2503
- export const zPostContactsByContactIdRecommendationsByRecommendationsIdCloseData = z.object({
2504
- body: z.optional(z.never()),
2505
- path: z.object({
2506
- contactId: z.coerce
2506
+ propertyId: z.coerce
2507
+ .bigint()
2508
+ .min(BigInt('-9223372036854775808'), {
2509
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2510
+ })
2511
+ .max(BigInt('9223372036854775807'), {
2512
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2513
+ }),
2514
+ listingId: z.coerce
2507
2515
  .bigint()
2508
2516
  .min(BigInt('-9223372036854775808'), {
2509
2517
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -2511,16 +2519,15 @@ export const zPostContactsByContactIdRecommendationsByRecommendationsIdCloseData
2511
2519
  .max(BigInt('9223372036854775807'), {
2512
2520
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2513
2521
  }),
2514
- recommendationsId: z.uuid(),
2515
2522
  }),
2516
2523
  query: z.optional(z.never()),
2517
2524
  });
2518
2525
  /**
2519
2526
  * No Content
2520
2527
  */
2521
- export const zPostContactsByContactIdRecommendationsByRecommendationsIdCloseResponse = z.void();
2522
- export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = z.object({
2523
- body: z.optional(z.never()),
2528
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = z.void();
2529
+ export const zPostContactsByContactIdInterestsData = z.object({
2530
+ body: zCaptureInterestRequest,
2524
2531
  path: z.object({
2525
2532
  contactId: z.coerce
2526
2533
  .bigint()
@@ -2530,7 +2537,17 @@ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingId
2530
2537
  .max(BigInt('9223372036854775807'), {
2531
2538
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2532
2539
  }),
2533
- propertyId: z.coerce
2540
+ }),
2541
+ query: z.optional(z.never()),
2542
+ });
2543
+ /**
2544
+ * Created
2545
+ */
2546
+ export const zPostContactsByContactIdInterestsResponse = zInterestId;
2547
+ export const zPostContactsByContactIdInterestsByInterestIdShareData = z.object({
2548
+ body: z.optional(z.never()),
2549
+ path: z.object({
2550
+ contactId: z.coerce
2534
2551
  .bigint()
2535
2552
  .min(BigInt('-9223372036854775808'), {
2536
2553
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -2538,7 +2555,7 @@ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingId
2538
2555
  .max(BigInt('9223372036854775807'), {
2539
2556
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2540
2557
  }),
2541
- listingId: z.coerce
2558
+ interestId: z.coerce
2542
2559
  .bigint()
2543
2560
  .min(BigInt('-9223372036854775808'), {
2544
2561
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -2552,9 +2569,9 @@ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingId
2552
2569
  /**
2553
2570
  * No Content
2554
2571
  */
2555
- export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = z.void();
2556
- export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = z.object({
2557
- body: zAddDealRequest,
2572
+ export const zPostContactsByContactIdInterestsByInterestIdShareResponse = z.void();
2573
+ export const zPostContactsByContactIdInterestsByInterestIdReviseData = z.object({
2574
+ body: z.optional(z.never()),
2558
2575
  path: z.object({
2559
2576
  contactId: z.coerce
2560
2577
  .bigint()
@@ -2564,15 +2581,7 @@ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDe
2564
2581
  .max(BigInt('9223372036854775807'), {
2565
2582
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2566
2583
  }),
2567
- propertyId: z.coerce
2568
- .bigint()
2569
- .min(BigInt('-9223372036854775808'), {
2570
- error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2571
- })
2572
- .max(BigInt('9223372036854775807'), {
2573
- error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2574
- }),
2575
- listingId: z.coerce
2584
+ interestId: z.coerce
2576
2585
  .bigint()
2577
2586
  .min(BigInt('-9223372036854775808'), {
2578
2587
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -2586,9 +2595,9 @@ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDe
2586
2595
  /**
2587
2596
  * No Content
2588
2597
  */
2589
- export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = z.void();
2590
- export const zPostContactsByContactIdInterestsData = z.object({
2591
- body: zCaptureInterestRequest,
2598
+ export const zPostContactsByContactIdInterestsByInterestIdReviseResponse = z.void();
2599
+ export const zPostContactsByContactIdInterestsByInterestIdRenameData = z.object({
2600
+ body: zTitleRequest,
2592
2601
  path: z.object({
2593
2602
  contactId: z.coerce
2594
2603
  .bigint()
@@ -2598,15 +2607,23 @@ export const zPostContactsByContactIdInterestsData = z.object({
2598
2607
  .max(BigInt('9223372036854775807'), {
2599
2608
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2600
2609
  }),
2610
+ interestId: z.coerce
2611
+ .bigint()
2612
+ .min(BigInt('-9223372036854775808'), {
2613
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2614
+ })
2615
+ .max(BigInt('9223372036854775807'), {
2616
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2617
+ }),
2601
2618
  }),
2602
2619
  query: z.optional(z.never()),
2603
2620
  });
2604
2621
  /**
2605
- * Created
2622
+ * No Content
2606
2623
  */
2607
- export const zPostContactsByContactIdInterestsResponse = zInterestId;
2608
- export const zPostContactsByContactIdInterestsByInterestIdFulfilledData = z.object({
2609
- body: z.optional(z.never()),
2624
+ export const zPostContactsByContactIdInterestsByInterestIdRenameResponse = z.void();
2625
+ export const zPostContactsByContactIdInterestsByInterestIdItemsData = z.object({
2626
+ body: zRecommendListingRequest,
2610
2627
  path: z.object({
2611
2628
  contactId: z.coerce
2612
2629
  .bigint()
@@ -2627,11 +2644,7 @@ export const zPostContactsByContactIdInterestsByInterestIdFulfilledData = z.obje
2627
2644
  }),
2628
2645
  query: z.optional(z.never()),
2629
2646
  });
2630
- /**
2631
- * No Content
2632
- */
2633
- export const zPostContactsByContactIdInterestsByInterestIdFulfilledResponse = z.void();
2634
- export const zPostContactsByContactIdInterestsByInterestIdCancelledData = z.object({
2647
+ export const zPostContactsByContactIdInterestsByInterestIdCloseData = z.object({
2635
2648
  body: z.optional(z.never()),
2636
2649
  path: z.object({
2637
2650
  contactId: z.coerce
@@ -2656,7 +2669,7 @@ export const zPostContactsByContactIdInterestsByInterestIdCancelledData = z.obje
2656
2669
  /**
2657
2670
  * No Content
2658
2671
  */
2659
- export const zPostContactsByContactIdInterestsByInterestIdCancelledResponse = z.void();
2672
+ export const zPostContactsByContactIdInterestsByInterestIdCloseResponse = z.void();
2660
2673
  export const zDeleteContactsByContactIdCommentsData = z.object({
2661
2674
  body: z.optional(z.never()),
2662
2675
  path: z.object({
@@ -2921,13 +2934,13 @@ export const zGetUserMeData = z.object({
2921
2934
  * OK
2922
2935
  */
2923
2936
  export const zGetUserMeResponse = zUserContextViewResponse;
2924
- export const zGetPublicRecomendationsByRecommendationsIdItemsData = z.object({
2937
+ export const zGetPublicRecomendationsByTokenItemsData = z.object({
2925
2938
  body: z.optional(z.never()),
2926
2939
  path: z.object({
2927
- recommendationsId: z.uuid(),
2940
+ token: z.uuid(),
2928
2941
  }),
2929
2942
  query: z.optional(z.object({
2930
- decision: z.optional(z.enum(['MAYBE', 'DISLIKE', 'LIKE', 'VISIT'])),
2943
+ decision: z.optional(z.enum(['MAYBE', 'DISLIKE', 'LIKE'])),
2931
2944
  page: z.optional(z.int().gte(0)).default(0),
2932
2945
  size: z.optional(z.int().gte(1)).default(20),
2933
2946
  sort: z.optional(z.array(z.string())),
@@ -2936,18 +2949,18 @@ export const zGetPublicRecomendationsByRecommendationsIdItemsData = z.object({
2936
2949
  /**
2937
2950
  * OK
2938
2951
  */
2939
- export const zGetPublicRecomendationsByRecommendationsIdItemsResponse = zRecommendationResponse;
2940
- export const zGetPublicRecomendationsByRecommendationsIdDecisionsData = z.object({
2952
+ export const zGetPublicRecomendationsByTokenItemsResponse = zRecommendationResponse;
2953
+ export const zGetPublicRecomendationsByTokenDecisionsData = z.object({
2941
2954
  body: z.optional(z.never()),
2942
2955
  path: z.object({
2943
- recommendationsId: z.uuid(),
2956
+ token: z.uuid(),
2944
2957
  }),
2945
2958
  query: z.optional(z.never()),
2946
2959
  });
2947
2960
  /**
2948
2961
  * OK
2949
2962
  */
2950
- export const zGetPublicRecomendationsByRecommendationsIdDecisionsResponse = z.array(zRecommendationDecisionResponse);
2963
+ export const zGetPublicRecomendationsByTokenDecisionsResponse = z.array(zRecommendationDecisionResponse);
2951
2964
  export const zGetPublicPermissionsData = z.object({
2952
2965
  body: z.optional(z.never()),
2953
2966
  path: z.optional(z.never()),
@@ -2995,7 +3008,7 @@ export const zGetPublicAgencyData = z.object({
2995
3008
  status: z.optional(z.enum(['NEW', 'ACTIVE', 'PAYMENT_FAILED', 'INACTIVE'])),
2996
3009
  page: z.optional(z.int().gte(0)).default(0),
2997
3010
  size: z.optional(z.int().gte(1)).default(10),
2998
- sort: z.optional(z.array(z.string())).default(['name,ASC']),
3011
+ sort: z.optional(z.array(z.string())).default(['title,ASC']),
2999
3012
  })),
3000
3013
  });
3001
3014
  /**
@@ -3494,31 +3507,7 @@ export const zGetConversationsByConversationIdUpdatesData = z.object({
3494
3507
  * OK
3495
3508
  */
3496
3509
  export const zGetConversationsByConversationIdUpdatesResponse = zThreadUpdates;
3497
- export const zGetContactsByContactIdRecommendationsByRecommendationsIdData = z.object({
3498
- body: z.optional(z.never()),
3499
- path: z.object({
3500
- contactId: z.coerce
3501
- .bigint()
3502
- .min(BigInt('-9223372036854775808'), {
3503
- error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3504
- })
3505
- .max(BigInt('9223372036854775807'), {
3506
- error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3507
- }),
3508
- recommendationsId: z.uuid(),
3509
- }),
3510
- query: z.optional(z.object({
3511
- decision: z.optional(z.enum(['MAYBE', 'DISLIKE', 'LIKE', 'VISIT'])),
3512
- page: z.optional(z.int().gte(0)).default(0),
3513
- size: z.optional(z.int().gte(1)).default(20),
3514
- sort: z.optional(z.array(z.string())),
3515
- })),
3516
- });
3517
- /**
3518
- * OK
3519
- */
3520
- export const zGetContactsByContactIdRecommendationsByRecommendationsIdResponse = zRecommendationResponse;
3521
- export const zGetContactsByContactIdRecommendationsInterestByInterestIdData = z.object({
3510
+ export const zGetContactsByContactIdInterestsByInterestIdRecommendationsData = z.object({
3522
3511
  body: z.optional(z.never()),
3523
3512
  path: z.object({
3524
3513
  contactId: z.coerce
@@ -3539,7 +3528,7 @@ export const zGetContactsByContactIdRecommendationsInterestByInterestIdData = z.
3539
3528
  }),
3540
3529
  }),
3541
3530
  query: z.optional(z.object({
3542
- decision: z.optional(z.enum(['MAYBE', 'DISLIKE', 'LIKE', 'VISIT'])),
3531
+ decision: z.optional(z.enum(['MAYBE', 'DISLIKE', 'LIKE'])),
3543
3532
  page: z.optional(z.int().gte(0)).default(0),
3544
3533
  size: z.optional(z.int().gte(1)).default(20),
3545
3534
  sort: z.optional(z.array(z.string())),
@@ -3548,26 +3537,7 @@ export const zGetContactsByContactIdRecommendationsInterestByInterestIdData = z.
3548
3537
  /**
3549
3538
  * OK
3550
3539
  */
3551
- export const zGetContactsByContactIdRecommendationsInterestByInterestIdResponse = zRecommendationResponse;
3552
- export const zGetContactsByContactIdInterestsRecommendationByRecommendationIdData = z.object({
3553
- body: z.optional(z.never()),
3554
- path: z.object({
3555
- contactId: z.coerce
3556
- .bigint()
3557
- .min(BigInt('-9223372036854775808'), {
3558
- error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3559
- })
3560
- .max(BigInt('9223372036854775807'), {
3561
- error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3562
- }),
3563
- recommendationId: z.uuid(),
3564
- }),
3565
- query: z.optional(z.never()),
3566
- });
3567
- /**
3568
- * OK
3569
- */
3570
- export const zGetContactsByContactIdInterestsRecommendationByRecommendationIdResponse = zConstantInterestResponse;
3540
+ export const zGetContactsByContactIdInterestsByInterestIdRecommendationsResponse = zRecommendationResponse;
3571
3541
  export const zGetContactByContactIdData = z.object({
3572
3542
  body: z.optional(z.never()),
3573
3543
  path: z.object({
@@ -3813,7 +3783,7 @@ export const zDeleteConversationsByConversationIdPresenceData = z.object({
3813
3783
  * No Content
3814
3784
  */
3815
3785
  export const zDeleteConversationsByConversationIdPresenceResponse = z.void();
3816
- export const zDeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdData = z.object({
3786
+ export const zDeleteContactsByContactIdInterestsByInterestIdItemsByItemIdData = z.object({
3817
3787
  body: z.optional(z.never()),
3818
3788
  path: z.object({
3819
3789
  contactId: z.coerce
@@ -3824,7 +3794,14 @@ export const zDeleteContactsByContactIdRecommendationsByRecommendationsIdItemsBy
3824
3794
  .max(BigInt('9223372036854775807'), {
3825
3795
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3826
3796
  }),
3827
- recommendationsId: z.uuid(),
3797
+ interestId: z.coerce
3798
+ .bigint()
3799
+ .min(BigInt('-9223372036854775808'), {
3800
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3801
+ })
3802
+ .max(BigInt('9223372036854775807'), {
3803
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3804
+ }),
3828
3805
  itemId: z.coerce
3829
3806
  .bigint()
3830
3807
  .min(BigInt('-9223372036854775808'), {
@@ -3839,5 +3816,5 @@ export const zDeleteContactsByContactIdRecommendationsByRecommendationsIdItemsBy
3839
3816
  /**
3840
3817
  * No Content
3841
3818
  */
3842
- export const zDeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdResponse = z.void();
3819
+ export const zDeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponse = z.void();
3843
3820
  //# sourceMappingURL=zod.gen.js.map