@homespot-sdk/core 0.0.102
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/README.md +15 -0
- package/dist/client/client.gen.d.ts +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +211 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +17 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.gen.d.ts +100 -0
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +4 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/utils.gen.d.ts +41 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +317 -0
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +13 -0
- package/dist/client.gen.d.ts.map +1 -0
- package/dist/client.gen.js +10 -0
- package/dist/client.gen.js.map +1 -0
- package/dist/core/auth.gen.d.ts +19 -0
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/auth.gen.js +19 -0
- package/dist/core/auth.gen.js.map +1 -0
- package/dist/core/bodySerializer.gen.d.ts +26 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/bodySerializer.gen.js +61 -0
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/params.gen.d.ts +44 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +106 -0
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/pathSerializer.gen.d.ts +34 -0
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/pathSerializer.gen.js +128 -0
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +106 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +144 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/types.gen.d.ts +79 -0
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +4 -0
- package/dist/core/types.gen.js.map +1 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +95 -0
- package/dist/core/utils.gen.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +43 -0
- package/dist/index.js.map +1 -0
- package/dist/schemas.gen.d.ts +955 -0
- package/dist/schemas.gen.d.ts.map +1 -0
- package/dist/schemas.gen.js +1059 -0
- package/dist/schemas.gen.js.map +1 -0
- package/dist/sdk.gen.d.ts +53 -0
- package/dist/sdk.gen.d.ts.map +1 -0
- package/dist/sdk.gen.js +315 -0
- package/dist/sdk.gen.js.map +1 -0
- package/dist/transformers.gen.d.ts +4 -0
- package/dist/transformers.gen.d.ts.map +1 -0
- package/dist/transformers.gen.js +39 -0
- package/dist/transformers.gen.js.map +1 -0
- package/dist/types.gen.d.ts +887 -0
- package/dist/types.gen.d.ts.map +1 -0
- package/dist/types.gen.js +4 -0
- package/dist/types.gen.js.map +1 -0
- package/dist/zod.gen.d.ts +1938 -0
- package/dist/zod.gen.d.ts.map +1 -0
- package/dist/zod.gen.js +1046 -0
- package/dist/zod.gen.js.map +1 -0
- package/package.json +32 -0
|
@@ -0,0 +1,887 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://gateway.dev.homespot.ge/rem' | (string & {});
|
|
3
|
+
};
|
|
4
|
+
export type RolesRequest = {
|
|
5
|
+
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
permissions: Array<ItemsEnum>;
|
|
8
|
+
};
|
|
9
|
+
export type AssignRoleRequest = {
|
|
10
|
+
roleId: number;
|
|
11
|
+
};
|
|
12
|
+
export type BatchAssignRoleRequest = {
|
|
13
|
+
roleId: number;
|
|
14
|
+
memberIds: Array<string>;
|
|
15
|
+
};
|
|
16
|
+
export type ChangeStatusRequest = {
|
|
17
|
+
status: SchemaEnum;
|
|
18
|
+
};
|
|
19
|
+
export type SourceRequest = {
|
|
20
|
+
sourceUrl?: string;
|
|
21
|
+
};
|
|
22
|
+
export type UpdateNoteRequest = {
|
|
23
|
+
note?: string;
|
|
24
|
+
};
|
|
25
|
+
export type LeadIntentRequest = {
|
|
26
|
+
clientType: ClientTypeEnum;
|
|
27
|
+
listingType: ListingTypeEnum;
|
|
28
|
+
propertyType: PropertyTypeEnum;
|
|
29
|
+
price?: PriceRangeRequest;
|
|
30
|
+
targetLocation?: LocationRefRequest;
|
|
31
|
+
area?: number;
|
|
32
|
+
numberOfRooms?: number;
|
|
33
|
+
};
|
|
34
|
+
export type LocationRefRequest = {
|
|
35
|
+
regionId?: number;
|
|
36
|
+
districtId?: number;
|
|
37
|
+
subDistrictId?: number;
|
|
38
|
+
streetId?: number;
|
|
39
|
+
};
|
|
40
|
+
export type PriceRangeRequest = {
|
|
41
|
+
min?: number;
|
|
42
|
+
max?: number;
|
|
43
|
+
};
|
|
44
|
+
export type ContactInfoRequest = {
|
|
45
|
+
firstName?: string;
|
|
46
|
+
lastName?: string;
|
|
47
|
+
email?: string;
|
|
48
|
+
phone: string;
|
|
49
|
+
};
|
|
50
|
+
export type AssignToMemberRequest = {
|
|
51
|
+
memberId: string;
|
|
52
|
+
};
|
|
53
|
+
export type AddressRequest = {
|
|
54
|
+
country: string;
|
|
55
|
+
city: string;
|
|
56
|
+
district: string;
|
|
57
|
+
subdistrict: string;
|
|
58
|
+
street: string;
|
|
59
|
+
};
|
|
60
|
+
export type CreateAgencyRequest = {
|
|
61
|
+
name: string;
|
|
62
|
+
email: string;
|
|
63
|
+
seats: number;
|
|
64
|
+
subDomain: string;
|
|
65
|
+
phone: string;
|
|
66
|
+
address: AddressRequest;
|
|
67
|
+
yearSince: number;
|
|
68
|
+
};
|
|
69
|
+
export type SocialMediaRequest = {
|
|
70
|
+
type: TypeEnum;
|
|
71
|
+
url?: string;
|
|
72
|
+
};
|
|
73
|
+
export type SocialMediasRequest = {
|
|
74
|
+
data: Array<SocialMediaRequest>;
|
|
75
|
+
};
|
|
76
|
+
export type TransferFundsRequest = {
|
|
77
|
+
transferTo: string;
|
|
78
|
+
amount: number;
|
|
79
|
+
};
|
|
80
|
+
export type DepositFundsRequest = {
|
|
81
|
+
amount: number;
|
|
82
|
+
};
|
|
83
|
+
export type IdResponse = {
|
|
84
|
+
id: unknown;
|
|
85
|
+
};
|
|
86
|
+
export type CreateLeadRequest = {
|
|
87
|
+
contactInfo: ContactInfoRequest;
|
|
88
|
+
note?: string;
|
|
89
|
+
sourceUrl?: string;
|
|
90
|
+
};
|
|
91
|
+
export type IdResponseLong = {
|
|
92
|
+
id: number;
|
|
93
|
+
};
|
|
94
|
+
export type InvitationDetailsRequest = {
|
|
95
|
+
email: string;
|
|
96
|
+
roleId: number;
|
|
97
|
+
};
|
|
98
|
+
export type InviteMemberRequest = {
|
|
99
|
+
emails: Array<InvitationDetailsRequest>;
|
|
100
|
+
};
|
|
101
|
+
export type IdResponseUuid = {
|
|
102
|
+
id: string;
|
|
103
|
+
};
|
|
104
|
+
export type PhotoRequest = {
|
|
105
|
+
photo: string;
|
|
106
|
+
type: TypeEnum2;
|
|
107
|
+
width: number;
|
|
108
|
+
height?: number;
|
|
109
|
+
};
|
|
110
|
+
export type PresignedUrlResponse = {
|
|
111
|
+
originalName: string;
|
|
112
|
+
key: string;
|
|
113
|
+
url: string;
|
|
114
|
+
};
|
|
115
|
+
export type PresignedUrlsResponse = {
|
|
116
|
+
data: Array<PresignedUrlResponse>;
|
|
117
|
+
};
|
|
118
|
+
export type UploadAcknowledgmentResponse = {
|
|
119
|
+
success: Array<string>;
|
|
120
|
+
fail: Array<string>;
|
|
121
|
+
};
|
|
122
|
+
export type OrganizationSummaryViewResponse = {
|
|
123
|
+
agencyId: string;
|
|
124
|
+
isOwner: boolean;
|
|
125
|
+
agencyName: string;
|
|
126
|
+
subDomain: string;
|
|
127
|
+
roleId?: number;
|
|
128
|
+
memberId: string;
|
|
129
|
+
roleName: string;
|
|
130
|
+
permissions: Array<ItemsEnum>;
|
|
131
|
+
status: SchemaEnum2;
|
|
132
|
+
};
|
|
133
|
+
export type UserContextViewResponse = {
|
|
134
|
+
user: UserSummaryViewResponse;
|
|
135
|
+
organizations: Array<OrganizationSummaryViewResponse>;
|
|
136
|
+
};
|
|
137
|
+
export type UserSummaryViewResponse = {
|
|
138
|
+
email: string;
|
|
139
|
+
firstName: string;
|
|
140
|
+
lastName: string;
|
|
141
|
+
};
|
|
142
|
+
export type PageMetadata = {
|
|
143
|
+
size?: number;
|
|
144
|
+
number?: number;
|
|
145
|
+
totalElements?: number;
|
|
146
|
+
totalPages?: number;
|
|
147
|
+
};
|
|
148
|
+
export type PagedModelRoleResponse = {
|
|
149
|
+
content?: Array<RoleResponse>;
|
|
150
|
+
page?: PageMetadata;
|
|
151
|
+
};
|
|
152
|
+
export type RoleResponse = {
|
|
153
|
+
id: number;
|
|
154
|
+
name: string;
|
|
155
|
+
description: string;
|
|
156
|
+
permissions: Array<ItemsEnum>;
|
|
157
|
+
};
|
|
158
|
+
export type InvitationDetailsResponse = {
|
|
159
|
+
invitationId: string;
|
|
160
|
+
agencyId: string;
|
|
161
|
+
email: string;
|
|
162
|
+
status: StatusEnum;
|
|
163
|
+
agencyName: string;
|
|
164
|
+
agencyLogo?: string;
|
|
165
|
+
};
|
|
166
|
+
export type AgencySummaryResponse = {
|
|
167
|
+
id: string;
|
|
168
|
+
owner: string;
|
|
169
|
+
name: string;
|
|
170
|
+
email: string;
|
|
171
|
+
seats: string;
|
|
172
|
+
subDomain: string;
|
|
173
|
+
phone: string;
|
|
174
|
+
website?: string;
|
|
175
|
+
yearSince: string;
|
|
176
|
+
status: SchemaEnum2;
|
|
177
|
+
logo?: string;
|
|
178
|
+
};
|
|
179
|
+
export type PagedModelAgencySummaryResponse = {
|
|
180
|
+
content?: Array<AgencySummaryResponse>;
|
|
181
|
+
page?: PageMetadata;
|
|
182
|
+
};
|
|
183
|
+
export type GroupedPermissionsResponse = {
|
|
184
|
+
group: GroupEnum;
|
|
185
|
+
permissions: Array<PermissionResponse>;
|
|
186
|
+
};
|
|
187
|
+
export type PermissionResponse = {
|
|
188
|
+
permission: ItemsEnum;
|
|
189
|
+
implied: Array<ItemsEnum>;
|
|
190
|
+
};
|
|
191
|
+
export type MemberViewResponse = {
|
|
192
|
+
userId: string;
|
|
193
|
+
firstName: string;
|
|
194
|
+
lastName: string;
|
|
195
|
+
phone?: string;
|
|
196
|
+
email: string;
|
|
197
|
+
roleId: number;
|
|
198
|
+
roleName: string;
|
|
199
|
+
joinedAt: Date;
|
|
200
|
+
};
|
|
201
|
+
export type PagedModelMemberViewResponse = {
|
|
202
|
+
content?: Array<MemberViewResponse>;
|
|
203
|
+
page?: PageMetadata;
|
|
204
|
+
};
|
|
205
|
+
export type IntentResponse = {
|
|
206
|
+
id: number;
|
|
207
|
+
clientType: ClientTypeEnum;
|
|
208
|
+
listingType: ListingTypeEnum;
|
|
209
|
+
propertyType: PropertyTypeEnum;
|
|
210
|
+
priceMin?: number;
|
|
211
|
+
priceMax?: number;
|
|
212
|
+
regionId?: number;
|
|
213
|
+
districtId?: number;
|
|
214
|
+
subDistrictId?: number;
|
|
215
|
+
streetId?: number;
|
|
216
|
+
area?: number;
|
|
217
|
+
numberOfRooms?: number;
|
|
218
|
+
};
|
|
219
|
+
export type LeadProjectionResponse = {
|
|
220
|
+
id: number;
|
|
221
|
+
createdBy: string;
|
|
222
|
+
assignedTo?: string;
|
|
223
|
+
status: SchemaEnum;
|
|
224
|
+
contactFullName?: string;
|
|
225
|
+
contactPhoneNumber: string;
|
|
226
|
+
contactEmail?: string;
|
|
227
|
+
note?: string;
|
|
228
|
+
sourceType?: SourceTypeEnum;
|
|
229
|
+
sourceLink?: string;
|
|
230
|
+
isSearching: boolean;
|
|
231
|
+
isListing: boolean;
|
|
232
|
+
intents?: Array<IntentResponse>;
|
|
233
|
+
};
|
|
234
|
+
export type PagedModelLeadProjectionResponse = {
|
|
235
|
+
content?: Array<LeadProjectionResponse>;
|
|
236
|
+
page?: PageMetadata;
|
|
237
|
+
};
|
|
238
|
+
export type InvitationViewResponse = {
|
|
239
|
+
invitationId: string;
|
|
240
|
+
email: string;
|
|
241
|
+
status: StatusEnum;
|
|
242
|
+
createdAt: Date;
|
|
243
|
+
expiresAt: Date;
|
|
244
|
+
acceptedAt?: Date;
|
|
245
|
+
acceptedBy?: string;
|
|
246
|
+
};
|
|
247
|
+
export type PagedModelInvitationViewResponse = {
|
|
248
|
+
content?: Array<InvitationViewResponse>;
|
|
249
|
+
page?: PageMetadata;
|
|
250
|
+
};
|
|
251
|
+
export type AddressViewResponse = {
|
|
252
|
+
country: string;
|
|
253
|
+
city: string;
|
|
254
|
+
district: string;
|
|
255
|
+
subdistrict: string;
|
|
256
|
+
street: string;
|
|
257
|
+
};
|
|
258
|
+
export type AgencyProfileResponse = {
|
|
259
|
+
name: string;
|
|
260
|
+
email: string;
|
|
261
|
+
seats: number;
|
|
262
|
+
subDomain: string;
|
|
263
|
+
phone: string;
|
|
264
|
+
address: AddressViewResponse;
|
|
265
|
+
yearSince: number;
|
|
266
|
+
};
|
|
267
|
+
export type SchemaEnum = 'NEW' | 'ATTEMPTED_CONTACT' | 'CONTACTED' | 'DISQUALIFIED' | 'CONVERTED' | 'LOST';
|
|
268
|
+
export type SchemaEnum2 = 'NEW' | 'ACTIVE' | 'PAYMENT_FAILED' | 'INACTIVE';
|
|
269
|
+
export type ItemsEnum = 'AGENCY_WRITE' | 'INVITATION_READ' | 'INVITATION_WRITE' | 'ROLE_READ' | 'ROLE_WRITE' | 'MEMBER_READ' | 'MEMBER_WRITE' | 'LEAD_READ' | 'LEAD_WRITE' | 'LEAD_READ_ALL' | 'LEAD_WRITE_ALL';
|
|
270
|
+
export type ClientTypeEnum = 'LISTING' | 'SEEKING';
|
|
271
|
+
export type ListingTypeEnum = 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
272
|
+
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';
|
|
273
|
+
export type TypeEnum = 'FACEBOOK' | 'YOUTUBE' | 'INSTAGRAM' | 'TIKTOK' | 'LINKEDIN';
|
|
274
|
+
export type TypeEnum2 = 'JPEG' | 'JPG' | 'PNG' | 'WEBP';
|
|
275
|
+
export type StatusEnum = 'PENDING' | 'ACCEPTED' | 'CANCELLED' | 'EXPIRED';
|
|
276
|
+
export type GroupEnum = 'AGENCY' | 'INVITATION' | 'ROLE' | 'MEMBER' | 'LEAD';
|
|
277
|
+
export type SourceTypeEnum = 'MY_HOME' | 'SS' | 'FACEBOOK' | 'YOUTUBE' | 'INSTAGRAM' | 'TIKTOK' | 'LINKEDIN' | 'UNKNOWN';
|
|
278
|
+
export type RemoveRoleData = {
|
|
279
|
+
body?: never;
|
|
280
|
+
path: {
|
|
281
|
+
roleId: number;
|
|
282
|
+
};
|
|
283
|
+
query?: never;
|
|
284
|
+
url: '/roles/{roleId}';
|
|
285
|
+
};
|
|
286
|
+
export type RemoveRoleResponses = {
|
|
287
|
+
/**
|
|
288
|
+
* No Content
|
|
289
|
+
*/
|
|
290
|
+
204: void;
|
|
291
|
+
};
|
|
292
|
+
export type RemoveRoleResponse = RemoveRoleResponses[keyof RemoveRoleResponses];
|
|
293
|
+
export type UpdateRoleData = {
|
|
294
|
+
body: RolesRequest;
|
|
295
|
+
path: {
|
|
296
|
+
roleId: number;
|
|
297
|
+
};
|
|
298
|
+
query?: never;
|
|
299
|
+
url: '/roles/{roleId}';
|
|
300
|
+
};
|
|
301
|
+
export type UpdateRoleResponses = {
|
|
302
|
+
/**
|
|
303
|
+
* No Content
|
|
304
|
+
*/
|
|
305
|
+
204: void;
|
|
306
|
+
};
|
|
307
|
+
export type UpdateRoleResponse = UpdateRoleResponses[keyof UpdateRoleResponses];
|
|
308
|
+
export type AssignRoleData = {
|
|
309
|
+
body: AssignRoleRequest;
|
|
310
|
+
path: {
|
|
311
|
+
memberId: string;
|
|
312
|
+
};
|
|
313
|
+
query?: never;
|
|
314
|
+
url: '/member/{memberId}/role';
|
|
315
|
+
};
|
|
316
|
+
export type AssignRoleResponses = {
|
|
317
|
+
/**
|
|
318
|
+
* No Content
|
|
319
|
+
*/
|
|
320
|
+
204: void;
|
|
321
|
+
};
|
|
322
|
+
export type AssignRoleResponse = AssignRoleResponses[keyof AssignRoleResponses];
|
|
323
|
+
export type AssignRoleBatchData = {
|
|
324
|
+
body: BatchAssignRoleRequest;
|
|
325
|
+
path?: never;
|
|
326
|
+
query?: never;
|
|
327
|
+
url: '/member/role';
|
|
328
|
+
};
|
|
329
|
+
export type AssignRoleBatchResponses = {
|
|
330
|
+
/**
|
|
331
|
+
* No Content
|
|
332
|
+
*/
|
|
333
|
+
204: void;
|
|
334
|
+
};
|
|
335
|
+
export type AssignRoleBatchResponse = AssignRoleBatchResponses[keyof AssignRoleBatchResponses];
|
|
336
|
+
export type ChangeStatusData = {
|
|
337
|
+
body: ChangeStatusRequest;
|
|
338
|
+
path: {
|
|
339
|
+
leadId: number;
|
|
340
|
+
};
|
|
341
|
+
query?: never;
|
|
342
|
+
url: '/lead/{leadId}/status';
|
|
343
|
+
};
|
|
344
|
+
export type ChangeStatusResponses = {
|
|
345
|
+
/**
|
|
346
|
+
* No Content
|
|
347
|
+
*/
|
|
348
|
+
204: void;
|
|
349
|
+
};
|
|
350
|
+
export type ChangeStatusResponse = ChangeStatusResponses[keyof ChangeStatusResponses];
|
|
351
|
+
export type UpdateSourceData = {
|
|
352
|
+
body: SourceRequest;
|
|
353
|
+
path: {
|
|
354
|
+
leadId: number;
|
|
355
|
+
};
|
|
356
|
+
query?: never;
|
|
357
|
+
url: '/lead/{leadId}/source';
|
|
358
|
+
};
|
|
359
|
+
export type UpdateSourceResponses = {
|
|
360
|
+
/**
|
|
361
|
+
* No Content
|
|
362
|
+
*/
|
|
363
|
+
204: void;
|
|
364
|
+
};
|
|
365
|
+
export type UpdateSourceResponse = UpdateSourceResponses[keyof UpdateSourceResponses];
|
|
366
|
+
export type UpdateNoteData = {
|
|
367
|
+
body: UpdateNoteRequest;
|
|
368
|
+
path: {
|
|
369
|
+
leadId: number;
|
|
370
|
+
};
|
|
371
|
+
query?: never;
|
|
372
|
+
url: '/lead/{leadId}/note';
|
|
373
|
+
};
|
|
374
|
+
export type UpdateNoteResponses = {
|
|
375
|
+
/**
|
|
376
|
+
* No Content
|
|
377
|
+
*/
|
|
378
|
+
204: void;
|
|
379
|
+
};
|
|
380
|
+
export type UpdateNoteResponse = UpdateNoteResponses[keyof UpdateNoteResponses];
|
|
381
|
+
export type RemoveIntentData = {
|
|
382
|
+
body?: never;
|
|
383
|
+
path: {
|
|
384
|
+
leadId: number;
|
|
385
|
+
};
|
|
386
|
+
query: {
|
|
387
|
+
intentId: number;
|
|
388
|
+
};
|
|
389
|
+
url: '/lead/{leadId}/intent';
|
|
390
|
+
};
|
|
391
|
+
export type RemoveIntentResponses = {
|
|
392
|
+
/**
|
|
393
|
+
* No Content
|
|
394
|
+
*/
|
|
395
|
+
204: void;
|
|
396
|
+
};
|
|
397
|
+
export type RemoveIntentResponse = RemoveIntentResponses[keyof RemoveIntentResponses];
|
|
398
|
+
export type AddIntentData = {
|
|
399
|
+
body: LeadIntentRequest;
|
|
400
|
+
path: {
|
|
401
|
+
leadId: number;
|
|
402
|
+
};
|
|
403
|
+
query?: never;
|
|
404
|
+
url: '/lead/{leadId}/intent';
|
|
405
|
+
};
|
|
406
|
+
export type AddIntentResponses = {
|
|
407
|
+
/**
|
|
408
|
+
* No Content
|
|
409
|
+
*/
|
|
410
|
+
204: void;
|
|
411
|
+
};
|
|
412
|
+
export type AddIntentResponse = AddIntentResponses[keyof AddIntentResponses];
|
|
413
|
+
export type UpdateIntentData = {
|
|
414
|
+
body: LeadIntentRequest;
|
|
415
|
+
path: {
|
|
416
|
+
leadId: number;
|
|
417
|
+
};
|
|
418
|
+
query: {
|
|
419
|
+
intentId: number;
|
|
420
|
+
};
|
|
421
|
+
url: '/lead/{leadId}/intent';
|
|
422
|
+
};
|
|
423
|
+
export type UpdateIntentResponses = {
|
|
424
|
+
/**
|
|
425
|
+
* No Content
|
|
426
|
+
*/
|
|
427
|
+
204: void;
|
|
428
|
+
};
|
|
429
|
+
export type UpdateIntentResponse = UpdateIntentResponses[keyof UpdateIntentResponses];
|
|
430
|
+
export type UpdateContactInfoData = {
|
|
431
|
+
body: ContactInfoRequest;
|
|
432
|
+
path: {
|
|
433
|
+
leadId: number;
|
|
434
|
+
};
|
|
435
|
+
query?: never;
|
|
436
|
+
url: '/lead/{leadId}/contact-info';
|
|
437
|
+
};
|
|
438
|
+
export type UpdateContactInfoResponses = {
|
|
439
|
+
/**
|
|
440
|
+
* No Content
|
|
441
|
+
*/
|
|
442
|
+
204: void;
|
|
443
|
+
};
|
|
444
|
+
export type UpdateContactInfoResponse = UpdateContactInfoResponses[keyof UpdateContactInfoResponses];
|
|
445
|
+
export type AssignToAgentData = {
|
|
446
|
+
body: AssignToMemberRequest;
|
|
447
|
+
path: {
|
|
448
|
+
leadId: number;
|
|
449
|
+
};
|
|
450
|
+
query?: never;
|
|
451
|
+
url: '/lead/{leadId}/assign';
|
|
452
|
+
};
|
|
453
|
+
export type AssignToAgentResponses = {
|
|
454
|
+
/**
|
|
455
|
+
* No Content
|
|
456
|
+
*/
|
|
457
|
+
204: void;
|
|
458
|
+
};
|
|
459
|
+
export type AssignToAgentResponse = AssignToAgentResponses[keyof AssignToAgentResponses];
|
|
460
|
+
export type CorrectRegistrationDetailsData = {
|
|
461
|
+
body: CreateAgencyRequest;
|
|
462
|
+
path: {
|
|
463
|
+
agencyId: string;
|
|
464
|
+
};
|
|
465
|
+
query?: never;
|
|
466
|
+
url: '/agency/{agencyId}/details';
|
|
467
|
+
};
|
|
468
|
+
export type CorrectRegistrationDetailsResponses = {
|
|
469
|
+
/**
|
|
470
|
+
* No Content
|
|
471
|
+
*/
|
|
472
|
+
204: void;
|
|
473
|
+
};
|
|
474
|
+
export type CorrectRegistrationDetailsResponse = CorrectRegistrationDetailsResponses[keyof CorrectRegistrationDetailsResponses];
|
|
475
|
+
export type ActivateAgencyData = {
|
|
476
|
+
body?: never;
|
|
477
|
+
path: {
|
|
478
|
+
agencyId: string;
|
|
479
|
+
};
|
|
480
|
+
query?: never;
|
|
481
|
+
url: '/agency/{agencyId}/activate';
|
|
482
|
+
};
|
|
483
|
+
export type ActivateAgencyResponses = {
|
|
484
|
+
/**
|
|
485
|
+
* No Content
|
|
486
|
+
*/
|
|
487
|
+
204: void;
|
|
488
|
+
};
|
|
489
|
+
export type ActivateAgencyResponse = ActivateAgencyResponses[keyof ActivateAgencyResponses];
|
|
490
|
+
export type UpdateSocialUrlsData = {
|
|
491
|
+
body: SocialMediasRequest;
|
|
492
|
+
path?: never;
|
|
493
|
+
query?: never;
|
|
494
|
+
url: '/agency/social-media';
|
|
495
|
+
};
|
|
496
|
+
export type UpdateSocialUrlsResponses = {
|
|
497
|
+
/**
|
|
498
|
+
* No Content
|
|
499
|
+
*/
|
|
500
|
+
204: void;
|
|
501
|
+
};
|
|
502
|
+
export type UpdateSocialUrlsResponse = UpdateSocialUrlsResponses[keyof UpdateSocialUrlsResponses];
|
|
503
|
+
export type TransferFundsData = {
|
|
504
|
+
body: TransferFundsRequest;
|
|
505
|
+
path?: never;
|
|
506
|
+
query?: never;
|
|
507
|
+
url: '/wallet/transfer';
|
|
508
|
+
};
|
|
509
|
+
export type TransferFundsResponses = {
|
|
510
|
+
/**
|
|
511
|
+
* No Content
|
|
512
|
+
*/
|
|
513
|
+
204: void;
|
|
514
|
+
};
|
|
515
|
+
export type TransferFundsResponse = TransferFundsResponses[keyof TransferFundsResponses];
|
|
516
|
+
export type DepositFundsData = {
|
|
517
|
+
body: DepositFundsRequest;
|
|
518
|
+
path?: never;
|
|
519
|
+
query?: never;
|
|
520
|
+
url: '/wallet/deposit';
|
|
521
|
+
};
|
|
522
|
+
export type DepositFundsResponses = {
|
|
523
|
+
/**
|
|
524
|
+
* No Content
|
|
525
|
+
*/
|
|
526
|
+
204: void;
|
|
527
|
+
};
|
|
528
|
+
export type DepositFundsResponse = DepositFundsResponses[keyof DepositFundsResponses];
|
|
529
|
+
export type ListRolesData = {
|
|
530
|
+
body?: never;
|
|
531
|
+
path?: never;
|
|
532
|
+
query?: {
|
|
533
|
+
/**
|
|
534
|
+
* Zero-based page index (0..N)
|
|
535
|
+
*/
|
|
536
|
+
page?: number;
|
|
537
|
+
/**
|
|
538
|
+
* The size of the page to be returned
|
|
539
|
+
*/
|
|
540
|
+
size?: number;
|
|
541
|
+
/**
|
|
542
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
543
|
+
*/
|
|
544
|
+
sort?: Array<string>;
|
|
545
|
+
};
|
|
546
|
+
url: '/roles';
|
|
547
|
+
};
|
|
548
|
+
export type ListRolesResponses = {
|
|
549
|
+
/**
|
|
550
|
+
* OK
|
|
551
|
+
*/
|
|
552
|
+
200: PagedModelRoleResponse;
|
|
553
|
+
};
|
|
554
|
+
export type ListRolesResponse = ListRolesResponses[keyof ListRolesResponses];
|
|
555
|
+
export type CreateRoleData = {
|
|
556
|
+
body: RolesRequest;
|
|
557
|
+
path?: never;
|
|
558
|
+
query?: never;
|
|
559
|
+
url: '/roles';
|
|
560
|
+
};
|
|
561
|
+
export type CreateRoleResponses = {
|
|
562
|
+
/**
|
|
563
|
+
* Created
|
|
564
|
+
*/
|
|
565
|
+
201: IdResponse;
|
|
566
|
+
};
|
|
567
|
+
export type CreateRoleResponse = CreateRoleResponses[keyof CreateRoleResponses];
|
|
568
|
+
export type SearchLeadsData = {
|
|
569
|
+
body?: never;
|
|
570
|
+
path?: never;
|
|
571
|
+
query?: {
|
|
572
|
+
status?: SchemaEnum;
|
|
573
|
+
isSearching?: boolean;
|
|
574
|
+
isListing?: boolean;
|
|
575
|
+
/**
|
|
576
|
+
* Zero-based page index (0..N)
|
|
577
|
+
*/
|
|
578
|
+
page?: number;
|
|
579
|
+
/**
|
|
580
|
+
* The size of the page to be returned
|
|
581
|
+
*/
|
|
582
|
+
size?: number;
|
|
583
|
+
/**
|
|
584
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
585
|
+
*/
|
|
586
|
+
sort?: Array<string>;
|
|
587
|
+
};
|
|
588
|
+
url: '/lead';
|
|
589
|
+
};
|
|
590
|
+
export type SearchLeadsResponses = {
|
|
591
|
+
/**
|
|
592
|
+
* OK
|
|
593
|
+
*/
|
|
594
|
+
200: PagedModelLeadProjectionResponse;
|
|
595
|
+
};
|
|
596
|
+
export type SearchLeadsResponse = SearchLeadsResponses[keyof SearchLeadsResponses];
|
|
597
|
+
export type CreateLeadData = {
|
|
598
|
+
body: CreateLeadRequest;
|
|
599
|
+
path?: never;
|
|
600
|
+
query?: never;
|
|
601
|
+
url: '/lead';
|
|
602
|
+
};
|
|
603
|
+
export type CreateLeadResponses = {
|
|
604
|
+
/**
|
|
605
|
+
* Created
|
|
606
|
+
*/
|
|
607
|
+
201: IdResponseLong;
|
|
608
|
+
};
|
|
609
|
+
export type CreateLeadResponse = CreateLeadResponses[keyof CreateLeadResponses];
|
|
610
|
+
export type GetSentInvitationsData = {
|
|
611
|
+
body?: never;
|
|
612
|
+
path?: never;
|
|
613
|
+
query?: {
|
|
614
|
+
/**
|
|
615
|
+
* Zero-based page index (0..N)
|
|
616
|
+
*/
|
|
617
|
+
page?: number;
|
|
618
|
+
/**
|
|
619
|
+
* The size of the page to be returned
|
|
620
|
+
*/
|
|
621
|
+
size?: number;
|
|
622
|
+
/**
|
|
623
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
624
|
+
*/
|
|
625
|
+
sort?: Array<string>;
|
|
626
|
+
};
|
|
627
|
+
url: '/invitation';
|
|
628
|
+
};
|
|
629
|
+
export type GetSentInvitationsResponses = {
|
|
630
|
+
/**
|
|
631
|
+
* OK
|
|
632
|
+
*/
|
|
633
|
+
200: PagedModelInvitationViewResponse;
|
|
634
|
+
};
|
|
635
|
+
export type GetSentInvitationsResponse = GetSentInvitationsResponses[keyof GetSentInvitationsResponses];
|
|
636
|
+
export type SendInvitationData = {
|
|
637
|
+
body: InviteMemberRequest;
|
|
638
|
+
path?: never;
|
|
639
|
+
query?: never;
|
|
640
|
+
url: '/invitation';
|
|
641
|
+
};
|
|
642
|
+
export type SendInvitationResponses = {
|
|
643
|
+
/**
|
|
644
|
+
* OK
|
|
645
|
+
*/
|
|
646
|
+
200: unknown;
|
|
647
|
+
};
|
|
648
|
+
export type AcceptInvitationData = {
|
|
649
|
+
body?: never;
|
|
650
|
+
path: {
|
|
651
|
+
invitationId: string;
|
|
652
|
+
};
|
|
653
|
+
query: {
|
|
654
|
+
agencyId: string;
|
|
655
|
+
};
|
|
656
|
+
url: '/invitation/{invitationId}';
|
|
657
|
+
};
|
|
658
|
+
export type AcceptInvitationResponses = {
|
|
659
|
+
/**
|
|
660
|
+
* OK
|
|
661
|
+
*/
|
|
662
|
+
200: unknown;
|
|
663
|
+
};
|
|
664
|
+
export type CreateAgencyData = {
|
|
665
|
+
body: CreateAgencyRequest;
|
|
666
|
+
path?: never;
|
|
667
|
+
query?: never;
|
|
668
|
+
url: '/agency';
|
|
669
|
+
};
|
|
670
|
+
export type CreateAgencyResponses = {
|
|
671
|
+
/**
|
|
672
|
+
* Created
|
|
673
|
+
*/
|
|
674
|
+
201: IdResponseUuid;
|
|
675
|
+
};
|
|
676
|
+
export type CreateAgencyResponse = CreateAgencyResponses[keyof CreateAgencyResponses];
|
|
677
|
+
export type GeneratePresignedUrlData = {
|
|
678
|
+
body: PhotoRequest;
|
|
679
|
+
path?: never;
|
|
680
|
+
query?: never;
|
|
681
|
+
url: '/agency/presigned-urls';
|
|
682
|
+
};
|
|
683
|
+
export type GeneratePresignedUrlResponses = {
|
|
684
|
+
/**
|
|
685
|
+
* OK
|
|
686
|
+
*/
|
|
687
|
+
200: PresignedUrlsResponse;
|
|
688
|
+
};
|
|
689
|
+
export type GeneratePresignedUrlResponse = GeneratePresignedUrlResponses[keyof GeneratePresignedUrlResponses];
|
|
690
|
+
export type NotifyLogoUploadCompletionData = {
|
|
691
|
+
body: PhotoRequest;
|
|
692
|
+
path?: never;
|
|
693
|
+
query?: never;
|
|
694
|
+
url: '/agency/presigned-urls/notify/logo';
|
|
695
|
+
};
|
|
696
|
+
export type NotifyLogoUploadCompletionResponses = {
|
|
697
|
+
/**
|
|
698
|
+
* OK
|
|
699
|
+
*/
|
|
700
|
+
200: UploadAcknowledgmentResponse;
|
|
701
|
+
};
|
|
702
|
+
export type NotifyLogoUploadCompletionResponse = NotifyLogoUploadCompletionResponses[keyof NotifyLogoUploadCompletionResponses];
|
|
703
|
+
export type NotifyCoverUploadCompletionData = {
|
|
704
|
+
body: PhotoRequest;
|
|
705
|
+
path?: never;
|
|
706
|
+
query?: never;
|
|
707
|
+
url: '/agency/presigned-urls/notify/cover';
|
|
708
|
+
};
|
|
709
|
+
export type NotifyCoverUploadCompletionResponses = {
|
|
710
|
+
/**
|
|
711
|
+
* OK
|
|
712
|
+
*/
|
|
713
|
+
200: UploadAcknowledgmentResponse;
|
|
714
|
+
};
|
|
715
|
+
export type NotifyCoverUploadCompletionResponse = NotifyCoverUploadCompletionResponses[keyof NotifyCoverUploadCompletionResponses];
|
|
716
|
+
export type GetMeData = {
|
|
717
|
+
body?: never;
|
|
718
|
+
path?: never;
|
|
719
|
+
query?: never;
|
|
720
|
+
url: '/user/me';
|
|
721
|
+
};
|
|
722
|
+
export type GetMeResponses = {
|
|
723
|
+
/**
|
|
724
|
+
* OK
|
|
725
|
+
*/
|
|
726
|
+
200: UserContextViewResponse;
|
|
727
|
+
};
|
|
728
|
+
export type GetMeResponse = GetMeResponses[keyof GetMeResponses];
|
|
729
|
+
export type GetInvitationDetailsData = {
|
|
730
|
+
body?: never;
|
|
731
|
+
path: {
|
|
732
|
+
invitationId: string;
|
|
733
|
+
};
|
|
734
|
+
query: {
|
|
735
|
+
agencyId: string;
|
|
736
|
+
};
|
|
737
|
+
url: '/public/invitation/{invitationId}';
|
|
738
|
+
};
|
|
739
|
+
export type GetInvitationDetailsResponses = {
|
|
740
|
+
/**
|
|
741
|
+
* OK
|
|
742
|
+
*/
|
|
743
|
+
200: InvitationDetailsResponse;
|
|
744
|
+
};
|
|
745
|
+
export type GetInvitationDetailsResponse = GetInvitationDetailsResponses[keyof GetInvitationDetailsResponses];
|
|
746
|
+
export type GetAllAgenciesData = {
|
|
747
|
+
body?: never;
|
|
748
|
+
path?: never;
|
|
749
|
+
query?: {
|
|
750
|
+
status?: SchemaEnum2;
|
|
751
|
+
/**
|
|
752
|
+
* Zero-based page index (0..N)
|
|
753
|
+
*/
|
|
754
|
+
page?: number;
|
|
755
|
+
/**
|
|
756
|
+
* The size of the page to be returned
|
|
757
|
+
*/
|
|
758
|
+
size?: number;
|
|
759
|
+
/**
|
|
760
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
761
|
+
*/
|
|
762
|
+
sort?: Array<string>;
|
|
763
|
+
};
|
|
764
|
+
url: '/public/agency';
|
|
765
|
+
};
|
|
766
|
+
export type GetAllAgenciesResponses = {
|
|
767
|
+
/**
|
|
768
|
+
* OK
|
|
769
|
+
*/
|
|
770
|
+
200: PagedModelAgencySummaryResponse;
|
|
771
|
+
};
|
|
772
|
+
export type GetAllAgenciesResponse = GetAllAgenciesResponses[keyof GetAllAgenciesResponses];
|
|
773
|
+
export type GetAgencyBySubdomainData = {
|
|
774
|
+
body?: never;
|
|
775
|
+
path: {
|
|
776
|
+
subDomain: string;
|
|
777
|
+
};
|
|
778
|
+
query?: never;
|
|
779
|
+
url: '/public/agency/subdomain/{subDomain}';
|
|
780
|
+
};
|
|
781
|
+
export type GetAgencyBySubdomainResponses = {
|
|
782
|
+
/**
|
|
783
|
+
* OK
|
|
784
|
+
*/
|
|
785
|
+
200: AgencySummaryResponse;
|
|
786
|
+
};
|
|
787
|
+
export type GetAgencyBySubdomainResponse = GetAgencyBySubdomainResponses[keyof GetAgencyBySubdomainResponses];
|
|
788
|
+
export type ListPermissionCatalogData = {
|
|
789
|
+
body?: never;
|
|
790
|
+
path?: never;
|
|
791
|
+
query?: never;
|
|
792
|
+
url: '/public/agency/roles/permissions';
|
|
793
|
+
};
|
|
794
|
+
export type ListPermissionCatalogResponses = {
|
|
795
|
+
/**
|
|
796
|
+
* OK
|
|
797
|
+
*/
|
|
798
|
+
200: Array<GroupedPermissionsResponse>;
|
|
799
|
+
};
|
|
800
|
+
export type ListPermissionCatalogResponse = ListPermissionCatalogResponses[keyof ListPermissionCatalogResponses];
|
|
801
|
+
export type GetAllMembersData = {
|
|
802
|
+
body?: never;
|
|
803
|
+
path?: never;
|
|
804
|
+
query?: {
|
|
805
|
+
roleId?: number;
|
|
806
|
+
/**
|
|
807
|
+
* Zero-based page index (0..N)
|
|
808
|
+
*/
|
|
809
|
+
page?: number;
|
|
810
|
+
/**
|
|
811
|
+
* The size of the page to be returned
|
|
812
|
+
*/
|
|
813
|
+
size?: number;
|
|
814
|
+
/**
|
|
815
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
816
|
+
*/
|
|
817
|
+
sort?: Array<string>;
|
|
818
|
+
};
|
|
819
|
+
url: '/member';
|
|
820
|
+
};
|
|
821
|
+
export type GetAllMembersResponses = {
|
|
822
|
+
/**
|
|
823
|
+
* OK
|
|
824
|
+
*/
|
|
825
|
+
200: PagedModelMemberViewResponse;
|
|
826
|
+
};
|
|
827
|
+
export type GetAllMembersResponse = GetAllMembersResponses[keyof GetAllMembersResponses];
|
|
828
|
+
export type GetLeadByIdData = {
|
|
829
|
+
body?: never;
|
|
830
|
+
path: {
|
|
831
|
+
leadId: number;
|
|
832
|
+
};
|
|
833
|
+
query?: never;
|
|
834
|
+
url: '/lead/{leadId}';
|
|
835
|
+
};
|
|
836
|
+
export type GetLeadByIdResponses = {
|
|
837
|
+
/**
|
|
838
|
+
* OK
|
|
839
|
+
*/
|
|
840
|
+
200: LeadProjectionResponse;
|
|
841
|
+
};
|
|
842
|
+
export type GetLeadByIdResponse = GetLeadByIdResponses[keyof GetLeadByIdResponses];
|
|
843
|
+
export type SearchMyLeadsData = {
|
|
844
|
+
body?: never;
|
|
845
|
+
path?: never;
|
|
846
|
+
query?: {
|
|
847
|
+
status?: SchemaEnum;
|
|
848
|
+
isSearching?: boolean;
|
|
849
|
+
isListing?: boolean;
|
|
850
|
+
/**
|
|
851
|
+
* Zero-based page index (0..N)
|
|
852
|
+
*/
|
|
853
|
+
page?: number;
|
|
854
|
+
/**
|
|
855
|
+
* The size of the page to be returned
|
|
856
|
+
*/
|
|
857
|
+
size?: number;
|
|
858
|
+
/**
|
|
859
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
860
|
+
*/
|
|
861
|
+
sort?: Array<string>;
|
|
862
|
+
};
|
|
863
|
+
url: '/lead/my';
|
|
864
|
+
};
|
|
865
|
+
export type SearchMyLeadsResponses = {
|
|
866
|
+
/**
|
|
867
|
+
* OK
|
|
868
|
+
*/
|
|
869
|
+
200: PagedModelLeadProjectionResponse;
|
|
870
|
+
};
|
|
871
|
+
export type SearchMyLeadsResponse = SearchMyLeadsResponses[keyof SearchMyLeadsResponses];
|
|
872
|
+
export type GetAgencyData = {
|
|
873
|
+
body?: never;
|
|
874
|
+
path: {
|
|
875
|
+
agencyId: string;
|
|
876
|
+
};
|
|
877
|
+
query?: never;
|
|
878
|
+
url: '/agency/{agencyId}';
|
|
879
|
+
};
|
|
880
|
+
export type GetAgencyResponses = {
|
|
881
|
+
/**
|
|
882
|
+
* OK
|
|
883
|
+
*/
|
|
884
|
+
200: AgencyProfileResponse;
|
|
885
|
+
};
|
|
886
|
+
export type GetAgencyResponse = GetAgencyResponses[keyof GetAgencyResponses];
|
|
887
|
+
//# sourceMappingURL=types.gen.d.ts.map
|