@homespot-sdk/core 0.0.222 → 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 = {
@@ -339,6 +366,8 @@ export type PagedModelRoleResponse = {
339
366
  export type RoleResponse = {
340
367
  id: number;
341
368
  name: string;
369
+ isSystem?: boolean;
370
+ isOwner?: boolean;
342
371
  description: string;
343
372
  permissions: Array<SchemaEnum3>;
344
373
  };
@@ -369,11 +398,11 @@ export type RecommendationsCardView = {
369
398
  ownerClientId: number;
370
399
  listingId: number;
371
400
  externalListingId: string;
372
- listingType: ListingTypeEnum;
401
+ listingType: SchemaEnum7;
373
402
  price: number;
374
403
  propertyId: number;
375
404
  externalPropertyId: string;
376
- type: PropertyTypeEnum;
405
+ type: SchemaEnum6;
377
406
  coverPhoto?: string;
378
407
  photoCount?: number;
379
408
  totalArea: number;
@@ -480,11 +509,51 @@ export type MemberViewResponse = {
480
509
  roleName: string;
481
510
  joinedAt: Date;
482
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
+ };
483
552
  export type IntentResponse = {
484
553
  id: number;
485
554
  clientType: ClientTypeEnum;
486
- listingType: ListingTypeEnum;
487
- propertyType: PropertyTypeEnum;
555
+ listingType: SchemaEnum7;
556
+ propertyType: SchemaEnum6;
488
557
  priceMin?: number;
489
558
  priceMax?: number;
490
559
  regionId?: number;
@@ -500,13 +569,13 @@ export type LeadGridResponse = {
500
569
  assignedTo?: string;
501
570
  assignedToName?: string;
502
571
  assignedToPhoto?: string;
503
- status: SchemaEnum4;
572
+ status: SchemaEnum11;
504
573
  contactFullName?: string;
505
574
  contactGender?: GenderEnum;
506
575
  contactPhoneNumber: string;
507
576
  contactEmail?: string;
508
577
  note?: string;
509
- sourceType?: SourceTypeEnum;
578
+ sourceType?: SchemaEnum12;
510
579
  sourceLink?: string;
511
580
  isSearching: boolean;
512
581
  isListing: boolean;
@@ -540,7 +609,7 @@ export type ClientGridResponse = {
540
609
  contactPhoneNumber: string;
541
610
  contactGender?: GenderEnum;
542
611
  contactEmail?: string;
543
- sourceType?: SourceTypeEnum;
612
+ sourceType?: SchemaEnum12;
544
613
  sourceLink?: string;
545
614
  isSearching: boolean;
546
615
  isListing: boolean;
@@ -553,12 +622,12 @@ export type PagedModelClientGridResponse = {
553
622
  page?: PageMetadata;
554
623
  };
555
624
  export type ActiveBoostResponse = {
556
- tier: TierEnum;
625
+ tier: SchemaEnum9;
557
626
  activatedAt: Date;
558
627
  expiresAt: Date;
559
628
  };
560
629
  export type AgreementResponse = {
561
- agreement: TypeEnum2;
630
+ agreement: SchemaEnum5;
562
631
  expiryDate?: Date;
563
632
  };
564
633
  export type AssignedMember = {
@@ -586,8 +655,8 @@ export type Client360Response = {
586
655
  };
587
656
  export type ClientInterestResponse = {
588
657
  id: number;
589
- propertyTypes: Array<PropertyTypeEnum>;
590
- listingType: ListingTypeEnum;
658
+ propertyTypes: Array<SchemaEnum6>;
659
+ listingType: SchemaEnum7;
591
660
  priceMin?: number;
592
661
  priceMax?: number;
593
662
  bedroomsMin?: number;
@@ -604,7 +673,7 @@ export type ClientInterestResponse = {
604
673
  export type ClientListingsResponse = {
605
674
  publicId: number;
606
675
  listingId: string;
607
- listingType: ListingTypeEnum;
676
+ listingType: SchemaEnum7;
608
677
  price: number;
609
678
  deal?: DealResponse;
610
679
  platformListings: Array<PlatformListingResponse>;
@@ -612,8 +681,8 @@ export type ClientListingsResponse = {
612
681
  export type ClientPropertyResponse = {
613
682
  publicId: number;
614
683
  propertyId: string;
615
- type: PropertyTypeEnum;
616
- state: StateEnum;
684
+ type: SchemaEnum6;
685
+ state: SchemaEnum4;
617
686
  details?: PropertyDetailsResponse;
618
687
  agreement: AgreementResponse;
619
688
  listings: Array<ClientListingsResponse>;
@@ -642,7 +711,7 @@ export type DealResponse = {
642
711
  };
643
712
  export type PlatformListingResponse = {
644
713
  platformId: number;
645
- platformType: PlatformEnum;
714
+ platformType: SchemaEnum8;
646
715
  uploadDate: Date;
647
716
  expiryDate: Date;
648
717
  renewedDate?: Date;
@@ -659,7 +728,7 @@ export type PropertyDetailsResponse = {
659
728
  address: AddressResponse;
660
729
  };
661
730
  export type SourceResponse = {
662
- sourceType: SourceTypeEnum;
731
+ sourceType: SchemaEnum12;
663
732
  sourceLink?: string;
664
733
  };
665
734
  export type AddressViewResponse = {
@@ -683,26 +752,30 @@ export type WhitelabelActiveResponse = {
683
752
  export type SchemaEnum = 'MAYBE' | 'DISLIKE' | 'LIKE' | 'VISIT';
684
753
  export type SchemaEnum2 = 'NEW' | 'ACTIVE' | 'PAYMENT_FAILED' | 'INACTIVE';
685
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';
686
- export type SchemaEnum4 = 'NEW' | 'ON_HOLD' | 'LOST' | 'CONVERTED';
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';
687
765
  export type TypeEnum = 'FACEBOOK' | 'YOUTUBE' | 'INSTAGRAM' | 'TIKTOK' | 'LINKEDIN';
688
766
  export type LanguageEnum = 'ka' | 'en' | 'ru';
689
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';
690
768
  export type ClientTypeEnum = 'LISTING' | 'SEEKING';
691
- export type ListingTypeEnum = 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
692
- 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';
693
769
  export type GenderEnum = 'MALE' | 'FEMALE' | 'UNKNOWN';
694
- export type TypeEnum2 = 'EXCLUSIVE' | 'NON_EXCLUSIVE';
695
770
  export type PriorityEnum = 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
696
771
  export type ItemsEnum = 'WHATSAPP' | 'VIBER' | 'PHONE_CALL';
697
- export type TypeEnum3 = 'JPEG' | 'JPG' | 'PNG' | 'WEBP';
698
- export type PlatformEnum = 'SS' | 'MY_HOME';
699
- 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';
700
775
  export type CommissionTypeEnum = 'FIXED_SALE' | 'FIXED_RENT' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
701
776
  export type StatusEnum = 'DRAFT' | 'AWAITING_CLIENT_REVIEW' | 'CLOSED';
702
777
  export type GroupEnum = 'AGENCY' | 'INVITATION' | 'ROLE' | 'MEMBER' | 'LEAD' | 'CLIENT' | 'PROPERTY';
703
778
  export type StatusEnum2 = 'PENDING' | 'ACCEPTED' | 'CANCELLED' | 'EXPIRED';
704
- export type SourceTypeEnum = 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'UNKNOWN';
705
- export type StateEnum = 'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED';
706
779
  export type StatusEnum3 = 'ACTIVE' | 'INACTIVE' | 'NOT_FOUND';
707
780
  export type PutWhitelabelWebsiteData = {
708
781
  body: WebsiteRequest;
@@ -940,6 +1013,50 @@ export type PutMemberRoleResponses = {
940
1013
  204: void;
941
1014
  };
942
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];
943
1060
  export type PutLeadsByLeadIdSourceData = {
944
1061
  body: RecordSourceRequest;
945
1062
  path: {
@@ -1413,6 +1530,19 @@ export type PostMemberPresignedUrlsNotifyResponses = {
1413
1530
  200: UploadAcknowledgmentResponse;
1414
1531
  };
1415
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];
1416
1546
  export type PostLeadsData = {
1417
1547
  body: CaptureLeadRequest;
1418
1548
  path?: never;
@@ -1833,6 +1963,21 @@ export type GetPublicPermissionsResponses = {
1833
1963
  200: Array<GroupedPermissionsResponse>;
1834
1964
  };
1835
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
+ };
1836
1981
  export type GetPublicInvitationByInvitationIdData = {
1837
1982
  body?: never;
1838
1983
  path: {
@@ -1907,6 +2052,21 @@ export type GetPublicAgencySubdomainBySubDomainResponses = {
1907
2052
  200: AgencySummaryResponse;
1908
2053
  };
1909
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];
1910
2070
  export type GetMemberData = {
1911
2071
  body?: never;
1912
2072
  path?: never;
@@ -1927,13 +2087,121 @@ export type GetMemberResponses = {
1927
2087
  200: Array<MemberViewResponse>;
1928
2088
  };
1929
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];
1930
2190
  export type GetLeadData = {
1931
2191
  body?: never;
1932
2192
  path?: never;
1933
2193
  query?: {
1934
- status?: SchemaEnum4;
2194
+ status?: SchemaEnum11;
1935
2195
  isSearching?: boolean;
1936
2196
  isListing?: boolean;
2197
+ assignedTo?: string;
2198
+ phone?: string;
2199
+ contactName?: string;
2200
+ email?: string;
2201
+ note?: string;
2202
+ sourceType?: SchemaEnum12;
2203
+ createdFrom?: Date;
2204
+ createdTo?: Date;
1937
2205
  /**
1938
2206
  * Zero-based page index (0..N)
1939
2207
  */
@@ -1975,9 +2243,16 @@ export type GetLeadMineData = {
1975
2243
  body?: never;
1976
2244
  path?: never;
1977
2245
  query?: {
1978
- status?: SchemaEnum4;
2246
+ status?: SchemaEnum11;
1979
2247
  isSearching?: boolean;
1980
2248
  isListing?: boolean;
2249
+ phone?: string;
2250
+ contactName?: string;
2251
+ email?: string;
2252
+ note?: string;
2253
+ sourceType?: SchemaEnum12;
2254
+ createdFrom?: Date;
2255
+ createdTo?: Date;
1981
2256
  /**
1982
2257
  * Zero-based page index (0..N)
1983
2258
  */
@@ -2000,6 +2275,32 @@ export type GetLeadMineResponses = {
2000
2275
  200: PagedModelLeadGridResponse;
2001
2276
  };
2002
2277
  export type GetLeadMineResponse = GetLeadMineResponses[keyof GetLeadMineResponses];
2278
+ export type GetLeadGroupsData = {
2279
+ body?: never;
2280
+ path?: never;
2281
+ query: {
2282
+ groupBy: SchemaEnum13;
2283
+ status?: SchemaEnum11;
2284
+ isSearching?: boolean;
2285
+ isListing?: boolean;
2286
+ assignedTo?: string;
2287
+ phone?: string;
2288
+ contactName?: string;
2289
+ email?: string;
2290
+ note?: string;
2291
+ sourceType?: SchemaEnum12;
2292
+ createdFrom?: Date;
2293
+ createdTo?: Date;
2294
+ };
2295
+ url: '/lead/groups';
2296
+ };
2297
+ export type GetLeadGroupsResponses = {
2298
+ /**
2299
+ * OK
2300
+ */
2301
+ 200: Array<GroupCount>;
2302
+ };
2303
+ export type GetLeadGroupsResponse = GetLeadGroupsResponses[keyof GetLeadGroupsResponses];
2003
2304
  export type GetClientsByClientIdRecommendationsByRecommendationsIdData = {
2004
2305
  body?: never;
2005
2306
  path: {
@@ -2191,6 +2492,18 @@ export type GetAgencySubdomainBySubdomainActiveResponses = {
2191
2492
  200: WhitelabelActiveResponse;
2192
2493
  };
2193
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
+ };
2194
2507
  export type DeleteMemberByMemberIdData = {
2195
2508
  body?: never;
2196
2509
  path: {