@homespot-sdk/core 0.0.313 → 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([
@@ -980,7 +958,7 @@ export const zContactAssigned = z.object({
980
958
  'WHATSAPP',
981
959
  'UNKNOWN',
982
960
  ])),
983
- kind: z.enum(['NEW_CONTACT']),
961
+ kind: z.enum(['CONTACT_ASSIGNED']),
984
962
  });
985
963
  export const zNewMessage = z.object({
986
964
  contactId: z.optional(zContactId),
@@ -1322,6 +1300,10 @@ export const zCursorPageInboxResponse = z.object({
1322
1300
  nextCursor: z.optional(z.string()),
1323
1301
  hasNext: z.optional(z.boolean()),
1324
1302
  });
1303
+ export const zImage = z.object({
1304
+ urls: z.optional(z.array(z.string())),
1305
+ kind: z.enum(['IMAGE']),
1306
+ });
1325
1307
  export const zSentBy = z.object({
1326
1308
  memberId: z.optional(z.uuid()),
1327
1309
  firstName: z.optional(z.string()),
@@ -1382,15 +1364,33 @@ export const zCursorPageMessageView = z.object({
1382
1364
  nextCursor: z.optional(z.string()),
1383
1365
  hasNext: z.optional(z.boolean()),
1384
1366
  });
1385
- export const zConstantInterestResponse = z.object({
1386
- id: z.coerce
1387
- .bigint()
1388
- .min(BigInt('-9223372036854775808'), {
1389
- 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',
1390
1380
  })
1391
- .max(BigInt('9223372036854775807'), {
1392
- error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
1393
- }),
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({
1394
1394
  propertyTypes: z.array(z.enum([
1395
1395
  'HOUSE',
1396
1396
  'TOWN_HOUSE',
@@ -1414,49 +1414,65 @@ export const zConstantInterestResponse = z.object({
1414
1414
  'GARAGE',
1415
1415
  ])),
1416
1416
  listingType: z.enum(['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE']),
1417
- priceMin: z.optional(z.number()),
1418
- priceMax: z.optional(z.number()),
1419
- 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
1420
1429
  .int()
1421
1430
  .min(-2147483648, {
1422
1431
  error: 'Invalid value: Expected int32 to be >= -2147483648',
1423
1432
  })
1424
1433
  .max(2147483647, {
1425
1434
  error: 'Invalid value: Expected int32 to be <= 2147483647',
1426
- })),
1427
- bedroomsMax: z.optional(z
1435
+ }),
1436
+ liked: z
1428
1437
  .int()
1429
1438
  .min(-2147483648, {
1430
1439
  error: 'Invalid value: Expected int32 to be >= -2147483648',
1431
1440
  })
1432
1441
  .max(2147483647, {
1433
1442
  error: 'Invalid value: Expected int32 to be <= 2147483647',
1434
- })),
1435
- bathroomsMin: z.optional(z
1443
+ }),
1444
+ disliked: z
1436
1445
  .int()
1437
1446
  .min(-2147483648, {
1438
1447
  error: 'Invalid value: Expected int32 to be >= -2147483648',
1439
1448
  })
1440
1449
  .max(2147483647, {
1441
1450
  error: 'Invalid value: Expected int32 to be <= 2147483647',
1442
- })),
1443
- bathroomsMax: z.optional(z
1451
+ }),
1452
+ undecided: z
1444
1453
  .int()
1445
1454
  .min(-2147483648, {
1446
1455
  error: 'Invalid value: Expected int32 to be >= -2147483648',
1447
1456
  })
1448
1457
  .max(2147483647, {
1449
1458
  error: 'Invalid value: Expected int32 to be <= 2147483647',
1450
- })),
1451
- totalAreaMin: z.optional(z.number()),
1452
- totalAreaMax: z.optional(z.number()),
1453
- livingAreaMin: z.optional(z.number()),
1454
- livingAreaMax: z.optional(z.number()),
1455
- region: z.optional(zLocationResponse),
1456
- district: z.optional(zLocationResponse),
1457
- subDistrict: z.optional(zLocationResponse),
1458
- street: z.optional(zLocationResponse),
1459
- 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,
1460
1476
  });
1461
1477
  export const zCommentView = z.object({
1462
1478
  id: z.uuid(),
@@ -1639,10 +1655,20 @@ export const zClient360Response = z.object({
1639
1655
  communicationPreference: z.optional(zCommunicationPreferenceResponse),
1640
1656
  isSearching: z.boolean(),
1641
1657
  isListing: z.boolean(),
1642
- 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
+ ]),
1643
1669
  createdAt: z.iso.datetime(),
1644
1670
  updatedAt: z.iso.datetime(),
1645
- interests: z.array(zConstantInterestResponse),
1671
+ interests: z.array(zInterestResponse),
1646
1672
  properties: z.array(zContactPropertyResponse),
1647
1673
  });
1648
1674
  export const zAssignedAgent = z.object({
@@ -1914,8 +1940,8 @@ export const zPutMeetingsByMeetingIdCancelData = z.object({
1914
1940
  * No Content
1915
1941
  */
1916
1942
  export const zPutMeetingsByMeetingIdCancelResponse = z.void();
1917
- export const zPutContactsByContactIdRecommendationsByRecommendationsIdTitleData = z.object({
1918
- body: zRenameClientRecommendationsRequest,
1943
+ export const zPutContactsByContactIdPropertiesByPropertyIdAgreementData = z.object({
1944
+ body: zAgreementRequest,
1919
1945
  path: z.object({
1920
1946
  contactId: z.coerce
1921
1947
  .bigint()
@@ -1925,16 +1951,19 @@ export const zPutContactsByContactIdRecommendationsByRecommendationsIdTitleData
1925
1951
  .max(BigInt('9223372036854775807'), {
1926
1952
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
1927
1953
  }),
1928
- 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
+ }),
1929
1962
  }),
1930
1963
  query: z.optional(z.never()),
1931
1964
  });
1932
- /**
1933
- * No Content
1934
- */
1935
- export const zPutContactsByContactIdRecommendationsByRecommendationsIdTitleResponse = z.void();
1936
- export const zPutContactsByContactIdPropertiesByPropertyIdAgreementData = z.object({
1937
- body: zAgreementRequest,
1965
+ export const zGetContactsByContactIdInterestsByInterestIdData = z.object({
1966
+ body: z.optional(z.never()),
1938
1967
  path: z.object({
1939
1968
  contactId: z.coerce
1940
1969
  .bigint()
@@ -1944,7 +1973,7 @@ export const zPutContactsByContactIdPropertiesByPropertyIdAgreementData = z.obje
1944
1973
  .max(BigInt('9223372036854775807'), {
1945
1974
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
1946
1975
  }),
1947
- propertyId: z.coerce
1976
+ interestId: z.coerce
1948
1977
  .bigint()
1949
1978
  .min(BigInt('-9223372036854775808'), {
1950
1979
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -1955,6 +1984,10 @@ export const zPutContactsByContactIdPropertiesByPropertyIdAgreementData = z.obje
1955
1984
  }),
1956
1985
  query: z.optional(z.never()),
1957
1986
  });
1987
+ /**
1988
+ * OK
1989
+ */
1990
+ export const zGetContactsByContactIdInterestsByInterestIdResponse = zInterestResponse;
1958
1991
  export const zPutContactsByContactIdInterestsByInterestIdData = z.object({
1959
1992
  body: zCaptureInterestRequest,
1960
1993
  path: z.object({
@@ -2253,10 +2286,10 @@ export const zPostPublicWebhooksMetaData = z.object({
2253
2286
  'X-Hub-Signature-256': z.optional(z.string()),
2254
2287
  })),
2255
2288
  });
2256
- export const zPostPublicRecomendationsByRecommendationsIdItemsByItemIdRateData = z.object({
2289
+ export const zPostPublicRecomendationsByTokenItemsByItemIdRateData = z.object({
2257
2290
  body: zRateRecommendationItemRequest,
2258
2291
  path: z.object({
2259
- recommendationsId: z.uuid(),
2292
+ token: z.uuid(),
2260
2293
  itemId: z.coerce
2261
2294
  .bigint()
2262
2295
  .min(BigInt('-9223372036854775808'), {
@@ -2271,7 +2304,7 @@ export const zPostPublicRecomendationsByRecommendationsIdItemsByItemIdRateData =
2271
2304
  /**
2272
2305
  * No Content
2273
2306
  */
2274
- export const zPostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponse = z.void();
2307
+ export const zPostPublicRecomendationsByTokenItemsByItemIdRateResponse = z.void();
2275
2308
  export const zPostPublicOtpPhoneData = z.object({
2276
2309
  body: zPhoneRequest,
2277
2310
  path: z.optional(z.never()),
@@ -2425,8 +2458,8 @@ export const zPostConversationsByConversationIdMessagesData = z.object({
2425
2458
  * Message persisted and sent
2426
2459
  */
2427
2460
  export const zPostConversationsByConversationIdMessagesResponse = zIdResponseUuid;
2428
- export const zPostContactsByContactIdRecommendationsData = z.object({
2429
- body: zCreateClientRecommendationsRequest,
2461
+ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = z.object({
2462
+ body: z.optional(z.never()),
2430
2463
  path: z.object({
2431
2464
  contactId: z.coerce
2432
2465
  .bigint()
@@ -2436,17 +2469,7 @@ export const zPostContactsByContactIdRecommendationsData = z.object({
2436
2469
  .max(BigInt('9223372036854775807'), {
2437
2470
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2438
2471
  }),
2439
- }),
2440
- query: z.optional(z.never()),
2441
- });
2442
- /**
2443
- * Created
2444
- */
2445
- export const zPostContactsByContactIdRecommendationsResponse = zRecommendationsId;
2446
- export const zPostContactsByContactIdRecommendationsByRecommendationsIdSubmitData = z.object({
2447
- body: z.optional(z.never()),
2448
- path: z.object({
2449
- contactId: z.coerce
2472
+ propertyId: z.coerce
2450
2473
  .bigint()
2451
2474
  .min(BigInt('-9223372036854775808'), {
2452
2475
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -2454,18 +2477,7 @@ export const zPostContactsByContactIdRecommendationsByRecommendationsIdSubmitDat
2454
2477
  .max(BigInt('9223372036854775807'), {
2455
2478
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2456
2479
  }),
2457
- recommendationsId: z.uuid(),
2458
- }),
2459
- query: z.optional(z.never()),
2460
- });
2461
- /**
2462
- * No Content
2463
- */
2464
- export const zPostContactsByContactIdRecommendationsByRecommendationsIdSubmitResponse = z.void();
2465
- export const zPostContactsByContactIdRecommendationsByRecommendationsIdReviseData = z.object({
2466
- body: z.optional(z.never()),
2467
- path: z.object({
2468
- contactId: z.coerce
2480
+ listingId: z.coerce
2469
2481
  .bigint()
2470
2482
  .min(BigInt('-9223372036854775808'), {
2471
2483
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -2473,16 +2485,15 @@ export const zPostContactsByContactIdRecommendationsByRecommendationsIdReviseDat
2473
2485
  .max(BigInt('9223372036854775807'), {
2474
2486
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2475
2487
  }),
2476
- recommendationsId: z.uuid(),
2477
2488
  }),
2478
2489
  query: z.optional(z.never()),
2479
2490
  });
2480
2491
  /**
2481
2492
  * No Content
2482
2493
  */
2483
- export const zPostContactsByContactIdRecommendationsByRecommendationsIdReviseResponse = z.void();
2484
- export const zPostContactsByContactIdRecommendationsByRecommendationsIdItemsData = z.object({
2485
- body: zRecommendListingRequest,
2494
+ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = z.void();
2495
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = z.object({
2496
+ body: zAddDealRequest,
2486
2497
  path: z.object({
2487
2498
  contactId: z.coerce
2488
2499
  .bigint()
@@ -2492,14 +2503,15 @@ export const zPostContactsByContactIdRecommendationsByRecommendationsIdItemsData
2492
2503
  .max(BigInt('9223372036854775807'), {
2493
2504
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2494
2505
  }),
2495
- recommendationsId: z.uuid(),
2496
- }),
2497
- query: z.optional(z.never()),
2498
- });
2499
- export const zPostContactsByContactIdRecommendationsByRecommendationsIdCloseData = z.object({
2500
- body: z.optional(z.never()),
2501
- path: z.object({
2502
- 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
2503
2515
  .bigint()
2504
2516
  .min(BigInt('-9223372036854775808'), {
2505
2517
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -2507,16 +2519,15 @@ export const zPostContactsByContactIdRecommendationsByRecommendationsIdCloseData
2507
2519
  .max(BigInt('9223372036854775807'), {
2508
2520
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2509
2521
  }),
2510
- recommendationsId: z.uuid(),
2511
2522
  }),
2512
2523
  query: z.optional(z.never()),
2513
2524
  });
2514
2525
  /**
2515
2526
  * No Content
2516
2527
  */
2517
- export const zPostContactsByContactIdRecommendationsByRecommendationsIdCloseResponse = z.void();
2518
- export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = z.object({
2519
- body: z.optional(z.never()),
2528
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = z.void();
2529
+ export const zPostContactsByContactIdInterestsData = z.object({
2530
+ body: zCaptureInterestRequest,
2520
2531
  path: z.object({
2521
2532
  contactId: z.coerce
2522
2533
  .bigint()
@@ -2526,7 +2537,17 @@ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingId
2526
2537
  .max(BigInt('9223372036854775807'), {
2527
2538
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2528
2539
  }),
2529
- 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
2530
2551
  .bigint()
2531
2552
  .min(BigInt('-9223372036854775808'), {
2532
2553
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -2534,7 +2555,7 @@ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingId
2534
2555
  .max(BigInt('9223372036854775807'), {
2535
2556
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2536
2557
  }),
2537
- listingId: z.coerce
2558
+ interestId: z.coerce
2538
2559
  .bigint()
2539
2560
  .min(BigInt('-9223372036854775808'), {
2540
2561
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -2548,9 +2569,9 @@ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingId
2548
2569
  /**
2549
2570
  * No Content
2550
2571
  */
2551
- export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = z.void();
2552
- export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = z.object({
2553
- body: zAddDealRequest,
2572
+ export const zPostContactsByContactIdInterestsByInterestIdShareResponse = z.void();
2573
+ export const zPostContactsByContactIdInterestsByInterestIdReviseData = z.object({
2574
+ body: z.optional(z.never()),
2554
2575
  path: z.object({
2555
2576
  contactId: z.coerce
2556
2577
  .bigint()
@@ -2560,15 +2581,7 @@ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDe
2560
2581
  .max(BigInt('9223372036854775807'), {
2561
2582
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2562
2583
  }),
2563
- propertyId: z.coerce
2564
- .bigint()
2565
- .min(BigInt('-9223372036854775808'), {
2566
- error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2567
- })
2568
- .max(BigInt('9223372036854775807'), {
2569
- error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2570
- }),
2571
- listingId: z.coerce
2584
+ interestId: z.coerce
2572
2585
  .bigint()
2573
2586
  .min(BigInt('-9223372036854775808'), {
2574
2587
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -2582,9 +2595,9 @@ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDe
2582
2595
  /**
2583
2596
  * No Content
2584
2597
  */
2585
- export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = z.void();
2586
- export const zPostContactsByContactIdInterestsData = z.object({
2587
- body: zCaptureInterestRequest,
2598
+ export const zPostContactsByContactIdInterestsByInterestIdReviseResponse = z.void();
2599
+ export const zPostContactsByContactIdInterestsByInterestIdRenameData = z.object({
2600
+ body: zTitleRequest,
2588
2601
  path: z.object({
2589
2602
  contactId: z.coerce
2590
2603
  .bigint()
@@ -2594,15 +2607,23 @@ export const zPostContactsByContactIdInterestsData = z.object({
2594
2607
  .max(BigInt('9223372036854775807'), {
2595
2608
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2596
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
+ }),
2597
2618
  }),
2598
2619
  query: z.optional(z.never()),
2599
2620
  });
2600
2621
  /**
2601
- * Created
2622
+ * No Content
2602
2623
  */
2603
- export const zPostContactsByContactIdInterestsResponse = zInterestId;
2604
- export const zPostContactsByContactIdInterestsByInterestIdFulfilledData = z.object({
2605
- body: z.optional(z.never()),
2624
+ export const zPostContactsByContactIdInterestsByInterestIdRenameResponse = z.void();
2625
+ export const zPostContactsByContactIdInterestsByInterestIdItemsData = z.object({
2626
+ body: zRecommendListingRequest,
2606
2627
  path: z.object({
2607
2628
  contactId: z.coerce
2608
2629
  .bigint()
@@ -2623,11 +2644,7 @@ export const zPostContactsByContactIdInterestsByInterestIdFulfilledData = z.obje
2623
2644
  }),
2624
2645
  query: z.optional(z.never()),
2625
2646
  });
2626
- /**
2627
- * No Content
2628
- */
2629
- export const zPostContactsByContactIdInterestsByInterestIdFulfilledResponse = z.void();
2630
- export const zPostContactsByContactIdInterestsByInterestIdCancelledData = z.object({
2647
+ export const zPostContactsByContactIdInterestsByInterestIdCloseData = z.object({
2631
2648
  body: z.optional(z.never()),
2632
2649
  path: z.object({
2633
2650
  contactId: z.coerce
@@ -2652,7 +2669,7 @@ export const zPostContactsByContactIdInterestsByInterestIdCancelledData = z.obje
2652
2669
  /**
2653
2670
  * No Content
2654
2671
  */
2655
- export const zPostContactsByContactIdInterestsByInterestIdCancelledResponse = z.void();
2672
+ export const zPostContactsByContactIdInterestsByInterestIdCloseResponse = z.void();
2656
2673
  export const zDeleteContactsByContactIdCommentsData = z.object({
2657
2674
  body: z.optional(z.never()),
2658
2675
  path: z.object({
@@ -2917,13 +2934,13 @@ export const zGetUserMeData = z.object({
2917
2934
  * OK
2918
2935
  */
2919
2936
  export const zGetUserMeResponse = zUserContextViewResponse;
2920
- export const zGetPublicRecomendationsByRecommendationsIdItemsData = z.object({
2937
+ export const zGetPublicRecomendationsByTokenItemsData = z.object({
2921
2938
  body: z.optional(z.never()),
2922
2939
  path: z.object({
2923
- recommendationsId: z.uuid(),
2940
+ token: z.uuid(),
2924
2941
  }),
2925
2942
  query: z.optional(z.object({
2926
- decision: z.optional(z.enum(['MAYBE', 'DISLIKE', 'LIKE', 'VISIT'])),
2943
+ decision: z.optional(z.enum(['MAYBE', 'DISLIKE', 'LIKE'])),
2927
2944
  page: z.optional(z.int().gte(0)).default(0),
2928
2945
  size: z.optional(z.int().gte(1)).default(20),
2929
2946
  sort: z.optional(z.array(z.string())),
@@ -2932,18 +2949,18 @@ export const zGetPublicRecomendationsByRecommendationsIdItemsData = z.object({
2932
2949
  /**
2933
2950
  * OK
2934
2951
  */
2935
- export const zGetPublicRecomendationsByRecommendationsIdItemsResponse = zRecommendationResponse;
2936
- export const zGetPublicRecomendationsByRecommendationsIdDecisionsData = z.object({
2952
+ export const zGetPublicRecomendationsByTokenItemsResponse = zRecommendationResponse;
2953
+ export const zGetPublicRecomendationsByTokenDecisionsData = z.object({
2937
2954
  body: z.optional(z.never()),
2938
2955
  path: z.object({
2939
- recommendationsId: z.uuid(),
2956
+ token: z.uuid(),
2940
2957
  }),
2941
2958
  query: z.optional(z.never()),
2942
2959
  });
2943
2960
  /**
2944
2961
  * OK
2945
2962
  */
2946
- export const zGetPublicRecomendationsByRecommendationsIdDecisionsResponse = z.array(zRecommendationDecisionResponse);
2963
+ export const zGetPublicRecomendationsByTokenDecisionsResponse = z.array(zRecommendationDecisionResponse);
2947
2964
  export const zGetPublicPermissionsData = z.object({
2948
2965
  body: z.optional(z.never()),
2949
2966
  path: z.optional(z.never()),
@@ -2991,7 +3008,7 @@ export const zGetPublicAgencyData = z.object({
2991
3008
  status: z.optional(z.enum(['NEW', 'ACTIVE', 'PAYMENT_FAILED', 'INACTIVE'])),
2992
3009
  page: z.optional(z.int().gte(0)).default(0),
2993
3010
  size: z.optional(z.int().gte(1)).default(10),
2994
- sort: z.optional(z.array(z.string())).default(['name,ASC']),
3011
+ sort: z.optional(z.array(z.string())).default(['title,ASC']),
2995
3012
  })),
2996
3013
  });
2997
3014
  /**
@@ -3294,6 +3311,7 @@ export const zGetListingGroupsData = z.object({
3294
3311
  'ASSIGNED_TO',
3295
3312
  'CONTACT',
3296
3313
  'REGION',
3314
+ 'DISTRICT',
3297
3315
  'PLATFORM',
3298
3316
  'BOOST_TIER',
3299
3317
  'CREATED_AT_DAY',
@@ -3489,31 +3507,7 @@ export const zGetConversationsByConversationIdUpdatesData = z.object({
3489
3507
  * OK
3490
3508
  */
3491
3509
  export const zGetConversationsByConversationIdUpdatesResponse = zThreadUpdates;
3492
- export const zGetContactsByContactIdRecommendationsByRecommendationsIdData = z.object({
3493
- body: z.optional(z.never()),
3494
- path: z.object({
3495
- contactId: z.coerce
3496
- .bigint()
3497
- .min(BigInt('-9223372036854775808'), {
3498
- error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3499
- })
3500
- .max(BigInt('9223372036854775807'), {
3501
- error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3502
- }),
3503
- recommendationsId: z.uuid(),
3504
- }),
3505
- query: z.optional(z.object({
3506
- decision: z.optional(z.enum(['MAYBE', 'DISLIKE', 'LIKE', 'VISIT'])),
3507
- page: z.optional(z.int().gte(0)).default(0),
3508
- size: z.optional(z.int().gte(1)).default(20),
3509
- sort: z.optional(z.array(z.string())),
3510
- })),
3511
- });
3512
- /**
3513
- * OK
3514
- */
3515
- export const zGetContactsByContactIdRecommendationsByRecommendationsIdResponse = zRecommendationResponse;
3516
- export const zGetContactsByContactIdRecommendationsInterestByInterestIdData = z.object({
3510
+ export const zGetContactsByContactIdInterestsByInterestIdRecommendationsData = z.object({
3517
3511
  body: z.optional(z.never()),
3518
3512
  path: z.object({
3519
3513
  contactId: z.coerce
@@ -3534,7 +3528,7 @@ export const zGetContactsByContactIdRecommendationsInterestByInterestIdData = z.
3534
3528
  }),
3535
3529
  }),
3536
3530
  query: z.optional(z.object({
3537
- decision: z.optional(z.enum(['MAYBE', 'DISLIKE', 'LIKE', 'VISIT'])),
3531
+ decision: z.optional(z.enum(['MAYBE', 'DISLIKE', 'LIKE'])),
3538
3532
  page: z.optional(z.int().gte(0)).default(0),
3539
3533
  size: z.optional(z.int().gte(1)).default(20),
3540
3534
  sort: z.optional(z.array(z.string())),
@@ -3543,26 +3537,7 @@ export const zGetContactsByContactIdRecommendationsInterestByInterestIdData = z.
3543
3537
  /**
3544
3538
  * OK
3545
3539
  */
3546
- export const zGetContactsByContactIdRecommendationsInterestByInterestIdResponse = zRecommendationResponse;
3547
- export const zGetContactsByContactIdInterestsRecommendationByRecommendationIdData = z.object({
3548
- body: z.optional(z.never()),
3549
- path: z.object({
3550
- contactId: z.coerce
3551
- .bigint()
3552
- .min(BigInt('-9223372036854775808'), {
3553
- error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3554
- })
3555
- .max(BigInt('9223372036854775807'), {
3556
- error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3557
- }),
3558
- recommendationId: z.uuid(),
3559
- }),
3560
- query: z.optional(z.never()),
3561
- });
3562
- /**
3563
- * OK
3564
- */
3565
- export const zGetContactsByContactIdInterestsRecommendationByRecommendationIdResponse = zConstantInterestResponse;
3540
+ export const zGetContactsByContactIdInterestsByInterestIdRecommendationsResponse = zRecommendationResponse;
3566
3541
  export const zGetContactByContactIdData = z.object({
3567
3542
  body: z.optional(z.never()),
3568
3543
  path: z.object({
@@ -3808,7 +3783,7 @@ export const zDeleteConversationsByConversationIdPresenceData = z.object({
3808
3783
  * No Content
3809
3784
  */
3810
3785
  export const zDeleteConversationsByConversationIdPresenceResponse = z.void();
3811
- export const zDeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdData = z.object({
3786
+ export const zDeleteContactsByContactIdInterestsByInterestIdItemsByItemIdData = z.object({
3812
3787
  body: z.optional(z.never()),
3813
3788
  path: z.object({
3814
3789
  contactId: z.coerce
@@ -3819,7 +3794,14 @@ export const zDeleteContactsByContactIdRecommendationsByRecommendationsIdItemsBy
3819
3794
  .max(BigInt('9223372036854775807'), {
3820
3795
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3821
3796
  }),
3822
- 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
+ }),
3823
3805
  itemId: z.coerce
3824
3806
  .bigint()
3825
3807
  .min(BigInt('-9223372036854775808'), {
@@ -3834,5 +3816,5 @@ export const zDeleteContactsByContactIdRecommendationsByRecommendationsIdItemsBy
3834
3816
  /**
3835
3817
  * No Content
3836
3818
  */
3837
- export const zDeleteContactsByContactIdRecommendationsByRecommendationsIdItemsByItemIdResponse = z.void();
3819
+ export const zDeleteContactsByContactIdInterestsByInterestIdItemsByItemIdResponse = z.void();
3838
3820
  //# sourceMappingURL=zod.gen.js.map