@homespot-sdk/core 0.0.322 → 0.0.324

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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()),
@@ -204,6 +207,13 @@ export const zCaptureInterestRequest = z.object({
204
207
  livingAreaMax: z.optional(z.number()),
205
208
  location: z.optional(zLocationTargetRequest),
206
209
  });
210
+ export const zTitleRequest = z.object({
211
+ title: z.string().min(1).max(50),
212
+ });
213
+ export const zRecommendListingRequest = z.object({
214
+ externalPropertyId: z.uuid(),
215
+ externalListingId: z.uuid(),
216
+ });
207
217
  export const zCommentBodyRequest = z.object({
208
218
  body: z.string().min(0).max(4000),
209
219
  });
@@ -322,6 +332,27 @@ export const zTransferFundsRequest = z.object({
322
332
  export const zDepositFundsRequest = z.object({
323
333
  amount: z.number(),
324
334
  });
335
+ export const zSubscriptionAddressRequest = z.object({
336
+ country: z.string().min(0).max(100),
337
+ city: z.string().min(0).max(100),
338
+ district: z.string().min(0).max(100),
339
+ subdistrict: z.string().min(0).max(100),
340
+ street: z.string().min(0).max(255),
341
+ });
342
+ export const zSubscribeRequest = z.object({
343
+ plan: z.enum(['STARTER', 'PRO', 'ENTERPRISE']),
344
+ billingCycle: z.enum(['MONTHLY', 'ANNUAL']),
345
+ name: z.string(),
346
+ email: z.email(),
347
+ phone: z.string(),
348
+ subdomain: z.string(),
349
+ address: zSubscriptionAddressRequest,
350
+ });
351
+ export const zSubscriptionCheckoutResponse = z.object({
352
+ checkoutUrl: z.optional(z.string()),
353
+ agencyId: z.optional(z.uuid()),
354
+ subscriptionId: z.optional(z.uuid()),
355
+ });
325
356
  export const zIdResponseInteger = z.object({
326
357
  id: z
327
358
  .int()
@@ -476,6 +507,10 @@ export const zProblemDetail = z.object({
476
507
  export const zIdResponseUuid = z.object({
477
508
  id: z.uuid(),
478
509
  });
510
+ export const zCreateListingRequest = z.object({
511
+ listingType: z.enum(['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE']),
512
+ askingPrice: z.number(),
513
+ });
479
514
  export const zAddDealRequest = z.object({
480
515
  listingId: z.coerce
481
516
  .bigint()
@@ -495,6 +530,18 @@ export const zAddDealRequest = z.object({
495
530
  amount: z.optional(z.number()),
496
531
  factor: z.optional(z.number()),
497
532
  });
533
+ export const zCloseListingRequest = z.object({
534
+ withdrawExternal: z.optional(z.boolean()),
535
+ });
536
+ export const zClosePropertyRequest = z.object({
537
+ reason: z.enum([
538
+ 'DEAL_CLOSED',
539
+ 'OWNER_WITHDREW',
540
+ 'MANDATE_EXPIRED',
541
+ 'OTHER',
542
+ ]),
543
+ withdrawExternal: z.optional(z.boolean()),
544
+ });
498
545
  export const zInterestId = z.object({
499
546
  value: z.optional(z.coerce
500
547
  .bigint()
@@ -505,13 +552,6 @@ export const zInterestId = z.object({
505
552
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
506
553
  })),
507
554
  });
508
- export const zTitleRequest = z.object({
509
- title: z.string().min(1).max(50),
510
- });
511
- export const zRecommendListingRequest = z.object({
512
- externalPropertyId: z.uuid(),
513
- externalListingId: z.uuid(),
514
- });
515
555
  export const zOnboardClientRequest = z.object({
516
556
  title: z.optional(z.string()),
517
557
  contactInfo: zContactInfoRequest,
@@ -597,6 +637,7 @@ export const zOrganizationSummaryViewResponse = z.object({
597
637
  'PROPERTY_READ_ALL',
598
638
  ])),
599
639
  status: z.enum(['NEW', 'ACTIVE', 'PAYMENT_FAILED', 'INACTIVE']),
640
+ phone: z.string(),
600
641
  isPhoneVerified: z.boolean(),
601
642
  });
602
643
  export const zUserSummaryViewResponse = z.object({
@@ -1085,7 +1126,7 @@ export const zRecommendationResponse = z.object({
1085
1126
  shareToken: z.uuid(),
1086
1127
  title: z.string(),
1087
1128
  createdAt: z.iso.datetime(),
1088
- status: z.enum(['DRAFT', 'SHARED', 'CLOSED']),
1129
+ status: z.enum(['UNPUBLISHED', 'PUBLISHED', 'CLOSED']),
1089
1130
  recommendations: zPagedModelRecommendationsCardView,
1090
1131
  });
1091
1132
  export const zRecommendationDecisionResponse = z.object({
@@ -1804,7 +1845,7 @@ export const zInterestResponse = z.object({
1804
1845
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
1805
1846
  }),
1806
1847
  title: z.string(),
1807
- status: z.enum(['DRAFT', 'SHARED', 'CLOSED']),
1848
+ status: z.enum(['UNPUBLISHED', 'PUBLISHED', 'CLOSED']),
1808
1849
  shareToken: z.uuid(),
1809
1850
  createdAt: z.iso.datetime(),
1810
1851
  criteria: zCriteria,
@@ -1879,6 +1920,10 @@ export const zPagedModelContactGridResponse = z.object({
1879
1920
  content: z.optional(z.array(zContactGridResponse)),
1880
1921
  page: z.optional(zPageMetadata),
1881
1922
  });
1923
+ export const zActiveItemsResult = z.object({
1924
+ propertyIds: z.optional(z.array(zPropertyId)),
1925
+ interestIds: z.optional(z.array(zInterestId)),
1926
+ });
1882
1927
  export const zAgreementResponse = z.object({
1883
1928
  agreement: z.enum(['EXCLUSIVE', 'NON_EXCLUSIVE']),
1884
1929
  expiryDate: z.optional(z.iso.date()),
@@ -2276,6 +2321,40 @@ export const zPutMeetingsByMeetingIdCancelData = z.object({
2276
2321
  * No Content
2277
2322
  */
2278
2323
  export const zPutMeetingsByMeetingIdCancelResponse = z.void();
2324
+ export const zPutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceData = z.object({
2325
+ body: zUpdateListingPriceRequest,
2326
+ path: z.object({
2327
+ contactId: z.coerce
2328
+ .bigint()
2329
+ .min(BigInt('-9223372036854775808'), {
2330
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2331
+ })
2332
+ .max(BigInt('9223372036854775807'), {
2333
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2334
+ }),
2335
+ propertyId: z.coerce
2336
+ .bigint()
2337
+ .min(BigInt('-9223372036854775808'), {
2338
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2339
+ })
2340
+ .max(BigInt('9223372036854775807'), {
2341
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2342
+ }),
2343
+ listingId: z.coerce
2344
+ .bigint()
2345
+ .min(BigInt('-9223372036854775808'), {
2346
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2347
+ })
2348
+ .max(BigInt('9223372036854775807'), {
2349
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2350
+ }),
2351
+ }),
2352
+ query: z.optional(z.never()),
2353
+ });
2354
+ /**
2355
+ * No Content
2356
+ */
2357
+ export const zPutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceResponse = z.void();
2279
2358
  export const zPutContactsByContactIdPropertiesByPropertyIdAgreementData = z.object({
2280
2359
  body: zAgreementRequest,
2281
2360
  path: z.object({
@@ -2298,6 +2377,32 @@ export const zPutContactsByContactIdPropertiesByPropertyIdAgreementData = z.obje
2298
2377
  }),
2299
2378
  query: z.optional(z.never()),
2300
2379
  });
2380
+ export const zDeleteContactsByContactIdInterestsByInterestIdData = z.object({
2381
+ body: z.optional(z.never()),
2382
+ path: z.object({
2383
+ contactId: z.coerce
2384
+ .bigint()
2385
+ .min(BigInt('-9223372036854775808'), {
2386
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2387
+ })
2388
+ .max(BigInt('9223372036854775807'), {
2389
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2390
+ }),
2391
+ interestId: z.coerce
2392
+ .bigint()
2393
+ .min(BigInt('-9223372036854775808'), {
2394
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2395
+ })
2396
+ .max(BigInt('9223372036854775807'), {
2397
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2398
+ }),
2399
+ }),
2400
+ query: z.optional(z.never()),
2401
+ });
2402
+ /**
2403
+ * No Content
2404
+ */
2405
+ export const zDeleteContactsByContactIdInterestsByInterestIdResponse = z.void();
2301
2406
  export const zGetContactsByContactIdInterestsByInterestIdData = z.object({
2302
2407
  body: z.optional(z.never()),
2303
2408
  path: z.object({
@@ -2350,6 +2455,158 @@ export const zPutContactsByContactIdInterestsByInterestIdData = z.object({
2350
2455
  * No Content
2351
2456
  */
2352
2457
  export const zPutContactsByContactIdInterestsByInterestIdResponse = z.void();
2458
+ export const zPutContactsByContactIdInterestsByInterestIdUnpublishData = z.object({
2459
+ body: z.optional(z.never()),
2460
+ path: z.object({
2461
+ contactId: z.coerce
2462
+ .bigint()
2463
+ .min(BigInt('-9223372036854775808'), {
2464
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2465
+ })
2466
+ .max(BigInt('9223372036854775807'), {
2467
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2468
+ }),
2469
+ interestId: z.coerce
2470
+ .bigint()
2471
+ .min(BigInt('-9223372036854775808'), {
2472
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2473
+ })
2474
+ .max(BigInt('9223372036854775807'), {
2475
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2476
+ }),
2477
+ }),
2478
+ query: z.optional(z.never()),
2479
+ });
2480
+ /**
2481
+ * No Content
2482
+ */
2483
+ export const zPutContactsByContactIdInterestsByInterestIdUnpublishResponse = z.void();
2484
+ export const zPutContactsByContactIdInterestsByInterestIdReopenData = z.object({
2485
+ body: z.optional(z.never()),
2486
+ path: z.object({
2487
+ contactId: z.coerce
2488
+ .bigint()
2489
+ .min(BigInt('-9223372036854775808'), {
2490
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2491
+ })
2492
+ .max(BigInt('9223372036854775807'), {
2493
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2494
+ }),
2495
+ interestId: z.coerce
2496
+ .bigint()
2497
+ .min(BigInt('-9223372036854775808'), {
2498
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2499
+ })
2500
+ .max(BigInt('9223372036854775807'), {
2501
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2502
+ }),
2503
+ }),
2504
+ query: z.optional(z.never()),
2505
+ });
2506
+ /**
2507
+ * No Content
2508
+ */
2509
+ export const zPutContactsByContactIdInterestsByInterestIdReopenResponse = z.void();
2510
+ export const zPutContactsByContactIdInterestsByInterestIdRenameData = z.object({
2511
+ body: zTitleRequest,
2512
+ path: z.object({
2513
+ contactId: z.coerce
2514
+ .bigint()
2515
+ .min(BigInt('-9223372036854775808'), {
2516
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2517
+ })
2518
+ .max(BigInt('9223372036854775807'), {
2519
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2520
+ }),
2521
+ interestId: z.coerce
2522
+ .bigint()
2523
+ .min(BigInt('-9223372036854775808'), {
2524
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2525
+ })
2526
+ .max(BigInt('9223372036854775807'), {
2527
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2528
+ }),
2529
+ }),
2530
+ query: z.optional(z.never()),
2531
+ });
2532
+ /**
2533
+ * No Content
2534
+ */
2535
+ export const zPutContactsByContactIdInterestsByInterestIdRenameResponse = z.void();
2536
+ export const zPutContactsByContactIdInterestsByInterestIdPublishData = z.object({
2537
+ body: z.optional(z.never()),
2538
+ path: z.object({
2539
+ contactId: z.coerce
2540
+ .bigint()
2541
+ .min(BigInt('-9223372036854775808'), {
2542
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2543
+ })
2544
+ .max(BigInt('9223372036854775807'), {
2545
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2546
+ }),
2547
+ interestId: z.coerce
2548
+ .bigint()
2549
+ .min(BigInt('-9223372036854775808'), {
2550
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2551
+ })
2552
+ .max(BigInt('9223372036854775807'), {
2553
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2554
+ }),
2555
+ }),
2556
+ query: z.optional(z.never()),
2557
+ });
2558
+ /**
2559
+ * No Content
2560
+ */
2561
+ export const zPutContactsByContactIdInterestsByInterestIdPublishResponse = z.void();
2562
+ export const zPutContactsByContactIdInterestsByInterestIdItemsData = z.object({
2563
+ body: zRecommendListingRequest,
2564
+ path: z.object({
2565
+ contactId: z.coerce
2566
+ .bigint()
2567
+ .min(BigInt('-9223372036854775808'), {
2568
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2569
+ })
2570
+ .max(BigInt('9223372036854775807'), {
2571
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2572
+ }),
2573
+ interestId: z.coerce
2574
+ .bigint()
2575
+ .min(BigInt('-9223372036854775808'), {
2576
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2577
+ })
2578
+ .max(BigInt('9223372036854775807'), {
2579
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2580
+ }),
2581
+ }),
2582
+ query: z.optional(z.never()),
2583
+ });
2584
+ export const zPutContactsByContactIdInterestsByInterestIdCloseData = z.object({
2585
+ body: z.optional(z.never()),
2586
+ path: z.object({
2587
+ contactId: z.coerce
2588
+ .bigint()
2589
+ .min(BigInt('-9223372036854775808'), {
2590
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2591
+ })
2592
+ .max(BigInt('9223372036854775807'), {
2593
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2594
+ }),
2595
+ interestId: z.coerce
2596
+ .bigint()
2597
+ .min(BigInt('-9223372036854775808'), {
2598
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
2599
+ })
2600
+ .max(BigInt('9223372036854775807'), {
2601
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2602
+ }),
2603
+ }),
2604
+ query: z.optional(z.never()),
2605
+ });
2606
+ /**
2607
+ * No Content
2608
+ */
2609
+ export const zPutContactsByContactIdInterestsByInterestIdCloseResponse = z.void();
2353
2610
  export const zDeleteContactsByContactIdCommentsByCommentIdData = z.object({
2354
2611
  body: z.optional(z.never()),
2355
2612
  path: z.object({
@@ -2416,6 +2673,24 @@ export const zPutContactByContactIdUpdateContactDetailsData = z.object({
2416
2673
  * No Content
2417
2674
  */
2418
2675
  export const zPutContactByContactIdUpdateContactDetailsResponse = z.void();
2676
+ export const zPutContactByContactIdReopenData = z.object({
2677
+ body: z.optional(z.never()),
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
+ }),
2688
+ query: z.optional(z.never()),
2689
+ });
2690
+ /**
2691
+ * No Content
2692
+ */
2693
+ export const zPutContactByContactIdReopenResponse = z.void();
2419
2694
  export const zPutContactByContactIdLostData = z.object({
2420
2695
  body: zRecordLostContactRequest,
2421
2696
  path: z.object({
@@ -2588,6 +2863,24 @@ export const zPostWalletDepositData = z.object({
2588
2863
  * No Content
2589
2864
  */
2590
2865
  export const zPostWalletDepositResponse = z.void();
2866
+ export const zDeleteSubscriptionsData = z.object({
2867
+ body: z.optional(z.never()),
2868
+ path: z.optional(z.never()),
2869
+ query: z.optional(z.never()),
2870
+ });
2871
+ /**
2872
+ * No Content
2873
+ */
2874
+ export const zDeleteSubscriptionsResponse = z.void();
2875
+ export const zPostSubscriptionsData = z.object({
2876
+ body: zSubscribeRequest,
2877
+ path: z.optional(z.never()),
2878
+ query: z.optional(z.never()),
2879
+ });
2880
+ /**
2881
+ * Created
2882
+ */
2883
+ export const zPostSubscriptionsResponse = zSubscriptionCheckoutResponse;
2591
2884
  export const zGetRolesData = z.object({
2592
2885
  body: z.optional(z.never()),
2593
2886
  path: z.optional(z.never()),
@@ -2673,6 +2966,11 @@ export const zPostPublicWebhooksMetaFbData = z.object({
2673
2966
  'X-Hub-Signature-256': z.optional(z.string()),
2674
2967
  })),
2675
2968
  });
2969
+ export const zPostPublicWebhooksFlittData = z.object({
2970
+ body: z.record(z.string(), z.unknown()),
2971
+ path: z.optional(z.never()),
2972
+ query: z.optional(z.never()),
2973
+ });
2676
2974
  export const zPostPublicRecomendationsByTokenItemsByItemIdRateData = z.object({
2677
2975
  body: zRateRecommendationItemRequest,
2678
2976
  path: z.object({
@@ -2874,7 +3172,7 @@ export const zPostConversationsByConversationIdMessagesData = z.object({
2874
3172
  * Message persisted and sent
2875
3173
  */
2876
3174
  export const zPostConversationsByConversationIdMessagesResponse = zIdResponseUuid;
2877
- export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = z.object({
3175
+ export const zPostContactsByContactIdPropertiesByPropertyIdReopenData = z.object({
2878
3176
  body: z.optional(z.never()),
2879
3177
  path: z.object({
2880
3178
  contactId: z.coerce
@@ -2893,7 +3191,25 @@ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingId
2893
3191
  .max(BigInt('9223372036854775807'), {
2894
3192
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2895
3193
  }),
2896
- listingId: z.coerce
3194
+ }),
3195
+ query: z.optional(z.never()),
3196
+ });
3197
+ /**
3198
+ * No Content
3199
+ */
3200
+ export const zPostContactsByContactIdPropertiesByPropertyIdReopenResponse = z.void();
3201
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsData = z.object({
3202
+ body: zCreateListingRequest,
3203
+ path: z.object({
3204
+ contactId: z.coerce
3205
+ .bigint()
3206
+ .min(BigInt('-9223372036854775808'), {
3207
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3208
+ })
3209
+ .max(BigInt('9223372036854775807'), {
3210
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3211
+ }),
3212
+ propertyId: z.coerce
2897
3213
  .bigint()
2898
3214
  .min(BigInt('-9223372036854775808'), {
2899
3215
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -2905,11 +3221,11 @@ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingId
2905
3221
  query: z.optional(z.never()),
2906
3222
  });
2907
3223
  /**
2908
- * No Content
3224
+ * Created
2909
3225
  */
2910
- export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = z.void();
2911
- export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = z.object({
2912
- body: zAddDealRequest,
3226
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsResponse = zIdResponseUuid;
3227
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenData = z.object({
3228
+ body: z.optional(z.never()),
2913
3229
  path: z.object({
2914
3230
  contactId: z.coerce
2915
3231
  .bigint()
@@ -2941,9 +3257,9 @@ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDe
2941
3257
  /**
2942
3258
  * No Content
2943
3259
  */
2944
- export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = z.void();
2945
- export const zPostContactsByContactIdInterestsData = z.object({
2946
- body: zCaptureInterestRequest,
3260
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdReopenResponse = z.void();
3261
+ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = z.object({
3262
+ body: z.optional(z.never()),
2947
3263
  path: z.object({
2948
3264
  contactId: z.coerce
2949
3265
  .bigint()
@@ -2953,17 +3269,7 @@ export const zPostContactsByContactIdInterestsData = z.object({
2953
3269
  .max(BigInt('9223372036854775807'), {
2954
3270
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2955
3271
  }),
2956
- }),
2957
- query: z.optional(z.never()),
2958
- });
2959
- /**
2960
- * Created
2961
- */
2962
- export const zPostContactsByContactIdInterestsResponse = zInterestId;
2963
- export const zPostContactsByContactIdInterestsByInterestIdShareData = z.object({
2964
- body: z.optional(z.never()),
2965
- path: z.object({
2966
- contactId: z.coerce
3272
+ propertyId: z.coerce
2967
3273
  .bigint()
2968
3274
  .min(BigInt('-9223372036854775808'), {
2969
3275
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -2971,7 +3277,7 @@ export const zPostContactsByContactIdInterestsByInterestIdShareData = z.object({
2971
3277
  .max(BigInt('9223372036854775807'), {
2972
3278
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2973
3279
  }),
2974
- interestId: z.coerce
3280
+ listingId: z.coerce
2975
3281
  .bigint()
2976
3282
  .min(BigInt('-9223372036854775808'), {
2977
3283
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -2985,9 +3291,9 @@ export const zPostContactsByContactIdInterestsByInterestIdShareData = z.object({
2985
3291
  /**
2986
3292
  * No Content
2987
3293
  */
2988
- export const zPostContactsByContactIdInterestsByInterestIdShareResponse = z.void();
2989
- export const zPostContactsByContactIdInterestsByInterestIdReviseData = z.object({
2990
- body: z.optional(z.never()),
3294
+ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = z.void();
3295
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealData = z.object({
3296
+ body: zAddDealRequest,
2991
3297
  path: z.object({
2992
3298
  contactId: z.coerce
2993
3299
  .bigint()
@@ -2997,7 +3303,15 @@ export const zPostContactsByContactIdInterestsByInterestIdReviseData = z.object(
2997
3303
  .max(BigInt('9223372036854775807'), {
2998
3304
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
2999
3305
  }),
3000
- interestId: z.coerce
3306
+ propertyId: z.coerce
3307
+ .bigint()
3308
+ .min(BigInt('-9223372036854775808'), {
3309
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3310
+ })
3311
+ .max(BigInt('9223372036854775807'), {
3312
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3313
+ }),
3314
+ listingId: z.coerce
3001
3315
  .bigint()
3002
3316
  .min(BigInt('-9223372036854775808'), {
3003
3317
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -3011,9 +3325,9 @@ export const zPostContactsByContactIdInterestsByInterestIdReviseData = z.object(
3011
3325
  /**
3012
3326
  * No Content
3013
3327
  */
3014
- export const zPostContactsByContactIdInterestsByInterestIdReviseResponse = z.void();
3015
- export const zPostContactsByContactIdInterestsByInterestIdRenameData = z.object({
3016
- body: zTitleRequest,
3328
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdDealResponse = z.void();
3329
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseData = z.object({
3330
+ body: zCloseListingRequest,
3017
3331
  path: z.object({
3018
3332
  contactId: z.coerce
3019
3333
  .bigint()
@@ -3023,7 +3337,15 @@ export const zPostContactsByContactIdInterestsByInterestIdRenameData = z.object(
3023
3337
  .max(BigInt('9223372036854775807'), {
3024
3338
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3025
3339
  }),
3026
- interestId: z.coerce
3340
+ propertyId: z.coerce
3341
+ .bigint()
3342
+ .min(BigInt('-9223372036854775808'), {
3343
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3344
+ })
3345
+ .max(BigInt('9223372036854775807'), {
3346
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3347
+ }),
3348
+ listingId: z.coerce
3027
3349
  .bigint()
3028
3350
  .min(BigInt('-9223372036854775808'), {
3029
3351
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -3037,9 +3359,9 @@ export const zPostContactsByContactIdInterestsByInterestIdRenameData = z.object(
3037
3359
  /**
3038
3360
  * No Content
3039
3361
  */
3040
- export const zPostContactsByContactIdInterestsByInterestIdRenameResponse = z.void();
3041
- export const zPostContactsByContactIdInterestsByInterestIdItemsData = z.object({
3042
- body: zRecommendListingRequest,
3362
+ export const zPostContactsByContactIdPropertiesByPropertyIdListingsByListingIdCloseResponse = z.void();
3363
+ export const zPostContactsByContactIdPropertiesByPropertyIdCloseData = z.object({
3364
+ body: zClosePropertyRequest,
3043
3365
  path: z.object({
3044
3366
  contactId: z.coerce
3045
3367
  .bigint()
@@ -3049,7 +3371,7 @@ export const zPostContactsByContactIdInterestsByInterestIdItemsData = z.object({
3049
3371
  .max(BigInt('9223372036854775807'), {
3050
3372
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3051
3373
  }),
3052
- interestId: z.coerce
3374
+ propertyId: z.coerce
3053
3375
  .bigint()
3054
3376
  .min(BigInt('-9223372036854775808'), {
3055
3377
  error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
@@ -3060,8 +3382,12 @@ export const zPostContactsByContactIdInterestsByInterestIdItemsData = z.object({
3060
3382
  }),
3061
3383
  query: z.optional(z.never()),
3062
3384
  });
3063
- export const zPostContactsByContactIdInterestsByInterestIdCloseData = z.object({
3064
- body: z.optional(z.never()),
3385
+ /**
3386
+ * No Content
3387
+ */
3388
+ export const zPostContactsByContactIdPropertiesByPropertyIdCloseResponse = z.void();
3389
+ export const zPostContactsByContactIdInterestsData = z.object({
3390
+ body: zCaptureInterestRequest,
3065
3391
  path: z.object({
3066
3392
  contactId: z.coerce
3067
3393
  .bigint()
@@ -3071,21 +3397,13 @@ export const zPostContactsByContactIdInterestsByInterestIdCloseData = z.object({
3071
3397
  .max(BigInt('9223372036854775807'), {
3072
3398
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3073
3399
  }),
3074
- interestId: z.coerce
3075
- .bigint()
3076
- .min(BigInt('-9223372036854775808'), {
3077
- error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
3078
- })
3079
- .max(BigInt('9223372036854775807'), {
3080
- error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
3081
- }),
3082
3400
  }),
3083
3401
  query: z.optional(z.never()),
3084
3402
  });
3085
3403
  /**
3086
- * No Content
3404
+ * Created
3087
3405
  */
3088
- export const zPostContactsByContactIdInterestsByInterestIdCloseResponse = z.void();
3406
+ export const zPostContactsByContactIdInterestsResponse = zInterestId;
3089
3407
  export const zDeleteContactsByContactIdCommentsData = z.object({
3090
3408
  body: z.optional(z.never()),
3091
3409
  path: z.object({
@@ -4061,6 +4379,24 @@ export const zGetContactByContactIdData = z.object({
4061
4379
  * OK
4062
4380
  */
4063
4381
  export const zGetContactByContactIdResponse = zContactGridResponse;
4382
+ export const zGetContactByContactIdOpenItemsData = z.object({
4383
+ body: z.optional(z.never()),
4384
+ path: z.object({
4385
+ contactId: z.coerce
4386
+ .bigint()
4387
+ .min(BigInt('-9223372036854775808'), {
4388
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
4389
+ })
4390
+ .max(BigInt('9223372036854775807'), {
4391
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
4392
+ }),
4393
+ }),
4394
+ query: z.optional(z.never()),
4395
+ });
4396
+ /**
4397
+ * OK
4398
+ */
4399
+ export const zGetContactByContactIdOpenItemsResponse = zActiveItemsResult;
4064
4400
  export const zGetContactByContactId360Data = z.object({
4065
4401
  body: z.optional(z.never()),
4066
4402
  path: z.object({
@@ -4287,6 +4623,42 @@ export const zDeleteConversationsByConversationIdPresenceData = z.object({
4287
4623
  * No Content
4288
4624
  */
4289
4625
  export const zDeleteConversationsByConversationIdPresenceResponse = z.void();
4626
+ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdData = z.object({
4627
+ body: z.optional(z.never()),
4628
+ path: z.object({
4629
+ contactId: z.coerce
4630
+ .bigint()
4631
+ .min(BigInt('-9223372036854775808'), {
4632
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
4633
+ })
4634
+ .max(BigInt('9223372036854775807'), {
4635
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
4636
+ }),
4637
+ propertyId: z.coerce
4638
+ .bigint()
4639
+ .min(BigInt('-9223372036854775808'), {
4640
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
4641
+ })
4642
+ .max(BigInt('9223372036854775807'), {
4643
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
4644
+ }),
4645
+ listingId: z.coerce
4646
+ .bigint()
4647
+ .min(BigInt('-9223372036854775808'), {
4648
+ error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
4649
+ })
4650
+ .max(BigInt('9223372036854775807'), {
4651
+ error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
4652
+ }),
4653
+ }),
4654
+ query: z.optional(z.object({
4655
+ withdrawExternal: z.optional(z.boolean()).default(false),
4656
+ })),
4657
+ });
4658
+ /**
4659
+ * No Content
4660
+ */
4661
+ export const zDeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdResponse = z.void();
4290
4662
  export const zDeleteContactsByContactIdInterestsByInterestIdItemsByItemIdData = z.object({
4291
4663
  body: z.optional(z.never()),
4292
4664
  path: z.object({