@homespot-sdk/core 0.0.322 → 0.0.323
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/rem/index.d.ts +2 -2
- package/dist/rem/index.d.ts.map +1 -1
- package/dist/rem/index.js +1 -1
- package/dist/rem/index.js.map +1 -1
- package/dist/rem/schemas.gen.d.ts +31 -28
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +31 -27
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +10 -8
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +45 -35
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +121 -88
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +109 -82
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +188 -135
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/zod.gen.js
CHANGED
|
@@ -204,6 +204,13 @@ export const zCaptureInterestRequest = z.object({
|
|
|
204
204
|
livingAreaMax: z.optional(z.number()),
|
|
205
205
|
location: z.optional(zLocationTargetRequest),
|
|
206
206
|
});
|
|
207
|
+
export const zTitleRequest = z.object({
|
|
208
|
+
title: z.string().min(1).max(50),
|
|
209
|
+
});
|
|
210
|
+
export const zRecommendListingRequest = z.object({
|
|
211
|
+
externalPropertyId: z.uuid(),
|
|
212
|
+
externalListingId: z.uuid(),
|
|
213
|
+
});
|
|
207
214
|
export const zCommentBodyRequest = z.object({
|
|
208
215
|
body: z.string().min(0).max(4000),
|
|
209
216
|
});
|
|
@@ -505,13 +512,6 @@ export const zInterestId = z.object({
|
|
|
505
512
|
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
506
513
|
})),
|
|
507
514
|
});
|
|
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
515
|
export const zOnboardClientRequest = z.object({
|
|
516
516
|
title: z.optional(z.string()),
|
|
517
517
|
contactInfo: zContactInfoRequest,
|
|
@@ -597,6 +597,7 @@ export const zOrganizationSummaryViewResponse = z.object({
|
|
|
597
597
|
'PROPERTY_READ_ALL',
|
|
598
598
|
])),
|
|
599
599
|
status: z.enum(['NEW', 'ACTIVE', 'PAYMENT_FAILED', 'INACTIVE']),
|
|
600
|
+
phone: z.string(),
|
|
600
601
|
isPhoneVerified: z.boolean(),
|
|
601
602
|
});
|
|
602
603
|
export const zUserSummaryViewResponse = z.object({
|
|
@@ -1085,7 +1086,7 @@ export const zRecommendationResponse = z.object({
|
|
|
1085
1086
|
shareToken: z.uuid(),
|
|
1086
1087
|
title: z.string(),
|
|
1087
1088
|
createdAt: z.iso.datetime(),
|
|
1088
|
-
status: z.enum(['
|
|
1089
|
+
status: z.enum(['UNPUBLISHED', 'PUBLISHED', 'CLOSED']),
|
|
1089
1090
|
recommendations: zPagedModelRecommendationsCardView,
|
|
1090
1091
|
});
|
|
1091
1092
|
export const zRecommendationDecisionResponse = z.object({
|
|
@@ -1804,7 +1805,7 @@ export const zInterestResponse = z.object({
|
|
|
1804
1805
|
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1805
1806
|
}),
|
|
1806
1807
|
title: z.string(),
|
|
1807
|
-
status: z.enum(['
|
|
1808
|
+
status: z.enum(['UNPUBLISHED', 'PUBLISHED', 'CLOSED']),
|
|
1808
1809
|
shareToken: z.uuid(),
|
|
1809
1810
|
createdAt: z.iso.datetime(),
|
|
1810
1811
|
criteria: zCriteria,
|
|
@@ -2298,6 +2299,32 @@ export const zPutContactsByContactIdPropertiesByPropertyIdAgreementData = z.obje
|
|
|
2298
2299
|
}),
|
|
2299
2300
|
query: z.optional(z.never()),
|
|
2300
2301
|
});
|
|
2302
|
+
export const zDeleteContactsByContactIdInterestsByInterestIdData = z.object({
|
|
2303
|
+
body: z.optional(z.never()),
|
|
2304
|
+
path: z.object({
|
|
2305
|
+
contactId: z.coerce
|
|
2306
|
+
.bigint()
|
|
2307
|
+
.min(BigInt('-9223372036854775808'), {
|
|
2308
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2309
|
+
})
|
|
2310
|
+
.max(BigInt('9223372036854775807'), {
|
|
2311
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2312
|
+
}),
|
|
2313
|
+
interestId: z.coerce
|
|
2314
|
+
.bigint()
|
|
2315
|
+
.min(BigInt('-9223372036854775808'), {
|
|
2316
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2317
|
+
})
|
|
2318
|
+
.max(BigInt('9223372036854775807'), {
|
|
2319
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2320
|
+
}),
|
|
2321
|
+
}),
|
|
2322
|
+
query: z.optional(z.never()),
|
|
2323
|
+
});
|
|
2324
|
+
/**
|
|
2325
|
+
* No Content
|
|
2326
|
+
*/
|
|
2327
|
+
export const zDeleteContactsByContactIdInterestsByInterestIdResponse = z.void();
|
|
2301
2328
|
export const zGetContactsByContactIdInterestsByInterestIdData = z.object({
|
|
2302
2329
|
body: z.optional(z.never()),
|
|
2303
2330
|
path: z.object({
|
|
@@ -2350,6 +2377,158 @@ export const zPutContactsByContactIdInterestsByInterestIdData = z.object({
|
|
|
2350
2377
|
* No Content
|
|
2351
2378
|
*/
|
|
2352
2379
|
export const zPutContactsByContactIdInterestsByInterestIdResponse = z.void();
|
|
2380
|
+
export const zPutContactsByContactIdInterestsByInterestIdUnpublishData = 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 zPutContactsByContactIdInterestsByInterestIdUnpublishResponse = z.void();
|
|
2406
|
+
export const zPutContactsByContactIdInterestsByInterestIdReopenData = z.object({
|
|
2407
|
+
body: z.optional(z.never()),
|
|
2408
|
+
path: z.object({
|
|
2409
|
+
contactId: z.coerce
|
|
2410
|
+
.bigint()
|
|
2411
|
+
.min(BigInt('-9223372036854775808'), {
|
|
2412
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2413
|
+
})
|
|
2414
|
+
.max(BigInt('9223372036854775807'), {
|
|
2415
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2416
|
+
}),
|
|
2417
|
+
interestId: z.coerce
|
|
2418
|
+
.bigint()
|
|
2419
|
+
.min(BigInt('-9223372036854775808'), {
|
|
2420
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2421
|
+
})
|
|
2422
|
+
.max(BigInt('9223372036854775807'), {
|
|
2423
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2424
|
+
}),
|
|
2425
|
+
}),
|
|
2426
|
+
query: z.optional(z.never()),
|
|
2427
|
+
});
|
|
2428
|
+
/**
|
|
2429
|
+
* No Content
|
|
2430
|
+
*/
|
|
2431
|
+
export const zPutContactsByContactIdInterestsByInterestIdReopenResponse = z.void();
|
|
2432
|
+
export const zPutContactsByContactIdInterestsByInterestIdRenameData = z.object({
|
|
2433
|
+
body: zTitleRequest,
|
|
2434
|
+
path: z.object({
|
|
2435
|
+
contactId: z.coerce
|
|
2436
|
+
.bigint()
|
|
2437
|
+
.min(BigInt('-9223372036854775808'), {
|
|
2438
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2439
|
+
})
|
|
2440
|
+
.max(BigInt('9223372036854775807'), {
|
|
2441
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2442
|
+
}),
|
|
2443
|
+
interestId: z.coerce
|
|
2444
|
+
.bigint()
|
|
2445
|
+
.min(BigInt('-9223372036854775808'), {
|
|
2446
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2447
|
+
})
|
|
2448
|
+
.max(BigInt('9223372036854775807'), {
|
|
2449
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2450
|
+
}),
|
|
2451
|
+
}),
|
|
2452
|
+
query: z.optional(z.never()),
|
|
2453
|
+
});
|
|
2454
|
+
/**
|
|
2455
|
+
* No Content
|
|
2456
|
+
*/
|
|
2457
|
+
export const zPutContactsByContactIdInterestsByInterestIdRenameResponse = z.void();
|
|
2458
|
+
export const zPutContactsByContactIdInterestsByInterestIdPublishData = 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 zPutContactsByContactIdInterestsByInterestIdPublishResponse = z.void();
|
|
2484
|
+
export const zPutContactsByContactIdInterestsByInterestIdItemsData = z.object({
|
|
2485
|
+
body: zRecommendListingRequest,
|
|
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
|
+
export const zPutContactsByContactIdInterestsByInterestIdCloseData = z.object({
|
|
2507
|
+
body: z.optional(z.never()),
|
|
2508
|
+
path: z.object({
|
|
2509
|
+
contactId: z.coerce
|
|
2510
|
+
.bigint()
|
|
2511
|
+
.min(BigInt('-9223372036854775808'), {
|
|
2512
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2513
|
+
})
|
|
2514
|
+
.max(BigInt('9223372036854775807'), {
|
|
2515
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2516
|
+
}),
|
|
2517
|
+
interestId: z.coerce
|
|
2518
|
+
.bigint()
|
|
2519
|
+
.min(BigInt('-9223372036854775808'), {
|
|
2520
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2521
|
+
})
|
|
2522
|
+
.max(BigInt('9223372036854775807'), {
|
|
2523
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2524
|
+
}),
|
|
2525
|
+
}),
|
|
2526
|
+
query: z.optional(z.never()),
|
|
2527
|
+
});
|
|
2528
|
+
/**
|
|
2529
|
+
* No Content
|
|
2530
|
+
*/
|
|
2531
|
+
export const zPutContactsByContactIdInterestsByInterestIdCloseResponse = z.void();
|
|
2353
2532
|
export const zDeleteContactsByContactIdCommentsByCommentIdData = z.object({
|
|
2354
2533
|
body: z.optional(z.never()),
|
|
2355
2534
|
path: z.object({
|
|
@@ -2960,132 +3139,6 @@ export const zPostContactsByContactIdInterestsData = z.object({
|
|
|
2960
3139
|
* Created
|
|
2961
3140
|
*/
|
|
2962
3141
|
export const zPostContactsByContactIdInterestsResponse = zInterestId;
|
|
2963
|
-
export const zPostContactsByContactIdInterestsByInterestIdShareData = z.object({
|
|
2964
|
-
body: z.optional(z.never()),
|
|
2965
|
-
path: z.object({
|
|
2966
|
-
contactId: z.coerce
|
|
2967
|
-
.bigint()
|
|
2968
|
-
.min(BigInt('-9223372036854775808'), {
|
|
2969
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2970
|
-
})
|
|
2971
|
-
.max(BigInt('9223372036854775807'), {
|
|
2972
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2973
|
-
}),
|
|
2974
|
-
interestId: z.coerce
|
|
2975
|
-
.bigint()
|
|
2976
|
-
.min(BigInt('-9223372036854775808'), {
|
|
2977
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2978
|
-
})
|
|
2979
|
-
.max(BigInt('9223372036854775807'), {
|
|
2980
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2981
|
-
}),
|
|
2982
|
-
}),
|
|
2983
|
-
query: z.optional(z.never()),
|
|
2984
|
-
});
|
|
2985
|
-
/**
|
|
2986
|
-
* No Content
|
|
2987
|
-
*/
|
|
2988
|
-
export const zPostContactsByContactIdInterestsByInterestIdShareResponse = z.void();
|
|
2989
|
-
export const zPostContactsByContactIdInterestsByInterestIdReviseData = z.object({
|
|
2990
|
-
body: z.optional(z.never()),
|
|
2991
|
-
path: z.object({
|
|
2992
|
-
contactId: z.coerce
|
|
2993
|
-
.bigint()
|
|
2994
|
-
.min(BigInt('-9223372036854775808'), {
|
|
2995
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2996
|
-
})
|
|
2997
|
-
.max(BigInt('9223372036854775807'), {
|
|
2998
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2999
|
-
}),
|
|
3000
|
-
interestId: z.coerce
|
|
3001
|
-
.bigint()
|
|
3002
|
-
.min(BigInt('-9223372036854775808'), {
|
|
3003
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
3004
|
-
})
|
|
3005
|
-
.max(BigInt('9223372036854775807'), {
|
|
3006
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
3007
|
-
}),
|
|
3008
|
-
}),
|
|
3009
|
-
query: z.optional(z.never()),
|
|
3010
|
-
});
|
|
3011
|
-
/**
|
|
3012
|
-
* No Content
|
|
3013
|
-
*/
|
|
3014
|
-
export const zPostContactsByContactIdInterestsByInterestIdReviseResponse = z.void();
|
|
3015
|
-
export const zPostContactsByContactIdInterestsByInterestIdRenameData = z.object({
|
|
3016
|
-
body: zTitleRequest,
|
|
3017
|
-
path: z.object({
|
|
3018
|
-
contactId: z.coerce
|
|
3019
|
-
.bigint()
|
|
3020
|
-
.min(BigInt('-9223372036854775808'), {
|
|
3021
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
3022
|
-
})
|
|
3023
|
-
.max(BigInt('9223372036854775807'), {
|
|
3024
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
3025
|
-
}),
|
|
3026
|
-
interestId: z.coerce
|
|
3027
|
-
.bigint()
|
|
3028
|
-
.min(BigInt('-9223372036854775808'), {
|
|
3029
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
3030
|
-
})
|
|
3031
|
-
.max(BigInt('9223372036854775807'), {
|
|
3032
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
3033
|
-
}),
|
|
3034
|
-
}),
|
|
3035
|
-
query: z.optional(z.never()),
|
|
3036
|
-
});
|
|
3037
|
-
/**
|
|
3038
|
-
* No Content
|
|
3039
|
-
*/
|
|
3040
|
-
export const zPostContactsByContactIdInterestsByInterestIdRenameResponse = z.void();
|
|
3041
|
-
export const zPostContactsByContactIdInterestsByInterestIdItemsData = z.object({
|
|
3042
|
-
body: zRecommendListingRequest,
|
|
3043
|
-
path: z.object({
|
|
3044
|
-
contactId: z.coerce
|
|
3045
|
-
.bigint()
|
|
3046
|
-
.min(BigInt('-9223372036854775808'), {
|
|
3047
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
3048
|
-
})
|
|
3049
|
-
.max(BigInt('9223372036854775807'), {
|
|
3050
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
3051
|
-
}),
|
|
3052
|
-
interestId: z.coerce
|
|
3053
|
-
.bigint()
|
|
3054
|
-
.min(BigInt('-9223372036854775808'), {
|
|
3055
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
3056
|
-
})
|
|
3057
|
-
.max(BigInt('9223372036854775807'), {
|
|
3058
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
3059
|
-
}),
|
|
3060
|
-
}),
|
|
3061
|
-
query: z.optional(z.never()),
|
|
3062
|
-
});
|
|
3063
|
-
export const zPostContactsByContactIdInterestsByInterestIdCloseData = z.object({
|
|
3064
|
-
body: z.optional(z.never()),
|
|
3065
|
-
path: z.object({
|
|
3066
|
-
contactId: z.coerce
|
|
3067
|
-
.bigint()
|
|
3068
|
-
.min(BigInt('-9223372036854775808'), {
|
|
3069
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
3070
|
-
})
|
|
3071
|
-
.max(BigInt('9223372036854775807'), {
|
|
3072
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
3073
|
-
}),
|
|
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
|
-
}),
|
|
3083
|
-
query: z.optional(z.never()),
|
|
3084
|
-
});
|
|
3085
|
-
/**
|
|
3086
|
-
* No Content
|
|
3087
|
-
*/
|
|
3088
|
-
export const zPostContactsByContactIdInterestsByInterestIdCloseResponse = z.void();
|
|
3089
3142
|
export const zDeleteContactsByContactIdCommentsData = z.object({
|
|
3090
3143
|
body: z.optional(z.never()),
|
|
3091
3144
|
path: z.object({
|