@homespot-sdk/core 0.0.337 → 0.0.338
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 +139 -4
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +183 -4
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +4 -1
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +15 -0
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +8 -14
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +160 -16
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +1516 -763
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +382 -20
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/types.gen.d.ts
CHANGED
|
@@ -991,34 +991,34 @@ export type AssignedToResponse = {
|
|
|
991
991
|
photo?: string;
|
|
992
992
|
email: string;
|
|
993
993
|
};
|
|
994
|
-
export type
|
|
995
|
-
externalPropertyId
|
|
994
|
+
export type ListingGridResponse = {
|
|
995
|
+
externalPropertyId: string;
|
|
996
996
|
externalListingId?: string;
|
|
997
|
-
propertyId
|
|
997
|
+
propertyId: number;
|
|
998
998
|
listingId?: number;
|
|
999
|
-
contactId
|
|
999
|
+
contactId: number;
|
|
1000
1000
|
personalDetails: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
|
|
1001
1001
|
assignedTo?: AssignedToResponse;
|
|
1002
|
-
propertyType
|
|
1003
|
-
title
|
|
1002
|
+
propertyType: 'HOUSE' | 'TOWN_HOUSE' | 'COUNTRY_HOUSE' | 'VILLA' | 'COTTAGE' | 'APARTMENT' | 'DUPLEX' | 'TRIPLEX' | 'SEMI_BASEMENT' | 'ATTIC' | 'AGRICULTURAL_LAND' | 'RESIDENTIAL_LAND' | 'HOTEL_ROOM' | 'MOTEL_ROOM' | 'CO_LIVING_SPACE' | 'OFFICE' | 'COMMERCIAL_SPACE' | 'CO_WORKING_SPACE' | 'WAREHOUSE' | 'GARAGE';
|
|
1003
|
+
title: string;
|
|
1004
1004
|
region?: LocationResponse;
|
|
1005
1005
|
district?: LocationResponse;
|
|
1006
1006
|
subdistrict?: LocationResponse;
|
|
1007
1007
|
street?: LocationResponse;
|
|
1008
|
-
featuredPhotos
|
|
1009
|
-
agreementType
|
|
1008
|
+
featuredPhotos: Array<string>;
|
|
1009
|
+
agreementType: 'EXCLUSIVE' | 'NON_EXCLUSIVE';
|
|
1010
1010
|
agreementExpiresAt?: Date;
|
|
1011
|
-
propertyState
|
|
1011
|
+
propertyState: 'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED';
|
|
1012
1012
|
listingType?: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
1013
1013
|
price?: number;
|
|
1014
1014
|
commissionType?: 'NOT_SET' | 'FIXED' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
|
|
1015
1015
|
commission?: number;
|
|
1016
|
-
platforms
|
|
1017
|
-
createdAt
|
|
1018
|
-
updatedAt
|
|
1016
|
+
platforms: Array<PlatformView>;
|
|
1017
|
+
createdAt: Date;
|
|
1018
|
+
updatedAt: Date;
|
|
1019
1019
|
};
|
|
1020
|
-
export type
|
|
1021
|
-
content?: Array<
|
|
1020
|
+
export type PagedModelListingGridResponse = {
|
|
1021
|
+
content?: Array<ListingGridResponse>;
|
|
1022
1022
|
page?: PageMetadata;
|
|
1023
1023
|
};
|
|
1024
1024
|
export type PlatformView = {
|
|
@@ -1046,6 +1046,46 @@ export type PagedModelInvitationViewResponse = {
|
|
|
1046
1046
|
content?: Array<InvitationViewResponse>;
|
|
1047
1047
|
page?: PageMetadata;
|
|
1048
1048
|
};
|
|
1049
|
+
export type AreaRange = {
|
|
1050
|
+
min?: number;
|
|
1051
|
+
max?: number;
|
|
1052
|
+
};
|
|
1053
|
+
export type InterestGridResponse = {
|
|
1054
|
+
interestId: number;
|
|
1055
|
+
contactId?: number;
|
|
1056
|
+
personalDetails: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
|
|
1057
|
+
assignedTo?: AssignedToResponse;
|
|
1058
|
+
createdBy: string;
|
|
1059
|
+
propertyTypes: Array<'HOUSE' | 'TOWN_HOUSE' | 'COUNTRY_HOUSE' | 'VILLA' | 'COTTAGE' | 'APARTMENT' | 'DUPLEX' | 'TRIPLEX' | 'SEMI_BASEMENT' | 'ATTIC' | 'AGRICULTURAL_LAND' | 'RESIDENTIAL_LAND' | 'HOTEL_ROOM' | 'MOTEL_ROOM' | 'CO_LIVING_SPACE' | 'OFFICE' | 'COMMERCIAL_SPACE' | 'CO_WORKING_SPACE' | 'WAREHOUSE' | 'GARAGE'>;
|
|
1060
|
+
listingType: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
1061
|
+
priceRange?: PriceRange;
|
|
1062
|
+
bedrooms?: RoomRange;
|
|
1063
|
+
totalArea?: AreaRange;
|
|
1064
|
+
livingArea?: AreaRange;
|
|
1065
|
+
region?: LocationResponse;
|
|
1066
|
+
district?: LocationResponse;
|
|
1067
|
+
subdistrict?: LocationResponse;
|
|
1068
|
+
street?: LocationResponse;
|
|
1069
|
+
status: 'UNPUBLISHED' | 'PUBLISHED' | 'CLOSED';
|
|
1070
|
+
};
|
|
1071
|
+
export type Money = {
|
|
1072
|
+
amount?: number;
|
|
1073
|
+
negative?: boolean;
|
|
1074
|
+
positive?: boolean;
|
|
1075
|
+
zeroOrPositive?: boolean;
|
|
1076
|
+
};
|
|
1077
|
+
export type PagedModelInterestGridResponse = {
|
|
1078
|
+
content?: Array<InterestGridResponse>;
|
|
1079
|
+
page?: PageMetadata;
|
|
1080
|
+
};
|
|
1081
|
+
export type PriceRange = {
|
|
1082
|
+
min?: Money;
|
|
1083
|
+
max?: Money;
|
|
1084
|
+
};
|
|
1085
|
+
export type RoomRange = {
|
|
1086
|
+
min?: number;
|
|
1087
|
+
max?: number;
|
|
1088
|
+
};
|
|
1049
1089
|
export type CursorPageInboxResponse = {
|
|
1050
1090
|
items?: Array<InboxResponse>;
|
|
1051
1091
|
nextCursor?: string;
|
|
@@ -3518,7 +3558,7 @@ export type GetListingResponses = {
|
|
|
3518
3558
|
/**
|
|
3519
3559
|
* OK
|
|
3520
3560
|
*/
|
|
3521
|
-
200:
|
|
3561
|
+
200: PagedModelListingGridResponse;
|
|
3522
3562
|
};
|
|
3523
3563
|
export type GetListingResponse = GetListingResponses[keyof GetListingResponses];
|
|
3524
3564
|
export type GetListingByPropertyIdData = {
|
|
@@ -3533,7 +3573,7 @@ export type GetListingByPropertyIdResponses = {
|
|
|
3533
3573
|
/**
|
|
3534
3574
|
* OK
|
|
3535
3575
|
*/
|
|
3536
|
-
200:
|
|
3576
|
+
200: ListingGridResponse;
|
|
3537
3577
|
};
|
|
3538
3578
|
export type GetListingByPropertyIdResponse = GetListingByPropertyIdResponses[keyof GetListingByPropertyIdResponses];
|
|
3539
3579
|
export type GetListingGroupsData = {
|
|
@@ -3576,6 +3616,110 @@ export type GetListingGroupsResponses = {
|
|
|
3576
3616
|
200: Array<GroupCount>;
|
|
3577
3617
|
};
|
|
3578
3618
|
export type GetListingGroupsResponse = GetListingGroupsResponses[keyof GetListingGroupsResponses];
|
|
3619
|
+
export type GetInterestData = {
|
|
3620
|
+
body?: never;
|
|
3621
|
+
path?: never;
|
|
3622
|
+
query?: {
|
|
3623
|
+
statuses?: Array<'UNPUBLISHED' | 'PUBLISHED' | 'CLOSED'>;
|
|
3624
|
+
listingTypes?: Array<'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE'>;
|
|
3625
|
+
propertyTypes?: Array<'HOUSE' | 'TOWN_HOUSE' | 'COUNTRY_HOUSE' | 'VILLA' | 'COTTAGE' | 'APARTMENT' | 'DUPLEX' | 'TRIPLEX' | 'SEMI_BASEMENT' | 'ATTIC' | 'AGRICULTURAL_LAND' | 'RESIDENTIAL_LAND' | 'HOTEL_ROOM' | 'MOTEL_ROOM' | 'CO_LIVING_SPACE' | 'OFFICE' | 'COMMERCIAL_SPACE' | 'CO_WORKING_SPACE' | 'WAREHOUSE' | 'GARAGE'>;
|
|
3626
|
+
contactId?: number;
|
|
3627
|
+
contactName?: string;
|
|
3628
|
+
contactPhone?: string;
|
|
3629
|
+
assignedTo?: Array<string>;
|
|
3630
|
+
createdBy?: string;
|
|
3631
|
+
regionId?: number;
|
|
3632
|
+
districtId?: number;
|
|
3633
|
+
subdistrictId?: number;
|
|
3634
|
+
streetId?: number;
|
|
3635
|
+
priceMin?: number;
|
|
3636
|
+
priceMax?: number;
|
|
3637
|
+
bedroomsMin?: number;
|
|
3638
|
+
bedroomsMax?: number;
|
|
3639
|
+
bathroomsMin?: number;
|
|
3640
|
+
bathroomsMax?: number;
|
|
3641
|
+
totalAreaMin?: number;
|
|
3642
|
+
totalAreaMax?: number;
|
|
3643
|
+
livingAreaMin?: number;
|
|
3644
|
+
livingAreaMax?: number;
|
|
3645
|
+
createdFrom?: Date;
|
|
3646
|
+
createdTo?: Date;
|
|
3647
|
+
/**
|
|
3648
|
+
* Zero-based page index (0..N)
|
|
3649
|
+
*/
|
|
3650
|
+
page?: number;
|
|
3651
|
+
/**
|
|
3652
|
+
* The size of the page to be returned
|
|
3653
|
+
*/
|
|
3654
|
+
size?: number;
|
|
3655
|
+
/**
|
|
3656
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
3657
|
+
*/
|
|
3658
|
+
sort?: Array<string>;
|
|
3659
|
+
};
|
|
3660
|
+
url: '/interest';
|
|
3661
|
+
};
|
|
3662
|
+
export type GetInterestResponses = {
|
|
3663
|
+
/**
|
|
3664
|
+
* OK
|
|
3665
|
+
*/
|
|
3666
|
+
200: PagedModelInterestGridResponse;
|
|
3667
|
+
};
|
|
3668
|
+
export type GetInterestResponse = GetInterestResponses[keyof GetInterestResponses];
|
|
3669
|
+
export type GetInterestByInterestIdData = {
|
|
3670
|
+
body?: never;
|
|
3671
|
+
path: {
|
|
3672
|
+
interestId: number;
|
|
3673
|
+
};
|
|
3674
|
+
query?: never;
|
|
3675
|
+
url: '/interest/{interestId}';
|
|
3676
|
+
};
|
|
3677
|
+
export type GetInterestByInterestIdResponses = {
|
|
3678
|
+
/**
|
|
3679
|
+
* OK
|
|
3680
|
+
*/
|
|
3681
|
+
200: InterestGridResponse;
|
|
3682
|
+
};
|
|
3683
|
+
export type GetInterestByInterestIdResponse = GetInterestByInterestIdResponses[keyof GetInterestByInterestIdResponses];
|
|
3684
|
+
export type GetInterestGroupsData = {
|
|
3685
|
+
body?: never;
|
|
3686
|
+
path?: never;
|
|
3687
|
+
query: {
|
|
3688
|
+
groupBy: 'STATUS' | 'LISTING_TYPE' | 'PROPERTY_TYPE' | 'ASSIGNED_TO' | 'CREATED_BY' | 'CONTACT' | 'REGION' | 'DISTRICT' | 'CREATED_AT_DAY' | 'CREATED_AT_WEEK' | 'CREATED_AT_MONTH';
|
|
3689
|
+
statuses?: Array<'UNPUBLISHED' | 'PUBLISHED' | 'CLOSED'>;
|
|
3690
|
+
listingTypes?: Array<'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE'>;
|
|
3691
|
+
propertyTypes?: Array<'HOUSE' | 'TOWN_HOUSE' | 'COUNTRY_HOUSE' | 'VILLA' | 'COTTAGE' | 'APARTMENT' | 'DUPLEX' | 'TRIPLEX' | 'SEMI_BASEMENT' | 'ATTIC' | 'AGRICULTURAL_LAND' | 'RESIDENTIAL_LAND' | 'HOTEL_ROOM' | 'MOTEL_ROOM' | 'CO_LIVING_SPACE' | 'OFFICE' | 'COMMERCIAL_SPACE' | 'CO_WORKING_SPACE' | 'WAREHOUSE' | 'GARAGE'>;
|
|
3692
|
+
contactId?: number;
|
|
3693
|
+
contactName?: string;
|
|
3694
|
+
contactPhone?: string;
|
|
3695
|
+
assignedTo?: Array<string>;
|
|
3696
|
+
createdBy?: string;
|
|
3697
|
+
regionId?: number;
|
|
3698
|
+
districtId?: number;
|
|
3699
|
+
subdistrictId?: number;
|
|
3700
|
+
streetId?: number;
|
|
3701
|
+
priceMin?: number;
|
|
3702
|
+
priceMax?: number;
|
|
3703
|
+
bedroomsMin?: number;
|
|
3704
|
+
bedroomsMax?: number;
|
|
3705
|
+
bathroomsMin?: number;
|
|
3706
|
+
bathroomsMax?: number;
|
|
3707
|
+
totalAreaMin?: number;
|
|
3708
|
+
totalAreaMax?: number;
|
|
3709
|
+
livingAreaMin?: number;
|
|
3710
|
+
livingAreaMax?: number;
|
|
3711
|
+
createdFrom?: Date;
|
|
3712
|
+
createdTo?: Date;
|
|
3713
|
+
};
|
|
3714
|
+
url: '/interest/groups';
|
|
3715
|
+
};
|
|
3716
|
+
export type GetInterestGroupsResponses = {
|
|
3717
|
+
/**
|
|
3718
|
+
* OK
|
|
3719
|
+
*/
|
|
3720
|
+
200: Array<GroupCount>;
|
|
3721
|
+
};
|
|
3722
|
+
export type GetInterestGroupsResponse = GetInterestGroupsResponses[keyof GetInterestGroupsResponses];
|
|
3579
3723
|
export type GetInboxData = {
|
|
3580
3724
|
body?: never;
|
|
3581
3725
|
path?: never;
|