@homespot-sdk/core 0.0.113 → 0.0.115
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/registration/client.gen.js +1 -1
- package/dist/registration/client.gen.js.map +1 -1
- package/dist/registration/index.d.ts +2 -2
- package/dist/registration/index.d.ts.map +1 -1
- package/dist/registration/index.js +1 -1
- package/dist/registration/index.js.map +1 -1
- package/dist/registration/schemas.gen.d.ts +215 -1044
- package/dist/registration/schemas.gen.d.ts.map +1 -1
- package/dist/registration/schemas.gen.js +247 -1113
- package/dist/registration/schemas.gen.js.map +1 -1
- package/dist/registration/sdk.gen.d.ts +19 -51
- package/dist/registration/sdk.gen.d.ts.map +1 -1
- package/dist/registration/sdk.gen.js +38 -275
- package/dist/registration/sdk.gen.js.map +1 -1
- package/dist/registration/transformers.gen.d.ts +2 -3
- package/dist/registration/transformers.gen.d.ts.map +1 -1
- package/dist/registration/transformers.gen.js +4 -28
- package/dist/registration/transformers.gen.js.map +1 -1
- package/dist/registration/types.gen.d.ts +232 -1023
- package/dist/registration/types.gen.d.ts.map +1 -1
- package/dist/registration/zod.gen.d.ts +655 -2825
- package/dist/registration/zod.gen.d.ts.map +1 -1
- package/dist/registration/zod.gen.js +194 -1274
- package/dist/registration/zod.gen.js.map +1 -1
- package/dist/rem/client.gen.js +1 -1
- package/dist/rem/client.gen.js.map +1 -1
- 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 +1045 -216
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +1111 -245
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +51 -19
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +275 -38
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +3 -2
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +28 -4
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +1023 -232
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +2823 -653
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +1274 -194
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/types.gen.d.ts
CHANGED
|
@@ -1,27 +1,145 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
|
-
baseUrl: 'https://gateway.dev.homespot.ge/
|
|
2
|
+
baseUrl: 'https://gateway.dev.homespot.ge/rem' | (string & {});
|
|
3
3
|
};
|
|
4
|
-
export type
|
|
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
|
+
gender?: GenderEnum;
|
|
48
|
+
email?: string;
|
|
49
|
+
phone: string;
|
|
50
|
+
};
|
|
51
|
+
export type AssignToMemberRequest = {
|
|
52
|
+
memberId: string;
|
|
53
|
+
};
|
|
54
|
+
export type ClientRequirementRequest = {
|
|
55
|
+
propertyType: Array<PropertyTypeEnum>;
|
|
56
|
+
listingType: ListingTypeEnum;
|
|
57
|
+
priceMin?: number;
|
|
58
|
+
priceMax?: number;
|
|
59
|
+
bedroomsMin?: number;
|
|
60
|
+
bedroomsMax?: number;
|
|
61
|
+
bathroomsMin?: number;
|
|
62
|
+
bathroomsMax?: number;
|
|
63
|
+
totalMin?: number;
|
|
64
|
+
totalMax?: number;
|
|
65
|
+
livingMin?: number;
|
|
66
|
+
livingMax?: number;
|
|
67
|
+
targetLocation?: LocationRefRequest;
|
|
68
|
+
};
|
|
69
|
+
export type UpdatePriorityRequest = {
|
|
70
|
+
priority?: PriorityEnum;
|
|
71
|
+
};
|
|
72
|
+
export type UpdateContactMethodsRequest = {
|
|
73
|
+
contactMethods: Array<ItemsEnum2>;
|
|
74
|
+
favoriteContactMethod: ItemsEnum2;
|
|
75
|
+
};
|
|
76
|
+
export type AddressRequest = {
|
|
77
|
+
country: string;
|
|
78
|
+
city: string;
|
|
79
|
+
district: string;
|
|
80
|
+
subdistrict: string;
|
|
81
|
+
street: string;
|
|
82
|
+
};
|
|
83
|
+
export type CreateAgencyRequest = {
|
|
84
|
+
name: string;
|
|
85
|
+
email: string;
|
|
86
|
+
seats: number;
|
|
87
|
+
subDomain: string;
|
|
88
|
+
phone: string;
|
|
89
|
+
address: AddressRequest;
|
|
90
|
+
yearSince: number;
|
|
91
|
+
};
|
|
92
|
+
export type SocialMediaRequest = {
|
|
5
93
|
type: TypeEnum;
|
|
6
|
-
|
|
94
|
+
url?: string;
|
|
7
95
|
};
|
|
8
|
-
export type
|
|
9
|
-
|
|
96
|
+
export type SocialMediasRequest = {
|
|
97
|
+
data: Array<SocialMediaRequest>;
|
|
10
98
|
};
|
|
11
|
-
export type
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
99
|
+
export type TransferFundsRequest = {
|
|
100
|
+
transferTo: string;
|
|
101
|
+
amount: number;
|
|
102
|
+
};
|
|
103
|
+
export type DepositFundsRequest = {
|
|
104
|
+
amount: number;
|
|
105
|
+
};
|
|
106
|
+
export type IdResponseInteger = {
|
|
107
|
+
id: number;
|
|
108
|
+
};
|
|
109
|
+
export type CreateLeadRequest = {
|
|
110
|
+
contactInfo: ContactInfoRequest;
|
|
111
|
+
note?: string;
|
|
112
|
+
sourceUrl?: string;
|
|
113
|
+
};
|
|
114
|
+
export type IdResponseLong = {
|
|
115
|
+
id: number;
|
|
116
|
+
};
|
|
117
|
+
export type InvitationDetailsRequest = {
|
|
118
|
+
email: string;
|
|
119
|
+
roleId: number;
|
|
120
|
+
};
|
|
121
|
+
export type InviteMemberRequest = {
|
|
122
|
+
emails: Array<InvitationDetailsRequest>;
|
|
123
|
+
};
|
|
124
|
+
export type AuthRequest = {
|
|
125
|
+
sub?: string;
|
|
126
|
+
agencyId?: string;
|
|
127
|
+
};
|
|
128
|
+
export type AgencyPrincipalDto = {
|
|
129
|
+
memberId?: string;
|
|
130
|
+
permissions?: Array<ItemsEnum>;
|
|
131
|
+
isActive?: boolean;
|
|
132
|
+
isOwner?: boolean;
|
|
133
|
+
};
|
|
134
|
+
export type CreateClientRequest = {
|
|
135
|
+
contactInfo: ContactInfoRequest;
|
|
136
|
+
sourceUrl?: string;
|
|
137
|
+
contactMethods: Array<ItemsEnum2>;
|
|
138
|
+
favoriteContactMethod: ItemsEnum2;
|
|
139
|
+
priority?: PriorityEnum;
|
|
140
|
+
};
|
|
141
|
+
export type IdResponseUuid = {
|
|
142
|
+
id: string;
|
|
25
143
|
};
|
|
26
144
|
export type PhotoRequest = {
|
|
27
145
|
photo: string;
|
|
@@ -29,9 +147,6 @@ export type PhotoRequest = {
|
|
|
29
147
|
width: number;
|
|
30
148
|
height?: number;
|
|
31
149
|
};
|
|
32
|
-
export type PhotosRequest = {
|
|
33
|
-
photos: Array<PhotoRequest>;
|
|
34
|
-
};
|
|
35
150
|
export type PresignedUrlResponse = {
|
|
36
151
|
originalName: string;
|
|
37
152
|
key: string;
|
|
@@ -40,368 +155,1044 @@ export type PresignedUrlResponse = {
|
|
|
40
155
|
export type PresignedUrlsResponse = {
|
|
41
156
|
data: Array<PresignedUrlResponse>;
|
|
42
157
|
};
|
|
43
|
-
export type
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
balconyArea?: number;
|
|
158
|
+
export type UploadAcknowledgmentResponse = {
|
|
159
|
+
success: Array<string>;
|
|
160
|
+
fail: Array<string>;
|
|
47
161
|
};
|
|
48
|
-
export type
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
162
|
+
export type OrganizationSummaryViewResponse = {
|
|
163
|
+
agencyId: string;
|
|
164
|
+
isOwner: boolean;
|
|
165
|
+
agencyName: string;
|
|
166
|
+
subDomain: string;
|
|
167
|
+
roleId?: number;
|
|
168
|
+
memberId: string;
|
|
169
|
+
roleName: string;
|
|
170
|
+
permissions: Array<ItemsEnum>;
|
|
171
|
+
status: SchemaEnum2;
|
|
53
172
|
};
|
|
54
|
-
export type
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
export type AddressRequest = {
|
|
58
|
-
placeId: string;
|
|
59
|
-
cadastralCode: string;
|
|
60
|
-
fullName: string;
|
|
61
|
-
lat: number;
|
|
62
|
-
lng: number;
|
|
63
|
-
country: string;
|
|
64
|
-
city: string;
|
|
65
|
-
street: string;
|
|
173
|
+
export type UserContextViewResponse = {
|
|
174
|
+
user: UserSummaryViewResponse;
|
|
175
|
+
organizations: Array<OrganizationSummaryViewResponse>;
|
|
66
176
|
};
|
|
67
|
-
export type
|
|
68
|
-
|
|
177
|
+
export type UserSummaryViewResponse = {
|
|
178
|
+
email: string;
|
|
179
|
+
firstName: string;
|
|
180
|
+
lastName: string;
|
|
69
181
|
};
|
|
70
|
-
export type
|
|
71
|
-
|
|
182
|
+
export type PageMetadata = {
|
|
183
|
+
size?: number;
|
|
184
|
+
number?: number;
|
|
185
|
+
totalElements?: number;
|
|
186
|
+
totalPages?: number;
|
|
72
187
|
};
|
|
73
|
-
export type
|
|
74
|
-
|
|
75
|
-
|
|
188
|
+
export type PagedModelRoleResponse = {
|
|
189
|
+
content?: Array<RoleResponse>;
|
|
190
|
+
page?: PageMetadata;
|
|
76
191
|
};
|
|
77
|
-
export type
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
lng: number;
|
|
83
|
-
country: string;
|
|
84
|
-
city: string;
|
|
85
|
-
street: string;
|
|
192
|
+
export type RoleResponse = {
|
|
193
|
+
id: number;
|
|
194
|
+
name: string;
|
|
195
|
+
description: string;
|
|
196
|
+
permissions: Array<ItemsEnum>;
|
|
86
197
|
};
|
|
87
|
-
export type
|
|
88
|
-
|
|
89
|
-
|
|
198
|
+
export type InvitationDetailsResponse = {
|
|
199
|
+
invitationId: string;
|
|
200
|
+
agencyId: string;
|
|
201
|
+
email: string;
|
|
202
|
+
status: StatusEnum;
|
|
203
|
+
agencyName: string;
|
|
204
|
+
agencyLogo?: string;
|
|
90
205
|
};
|
|
91
|
-
export type
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
206
|
+
export type AgencySummaryResponse = {
|
|
207
|
+
id: string;
|
|
208
|
+
owner: string;
|
|
209
|
+
name: string;
|
|
210
|
+
email: string;
|
|
211
|
+
seats: string;
|
|
212
|
+
subDomain: string;
|
|
213
|
+
phone: string;
|
|
214
|
+
website?: string;
|
|
215
|
+
yearSince: string;
|
|
216
|
+
status: SchemaEnum2;
|
|
217
|
+
logo?: string;
|
|
95
218
|
};
|
|
96
|
-
export type
|
|
97
|
-
|
|
98
|
-
|
|
219
|
+
export type PagedModelAgencySummaryResponse = {
|
|
220
|
+
content?: Array<AgencySummaryResponse>;
|
|
221
|
+
page?: PageMetadata;
|
|
99
222
|
};
|
|
100
|
-
export type
|
|
101
|
-
propertyId: string;
|
|
102
|
-
ownerId: string;
|
|
103
|
-
type: DraftTypeEnum;
|
|
104
|
-
title: string;
|
|
105
|
-
description: Array<LangTextResponse>;
|
|
106
|
-
measurements?: MeasurementResponse;
|
|
107
|
-
address?: AddressResponse;
|
|
108
|
-
spaces: Array<SpaceResponse>;
|
|
109
|
-
photos: Array<PhotosKeyUrlResponse>;
|
|
110
|
-
amenities: Array<number>;
|
|
111
|
-
pages: Array<string>;
|
|
112
|
-
total: number;
|
|
223
|
+
export type GroupedPermissionsResponse = {
|
|
113
224
|
group: GroupEnum;
|
|
225
|
+
permissions: Array<PermissionResponse>;
|
|
226
|
+
};
|
|
227
|
+
export type PermissionResponse = {
|
|
228
|
+
permission: ItemsEnum;
|
|
229
|
+
implied: Array<ItemsEnum>;
|
|
230
|
+
};
|
|
231
|
+
export type MemberViewResponse = {
|
|
232
|
+
userId: string;
|
|
233
|
+
firstName: string;
|
|
234
|
+
lastName: string;
|
|
235
|
+
phone?: string;
|
|
236
|
+
email: string;
|
|
237
|
+
roleId: number;
|
|
238
|
+
roleName: string;
|
|
239
|
+
joinedAt: Date;
|
|
114
240
|
};
|
|
115
|
-
export type
|
|
116
|
-
|
|
241
|
+
export type PagedModelMemberViewResponse = {
|
|
242
|
+
content?: Array<MemberViewResponse>;
|
|
243
|
+
page?: PageMetadata;
|
|
244
|
+
};
|
|
245
|
+
export type IntentResponse = {
|
|
246
|
+
id: number;
|
|
247
|
+
clientType: ClientTypeEnum;
|
|
248
|
+
listingType: ListingTypeEnum;
|
|
249
|
+
propertyType: PropertyTypeEnum;
|
|
250
|
+
priceMin?: number;
|
|
251
|
+
priceMax?: number;
|
|
252
|
+
regionId?: number;
|
|
253
|
+
districtId?: number;
|
|
254
|
+
subDistrictId?: number;
|
|
255
|
+
streetId?: number;
|
|
117
256
|
area?: number;
|
|
257
|
+
numberOfRooms?: number;
|
|
118
258
|
};
|
|
119
|
-
export type
|
|
120
|
-
id:
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
259
|
+
export type LeadProjectionResponse = {
|
|
260
|
+
id: number;
|
|
261
|
+
createdBy: string;
|
|
262
|
+
assignedTo?: string;
|
|
263
|
+
status: SchemaEnum;
|
|
264
|
+
contactFullName?: string;
|
|
265
|
+
contactGender?: GenderEnum;
|
|
266
|
+
contactPhoneNumber: string;
|
|
267
|
+
contactEmail?: string;
|
|
268
|
+
note?: string;
|
|
269
|
+
sourceType?: SourceTypeEnum;
|
|
270
|
+
sourceLink?: string;
|
|
271
|
+
isSearching: boolean;
|
|
272
|
+
isListing: boolean;
|
|
273
|
+
intents?: Array<IntentResponse>;
|
|
274
|
+
};
|
|
275
|
+
export type PagedModelLeadProjectionResponse = {
|
|
276
|
+
content?: Array<LeadProjectionResponse>;
|
|
277
|
+
page?: PageMetadata;
|
|
278
|
+
};
|
|
279
|
+
export type InvitationViewResponse = {
|
|
280
|
+
invitationId: string;
|
|
281
|
+
email: string;
|
|
129
282
|
status: StatusEnum;
|
|
283
|
+
createdAt: Date;
|
|
284
|
+
expiresAt: Date;
|
|
285
|
+
acceptedAt?: Date;
|
|
286
|
+
acceptedBy?: string;
|
|
287
|
+
};
|
|
288
|
+
export type PagedModelInvitationViewResponse = {
|
|
289
|
+
content?: Array<InvitationViewResponse>;
|
|
290
|
+
page?: PageMetadata;
|
|
291
|
+
};
|
|
292
|
+
export type ClientProjectionResponse = {
|
|
293
|
+
id: number;
|
|
294
|
+
createdBy: string;
|
|
295
|
+
leadId?: number;
|
|
296
|
+
assignedTo?: string;
|
|
297
|
+
contactFullName?: string;
|
|
298
|
+
contactPhoneNumber: string;
|
|
299
|
+
contactGender?: GenderEnum;
|
|
300
|
+
contactEmail?: string;
|
|
301
|
+
sourceType?: SourceTypeEnum;
|
|
302
|
+
sourceLink?: string;
|
|
303
|
+
isSearching: boolean;
|
|
304
|
+
isListing: boolean;
|
|
305
|
+
contactMethods: Array<ItemsEnum2>;
|
|
306
|
+
favoriteContactMethod?: ItemsEnum2;
|
|
307
|
+
priority?: PriorityEnum;
|
|
308
|
+
requirements?: Array<RequirementResponse>;
|
|
309
|
+
properties?: Array<PropertyResponse>;
|
|
310
|
+
};
|
|
311
|
+
export type PagedModelClientProjectionResponse = {
|
|
312
|
+
content?: Array<ClientProjectionResponse>;
|
|
313
|
+
page?: PageMetadata;
|
|
314
|
+
};
|
|
315
|
+
export type PropertyResponse = {
|
|
316
|
+
propertyId: string;
|
|
317
|
+
propertyType: PropertyTypeEnum;
|
|
318
|
+
};
|
|
319
|
+
export type RequirementResponse = {
|
|
320
|
+
id: number;
|
|
321
|
+
propertyType: Array<PropertyTypeEnum>;
|
|
322
|
+
listingType: ListingTypeEnum;
|
|
323
|
+
priceMin?: number;
|
|
324
|
+
priceMax?: number;
|
|
325
|
+
bedroomsMin?: number;
|
|
326
|
+
bedroomsMax?: number;
|
|
327
|
+
bathroomsMin?: number;
|
|
328
|
+
bathroomsMax?: number;
|
|
329
|
+
totalMin?: number;
|
|
330
|
+
totalMax?: number;
|
|
331
|
+
livingMin?: number;
|
|
332
|
+
livingMax?: number;
|
|
333
|
+
regionId?: number;
|
|
334
|
+
districtId?: number;
|
|
335
|
+
subDistrictId?: number;
|
|
336
|
+
streetId?: number;
|
|
337
|
+
};
|
|
338
|
+
export type AddressViewResponse = {
|
|
339
|
+
country: string;
|
|
340
|
+
city: string;
|
|
341
|
+
district: string;
|
|
342
|
+
subdistrict: string;
|
|
343
|
+
street: string;
|
|
344
|
+
};
|
|
345
|
+
export type AgencyProfileResponse = {
|
|
346
|
+
name: string;
|
|
347
|
+
email: string;
|
|
348
|
+
seats: number;
|
|
349
|
+
subDomain: string;
|
|
350
|
+
phone: string;
|
|
351
|
+
address: AddressViewResponse;
|
|
352
|
+
yearSince: number;
|
|
130
353
|
};
|
|
131
|
-
export type
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
export type
|
|
354
|
+
export type SchemaEnum = 'NEW' | 'ATTEMPTED_CONTACT' | 'CONTACTED' | 'DISQUALIFIED' | 'CONVERTED' | 'LOST';
|
|
355
|
+
export type SchemaEnum2 = 'NEW' | 'ACTIVE' | 'PAYMENT_FAILED' | 'INACTIVE';
|
|
356
|
+
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';
|
|
357
|
+
export type ClientTypeEnum = 'LISTING' | 'SEEKING';
|
|
358
|
+
export type ListingTypeEnum = 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
359
|
+
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';
|
|
360
|
+
export type GenderEnum = 'MALE' | 'FEMALE' | 'UNKNOWN';
|
|
361
|
+
export type PriorityEnum = 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
362
|
+
export type ItemsEnum2 = 'WHATSAPP' | 'VIBER' | 'PHONE_CALL';
|
|
363
|
+
export type TypeEnum = 'FACEBOOK' | 'YOUTUBE' | 'INSTAGRAM' | 'TIKTOK' | 'LINKEDIN';
|
|
136
364
|
export type TypeEnum2 = 'JPEG' | 'JPG' | 'PNG' | 'WEBP';
|
|
137
|
-
export type
|
|
138
|
-
export type
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
export type StatusEnum = 'IN_REGISTRATION' | 'PROCESSING' | 'COMPLETED';
|
|
143
|
-
export type RegisterSpacesData = {
|
|
144
|
-
body: SpacesRequest;
|
|
365
|
+
export type StatusEnum = 'PENDING' | 'ACCEPTED' | 'CANCELLED' | 'EXPIRED';
|
|
366
|
+
export type GroupEnum = 'AGENCY' | 'INVITATION' | 'ROLE' | 'MEMBER' | 'LEAD';
|
|
367
|
+
export type SourceTypeEnum = 'MY_HOME' | 'SS' | 'FACEBOOK' | 'YOUTUBE' | 'INSTAGRAM' | 'TIKTOK' | 'LINKEDIN' | 'UNKNOWN';
|
|
368
|
+
export type RemoveRoleData = {
|
|
369
|
+
body?: never;
|
|
145
370
|
path: {
|
|
146
|
-
|
|
371
|
+
roleId: number;
|
|
147
372
|
};
|
|
148
373
|
query?: never;
|
|
149
|
-
url: '/
|
|
374
|
+
url: '/roles/{roleId}';
|
|
150
375
|
};
|
|
151
|
-
export type
|
|
376
|
+
export type RemoveRoleResponses = {
|
|
152
377
|
/**
|
|
153
|
-
*
|
|
378
|
+
* No Content
|
|
154
379
|
*/
|
|
155
|
-
|
|
380
|
+
204: void;
|
|
156
381
|
};
|
|
157
|
-
export type
|
|
158
|
-
export type
|
|
159
|
-
body:
|
|
382
|
+
export type RemoveRoleResponse = RemoveRoleResponses[keyof RemoveRoleResponses];
|
|
383
|
+
export type UpdateRoleData = {
|
|
384
|
+
body: RolesRequest;
|
|
160
385
|
path: {
|
|
161
|
-
|
|
386
|
+
roleId: number;
|
|
162
387
|
};
|
|
163
388
|
query?: never;
|
|
164
|
-
url: '/
|
|
389
|
+
url: '/roles/{roleId}';
|
|
165
390
|
};
|
|
166
|
-
export type
|
|
391
|
+
export type UpdateRoleResponses = {
|
|
167
392
|
/**
|
|
168
|
-
*
|
|
393
|
+
* No Content
|
|
169
394
|
*/
|
|
170
|
-
|
|
395
|
+
204: void;
|
|
171
396
|
};
|
|
172
|
-
export type
|
|
173
|
-
export type
|
|
174
|
-
body:
|
|
397
|
+
export type UpdateRoleResponse = UpdateRoleResponses[keyof UpdateRoleResponses];
|
|
398
|
+
export type AssignRoleData = {
|
|
399
|
+
body: AssignRoleRequest;
|
|
175
400
|
path: {
|
|
176
|
-
|
|
401
|
+
memberId: string;
|
|
177
402
|
};
|
|
178
403
|
query?: never;
|
|
179
|
-
url: '/
|
|
404
|
+
url: '/member/{memberId}/role';
|
|
180
405
|
};
|
|
181
|
-
export type
|
|
406
|
+
export type AssignRoleResponses = {
|
|
182
407
|
/**
|
|
183
|
-
*
|
|
408
|
+
* No Content
|
|
184
409
|
*/
|
|
185
|
-
|
|
410
|
+
204: void;
|
|
186
411
|
};
|
|
187
|
-
export type
|
|
188
|
-
export type
|
|
189
|
-
body:
|
|
412
|
+
export type AssignRoleResponse = AssignRoleResponses[keyof AssignRoleResponses];
|
|
413
|
+
export type AssignRoleBatchData = {
|
|
414
|
+
body: BatchAssignRoleRequest;
|
|
415
|
+
path?: never;
|
|
416
|
+
query?: never;
|
|
417
|
+
url: '/member/role';
|
|
418
|
+
};
|
|
419
|
+
export type AssignRoleBatchResponses = {
|
|
420
|
+
/**
|
|
421
|
+
* No Content
|
|
422
|
+
*/
|
|
423
|
+
204: void;
|
|
424
|
+
};
|
|
425
|
+
export type AssignRoleBatchResponse = AssignRoleBatchResponses[keyof AssignRoleBatchResponses];
|
|
426
|
+
export type ChangeStatusData = {
|
|
427
|
+
body: ChangeStatusRequest;
|
|
190
428
|
path: {
|
|
191
|
-
|
|
429
|
+
leadId: number;
|
|
192
430
|
};
|
|
193
431
|
query?: never;
|
|
194
|
-
url: '/
|
|
432
|
+
url: '/lead/{leadId}/status';
|
|
195
433
|
};
|
|
196
|
-
export type
|
|
434
|
+
export type ChangeStatusResponses = {
|
|
197
435
|
/**
|
|
198
|
-
*
|
|
436
|
+
* No Content
|
|
199
437
|
*/
|
|
200
|
-
|
|
438
|
+
204: void;
|
|
201
439
|
};
|
|
202
|
-
export type
|
|
203
|
-
export type
|
|
204
|
-
body:
|
|
440
|
+
export type ChangeStatusResponse = ChangeStatusResponses[keyof ChangeStatusResponses];
|
|
441
|
+
export type UpdateSourceData = {
|
|
442
|
+
body: SourceRequest;
|
|
205
443
|
path: {
|
|
206
|
-
|
|
444
|
+
leadId: number;
|
|
207
445
|
};
|
|
208
446
|
query?: never;
|
|
209
|
-
url: '/
|
|
447
|
+
url: '/lead/{leadId}/source';
|
|
210
448
|
};
|
|
211
|
-
export type
|
|
449
|
+
export type UpdateSourceResponses = {
|
|
212
450
|
/**
|
|
213
|
-
*
|
|
451
|
+
* No Content
|
|
214
452
|
*/
|
|
215
|
-
|
|
453
|
+
204: void;
|
|
216
454
|
};
|
|
217
|
-
export type
|
|
218
|
-
export type
|
|
219
|
-
body:
|
|
455
|
+
export type UpdateSourceResponse = UpdateSourceResponses[keyof UpdateSourceResponses];
|
|
456
|
+
export type UpdateNoteData = {
|
|
457
|
+
body: UpdateNoteRequest;
|
|
220
458
|
path: {
|
|
221
|
-
|
|
459
|
+
leadId: number;
|
|
222
460
|
};
|
|
223
461
|
query?: never;
|
|
224
|
-
url: '/
|
|
462
|
+
url: '/lead/{leadId}/note';
|
|
225
463
|
};
|
|
226
|
-
export type
|
|
464
|
+
export type UpdateNoteResponses = {
|
|
227
465
|
/**
|
|
228
|
-
*
|
|
466
|
+
* No Content
|
|
467
|
+
*/
|
|
468
|
+
204: void;
|
|
469
|
+
};
|
|
470
|
+
export type UpdateNoteResponse = UpdateNoteResponses[keyof UpdateNoteResponses];
|
|
471
|
+
export type RemoveIntentData = {
|
|
472
|
+
body?: never;
|
|
473
|
+
path: {
|
|
474
|
+
leadId: number;
|
|
475
|
+
};
|
|
476
|
+
query: {
|
|
477
|
+
intentId: number;
|
|
478
|
+
};
|
|
479
|
+
url: '/lead/{leadId}/intent';
|
|
480
|
+
};
|
|
481
|
+
export type RemoveIntentResponses = {
|
|
482
|
+
/**
|
|
483
|
+
* No Content
|
|
229
484
|
*/
|
|
230
|
-
|
|
485
|
+
204: void;
|
|
231
486
|
};
|
|
232
|
-
export type
|
|
233
|
-
export type
|
|
234
|
-
body:
|
|
487
|
+
export type RemoveIntentResponse = RemoveIntentResponses[keyof RemoveIntentResponses];
|
|
488
|
+
export type AddIntentData = {
|
|
489
|
+
body: LeadIntentRequest;
|
|
235
490
|
path: {
|
|
236
|
-
|
|
491
|
+
leadId: number;
|
|
237
492
|
};
|
|
238
493
|
query?: never;
|
|
239
|
-
url: '/
|
|
494
|
+
url: '/lead/{leadId}/intent';
|
|
240
495
|
};
|
|
241
|
-
export type
|
|
496
|
+
export type AddIntentResponses = {
|
|
242
497
|
/**
|
|
243
498
|
* No Content
|
|
244
499
|
*/
|
|
245
500
|
204: void;
|
|
246
501
|
};
|
|
247
|
-
export type
|
|
248
|
-
export type
|
|
249
|
-
body:
|
|
250
|
-
path
|
|
502
|
+
export type AddIntentResponse = AddIntentResponses[keyof AddIntentResponses];
|
|
503
|
+
export type UpdateIntentData = {
|
|
504
|
+
body: LeadIntentRequest;
|
|
505
|
+
path: {
|
|
506
|
+
leadId: number;
|
|
507
|
+
};
|
|
508
|
+
query: {
|
|
509
|
+
intentId: number;
|
|
510
|
+
};
|
|
511
|
+
url: '/lead/{leadId}/intent';
|
|
512
|
+
};
|
|
513
|
+
export type UpdateIntentResponses = {
|
|
514
|
+
/**
|
|
515
|
+
* No Content
|
|
516
|
+
*/
|
|
517
|
+
204: void;
|
|
518
|
+
};
|
|
519
|
+
export type UpdateIntentResponse = UpdateIntentResponses[keyof UpdateIntentResponses];
|
|
520
|
+
export type UpdateContactInfoData = {
|
|
521
|
+
body: ContactInfoRequest;
|
|
522
|
+
path: {
|
|
523
|
+
leadId: number;
|
|
524
|
+
};
|
|
251
525
|
query?: never;
|
|
252
|
-
url: '/
|
|
526
|
+
url: '/lead/{leadId}/contact-info';
|
|
253
527
|
};
|
|
254
|
-
export type
|
|
528
|
+
export type UpdateContactInfoResponses = {
|
|
255
529
|
/**
|
|
256
|
-
*
|
|
530
|
+
* No Content
|
|
531
|
+
*/
|
|
532
|
+
204: void;
|
|
533
|
+
};
|
|
534
|
+
export type UpdateContactInfoResponse = UpdateContactInfoResponses[keyof UpdateContactInfoResponses];
|
|
535
|
+
export type AssignToAgentData = {
|
|
536
|
+
body: AssignToMemberRequest;
|
|
537
|
+
path: {
|
|
538
|
+
leadId: number;
|
|
539
|
+
};
|
|
540
|
+
query?: never;
|
|
541
|
+
url: '/lead/{leadId}/assign';
|
|
542
|
+
};
|
|
543
|
+
export type AssignToAgentResponses = {
|
|
544
|
+
/**
|
|
545
|
+
* No Content
|
|
546
|
+
*/
|
|
547
|
+
204: void;
|
|
548
|
+
};
|
|
549
|
+
export type AssignToAgentResponse = AssignToAgentResponses[keyof AssignToAgentResponses];
|
|
550
|
+
export type UpdateSource1Data = {
|
|
551
|
+
body: SourceRequest;
|
|
552
|
+
path: {
|
|
553
|
+
clientId: number;
|
|
554
|
+
};
|
|
555
|
+
query?: never;
|
|
556
|
+
url: '/client/{clientId}/source';
|
|
557
|
+
};
|
|
558
|
+
export type UpdateSource1Responses = {
|
|
559
|
+
/**
|
|
560
|
+
* No Content
|
|
257
561
|
*/
|
|
258
|
-
|
|
562
|
+
204: void;
|
|
259
563
|
};
|
|
260
|
-
export type
|
|
261
|
-
export type
|
|
564
|
+
export type UpdateSource1Response = UpdateSource1Responses[keyof UpdateSource1Responses];
|
|
565
|
+
export type RemoveClientRequirementData = {
|
|
262
566
|
body?: never;
|
|
263
567
|
path: {
|
|
264
|
-
|
|
568
|
+
clientId: number;
|
|
569
|
+
};
|
|
570
|
+
query: {
|
|
571
|
+
requirementId: number;
|
|
572
|
+
};
|
|
573
|
+
url: '/client/{clientId}/requirement';
|
|
574
|
+
};
|
|
575
|
+
export type RemoveClientRequirementResponses = {
|
|
576
|
+
/**
|
|
577
|
+
* No Content
|
|
578
|
+
*/
|
|
579
|
+
204: void;
|
|
580
|
+
};
|
|
581
|
+
export type RemoveClientRequirementResponse = RemoveClientRequirementResponses[keyof RemoveClientRequirementResponses];
|
|
582
|
+
export type AddClientRequirementData = {
|
|
583
|
+
body: ClientRequirementRequest;
|
|
584
|
+
path: {
|
|
585
|
+
clientId: number;
|
|
265
586
|
};
|
|
266
587
|
query?: never;
|
|
267
|
-
url: '/
|
|
588
|
+
url: '/client/{clientId}/requirement';
|
|
268
589
|
};
|
|
269
|
-
export type
|
|
590
|
+
export type AddClientRequirementResponses = {
|
|
270
591
|
/**
|
|
271
|
-
*
|
|
592
|
+
* No Content
|
|
272
593
|
*/
|
|
273
|
-
|
|
594
|
+
204: void;
|
|
595
|
+
};
|
|
596
|
+
export type AddClientRequirementResponse = AddClientRequirementResponses[keyof AddClientRequirementResponses];
|
|
597
|
+
export type UpdateClientRequirementData = {
|
|
598
|
+
body: ClientRequirementRequest;
|
|
599
|
+
path: {
|
|
600
|
+
clientId: number;
|
|
601
|
+
};
|
|
602
|
+
query: {
|
|
603
|
+
requirementId: number;
|
|
604
|
+
};
|
|
605
|
+
url: '/client/{clientId}/requirement';
|
|
606
|
+
};
|
|
607
|
+
export type UpdateClientRequirementResponses = {
|
|
608
|
+
/**
|
|
609
|
+
* No Content
|
|
610
|
+
*/
|
|
611
|
+
204: void;
|
|
274
612
|
};
|
|
275
|
-
export type
|
|
276
|
-
export type
|
|
277
|
-
body:
|
|
613
|
+
export type UpdateClientRequirementResponse = UpdateClientRequirementResponses[keyof UpdateClientRequirementResponses];
|
|
614
|
+
export type UpdatePriorityData = {
|
|
615
|
+
body: UpdatePriorityRequest;
|
|
278
616
|
path: {
|
|
279
|
-
|
|
617
|
+
clientId: number;
|
|
280
618
|
};
|
|
281
619
|
query?: never;
|
|
282
|
-
url: '/
|
|
620
|
+
url: '/client/{clientId}/priority';
|
|
283
621
|
};
|
|
284
|
-
export type
|
|
622
|
+
export type UpdatePriorityResponses = {
|
|
285
623
|
/**
|
|
286
|
-
*
|
|
624
|
+
* No Content
|
|
625
|
+
*/
|
|
626
|
+
204: void;
|
|
627
|
+
};
|
|
628
|
+
export type UpdatePriorityResponse = UpdatePriorityResponses[keyof UpdatePriorityResponses];
|
|
629
|
+
export type UpdateContactMethodsData = {
|
|
630
|
+
body: UpdateContactMethodsRequest;
|
|
631
|
+
path: {
|
|
632
|
+
clientId: number;
|
|
633
|
+
};
|
|
634
|
+
query?: never;
|
|
635
|
+
url: '/client/{clientId}/contact-methods';
|
|
636
|
+
};
|
|
637
|
+
export type UpdateContactMethodsResponses = {
|
|
638
|
+
/**
|
|
639
|
+
* No Content
|
|
640
|
+
*/
|
|
641
|
+
204: void;
|
|
642
|
+
};
|
|
643
|
+
export type UpdateContactMethodsResponse = UpdateContactMethodsResponses[keyof UpdateContactMethodsResponses];
|
|
644
|
+
export type UpdateContactInfo1Data = {
|
|
645
|
+
body: ContactInfoRequest;
|
|
646
|
+
path: {
|
|
647
|
+
clientId: number;
|
|
648
|
+
};
|
|
649
|
+
query?: never;
|
|
650
|
+
url: '/client/{clientId}/contact-info';
|
|
651
|
+
};
|
|
652
|
+
export type UpdateContactInfo1Responses = {
|
|
653
|
+
/**
|
|
654
|
+
* No Content
|
|
655
|
+
*/
|
|
656
|
+
204: void;
|
|
657
|
+
};
|
|
658
|
+
export type UpdateContactInfo1Response = UpdateContactInfo1Responses[keyof UpdateContactInfo1Responses];
|
|
659
|
+
export type AssignToAgent1Data = {
|
|
660
|
+
body: AssignToMemberRequest;
|
|
661
|
+
path: {
|
|
662
|
+
clientId: number;
|
|
663
|
+
};
|
|
664
|
+
query?: never;
|
|
665
|
+
url: '/client/{clientId}/assign';
|
|
666
|
+
};
|
|
667
|
+
export type AssignToAgent1Responses = {
|
|
668
|
+
/**
|
|
669
|
+
* No Content
|
|
670
|
+
*/
|
|
671
|
+
204: void;
|
|
672
|
+
};
|
|
673
|
+
export type AssignToAgent1Response = AssignToAgent1Responses[keyof AssignToAgent1Responses];
|
|
674
|
+
export type CorrectRegistrationDetailsData = {
|
|
675
|
+
body: CreateAgencyRequest;
|
|
676
|
+
path: {
|
|
677
|
+
agencyId: string;
|
|
678
|
+
};
|
|
679
|
+
query?: never;
|
|
680
|
+
url: '/agency/{agencyId}/details';
|
|
681
|
+
};
|
|
682
|
+
export type CorrectRegistrationDetailsResponses = {
|
|
683
|
+
/**
|
|
684
|
+
* No Content
|
|
287
685
|
*/
|
|
288
|
-
|
|
686
|
+
204: void;
|
|
289
687
|
};
|
|
290
|
-
export type
|
|
291
|
-
export type
|
|
688
|
+
export type CorrectRegistrationDetailsResponse = CorrectRegistrationDetailsResponses[keyof CorrectRegistrationDetailsResponses];
|
|
689
|
+
export type ActivateAgencyData = {
|
|
292
690
|
body?: never;
|
|
293
691
|
path: {
|
|
294
|
-
|
|
692
|
+
agencyId: string;
|
|
693
|
+
};
|
|
694
|
+
query?: never;
|
|
695
|
+
url: '/agency/{agencyId}/activate';
|
|
696
|
+
};
|
|
697
|
+
export type ActivateAgencyResponses = {
|
|
698
|
+
/**
|
|
699
|
+
* No Content
|
|
700
|
+
*/
|
|
701
|
+
204: void;
|
|
702
|
+
};
|
|
703
|
+
export type ActivateAgencyResponse = ActivateAgencyResponses[keyof ActivateAgencyResponses];
|
|
704
|
+
export type UpdateSocialUrlsData = {
|
|
705
|
+
body: SocialMediasRequest;
|
|
706
|
+
path?: never;
|
|
707
|
+
query?: never;
|
|
708
|
+
url: '/agency/social-media';
|
|
709
|
+
};
|
|
710
|
+
export type UpdateSocialUrlsResponses = {
|
|
711
|
+
/**
|
|
712
|
+
* No Content
|
|
713
|
+
*/
|
|
714
|
+
204: void;
|
|
715
|
+
};
|
|
716
|
+
export type UpdateSocialUrlsResponse = UpdateSocialUrlsResponses[keyof UpdateSocialUrlsResponses];
|
|
717
|
+
export type TransferFundsData = {
|
|
718
|
+
body: TransferFundsRequest;
|
|
719
|
+
path?: never;
|
|
720
|
+
query?: never;
|
|
721
|
+
url: '/wallet/transfer';
|
|
722
|
+
};
|
|
723
|
+
export type TransferFundsResponses = {
|
|
724
|
+
/**
|
|
725
|
+
* No Content
|
|
726
|
+
*/
|
|
727
|
+
204: void;
|
|
728
|
+
};
|
|
729
|
+
export type TransferFundsResponse = TransferFundsResponses[keyof TransferFundsResponses];
|
|
730
|
+
export type DepositFundsData = {
|
|
731
|
+
body: DepositFundsRequest;
|
|
732
|
+
path?: never;
|
|
733
|
+
query?: never;
|
|
734
|
+
url: '/wallet/deposit';
|
|
735
|
+
};
|
|
736
|
+
export type DepositFundsResponses = {
|
|
737
|
+
/**
|
|
738
|
+
* No Content
|
|
739
|
+
*/
|
|
740
|
+
204: void;
|
|
741
|
+
};
|
|
742
|
+
export type DepositFundsResponse = DepositFundsResponses[keyof DepositFundsResponses];
|
|
743
|
+
export type ListRolesData = {
|
|
744
|
+
body?: never;
|
|
745
|
+
path?: never;
|
|
746
|
+
query?: {
|
|
747
|
+
/**
|
|
748
|
+
* Zero-based page index (0..N)
|
|
749
|
+
*/
|
|
750
|
+
page?: number;
|
|
751
|
+
/**
|
|
752
|
+
* The size of the page to be returned
|
|
753
|
+
*/
|
|
754
|
+
size?: number;
|
|
755
|
+
/**
|
|
756
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
757
|
+
*/
|
|
758
|
+
sort?: Array<string>;
|
|
295
759
|
};
|
|
760
|
+
url: '/roles';
|
|
761
|
+
};
|
|
762
|
+
export type ListRolesResponses = {
|
|
763
|
+
/**
|
|
764
|
+
* OK
|
|
765
|
+
*/
|
|
766
|
+
200: PagedModelRoleResponse;
|
|
767
|
+
};
|
|
768
|
+
export type ListRolesResponse = ListRolesResponses[keyof ListRolesResponses];
|
|
769
|
+
export type CreateRoleData = {
|
|
770
|
+
body: RolesRequest;
|
|
771
|
+
path?: never;
|
|
296
772
|
query?: never;
|
|
297
|
-
url: '/
|
|
773
|
+
url: '/roles';
|
|
774
|
+
};
|
|
775
|
+
export type CreateRoleResponses = {
|
|
776
|
+
/**
|
|
777
|
+
* Created
|
|
778
|
+
*/
|
|
779
|
+
201: IdResponseInteger;
|
|
780
|
+
};
|
|
781
|
+
export type CreateRoleResponse = CreateRoleResponses[keyof CreateRoleResponses];
|
|
782
|
+
export type SearchLeadsData = {
|
|
783
|
+
body?: never;
|
|
784
|
+
path?: never;
|
|
785
|
+
query?: {
|
|
786
|
+
status?: SchemaEnum;
|
|
787
|
+
isSearching?: boolean;
|
|
788
|
+
isListing?: boolean;
|
|
789
|
+
/**
|
|
790
|
+
* Zero-based page index (0..N)
|
|
791
|
+
*/
|
|
792
|
+
page?: number;
|
|
793
|
+
/**
|
|
794
|
+
* The size of the page to be returned
|
|
795
|
+
*/
|
|
796
|
+
size?: number;
|
|
797
|
+
/**
|
|
798
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
799
|
+
*/
|
|
800
|
+
sort?: Array<string>;
|
|
801
|
+
};
|
|
802
|
+
url: '/lead';
|
|
298
803
|
};
|
|
299
|
-
export type
|
|
804
|
+
export type SearchLeadsResponses = {
|
|
805
|
+
/**
|
|
806
|
+
* OK
|
|
807
|
+
*/
|
|
808
|
+
200: PagedModelLeadProjectionResponse;
|
|
809
|
+
};
|
|
810
|
+
export type SearchLeadsResponse = SearchLeadsResponses[keyof SearchLeadsResponses];
|
|
811
|
+
export type CreateLeadData = {
|
|
812
|
+
body: CreateLeadRequest;
|
|
813
|
+
path?: never;
|
|
814
|
+
query?: never;
|
|
815
|
+
url: '/lead';
|
|
816
|
+
};
|
|
817
|
+
export type CreateLeadResponses = {
|
|
818
|
+
/**
|
|
819
|
+
* Created
|
|
820
|
+
*/
|
|
821
|
+
201: IdResponseLong;
|
|
822
|
+
};
|
|
823
|
+
export type CreateLeadResponse = CreateLeadResponses[keyof CreateLeadResponses];
|
|
824
|
+
export type GetSentInvitationsData = {
|
|
825
|
+
body?: never;
|
|
826
|
+
path?: never;
|
|
827
|
+
query?: {
|
|
828
|
+
/**
|
|
829
|
+
* Zero-based page index (0..N)
|
|
830
|
+
*/
|
|
831
|
+
page?: number;
|
|
832
|
+
/**
|
|
833
|
+
* The size of the page to be returned
|
|
834
|
+
*/
|
|
835
|
+
size?: number;
|
|
836
|
+
/**
|
|
837
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
838
|
+
*/
|
|
839
|
+
sort?: Array<string>;
|
|
840
|
+
};
|
|
841
|
+
url: '/invitation';
|
|
842
|
+
};
|
|
843
|
+
export type GetSentInvitationsResponses = {
|
|
844
|
+
/**
|
|
845
|
+
* OK
|
|
846
|
+
*/
|
|
847
|
+
200: PagedModelInvitationViewResponse;
|
|
848
|
+
};
|
|
849
|
+
export type GetSentInvitationsResponse = GetSentInvitationsResponses[keyof GetSentInvitationsResponses];
|
|
850
|
+
export type SendInvitationData = {
|
|
851
|
+
body: InviteMemberRequest;
|
|
852
|
+
path?: never;
|
|
853
|
+
query?: never;
|
|
854
|
+
url: '/invitation';
|
|
855
|
+
};
|
|
856
|
+
export type SendInvitationResponses = {
|
|
300
857
|
/**
|
|
301
858
|
* OK
|
|
302
859
|
*/
|
|
303
860
|
200: unknown;
|
|
304
861
|
};
|
|
305
|
-
export type
|
|
306
|
-
body
|
|
862
|
+
export type AcceptInvitationData = {
|
|
863
|
+
body?: never;
|
|
307
864
|
path: {
|
|
308
|
-
|
|
865
|
+
invitationId: string;
|
|
866
|
+
};
|
|
867
|
+
query: {
|
|
868
|
+
agencyId: string;
|
|
309
869
|
};
|
|
870
|
+
url: '/invitation/{invitationId}';
|
|
871
|
+
};
|
|
872
|
+
export type AcceptInvitationResponses = {
|
|
873
|
+
/**
|
|
874
|
+
* OK
|
|
875
|
+
*/
|
|
876
|
+
200: unknown;
|
|
877
|
+
};
|
|
878
|
+
export type RequestPrincipleData = {
|
|
879
|
+
body: AuthRequest;
|
|
880
|
+
path?: never;
|
|
310
881
|
query?: never;
|
|
311
|
-
url: '/
|
|
882
|
+
url: '/internal/principle';
|
|
883
|
+
};
|
|
884
|
+
export type RequestPrincipleResponses = {
|
|
885
|
+
/**
|
|
886
|
+
* OK
|
|
887
|
+
*/
|
|
888
|
+
200: AgencyPrincipalDto;
|
|
889
|
+
};
|
|
890
|
+
export type RequestPrincipleResponse = RequestPrincipleResponses[keyof RequestPrincipleResponses];
|
|
891
|
+
export type SearchClientsData = {
|
|
892
|
+
body?: never;
|
|
893
|
+
path?: never;
|
|
894
|
+
query?: {
|
|
895
|
+
isSearching?: boolean;
|
|
896
|
+
isListing?: boolean;
|
|
897
|
+
/**
|
|
898
|
+
* Zero-based page index (0..N)
|
|
899
|
+
*/
|
|
900
|
+
page?: number;
|
|
901
|
+
/**
|
|
902
|
+
* The size of the page to be returned
|
|
903
|
+
*/
|
|
904
|
+
size?: number;
|
|
905
|
+
/**
|
|
906
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
907
|
+
*/
|
|
908
|
+
sort?: Array<string>;
|
|
909
|
+
};
|
|
910
|
+
url: '/client';
|
|
312
911
|
};
|
|
313
|
-
export type
|
|
912
|
+
export type SearchClientsResponses = {
|
|
314
913
|
/**
|
|
315
914
|
* OK
|
|
316
915
|
*/
|
|
317
|
-
200:
|
|
916
|
+
200: PagedModelClientProjectionResponse;
|
|
917
|
+
};
|
|
918
|
+
export type SearchClientsResponse = SearchClientsResponses[keyof SearchClientsResponses];
|
|
919
|
+
export type CreateClientData = {
|
|
920
|
+
body: CreateClientRequest;
|
|
921
|
+
path?: never;
|
|
922
|
+
query?: never;
|
|
923
|
+
url: '/client';
|
|
924
|
+
};
|
|
925
|
+
export type CreateClientResponses = {
|
|
926
|
+
/**
|
|
927
|
+
* Created
|
|
928
|
+
*/
|
|
929
|
+
201: IdResponseLong;
|
|
318
930
|
};
|
|
319
|
-
export type
|
|
320
|
-
export type
|
|
321
|
-
body:
|
|
931
|
+
export type CreateClientResponse = CreateClientResponses[keyof CreateClientResponses];
|
|
932
|
+
export type CreateAgencyData = {
|
|
933
|
+
body: CreateAgencyRequest;
|
|
322
934
|
path?: never;
|
|
323
935
|
query?: never;
|
|
324
|
-
url: '/
|
|
936
|
+
url: '/agency';
|
|
325
937
|
};
|
|
326
|
-
export type
|
|
938
|
+
export type CreateAgencyResponses = {
|
|
327
939
|
/**
|
|
328
940
|
* Created
|
|
329
941
|
*/
|
|
330
|
-
201:
|
|
942
|
+
201: IdResponseUuid;
|
|
943
|
+
};
|
|
944
|
+
export type CreateAgencyResponse = CreateAgencyResponses[keyof CreateAgencyResponses];
|
|
945
|
+
export type GeneratePresignedUrlData = {
|
|
946
|
+
body: PhotoRequest;
|
|
947
|
+
path?: never;
|
|
948
|
+
query?: never;
|
|
949
|
+
url: '/agency/presigned-urls';
|
|
950
|
+
};
|
|
951
|
+
export type GeneratePresignedUrlResponses = {
|
|
952
|
+
/**
|
|
953
|
+
* OK
|
|
954
|
+
*/
|
|
955
|
+
200: PresignedUrlsResponse;
|
|
331
956
|
};
|
|
332
|
-
export type
|
|
333
|
-
export type
|
|
957
|
+
export type GeneratePresignedUrlResponse = GeneratePresignedUrlResponses[keyof GeneratePresignedUrlResponses];
|
|
958
|
+
export type NotifyLogoUploadCompletionData = {
|
|
959
|
+
body: PhotoRequest;
|
|
960
|
+
path?: never;
|
|
961
|
+
query?: never;
|
|
962
|
+
url: '/agency/presigned-urls/notify/logo';
|
|
963
|
+
};
|
|
964
|
+
export type NotifyLogoUploadCompletionResponses = {
|
|
965
|
+
/**
|
|
966
|
+
* OK
|
|
967
|
+
*/
|
|
968
|
+
200: UploadAcknowledgmentResponse;
|
|
969
|
+
};
|
|
970
|
+
export type NotifyLogoUploadCompletionResponse = NotifyLogoUploadCompletionResponses[keyof NotifyLogoUploadCompletionResponses];
|
|
971
|
+
export type NotifyCoverUploadCompletionData = {
|
|
972
|
+
body: PhotoRequest;
|
|
973
|
+
path?: never;
|
|
974
|
+
query?: never;
|
|
975
|
+
url: '/agency/presigned-urls/notify/cover';
|
|
976
|
+
};
|
|
977
|
+
export type NotifyCoverUploadCompletionResponses = {
|
|
978
|
+
/**
|
|
979
|
+
* OK
|
|
980
|
+
*/
|
|
981
|
+
200: UploadAcknowledgmentResponse;
|
|
982
|
+
};
|
|
983
|
+
export type NotifyCoverUploadCompletionResponse = NotifyCoverUploadCompletionResponses[keyof NotifyCoverUploadCompletionResponses];
|
|
984
|
+
export type GetMeData = {
|
|
334
985
|
body?: never;
|
|
335
986
|
path?: never;
|
|
336
987
|
query?: never;
|
|
337
|
-
url: '/
|
|
988
|
+
url: '/user/me';
|
|
989
|
+
};
|
|
990
|
+
export type GetMeResponses = {
|
|
991
|
+
/**
|
|
992
|
+
* OK
|
|
993
|
+
*/
|
|
994
|
+
200: UserContextViewResponse;
|
|
995
|
+
};
|
|
996
|
+
export type GetMeResponse = GetMeResponses[keyof GetMeResponses];
|
|
997
|
+
export type GetInvitationDetailsData = {
|
|
998
|
+
body?: never;
|
|
999
|
+
path: {
|
|
1000
|
+
invitationId: string;
|
|
1001
|
+
};
|
|
1002
|
+
query: {
|
|
1003
|
+
agencyId: string;
|
|
1004
|
+
};
|
|
1005
|
+
url: '/public/invitation/{invitationId}';
|
|
1006
|
+
};
|
|
1007
|
+
export type GetInvitationDetailsResponses = {
|
|
1008
|
+
/**
|
|
1009
|
+
* OK
|
|
1010
|
+
*/
|
|
1011
|
+
200: InvitationDetailsResponse;
|
|
1012
|
+
};
|
|
1013
|
+
export type GetInvitationDetailsResponse = GetInvitationDetailsResponses[keyof GetInvitationDetailsResponses];
|
|
1014
|
+
export type GetAllAgenciesData = {
|
|
1015
|
+
body?: never;
|
|
1016
|
+
path?: never;
|
|
1017
|
+
query?: {
|
|
1018
|
+
status?: SchemaEnum2;
|
|
1019
|
+
/**
|
|
1020
|
+
* Zero-based page index (0..N)
|
|
1021
|
+
*/
|
|
1022
|
+
page?: number;
|
|
1023
|
+
/**
|
|
1024
|
+
* The size of the page to be returned
|
|
1025
|
+
*/
|
|
1026
|
+
size?: number;
|
|
1027
|
+
/**
|
|
1028
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
1029
|
+
*/
|
|
1030
|
+
sort?: Array<string>;
|
|
1031
|
+
};
|
|
1032
|
+
url: '/public/agency';
|
|
338
1033
|
};
|
|
339
|
-
export type
|
|
1034
|
+
export type GetAllAgenciesResponses = {
|
|
340
1035
|
/**
|
|
341
1036
|
* OK
|
|
342
1037
|
*/
|
|
343
|
-
200:
|
|
1038
|
+
200: PagedModelAgencySummaryResponse;
|
|
344
1039
|
};
|
|
345
|
-
export type
|
|
346
|
-
export type
|
|
1040
|
+
export type GetAllAgenciesResponse = GetAllAgenciesResponses[keyof GetAllAgenciesResponses];
|
|
1041
|
+
export type GetAgencyBySubdomainData = {
|
|
347
1042
|
body?: never;
|
|
348
1043
|
path: {
|
|
349
|
-
|
|
1044
|
+
subDomain: string;
|
|
350
1045
|
};
|
|
351
1046
|
query?: never;
|
|
352
|
-
url: '/
|
|
1047
|
+
url: '/public/agency/subdomain/{subDomain}';
|
|
1048
|
+
};
|
|
1049
|
+
export type GetAgencyBySubdomainResponses = {
|
|
1050
|
+
/**
|
|
1051
|
+
* OK
|
|
1052
|
+
*/
|
|
1053
|
+
200: AgencySummaryResponse;
|
|
1054
|
+
};
|
|
1055
|
+
export type GetAgencyBySubdomainResponse = GetAgencyBySubdomainResponses[keyof GetAgencyBySubdomainResponses];
|
|
1056
|
+
export type ListPermissionCatalogData = {
|
|
1057
|
+
body?: never;
|
|
1058
|
+
path?: never;
|
|
1059
|
+
query?: never;
|
|
1060
|
+
url: '/public/agency/roles/permissions';
|
|
1061
|
+
};
|
|
1062
|
+
export type ListPermissionCatalogResponses = {
|
|
1063
|
+
/**
|
|
1064
|
+
* OK
|
|
1065
|
+
*/
|
|
1066
|
+
200: Array<GroupedPermissionsResponse>;
|
|
353
1067
|
};
|
|
354
|
-
export type
|
|
1068
|
+
export type ListPermissionCatalogResponse = ListPermissionCatalogResponses[keyof ListPermissionCatalogResponses];
|
|
1069
|
+
export type GetAllMembersData = {
|
|
1070
|
+
body?: never;
|
|
1071
|
+
path?: never;
|
|
1072
|
+
query?: {
|
|
1073
|
+
roleId?: number;
|
|
1074
|
+
/**
|
|
1075
|
+
* Zero-based page index (0..N)
|
|
1076
|
+
*/
|
|
1077
|
+
page?: number;
|
|
1078
|
+
/**
|
|
1079
|
+
* The size of the page to be returned
|
|
1080
|
+
*/
|
|
1081
|
+
size?: number;
|
|
1082
|
+
/**
|
|
1083
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
1084
|
+
*/
|
|
1085
|
+
sort?: Array<string>;
|
|
1086
|
+
};
|
|
1087
|
+
url: '/member';
|
|
1088
|
+
};
|
|
1089
|
+
export type GetAllMembersResponses = {
|
|
355
1090
|
/**
|
|
356
1091
|
* OK
|
|
357
1092
|
*/
|
|
358
|
-
200:
|
|
1093
|
+
200: PagedModelMemberViewResponse;
|
|
359
1094
|
};
|
|
360
|
-
export type
|
|
361
|
-
export type
|
|
1095
|
+
export type GetAllMembersResponse = GetAllMembersResponses[keyof GetAllMembersResponses];
|
|
1096
|
+
export type GetLeadByIdData = {
|
|
362
1097
|
body?: never;
|
|
363
1098
|
path: {
|
|
364
|
-
|
|
1099
|
+
leadId: number;
|
|
365
1100
|
};
|
|
366
1101
|
query?: never;
|
|
367
|
-
url: '/
|
|
1102
|
+
url: '/lead/{leadId}';
|
|
368
1103
|
};
|
|
369
|
-
export type
|
|
1104
|
+
export type GetLeadByIdResponses = {
|
|
370
1105
|
/**
|
|
371
|
-
*
|
|
1106
|
+
* OK
|
|
372
1107
|
*/
|
|
373
|
-
|
|
1108
|
+
200: LeadProjectionResponse;
|
|
1109
|
+
};
|
|
1110
|
+
export type GetLeadByIdResponse = GetLeadByIdResponses[keyof GetLeadByIdResponses];
|
|
1111
|
+
export type SearchMyLeadsData = {
|
|
1112
|
+
body?: never;
|
|
1113
|
+
path?: never;
|
|
1114
|
+
query?: {
|
|
1115
|
+
status?: SchemaEnum;
|
|
1116
|
+
isSearching?: boolean;
|
|
1117
|
+
isListing?: boolean;
|
|
1118
|
+
/**
|
|
1119
|
+
* Zero-based page index (0..N)
|
|
1120
|
+
*/
|
|
1121
|
+
page?: number;
|
|
1122
|
+
/**
|
|
1123
|
+
* The size of the page to be returned
|
|
1124
|
+
*/
|
|
1125
|
+
size?: number;
|
|
1126
|
+
/**
|
|
1127
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
1128
|
+
*/
|
|
1129
|
+
sort?: Array<string>;
|
|
1130
|
+
};
|
|
1131
|
+
url: '/lead/my';
|
|
1132
|
+
};
|
|
1133
|
+
export type SearchMyLeadsResponses = {
|
|
1134
|
+
/**
|
|
1135
|
+
* OK
|
|
1136
|
+
*/
|
|
1137
|
+
200: PagedModelLeadProjectionResponse;
|
|
374
1138
|
};
|
|
375
|
-
export type
|
|
376
|
-
export type
|
|
1139
|
+
export type SearchMyLeadsResponse = SearchMyLeadsResponses[keyof SearchMyLeadsResponses];
|
|
1140
|
+
export type GetClientByIdData = {
|
|
377
1141
|
body?: never;
|
|
378
1142
|
path: {
|
|
379
|
-
|
|
1143
|
+
clientId: number;
|
|
380
1144
|
};
|
|
381
1145
|
query?: never;
|
|
382
|
-
url: '/
|
|
1146
|
+
url: '/client/{clientId}';
|
|
383
1147
|
};
|
|
384
|
-
export type
|
|
1148
|
+
export type GetClientByIdResponses = {
|
|
385
1149
|
/**
|
|
386
|
-
*
|
|
1150
|
+
* OK
|
|
387
1151
|
*/
|
|
388
|
-
|
|
1152
|
+
200: ClientProjectionResponse;
|
|
389
1153
|
};
|
|
390
|
-
export type
|
|
391
|
-
export type
|
|
1154
|
+
export type GetClientByIdResponse = GetClientByIdResponses[keyof GetClientByIdResponses];
|
|
1155
|
+
export type SearchMyClientsData = {
|
|
1156
|
+
body?: never;
|
|
1157
|
+
path?: never;
|
|
1158
|
+
query?: {
|
|
1159
|
+
isSearching?: boolean;
|
|
1160
|
+
isListing?: boolean;
|
|
1161
|
+
/**
|
|
1162
|
+
* Zero-based page index (0..N)
|
|
1163
|
+
*/
|
|
1164
|
+
page?: number;
|
|
1165
|
+
/**
|
|
1166
|
+
* The size of the page to be returned
|
|
1167
|
+
*/
|
|
1168
|
+
size?: number;
|
|
1169
|
+
/**
|
|
1170
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
1171
|
+
*/
|
|
1172
|
+
sort?: Array<string>;
|
|
1173
|
+
};
|
|
1174
|
+
url: '/client/my';
|
|
1175
|
+
};
|
|
1176
|
+
export type SearchMyClientsResponses = {
|
|
1177
|
+
/**
|
|
1178
|
+
* OK
|
|
1179
|
+
*/
|
|
1180
|
+
200: PagedModelClientProjectionResponse;
|
|
1181
|
+
};
|
|
1182
|
+
export type SearchMyClientsResponse = SearchMyClientsResponses[keyof SearchMyClientsResponses];
|
|
1183
|
+
export type GetAgencyData = {
|
|
392
1184
|
body?: never;
|
|
393
1185
|
path: {
|
|
394
|
-
|
|
395
|
-
photoKey: string;
|
|
1186
|
+
agencyId: string;
|
|
396
1187
|
};
|
|
397
1188
|
query?: never;
|
|
398
|
-
url: '/
|
|
1189
|
+
url: '/agency/{agencyId}';
|
|
399
1190
|
};
|
|
400
|
-
export type
|
|
1191
|
+
export type GetAgencyResponses = {
|
|
401
1192
|
/**
|
|
402
|
-
*
|
|
1193
|
+
* OK
|
|
403
1194
|
*/
|
|
404
|
-
|
|
1195
|
+
200: AgencyProfileResponse;
|
|
405
1196
|
};
|
|
406
|
-
export type
|
|
1197
|
+
export type GetAgencyResponse = GetAgencyResponses[keyof GetAgencyResponses];
|
|
407
1198
|
//# sourceMappingURL=types.gen.d.ts.map
|