@homespot-sdk/core 0.0.342 → 0.0.344
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/property/schemas.gen.d.ts +3 -3
- package/dist/property/schemas.gen.d.ts.map +1 -1
- package/dist/property/schemas.gen.js +3 -3
- package/dist/property/schemas.gen.js.map +1 -1
- package/dist/property/types.gen.d.ts +5 -2
- package/dist/property/types.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.d.ts +5 -5
- package/dist/property/zod.gen.js +2 -2
- package/dist/property/zod.gen.js.map +1 -1
- package/dist/registration/schemas.gen.d.ts +1 -1
- package/dist/registration/schemas.gen.js +1 -1
- package/dist/registration/schemas.gen.js.map +1 -1
- package/dist/registration/types.gen.d.ts +1 -1
- package/dist/registration/types.gen.d.ts.map +1 -1
- package/dist/registration/zod.gen.d.ts +3 -3
- package/dist/registration/zod.gen.js +1 -1
- package/dist/registration/zod.gen.js.map +1 -1
- package/dist/rem/index.d.ts +1 -1
- package/dist/rem/index.d.ts.map +1 -1
- package/dist/rem/schemas.gen.d.ts +111 -75
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +153 -74
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +1 -1
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +1 -1
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +52 -50
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +382 -404
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +118 -142
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/types.gen.d.ts
CHANGED
|
@@ -539,6 +539,13 @@ export type CursorPageCommentView = {
|
|
|
539
539
|
nextCursor?: string;
|
|
540
540
|
hasNext?: boolean;
|
|
541
541
|
};
|
|
542
|
+
export type AssignedToResponse = {
|
|
543
|
+
memberId: string;
|
|
544
|
+
firstName: string;
|
|
545
|
+
lastName: string;
|
|
546
|
+
photo?: string;
|
|
547
|
+
email: string;
|
|
548
|
+
};
|
|
542
549
|
export type ContactLink = {
|
|
543
550
|
contactId: number;
|
|
544
551
|
primary: boolean;
|
|
@@ -560,18 +567,31 @@ export type InterestLink = {
|
|
|
560
567
|
interestId: number;
|
|
561
568
|
contactId: number;
|
|
562
569
|
title?: string;
|
|
570
|
+
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'>;
|
|
571
|
+
listingType?: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
563
572
|
};
|
|
564
|
-
export type
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
573
|
+
export type LangTextResponse = {
|
|
574
|
+
language: 'ka' | 'en' | 'ru';
|
|
575
|
+
text: string;
|
|
576
|
+
};
|
|
577
|
+
export type ListingDetails = {
|
|
578
|
+
type?: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
579
|
+
askingPrice?: number;
|
|
580
|
+
commissionType?: 'NOT_SET' | 'FIXED' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
|
|
581
|
+
commission?: number;
|
|
582
|
+
};
|
|
583
|
+
export type LocationResponse = {
|
|
584
|
+
id: number;
|
|
585
|
+
names: Array<LangTextResponse>;
|
|
570
586
|
};
|
|
571
587
|
export type PropertyLink = {
|
|
572
588
|
propertyId: number;
|
|
573
589
|
contactId: number;
|
|
574
590
|
title?: string;
|
|
591
|
+
type?: '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';
|
|
592
|
+
coverPhoto?: string;
|
|
593
|
+
location?: Array<LocationResponse>;
|
|
594
|
+
listingDetails?: Array<ListingDetails>;
|
|
575
595
|
};
|
|
576
596
|
export type TaskDetailResponse = {
|
|
577
597
|
taskId: string;
|
|
@@ -587,14 +607,14 @@ export type TaskDetailResponse = {
|
|
|
587
607
|
commissionType: 'NOT_SET' | 'FIXED' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
|
|
588
608
|
commissionValue?: number;
|
|
589
609
|
expectedCloseDate?: Date;
|
|
590
|
-
|
|
610
|
+
owner?: AssignedToResponse;
|
|
591
611
|
outcome?: 'WON' | 'LOST';
|
|
592
612
|
lostReason?: 'NOT_WORKING_WITH_AGENTS' | 'NOT_RESPONDING' | 'ALREADY_SOLD' | 'COULD_NOT_NEGOTIATE_PRICE' | 'CHOSE_ANOTHER_AGENCY' | 'CHANGED_PLANS' | 'OUT_OF_BUDGET' | 'SPAM' | 'OTHER';
|
|
593
613
|
closedAt?: Date;
|
|
594
614
|
createdBy?: string;
|
|
595
615
|
createdAt: Date;
|
|
596
616
|
contacts: Array<ContactLink>;
|
|
597
|
-
participants: Array<
|
|
617
|
+
participants: Array<AssignedToResponse>;
|
|
598
618
|
interests: Array<InterestLink>;
|
|
599
619
|
properties: Array<PropertyLink>;
|
|
600
620
|
todoGroups: Array<TodoGroup>;
|
|
@@ -766,18 +786,10 @@ export type DealTypePrice = {
|
|
|
766
786
|
listingType?: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
767
787
|
buckets?: Array<Slice>;
|
|
768
788
|
};
|
|
769
|
-
export type LangTextResponse = {
|
|
770
|
-
language: 'ka' | 'en' | 'ru';
|
|
771
|
-
text: string;
|
|
772
|
-
};
|
|
773
789
|
export type LocationCount = {
|
|
774
790
|
location?: LocationResponse;
|
|
775
791
|
count?: number;
|
|
776
792
|
};
|
|
777
|
-
export type LocationResponse = {
|
|
778
|
-
id: number;
|
|
779
|
-
names: Array<LangTextResponse>;
|
|
780
|
-
};
|
|
781
793
|
export type Slice = {
|
|
782
794
|
key: string;
|
|
783
795
|
count: number;
|
|
@@ -1145,6 +1157,10 @@ export type PropertyListingResponse = {
|
|
|
1145
1157
|
};
|
|
1146
1158
|
export type PropertyPageResponse = {
|
|
1147
1159
|
publicId: number;
|
|
1160
|
+
/**
|
|
1161
|
+
* The owner contact this property hangs off. Every listing write is addressed by (contactId, propertyId, listingId), so the page carries the first of the three.
|
|
1162
|
+
*/
|
|
1163
|
+
contactId: number;
|
|
1148
1164
|
propertyId: string;
|
|
1149
1165
|
type: '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';
|
|
1150
1166
|
state: 'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED';
|
|
@@ -1311,12 +1327,12 @@ export type MeetingDetailView = {
|
|
|
1311
1327
|
attendees: Array<AttendeeView>;
|
|
1312
1328
|
createdAt: Date;
|
|
1313
1329
|
};
|
|
1314
|
-
export type
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1330
|
+
export type AddressView = {
|
|
1331
|
+
en: string;
|
|
1332
|
+
ka: string;
|
|
1333
|
+
ru: string;
|
|
1334
|
+
streetId?: number;
|
|
1335
|
+
parentId?: number;
|
|
1320
1336
|
};
|
|
1321
1337
|
export type ListingGridResponse = {
|
|
1322
1338
|
externalPropertyId: string;
|
|
@@ -1328,10 +1344,7 @@ export type ListingGridResponse = {
|
|
|
1328
1344
|
assignedTo?: AssignedToResponse;
|
|
1329
1345
|
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';
|
|
1330
1346
|
title: string;
|
|
1331
|
-
|
|
1332
|
-
district?: LocationResponse;
|
|
1333
|
-
subdistrict?: LocationResponse;
|
|
1334
|
-
street?: LocationResponse;
|
|
1347
|
+
address?: AddressView;
|
|
1335
1348
|
featuredPhotos: Array<string>;
|
|
1336
1349
|
agreementType: 'EXCLUSIVE' | 'NON_EXCLUSIVE';
|
|
1337
1350
|
agreementExpiresAt?: Date;
|
|
@@ -1389,10 +1402,7 @@ export type InterestGridResponse = {
|
|
|
1389
1402
|
bedrooms?: RoomRange;
|
|
1390
1403
|
totalArea?: AreaRange;
|
|
1391
1404
|
livingArea?: AreaRange;
|
|
1392
|
-
|
|
1393
|
-
district?: LocationResponse;
|
|
1394
|
-
subdistrict?: LocationResponse;
|
|
1395
|
-
street?: LocationResponse;
|
|
1405
|
+
address?: AddressView;
|
|
1396
1406
|
status: 'UNPUBLISHED' | 'PUBLISHED' | 'CLOSED';
|
|
1397
1407
|
};
|
|
1398
1408
|
export type Money = {
|
|
@@ -4582,10 +4592,8 @@ export type GetListingData = {
|
|
|
4582
4592
|
contactName?: string;
|
|
4583
4593
|
contactPhone?: string;
|
|
4584
4594
|
assignedTo?: Array<string>;
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
subdistrictId?: number;
|
|
4588
|
-
streetId?: number;
|
|
4595
|
+
locationType?: 'REGION' | 'DISTRICT' | 'SUBDISTRICT' | 'STREET';
|
|
4596
|
+
locationId?: number;
|
|
4589
4597
|
priceMin?: number;
|
|
4590
4598
|
priceMax?: number;
|
|
4591
4599
|
createdFrom?: Date;
|
|
@@ -4637,7 +4645,7 @@ export type GetListingGroupsData = {
|
|
|
4637
4645
|
body?: never;
|
|
4638
4646
|
path?: never;
|
|
4639
4647
|
query: {
|
|
4640
|
-
groupBy: 'STATE' | 'PROPERTY_TYPE' | 'LISTING_TYPE' | 'ASSIGNED_TO' | 'CONTACT' | '
|
|
4648
|
+
groupBy: 'STATE' | 'PROPERTY_TYPE' | 'LISTING_TYPE' | 'ASSIGNED_TO' | 'CONTACT' | 'DISTRICT' | 'PLATFORM' | 'BOOST_TIER' | 'CREATED_AT_DAY' | 'CREATED_AT_WEEK' | 'CREATED_AT_MONTH';
|
|
4641
4649
|
states?: Array<'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED'>;
|
|
4642
4650
|
agreementTypes?: Array<'EXCLUSIVE' | 'NON_EXCLUSIVE'>;
|
|
4643
4651
|
agreementExpiresFrom?: Date;
|
|
@@ -4649,10 +4657,8 @@ export type GetListingGroupsData = {
|
|
|
4649
4657
|
contactName?: string;
|
|
4650
4658
|
contactPhone?: string;
|
|
4651
4659
|
assignedTo?: Array<string>;
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
subdistrictId?: number;
|
|
4655
|
-
streetId?: number;
|
|
4660
|
+
locationType?: 'REGION' | 'DISTRICT' | 'SUBDISTRICT' | 'STREET';
|
|
4661
|
+
locationId?: number;
|
|
4656
4662
|
priceMin?: number;
|
|
4657
4663
|
priceMax?: number;
|
|
4658
4664
|
createdFrom?: Date;
|
|
@@ -4685,10 +4691,8 @@ export type GetInterestData = {
|
|
|
4685
4691
|
contactPhone?: string;
|
|
4686
4692
|
assignedTo?: Array<string>;
|
|
4687
4693
|
createdBy?: string;
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
subdistrictId?: number;
|
|
4691
|
-
streetId?: number;
|
|
4694
|
+
locationType?: 'REGION' | 'DISTRICT' | 'SUBDISTRICT' | 'STREET';
|
|
4695
|
+
locationId?: number;
|
|
4692
4696
|
priceMin?: number;
|
|
4693
4697
|
priceMax?: number;
|
|
4694
4698
|
bedroomsMin?: number;
|
|
@@ -4742,7 +4746,7 @@ export type GetInterestGroupsData = {
|
|
|
4742
4746
|
body?: never;
|
|
4743
4747
|
path?: never;
|
|
4744
4748
|
query: {
|
|
4745
|
-
groupBy: 'STATUS' | 'LISTING_TYPE' | 'PROPERTY_TYPE' | 'ASSIGNED_TO' | 'CREATED_BY' | 'CONTACT' | '
|
|
4749
|
+
groupBy: 'STATUS' | 'LISTING_TYPE' | 'PROPERTY_TYPE' | 'ASSIGNED_TO' | 'CREATED_BY' | 'CONTACT' | 'DISTRICT' | 'CREATED_AT_DAY' | 'CREATED_AT_WEEK' | 'CREATED_AT_MONTH';
|
|
4746
4750
|
statuses?: Array<'UNPUBLISHED' | 'PUBLISHED' | 'CLOSED'>;
|
|
4747
4751
|
listingTypes?: Array<'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE'>;
|
|
4748
4752
|
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'>;
|
|
@@ -4751,10 +4755,8 @@ export type GetInterestGroupsData = {
|
|
|
4751
4755
|
contactPhone?: string;
|
|
4752
4756
|
assignedTo?: Array<string>;
|
|
4753
4757
|
createdBy?: string;
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
subdistrictId?: number;
|
|
4757
|
-
streetId?: number;
|
|
4758
|
+
locationType?: 'REGION' | 'DISTRICT' | 'SUBDISTRICT' | 'STREET';
|
|
4759
|
+
locationId?: number;
|
|
4758
4760
|
priceMin?: number;
|
|
4759
4761
|
priceMax?: number;
|
|
4760
4762
|
bedroomsMin?: number;
|
|
@@ -4925,8 +4927,8 @@ export type GetContactPhoneCheckerResponse = GetContactPhoneCheckerResponses[key
|
|
|
4925
4927
|
export type GetContactLookupData = {
|
|
4926
4928
|
body?: never;
|
|
4927
4929
|
path?: never;
|
|
4928
|
-
query
|
|
4929
|
-
query
|
|
4930
|
+
query?: {
|
|
4931
|
+
query?: string;
|
|
4930
4932
|
assignedTo?: Array<string>;
|
|
4931
4933
|
};
|
|
4932
4934
|
url: '/contact/lookup';
|