@homespot-sdk/core 0.0.223 → 0.0.224

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.
@@ -62,6 +62,10 @@ export type BatchAssignRoleRequest = {
62
62
  roleId: number;
63
63
  memberIds: Array<string>;
64
64
  };
65
+ export type RescheduleRequest = {
66
+ start: Date;
67
+ durationMinutes?: number;
68
+ };
65
69
  export type RecordSourceRequest = {
66
70
  sourceUrl?: string;
67
71
  };
@@ -73,8 +77,8 @@ export type RecordLostLeadRequest = {
73
77
  };
74
78
  export type IntentRequest = {
75
79
  clientType: ClientTypeEnum;
76
- listingType: ListingTypeEnum;
77
- propertyType: PropertyTypeEnum;
80
+ listingType: SchemaEnum7;
81
+ propertyType: SchemaEnum6;
78
82
  price?: PriceRangeRequest;
79
83
  targetLocation?: LocationRefRequest;
80
84
  area?: number;
@@ -104,15 +108,15 @@ export type RenameClientRecommendationsRequest = {
104
108
  name?: string;
105
109
  };
106
110
  export type AgreementRequest = {
107
- type: TypeEnum2;
111
+ type: SchemaEnum5;
108
112
  expiresAt?: Date;
109
113
  };
110
114
  export type ReprioritizeClientRequest = {
111
115
  priority?: PriorityEnum;
112
116
  };
113
117
  export type CaptureInterestRequest = {
114
- propertyTypes: Array<PropertyTypeEnum>;
115
- listingType: ListingTypeEnum;
118
+ propertyTypes: Array<SchemaEnum6>;
119
+ listingType: SchemaEnum7;
116
120
  priceMin?: number;
117
121
  priceMax?: number;
118
122
  bedroomsMin?: number;
@@ -146,7 +150,7 @@ export type CreateAgencyRequest = {
146
150
  };
147
151
  export type PhotoRequest = {
148
152
  photo: string;
149
- type: TypeEnum3;
153
+ type: TypeEnum2;
150
154
  width: number;
151
155
  height?: number;
152
156
  };
@@ -180,6 +184,29 @@ export type RateRecommendationItemRequest = {
180
184
  decision: SchemaEnum;
181
185
  note?: string;
182
186
  };
187
+ export type AttendeeRequest = {
188
+ role: RoleEnum;
189
+ memberId?: string;
190
+ clientId?: number;
191
+ email?: string;
192
+ name?: string;
193
+ };
194
+ export type CreateMeetingRequest = {
195
+ propertyId?: number;
196
+ attendees: Array<AttendeeRequest>;
197
+ start: Date;
198
+ durationMinutes?: number;
199
+ title: string;
200
+ description?: string;
201
+ location?: string;
202
+ inviteStrategy: InviteStrategyEnum;
203
+ setReminders?: boolean;
204
+ };
205
+ export type MeetingResponse = {
206
+ meetingId: string;
207
+ googleEventId?: string;
208
+ calendarLink?: string;
209
+ };
183
210
  export type LeadId = {
184
211
  value?: number;
185
212
  };
@@ -236,7 +263,7 @@ export type Coordinates = {
236
263
  };
237
264
  export type ImportedPropertyDraft = {
238
265
  contact?: ContactSummary;
239
- listingType?: ListingTypeEnum;
266
+ listingType?: SchemaEnum7;
240
267
  askingPrice?: number;
241
268
  propertyCreationRequest?: PropertyCreationRequest;
242
269
  photosForUpload?: Array<PresignedResult>;
@@ -257,7 +284,7 @@ export type PresignedResult = {
257
284
  export type PropertyCreationRequest = {
258
285
  draftId: string;
259
286
  clientId?: number;
260
- propertyType: PropertyTypeEnum;
287
+ propertyType: SchemaEnum6;
261
288
  address: AddressRef;
262
289
  photoUrls: Array<PhotoInternalRequest>;
263
290
  spaces: {
@@ -284,13 +311,13 @@ export type RecommendListingRequest = {
284
311
  externalListingId: string;
285
312
  };
286
313
  export type ExternalListingPublishRequest = {
287
- platform: PlatformEnum;
314
+ platform: SchemaEnum8;
288
315
  listingId: number;
289
316
  };
290
317
  export type ExternalListingBoostRequest = {
291
- platform: PlatformEnum;
318
+ platform: SchemaEnum8;
292
319
  listingId: number;
293
- tier: TierEnum;
320
+ tier: SchemaEnum9;
294
321
  numberOfDays: number;
295
322
  };
296
323
  export type AddDealRequest = {
@@ -371,11 +398,11 @@ export type RecommendationsCardView = {
371
398
  ownerClientId: number;
372
399
  listingId: number;
373
400
  externalListingId: string;
374
- listingType: ListingTypeEnum;
401
+ listingType: SchemaEnum7;
375
402
  price: number;
376
403
  propertyId: number;
377
404
  externalPropertyId: string;
378
- type: PropertyTypeEnum;
405
+ type: SchemaEnum6;
379
406
  coverPhoto?: string;
380
407
  photoCount?: number;
381
408
  totalArea: number;
@@ -482,11 +509,51 @@ export type MemberViewResponse = {
482
509
  roleName: string;
483
510
  joinedAt: Date;
484
511
  };
512
+ export type ClientId = {
513
+ value?: number;
514
+ };
515
+ export type ListingGridView = {
516
+ id?: PropertyId;
517
+ clientId?: ClientId;
518
+ propertyType?: SchemaEnum6;
519
+ regionId?: number;
520
+ districtId?: number;
521
+ subdistrictId?: number;
522
+ streetId?: number;
523
+ cover?: string;
524
+ agreementType?: SchemaEnum5;
525
+ agreementExpiresAt?: Date;
526
+ propertyState?: SchemaEnum4;
527
+ createdAt?: Date;
528
+ listingType?: SchemaEnum7;
529
+ price?: number;
530
+ commissionType?: CommissionTypeEnum;
531
+ commission?: number;
532
+ platforms?: Array<PlatformView>;
533
+ };
534
+ export type PagedModelListingGridView = {
535
+ content?: Array<ListingGridView>;
536
+ page?: PageMetadata;
537
+ };
538
+ export type PlatformView = {
539
+ platform?: SchemaEnum8;
540
+ expiresAt?: Date;
541
+ tier?: SchemaEnum9;
542
+ boostExpiresAt?: Date;
543
+ };
544
+ export type PropertyId = {
545
+ value?: number;
546
+ };
547
+ export type GroupCount = {
548
+ groupKey?: string;
549
+ label?: string;
550
+ count?: number;
551
+ };
485
552
  export type IntentResponse = {
486
553
  id: number;
487
554
  clientType: ClientTypeEnum;
488
- listingType: ListingTypeEnum;
489
- propertyType: PropertyTypeEnum;
555
+ listingType: SchemaEnum7;
556
+ propertyType: SchemaEnum6;
490
557
  priceMin?: number;
491
558
  priceMax?: number;
492
559
  regionId?: number;
@@ -502,13 +569,13 @@ export type LeadGridResponse = {
502
569
  assignedTo?: string;
503
570
  assignedToName?: string;
504
571
  assignedToPhoto?: string;
505
- status: SchemaEnum4;
572
+ status: SchemaEnum11;
506
573
  contactFullName?: string;
507
574
  contactGender?: GenderEnum;
508
575
  contactPhoneNumber: string;
509
576
  contactEmail?: string;
510
577
  note?: string;
511
- sourceType?: SchemaEnum5;
578
+ sourceType?: SchemaEnum12;
512
579
  sourceLink?: string;
513
580
  isSearching: boolean;
514
581
  isListing: boolean;
@@ -518,11 +585,6 @@ export type PagedModelLeadGridResponse = {
518
585
  content?: Array<LeadGridResponse>;
519
586
  page?: PageMetadata;
520
587
  };
521
- export type GroupCount = {
522
- groupKey?: string;
523
- label?: string;
524
- count?: number;
525
- };
526
588
  export type InvitationViewResponse = {
527
589
  invitationId: string;
528
590
  email: string;
@@ -547,7 +609,7 @@ export type ClientGridResponse = {
547
609
  contactPhoneNumber: string;
548
610
  contactGender?: GenderEnum;
549
611
  contactEmail?: string;
550
- sourceType?: SchemaEnum5;
612
+ sourceType?: SchemaEnum12;
551
613
  sourceLink?: string;
552
614
  isSearching: boolean;
553
615
  isListing: boolean;
@@ -560,12 +622,12 @@ export type PagedModelClientGridResponse = {
560
622
  page?: PageMetadata;
561
623
  };
562
624
  export type ActiveBoostResponse = {
563
- tier: TierEnum;
625
+ tier: SchemaEnum9;
564
626
  activatedAt: Date;
565
627
  expiresAt: Date;
566
628
  };
567
629
  export type AgreementResponse = {
568
- agreement: TypeEnum2;
630
+ agreement: SchemaEnum5;
569
631
  expiryDate?: Date;
570
632
  };
571
633
  export type AssignedMember = {
@@ -593,8 +655,8 @@ export type Client360Response = {
593
655
  };
594
656
  export type ClientInterestResponse = {
595
657
  id: number;
596
- propertyTypes: Array<PropertyTypeEnum>;
597
- listingType: ListingTypeEnum;
658
+ propertyTypes: Array<SchemaEnum6>;
659
+ listingType: SchemaEnum7;
598
660
  priceMin?: number;
599
661
  priceMax?: number;
600
662
  bedroomsMin?: number;
@@ -611,7 +673,7 @@ export type ClientInterestResponse = {
611
673
  export type ClientListingsResponse = {
612
674
  publicId: number;
613
675
  listingId: string;
614
- listingType: ListingTypeEnum;
676
+ listingType: SchemaEnum7;
615
677
  price: number;
616
678
  deal?: DealResponse;
617
679
  platformListings: Array<PlatformListingResponse>;
@@ -619,8 +681,8 @@ export type ClientListingsResponse = {
619
681
  export type ClientPropertyResponse = {
620
682
  publicId: number;
621
683
  propertyId: string;
622
- type: PropertyTypeEnum;
623
- state: StateEnum;
684
+ type: SchemaEnum6;
685
+ state: SchemaEnum4;
624
686
  details?: PropertyDetailsResponse;
625
687
  agreement: AgreementResponse;
626
688
  listings: Array<ClientListingsResponse>;
@@ -649,7 +711,7 @@ export type DealResponse = {
649
711
  };
650
712
  export type PlatformListingResponse = {
651
713
  platformId: number;
652
- platformType: PlatformEnum;
714
+ platformType: SchemaEnum8;
653
715
  uploadDate: Date;
654
716
  expiryDate: Date;
655
717
  renewedDate?: Date;
@@ -666,7 +728,7 @@ export type PropertyDetailsResponse = {
666
728
  address: AddressResponse;
667
729
  };
668
730
  export type SourceResponse = {
669
- sourceType: SchemaEnum5;
731
+ sourceType: SchemaEnum12;
670
732
  sourceLink?: string;
671
733
  };
672
734
  export type AddressViewResponse = {
@@ -690,27 +752,30 @@ export type WhitelabelActiveResponse = {
690
752
  export type SchemaEnum = 'MAYBE' | 'DISLIKE' | 'LIKE' | 'VISIT';
691
753
  export type SchemaEnum2 = 'NEW' | 'ACTIVE' | 'PAYMENT_FAILED' | 'INACTIVE';
692
754
  export type SchemaEnum3 = 'AGENCY_WRITE' | 'INVITATION_READ' | 'INVITATION_WRITE' | 'ROLE_READ' | 'ROLE_WRITE' | 'MEMBER_READ' | 'MEMBER_WRITE' | 'LEAD_READ' | 'LEAD_WRITE' | 'LEAD_READ_ALL' | 'LEAD_WRITE_ALL' | 'CLIENT_READ' | 'CLIENT_WRITE' | 'CLIENT_READ_ALL' | 'CLIENT_WRITE_ALL' | 'PROPERTY_READ_ALL';
693
- export type SchemaEnum4 = 'NEW' | 'ON_HOLD' | 'LOST' | 'CONVERTED';
694
- export type SchemaEnum5 = 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'UNKNOWN';
695
- export type SchemaEnum6 = 'ASSIGNED_TO' | 'STATUS' | 'SOURCE_TYPE' | 'CREATED_AT_DAY' | 'CREATED_AT_WEEK' | 'CREATED_AT_MONTH';
755
+ export type SchemaEnum4 = 'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED';
756
+ export type SchemaEnum5 = 'EXCLUSIVE' | 'NON_EXCLUSIVE';
757
+ export type SchemaEnum6 = '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';
758
+ export type SchemaEnum7 = 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
759
+ export type SchemaEnum8 = 'SS' | 'MY_HOME';
760
+ export type SchemaEnum9 = 'VIP' | 'VIP_PLUS' | 'SUPER_VIP';
761
+ export type SchemaEnum10 = 'STATE' | 'PROPERTY_TYPE' | 'LISTING_TYPE' | 'REGION' | 'PLATFORM' | 'BOOST_TIER' | 'CREATED_AT_DAY' | 'CREATED_AT_WEEK' | 'CREATED_AT_MONTH';
762
+ export type SchemaEnum11 = 'NEW' | 'ON_HOLD' | 'LOST' | 'CONVERTED';
763
+ export type SchemaEnum12 = 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'UNKNOWN';
764
+ export type SchemaEnum13 = 'ASSIGNED_TO' | 'STATUS' | 'SOURCE_TYPE' | 'CREATED_AT_DAY' | 'CREATED_AT_WEEK' | 'CREATED_AT_MONTH';
696
765
  export type TypeEnum = 'FACEBOOK' | 'YOUTUBE' | 'INSTAGRAM' | 'TIKTOK' | 'LINKEDIN';
697
766
  export type LanguageEnum = 'ka' | 'en' | 'ru';
698
767
  export type ReasonEnum = 'NOT_WORKING_WITH_AGENTS' | 'NOT_RESPONDING' | 'ALREADY_SOLD' | 'COULD_NOT_NEGOTIATE_PRICE' | 'CHOSE_ANOTHER_AGENCY' | 'CHANGED_PLANS' | 'OUT_OF_BUDGET' | 'SPAM' | 'OTHER';
699
768
  export type ClientTypeEnum = 'LISTING' | 'SEEKING';
700
- export type ListingTypeEnum = 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
701
- export type PropertyTypeEnum = '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';
702
769
  export type GenderEnum = 'MALE' | 'FEMALE' | 'UNKNOWN';
703
- export type TypeEnum2 = 'EXCLUSIVE' | 'NON_EXCLUSIVE';
704
770
  export type PriorityEnum = 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
705
771
  export type ItemsEnum = 'WHATSAPP' | 'VIBER' | 'PHONE_CALL';
706
- export type TypeEnum3 = 'JPEG' | 'JPG' | 'PNG' | 'WEBP';
707
- export type PlatformEnum = 'SS' | 'MY_HOME';
708
- export type TierEnum = 'VIP' | 'VIP_PLUS' | 'SUPER_VIP';
772
+ export type TypeEnum2 = 'JPEG' | 'JPG' | 'PNG' | 'WEBP';
773
+ export type RoleEnum = 'ORGANIZER' | 'AGENT' | 'OWNER' | 'CLIENT';
774
+ export type InviteStrategyEnum = 'NONE' | 'AGENT_ONLY' | 'ALL_PARTICIPANTS';
709
775
  export type CommissionTypeEnum = 'FIXED_SALE' | 'FIXED_RENT' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
710
776
  export type StatusEnum = 'DRAFT' | 'AWAITING_CLIENT_REVIEW' | 'CLOSED';
711
777
  export type GroupEnum = 'AGENCY' | 'INVITATION' | 'ROLE' | 'MEMBER' | 'LEAD' | 'CLIENT' | 'PROPERTY';
712
778
  export type StatusEnum2 = 'PENDING' | 'ACCEPTED' | 'CANCELLED' | 'EXPIRED';
713
- export type StateEnum = 'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED';
714
779
  export type StatusEnum3 = 'ACTIVE' | 'INACTIVE' | 'NOT_FOUND';
715
780
  export type PutWhitelabelWebsiteData = {
716
781
  body: WebsiteRequest;
@@ -948,6 +1013,50 @@ export type PutMemberRoleResponses = {
948
1013
  204: void;
949
1014
  };
950
1015
  export type PutMemberRoleResponse = PutMemberRoleResponses[keyof PutMemberRoleResponses];
1016
+ export type PutMeetingsByMeetingIdRescheduleData = {
1017
+ body: RescheduleRequest;
1018
+ path: {
1019
+ meetingId: string;
1020
+ };
1021
+ query?: never;
1022
+ url: '/meetings/{meetingId}/reschedule';
1023
+ };
1024
+ export type PutMeetingsByMeetingIdRescheduleResponses = {
1025
+ /**
1026
+ * No Content
1027
+ */
1028
+ 204: void;
1029
+ };
1030
+ export type PutMeetingsByMeetingIdRescheduleResponse = PutMeetingsByMeetingIdRescheduleResponses[keyof PutMeetingsByMeetingIdRescheduleResponses];
1031
+ export type PutMeetingsByMeetingIdCompleteData = {
1032
+ body?: never;
1033
+ path: {
1034
+ meetingId: string;
1035
+ };
1036
+ query?: never;
1037
+ url: '/meetings/{meetingId}/complete';
1038
+ };
1039
+ export type PutMeetingsByMeetingIdCompleteResponses = {
1040
+ /**
1041
+ * OK
1042
+ */
1043
+ 200: unknown;
1044
+ };
1045
+ export type PutMeetingsByMeetingIdCancelData = {
1046
+ body?: never;
1047
+ path: {
1048
+ meetingId: string;
1049
+ };
1050
+ query?: never;
1051
+ url: '/meetings/{meetingId}/cancel';
1052
+ };
1053
+ export type PutMeetingsByMeetingIdCancelResponses = {
1054
+ /**
1055
+ * No Content
1056
+ */
1057
+ 204: void;
1058
+ };
1059
+ export type PutMeetingsByMeetingIdCancelResponse = PutMeetingsByMeetingIdCancelResponses[keyof PutMeetingsByMeetingIdCancelResponses];
951
1060
  export type PutLeadsByLeadIdSourceData = {
952
1061
  body: RecordSourceRequest;
953
1062
  path: {
@@ -1421,6 +1530,19 @@ export type PostMemberPresignedUrlsNotifyResponses = {
1421
1530
  200: UploadAcknowledgmentResponse;
1422
1531
  };
1423
1532
  export type PostMemberPresignedUrlsNotifyResponse = PostMemberPresignedUrlsNotifyResponses[keyof PostMemberPresignedUrlsNotifyResponses];
1533
+ export type PostMeetingsData = {
1534
+ body: CreateMeetingRequest;
1535
+ path?: never;
1536
+ query?: never;
1537
+ url: '/meetings';
1538
+ };
1539
+ export type PostMeetingsResponses = {
1540
+ /**
1541
+ * Created
1542
+ */
1543
+ 201: MeetingResponse;
1544
+ };
1545
+ export type PostMeetingsResponse = PostMeetingsResponses[keyof PostMeetingsResponses];
1424
1546
  export type PostLeadsData = {
1425
1547
  body: CaptureLeadRequest;
1426
1548
  path?: never;
@@ -1841,6 +1963,21 @@ export type GetPublicPermissionsResponses = {
1841
1963
  200: Array<GroupedPermissionsResponse>;
1842
1964
  };
1843
1965
  export type GetPublicPermissionsResponse = GetPublicPermissionsResponses[keyof GetPublicPermissionsResponses];
1966
+ export type GetPublicOauthGoogleCallbackData = {
1967
+ body?: never;
1968
+ path?: never;
1969
+ query: {
1970
+ code: string;
1971
+ state: string;
1972
+ };
1973
+ url: '/public/oauth/google/callback';
1974
+ };
1975
+ export type GetPublicOauthGoogleCallbackResponses = {
1976
+ /**
1977
+ * OK
1978
+ */
1979
+ 200: unknown;
1980
+ };
1844
1981
  export type GetPublicInvitationByInvitationIdData = {
1845
1982
  body?: never;
1846
1983
  path: {
@@ -1915,6 +2052,21 @@ export type GetPublicAgencySubdomainBySubDomainResponses = {
1915
2052
  200: AgencySummaryResponse;
1916
2053
  };
1917
2054
  export type GetPublicAgencySubdomainBySubDomainResponse = GetPublicAgencySubdomainBySubDomainResponses[keyof GetPublicAgencySubdomainBySubDomainResponses];
2055
+ export type GetOauthGoogleAuthorizeData = {
2056
+ body?: never;
2057
+ path?: never;
2058
+ query?: never;
2059
+ url: '/oauth/google/authorize';
2060
+ };
2061
+ export type GetOauthGoogleAuthorizeResponses = {
2062
+ /**
2063
+ * OK
2064
+ */
2065
+ 200: {
2066
+ [key: string]: string;
2067
+ };
2068
+ };
2069
+ export type GetOauthGoogleAuthorizeResponse = GetOauthGoogleAuthorizeResponses[keyof GetOauthGoogleAuthorizeResponses];
1918
2070
  export type GetMemberData = {
1919
2071
  body?: never;
1920
2072
  path?: never;
@@ -1935,11 +2087,111 @@ export type GetMemberResponses = {
1935
2087
  200: Array<MemberViewResponse>;
1936
2088
  };
1937
2089
  export type GetMemberResponse = GetMemberResponses[keyof GetMemberResponses];
2090
+ export type GetListingData = {
2091
+ body?: never;
2092
+ path?: never;
2093
+ query?: {
2094
+ state?: SchemaEnum4;
2095
+ agreementType?: SchemaEnum5;
2096
+ agreementExpiresFrom?: Date;
2097
+ agreementExpiresTo?: Date;
2098
+ propertyType?: SchemaEnum6;
2099
+ listingType?: SchemaEnum7;
2100
+ clientId?: number;
2101
+ regionId?: number;
2102
+ districtId?: number;
2103
+ subdistrictId?: number;
2104
+ streetId?: number;
2105
+ priceMin?: number;
2106
+ priceMax?: number;
2107
+ createdFrom?: Date;
2108
+ createdTo?: Date;
2109
+ platform?: SchemaEnum8;
2110
+ platformExpiresFrom?: Date;
2111
+ platformExpiresTo?: Date;
2112
+ boostTier?: SchemaEnum9;
2113
+ hasBoosted?: boolean;
2114
+ boostExpiresFrom?: Date;
2115
+ boostExpiresTo?: Date;
2116
+ /**
2117
+ * Zero-based page index (0..N)
2118
+ */
2119
+ page?: number;
2120
+ /**
2121
+ * The size of the page to be returned
2122
+ */
2123
+ size?: number;
2124
+ /**
2125
+ * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
2126
+ */
2127
+ sort?: Array<string>;
2128
+ };
2129
+ url: '/listing';
2130
+ };
2131
+ export type GetListingResponses = {
2132
+ /**
2133
+ * OK
2134
+ */
2135
+ 200: PagedModelListingGridView;
2136
+ };
2137
+ export type GetListingResponse = GetListingResponses[keyof GetListingResponses];
2138
+ export type GetListingByPropertyIdData = {
2139
+ body?: never;
2140
+ path: {
2141
+ propertyId: number;
2142
+ };
2143
+ query?: never;
2144
+ url: '/listing/{propertyId}';
2145
+ };
2146
+ export type GetListingByPropertyIdResponses = {
2147
+ /**
2148
+ * OK
2149
+ */
2150
+ 200: ListingGridView;
2151
+ };
2152
+ export type GetListingByPropertyIdResponse = GetListingByPropertyIdResponses[keyof GetListingByPropertyIdResponses];
2153
+ export type GetListingGroupsData = {
2154
+ body?: never;
2155
+ path?: never;
2156
+ query: {
2157
+ groupBy: SchemaEnum10;
2158
+ state?: SchemaEnum4;
2159
+ agreementType?: SchemaEnum5;
2160
+ agreementExpiresFrom?: Date;
2161
+ agreementExpiresTo?: Date;
2162
+ propertyType?: SchemaEnum6;
2163
+ listingType?: SchemaEnum7;
2164
+ clientId?: number;
2165
+ regionId?: number;
2166
+ districtId?: number;
2167
+ subdistrictId?: number;
2168
+ streetId?: number;
2169
+ priceMin?: number;
2170
+ priceMax?: number;
2171
+ createdFrom?: Date;
2172
+ createdTo?: Date;
2173
+ platform?: SchemaEnum8;
2174
+ platformExpiresFrom?: Date;
2175
+ platformExpiresTo?: Date;
2176
+ boostTier?: SchemaEnum9;
2177
+ hasBoosted?: boolean;
2178
+ boostExpiresFrom?: Date;
2179
+ boostExpiresTo?: Date;
2180
+ };
2181
+ url: '/listing/groups';
2182
+ };
2183
+ export type GetListingGroupsResponses = {
2184
+ /**
2185
+ * OK
2186
+ */
2187
+ 200: Array<GroupCount>;
2188
+ };
2189
+ export type GetListingGroupsResponse = GetListingGroupsResponses[keyof GetListingGroupsResponses];
1938
2190
  export type GetLeadData = {
1939
2191
  body?: never;
1940
2192
  path?: never;
1941
2193
  query?: {
1942
- status?: SchemaEnum4;
2194
+ status?: SchemaEnum11;
1943
2195
  isSearching?: boolean;
1944
2196
  isListing?: boolean;
1945
2197
  assignedTo?: string;
@@ -1947,7 +2199,7 @@ export type GetLeadData = {
1947
2199
  contactName?: string;
1948
2200
  email?: string;
1949
2201
  note?: string;
1950
- sourceType?: SchemaEnum5;
2202
+ sourceType?: SchemaEnum12;
1951
2203
  createdFrom?: Date;
1952
2204
  createdTo?: Date;
1953
2205
  /**
@@ -1991,14 +2243,14 @@ export type GetLeadMineData = {
1991
2243
  body?: never;
1992
2244
  path?: never;
1993
2245
  query?: {
1994
- status?: SchemaEnum4;
2246
+ status?: SchemaEnum11;
1995
2247
  isSearching?: boolean;
1996
2248
  isListing?: boolean;
1997
2249
  phone?: string;
1998
2250
  contactName?: string;
1999
2251
  email?: string;
2000
2252
  note?: string;
2001
- sourceType?: SchemaEnum5;
2253
+ sourceType?: SchemaEnum12;
2002
2254
  createdFrom?: Date;
2003
2255
  createdTo?: Date;
2004
2256
  /**
@@ -2027,8 +2279,8 @@ export type GetLeadGroupsData = {
2027
2279
  body?: never;
2028
2280
  path?: never;
2029
2281
  query: {
2030
- groupBy: SchemaEnum6;
2031
- status?: SchemaEnum4;
2282
+ groupBy: SchemaEnum13;
2283
+ status?: SchemaEnum11;
2032
2284
  isSearching?: boolean;
2033
2285
  isListing?: boolean;
2034
2286
  assignedTo?: string;
@@ -2036,7 +2288,7 @@ export type GetLeadGroupsData = {
2036
2288
  contactName?: string;
2037
2289
  email?: string;
2038
2290
  note?: string;
2039
- sourceType?: SchemaEnum5;
2291
+ sourceType?: SchemaEnum12;
2040
2292
  createdFrom?: Date;
2041
2293
  createdTo?: Date;
2042
2294
  };
@@ -2240,6 +2492,18 @@ export type GetAgencySubdomainBySubdomainActiveResponses = {
2240
2492
  200: WhitelabelActiveResponse;
2241
2493
  };
2242
2494
  export type GetAgencySubdomainBySubdomainActiveResponse = GetAgencySubdomainBySubdomainActiveResponses[keyof GetAgencySubdomainBySubdomainActiveResponses];
2495
+ export type DeleteOauthGoogleData = {
2496
+ body?: never;
2497
+ path?: never;
2498
+ query?: never;
2499
+ url: '/oauth/google';
2500
+ };
2501
+ export type DeleteOauthGoogleResponses = {
2502
+ /**
2503
+ * OK
2504
+ */
2505
+ 200: unknown;
2506
+ };
2243
2507
  export type DeleteMemberByMemberIdData = {
2244
2508
  body?: never;
2245
2509
  path: {