@homespot-sdk/core 0.0.106 → 0.0.109
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/client.gen.d.ts.map +1 -1
- package/dist/registration/client/client.gen.js +15 -19
- package/dist/registration/client/client.gen.js.map +1 -1
- package/dist/registration/client/index.d.ts.map +1 -1
- package/dist/registration/client/index.js +5 -15
- package/dist/registration/client/index.js.map +1 -1
- package/dist/registration/client/types.gen.d.ts.map +1 -1
- package/dist/registration/client/types.gen.js +1 -2
- package/dist/registration/client/types.gen.js.map +1 -1
- package/dist/registration/client/utils.gen.d.ts.map +1 -1
- package/dist/registration/client/utils.gen.js +24 -36
- package/dist/registration/client/utils.gen.js.map +1 -1
- package/dist/registration/client.gen.d.ts.map +1 -1
- package/dist/registration/client.gen.js +3 -6
- package/dist/registration/client.gen.js.map +1 -1
- package/dist/registration/core/auth.gen.d.ts.map +1 -1
- package/dist/registration/core/auth.gen.js +1 -5
- package/dist/registration/core/auth.gen.js.map +1 -1
- package/dist/registration/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/registration/core/bodySerializer.gen.js +3 -6
- package/dist/registration/core/bodySerializer.gen.js.map +1 -1
- package/dist/registration/core/params.gen.d.ts.map +1 -1
- package/dist/registration/core/params.gen.js +1 -5
- package/dist/registration/core/params.gen.js.map +1 -1
- package/dist/registration/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/registration/core/pathSerializer.gen.js +11 -20
- package/dist/registration/core/pathSerializer.gen.js.map +1 -1
- package/dist/registration/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/registration/core/queryKeySerializer.gen.js +6 -12
- package/dist/registration/core/queryKeySerializer.gen.js.map +1 -1
- package/dist/registration/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/registration/core/serverSentEvents.gen.js +1 -5
- package/dist/registration/core/serverSentEvents.gen.js.map +1 -1
- package/dist/registration/core/types.gen.d.ts.map +1 -1
- package/dist/registration/core/types.gen.js +1 -2
- package/dist/registration/core/types.gen.js.map +1 -1
- package/dist/registration/core/utils.gen.d.ts.map +1 -1
- package/dist/registration/core/utils.gen.js +10 -16
- package/dist/registration/core/utils.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 -22
- package/dist/registration/index.js.map +1 -1
- package/dist/registration/schemas.gen.d.ts +1045 -216
- package/dist/registration/schemas.gen.d.ts.map +1 -1
- package/dist/registration/schemas.gen.js +1116 -253
- package/dist/registration/schemas.gen.js.map +1 -1
- package/dist/registration/sdk.gen.d.ts +51 -19
- package/dist/registration/sdk.gen.d.ts.map +1 -1
- package/dist/registration/sdk.gen.js +276 -60
- package/dist/registration/sdk.gen.js.map +1 -1
- package/dist/registration/transformers.gen.d.ts +3 -2
- package/dist/registration/transformers.gen.d.ts.map +1 -1
- package/dist/registration/transformers.gen.js +28 -8
- package/dist/registration/transformers.gen.js.map +1 -1
- package/dist/registration/types.gen.d.ts +1023 -232
- package/dist/registration/types.gen.d.ts.map +1 -1
- package/dist/registration/types.gen.js +1 -2
- package/dist/registration/types.gen.js.map +1 -1
- package/dist/registration/zod.gen.d.ts +2824 -654
- package/dist/registration/zod.gen.d.ts.map +1 -1
- package/dist/registration/zod.gen.js +1337 -261
- package/dist/registration/zod.gen.js.map +1 -1
- package/dist/rem/client/client.gen.d.ts.map +1 -1
- package/dist/rem/client/client.gen.js +15 -19
- package/dist/rem/client/client.gen.js.map +1 -1
- package/dist/rem/client/index.d.ts.map +1 -1
- package/dist/rem/client/index.js +5 -15
- package/dist/rem/client/index.js.map +1 -1
- package/dist/rem/client/types.gen.d.ts.map +1 -1
- package/dist/rem/client/types.gen.js +1 -2
- package/dist/rem/client/types.gen.js.map +1 -1
- package/dist/rem/client/utils.gen.d.ts.map +1 -1
- package/dist/rem/client/utils.gen.js +24 -36
- package/dist/rem/client/utils.gen.js.map +1 -1
- package/dist/rem/client.gen.d.ts.map +1 -1
- package/dist/rem/client.gen.js +3 -6
- package/dist/rem/client.gen.js.map +1 -1
- package/dist/rem/core/auth.gen.d.ts.map +1 -1
- package/dist/rem/core/auth.gen.js +1 -5
- package/dist/rem/core/auth.gen.js.map +1 -1
- package/dist/rem/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/rem/core/bodySerializer.gen.js +3 -6
- package/dist/rem/core/bodySerializer.gen.js.map +1 -1
- package/dist/rem/core/params.gen.d.ts.map +1 -1
- package/dist/rem/core/params.gen.js +1 -5
- package/dist/rem/core/params.gen.js.map +1 -1
- package/dist/rem/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/rem/core/pathSerializer.gen.js +11 -20
- package/dist/rem/core/pathSerializer.gen.js.map +1 -1
- package/dist/rem/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/rem/core/queryKeySerializer.gen.js +6 -12
- package/dist/rem/core/queryKeySerializer.gen.js.map +1 -1
- package/dist/rem/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/rem/core/serverSentEvents.gen.js +1 -5
- package/dist/rem/core/serverSentEvents.gen.js.map +1 -1
- package/dist/rem/core/types.gen.d.ts.map +1 -1
- package/dist/rem/core/types.gen.js +1 -2
- package/dist/rem/core/types.gen.js.map +1 -1
- package/dist/rem/core/utils.gen.d.ts.map +1 -1
- package/dist/rem/core/utils.gen.js +10 -16
- package/dist/rem/core/utils.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 -54
- package/dist/rem/index.js.map +1 -1
- package/dist/rem/schemas.gen.d.ts +215 -1044
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +250 -1120
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +19 -51
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +39 -329
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +2 -3
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +4 -33
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +232 -1023
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/types.gen.js +1 -2
- package/dist/rem/types.gen.js.map +1 -1
- package/dist/rem/zod.gen.d.ts +654 -2824
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +257 -1343
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +13 -11
|
@@ -1,59 +1,508 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
|
-
|
|
4
|
-
exports.StatusEnumSchema = exports.LanguageEnumSchema = exports.DraftTypeEnumSchema = exports.TypeEnum2Schema = exports.GroupEnumSchema = exports.TypeEnumSchema = exports.DraftStatusResponseSchema = exports.DraftCardResponseSchema = exports.SpaceResponseSchema = exports.RegistrationDraftResponseSchema = exports.PhotosKeyUrlResponseSchema = exports.MeasurementResponseSchema = exports.LangTextResponseSchema = exports.AddressResponseSchema = exports.AgencyStartRegistrationRequestSchema = exports.StartRegistrationRequestSchema = exports.PhotoReorderRequestSchema = exports.AddressRequestSchema = exports.AmenitiesRequestSchema = exports.TitleAndDescriptionRequestSchema = exports.MeasurementRequestSchema = exports.PresignedUrlsResponseSchema = exports.PresignedUrlResponseSchema = exports.PhotosRequestSchema = exports.PhotoRequestSchema = exports.RegistrationProgressDtoSchema = exports.SpacesRequestSchema = exports.SpaceRequestSchema = void 0;
|
|
5
|
-
exports.SpaceRequestSchema = {
|
|
2
|
+
export const RolesRequestSchema = {
|
|
6
3
|
type: 'object',
|
|
7
4
|
properties: {
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
name: {
|
|
6
|
+
type: 'string',
|
|
7
|
+
minLength: 1,
|
|
8
|
+
},
|
|
9
|
+
description: {
|
|
10
|
+
type: 'string',
|
|
11
|
+
minLength: 1,
|
|
12
|
+
},
|
|
13
|
+
permissions: {
|
|
14
|
+
type: 'array',
|
|
15
|
+
items: {
|
|
16
|
+
$ref: '#/components/schemas/ItemsEnum',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
required: ['description', 'name', 'permissions'],
|
|
21
|
+
};
|
|
22
|
+
export const AssignRoleRequestSchema = {
|
|
23
|
+
type: 'object',
|
|
24
|
+
properties: {
|
|
25
|
+
roleId: {
|
|
26
|
+
type: 'integer',
|
|
27
|
+
format: 'int32',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
required: ['roleId'],
|
|
31
|
+
};
|
|
32
|
+
export const BatchAssignRoleRequestSchema = {
|
|
33
|
+
type: 'object',
|
|
34
|
+
properties: {
|
|
35
|
+
roleId: {
|
|
36
|
+
type: 'integer',
|
|
37
|
+
format: 'int32',
|
|
38
|
+
},
|
|
39
|
+
memberIds: {
|
|
40
|
+
type: 'array',
|
|
41
|
+
items: {
|
|
42
|
+
type: 'string',
|
|
43
|
+
format: 'uuid',
|
|
44
|
+
},
|
|
45
|
+
minItems: 1,
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
required: ['memberIds', 'roleId'],
|
|
49
|
+
};
|
|
50
|
+
export const ChangeStatusRequestSchema = {
|
|
51
|
+
type: 'object',
|
|
52
|
+
properties: {
|
|
53
|
+
status: {
|
|
54
|
+
$ref: '#/components/schemas/SchemaEnum',
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
required: ['status'],
|
|
58
|
+
};
|
|
59
|
+
export const SourceRequestSchema = {
|
|
60
|
+
type: 'object',
|
|
61
|
+
properties: {
|
|
62
|
+
sourceUrl: {
|
|
63
|
+
type: 'string',
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
export const UpdateNoteRequestSchema = {
|
|
68
|
+
type: 'object',
|
|
69
|
+
properties: {
|
|
70
|
+
note: {
|
|
71
|
+
type: 'string',
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
};
|
|
75
|
+
export const LeadIntentRequestSchema = {
|
|
76
|
+
type: 'object',
|
|
77
|
+
properties: {
|
|
78
|
+
clientType: {
|
|
79
|
+
$ref: '#/components/schemas/ClientTypeEnum',
|
|
80
|
+
},
|
|
81
|
+
listingType: {
|
|
82
|
+
$ref: '#/components/schemas/ListingTypeEnum',
|
|
83
|
+
},
|
|
84
|
+
propertyType: {
|
|
85
|
+
$ref: '#/components/schemas/PropertyTypeEnum',
|
|
86
|
+
},
|
|
87
|
+
price: {
|
|
88
|
+
$ref: '#/components/schemas/PriceRangeRequest',
|
|
89
|
+
},
|
|
90
|
+
targetLocation: {
|
|
91
|
+
$ref: '#/components/schemas/LocationRefRequest',
|
|
10
92
|
},
|
|
11
93
|
area: {
|
|
12
94
|
type: 'number',
|
|
13
95
|
format: 'double',
|
|
14
96
|
},
|
|
97
|
+
numberOfRooms: {
|
|
98
|
+
type: 'integer',
|
|
99
|
+
format: 'int32',
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
required: ['clientType', 'listingType', 'propertyType'],
|
|
103
|
+
};
|
|
104
|
+
export const LocationRefRequestSchema = {
|
|
105
|
+
type: 'object',
|
|
106
|
+
properties: {
|
|
107
|
+
regionId: {
|
|
108
|
+
type: 'integer',
|
|
109
|
+
format: 'int64',
|
|
110
|
+
},
|
|
111
|
+
districtId: {
|
|
112
|
+
type: 'integer',
|
|
113
|
+
format: 'int64',
|
|
114
|
+
},
|
|
115
|
+
subDistrictId: {
|
|
116
|
+
type: 'integer',
|
|
117
|
+
format: 'int64',
|
|
118
|
+
},
|
|
119
|
+
streetId: {
|
|
120
|
+
type: 'integer',
|
|
121
|
+
format: 'int64',
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
};
|
|
125
|
+
export const PriceRangeRequestSchema = {
|
|
126
|
+
type: 'object',
|
|
127
|
+
properties: {
|
|
128
|
+
min: {
|
|
129
|
+
type: 'number',
|
|
130
|
+
},
|
|
131
|
+
max: {
|
|
132
|
+
type: 'number',
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
};
|
|
136
|
+
export const ContactInfoRequestSchema = {
|
|
137
|
+
type: 'object',
|
|
138
|
+
properties: {
|
|
139
|
+
firstName: {
|
|
140
|
+
type: 'string',
|
|
141
|
+
},
|
|
142
|
+
lastName: {
|
|
143
|
+
type: 'string',
|
|
144
|
+
},
|
|
145
|
+
gender: {
|
|
146
|
+
$ref: '#/components/schemas/GenderEnum',
|
|
147
|
+
},
|
|
148
|
+
email: {
|
|
149
|
+
type: 'string',
|
|
150
|
+
format: 'email',
|
|
151
|
+
},
|
|
152
|
+
phone: {
|
|
153
|
+
type: 'string',
|
|
154
|
+
minLength: 1,
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
required: ['phone'],
|
|
158
|
+
};
|
|
159
|
+
export const AssignToMemberRequestSchema = {
|
|
160
|
+
type: 'object',
|
|
161
|
+
properties: {
|
|
162
|
+
memberId: {
|
|
163
|
+
type: 'string',
|
|
164
|
+
format: 'uuid',
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
required: ['memberId'],
|
|
168
|
+
};
|
|
169
|
+
export const ClientRequirementRequestSchema = {
|
|
170
|
+
type: 'object',
|
|
171
|
+
properties: {
|
|
172
|
+
propertyType: {
|
|
173
|
+
type: 'array',
|
|
174
|
+
items: {
|
|
175
|
+
$ref: '#/components/schemas/PropertyTypeEnum',
|
|
176
|
+
},
|
|
177
|
+
uniqueItems: true,
|
|
178
|
+
},
|
|
179
|
+
listingType: {
|
|
180
|
+
$ref: '#/components/schemas/ListingTypeEnum',
|
|
181
|
+
},
|
|
182
|
+
priceMin: {
|
|
183
|
+
type: 'number',
|
|
184
|
+
},
|
|
185
|
+
priceMax: {
|
|
186
|
+
type: 'number',
|
|
187
|
+
},
|
|
188
|
+
bedroomsMin: {
|
|
189
|
+
type: 'integer',
|
|
190
|
+
format: 'int32',
|
|
191
|
+
},
|
|
192
|
+
bedroomsMax: {
|
|
193
|
+
type: 'integer',
|
|
194
|
+
format: 'int32',
|
|
195
|
+
},
|
|
196
|
+
bathroomsMin: {
|
|
197
|
+
type: 'integer',
|
|
198
|
+
format: 'int32',
|
|
199
|
+
},
|
|
200
|
+
bathroomsMax: {
|
|
201
|
+
type: 'integer',
|
|
202
|
+
format: 'int32',
|
|
203
|
+
},
|
|
204
|
+
totalMin: {
|
|
205
|
+
type: 'number',
|
|
206
|
+
format: 'double',
|
|
207
|
+
},
|
|
208
|
+
totalMax: {
|
|
209
|
+
type: 'number',
|
|
210
|
+
format: 'double',
|
|
211
|
+
},
|
|
212
|
+
livingMin: {
|
|
213
|
+
type: 'number',
|
|
214
|
+
format: 'double',
|
|
215
|
+
},
|
|
216
|
+
livingMax: {
|
|
217
|
+
type: 'number',
|
|
218
|
+
format: 'double',
|
|
219
|
+
},
|
|
220
|
+
targetLocation: {
|
|
221
|
+
$ref: '#/components/schemas/LocationRefRequest',
|
|
222
|
+
},
|
|
15
223
|
},
|
|
16
|
-
required: ['
|
|
224
|
+
required: ['listingType', 'propertyType'],
|
|
17
225
|
};
|
|
18
|
-
|
|
226
|
+
export const UpdatePriorityRequestSchema = {
|
|
19
227
|
type: 'object',
|
|
20
228
|
properties: {
|
|
21
|
-
|
|
229
|
+
priority: {
|
|
230
|
+
$ref: '#/components/schemas/PriorityEnum',
|
|
231
|
+
},
|
|
232
|
+
},
|
|
233
|
+
};
|
|
234
|
+
export const UpdateContactMethodsRequestSchema = {
|
|
235
|
+
type: 'object',
|
|
236
|
+
properties: {
|
|
237
|
+
contactMethods: {
|
|
22
238
|
type: 'array',
|
|
23
239
|
items: {
|
|
24
|
-
$ref: '#/components/schemas/
|
|
240
|
+
$ref: '#/components/schemas/ItemsEnum2',
|
|
25
241
|
},
|
|
242
|
+
uniqueItems: true,
|
|
243
|
+
},
|
|
244
|
+
favoriteContactMethod: {
|
|
245
|
+
$ref: '#/components/schemas/ItemsEnum2',
|
|
246
|
+
},
|
|
247
|
+
},
|
|
248
|
+
required: ['contactMethods', 'favoriteContactMethod'],
|
|
249
|
+
};
|
|
250
|
+
export const AddressRequestSchema = {
|
|
251
|
+
type: 'object',
|
|
252
|
+
properties: {
|
|
253
|
+
country: {
|
|
254
|
+
type: 'string',
|
|
255
|
+
maxLength: 100,
|
|
256
|
+
minLength: 0,
|
|
257
|
+
},
|
|
258
|
+
city: {
|
|
259
|
+
type: 'string',
|
|
260
|
+
maxLength: 100,
|
|
261
|
+
minLength: 0,
|
|
262
|
+
},
|
|
263
|
+
district: {
|
|
264
|
+
type: 'string',
|
|
265
|
+
maxLength: 100,
|
|
266
|
+
minLength: 0,
|
|
267
|
+
},
|
|
268
|
+
subdistrict: {
|
|
269
|
+
type: 'string',
|
|
270
|
+
maxLength: 100,
|
|
271
|
+
minLength: 0,
|
|
272
|
+
},
|
|
273
|
+
street: {
|
|
274
|
+
type: 'string',
|
|
275
|
+
maxLength: 255,
|
|
276
|
+
minLength: 0,
|
|
26
277
|
},
|
|
27
278
|
},
|
|
28
|
-
required: ['
|
|
279
|
+
required: ['city', 'country', 'district', 'street', 'subdistrict'],
|
|
29
280
|
};
|
|
30
|
-
|
|
281
|
+
export const CreateAgencyRequestSchema = {
|
|
31
282
|
type: 'object',
|
|
32
283
|
properties: {
|
|
33
|
-
|
|
284
|
+
name: {
|
|
34
285
|
type: 'string',
|
|
35
|
-
|
|
36
|
-
description: 'id of the property being registered',
|
|
286
|
+
minLength: 1,
|
|
37
287
|
},
|
|
38
|
-
|
|
288
|
+
email: {
|
|
289
|
+
type: 'string',
|
|
290
|
+
format: 'email',
|
|
291
|
+
minLength: 1,
|
|
292
|
+
},
|
|
293
|
+
seats: {
|
|
294
|
+
type: 'integer',
|
|
295
|
+
format: 'int32',
|
|
296
|
+
},
|
|
297
|
+
subDomain: {
|
|
298
|
+
type: 'string',
|
|
299
|
+
minLength: 1,
|
|
300
|
+
},
|
|
301
|
+
phone: {
|
|
302
|
+
type: 'string',
|
|
303
|
+
minLength: 1,
|
|
304
|
+
},
|
|
305
|
+
address: {
|
|
306
|
+
$ref: '#/components/schemas/AddressRequest',
|
|
307
|
+
},
|
|
308
|
+
yearSince: {
|
|
309
|
+
type: 'integer',
|
|
310
|
+
format: 'int32',
|
|
311
|
+
},
|
|
312
|
+
},
|
|
313
|
+
required: [
|
|
314
|
+
'address',
|
|
315
|
+
'email',
|
|
316
|
+
'name',
|
|
317
|
+
'phone',
|
|
318
|
+
'seats',
|
|
319
|
+
'subDomain',
|
|
320
|
+
'yearSince',
|
|
321
|
+
],
|
|
322
|
+
};
|
|
323
|
+
export const SocialMediaRequestSchema = {
|
|
324
|
+
type: 'object',
|
|
325
|
+
properties: {
|
|
326
|
+
type: {
|
|
327
|
+
$ref: '#/components/schemas/TypeEnum',
|
|
328
|
+
},
|
|
329
|
+
url: {
|
|
330
|
+
type: 'string',
|
|
331
|
+
},
|
|
332
|
+
},
|
|
333
|
+
required: ['type'],
|
|
334
|
+
};
|
|
335
|
+
export const SocialMediasRequestSchema = {
|
|
336
|
+
type: 'object',
|
|
337
|
+
properties: {
|
|
338
|
+
data: {
|
|
39
339
|
type: 'array',
|
|
40
|
-
description: 'multiform pages',
|
|
41
340
|
items: {
|
|
42
|
-
|
|
341
|
+
$ref: '#/components/schemas/SocialMediaRequest',
|
|
43
342
|
},
|
|
343
|
+
maxItems: 5,
|
|
344
|
+
minItems: 1,
|
|
44
345
|
},
|
|
45
|
-
|
|
346
|
+
},
|
|
347
|
+
required: ['data'],
|
|
348
|
+
};
|
|
349
|
+
export const TransferFundsRequestSchema = {
|
|
350
|
+
type: 'object',
|
|
351
|
+
properties: {
|
|
352
|
+
transferTo: {
|
|
353
|
+
type: 'string',
|
|
354
|
+
format: 'uuid',
|
|
355
|
+
},
|
|
356
|
+
amount: {
|
|
357
|
+
type: 'number',
|
|
358
|
+
},
|
|
359
|
+
},
|
|
360
|
+
required: ['amount', 'transferTo'],
|
|
361
|
+
};
|
|
362
|
+
export const DepositFundsRequestSchema = {
|
|
363
|
+
type: 'object',
|
|
364
|
+
properties: {
|
|
365
|
+
amount: {
|
|
366
|
+
type: 'number',
|
|
367
|
+
},
|
|
368
|
+
},
|
|
369
|
+
required: ['amount'],
|
|
370
|
+
};
|
|
371
|
+
export const IdResponseIntegerSchema = {
|
|
372
|
+
type: 'object',
|
|
373
|
+
properties: {
|
|
374
|
+
id: {
|
|
46
375
|
type: 'integer',
|
|
47
376
|
format: 'int32',
|
|
48
|
-
description: 'total pages',
|
|
49
377
|
},
|
|
50
|
-
|
|
51
|
-
|
|
378
|
+
},
|
|
379
|
+
required: ['id'],
|
|
380
|
+
};
|
|
381
|
+
export const CreateLeadRequestSchema = {
|
|
382
|
+
type: 'object',
|
|
383
|
+
properties: {
|
|
384
|
+
contactInfo: {
|
|
385
|
+
$ref: '#/components/schemas/ContactInfoRequest',
|
|
386
|
+
},
|
|
387
|
+
note: {
|
|
388
|
+
type: 'string',
|
|
389
|
+
maxLength: 500,
|
|
390
|
+
minLength: 0,
|
|
391
|
+
},
|
|
392
|
+
sourceUrl: {
|
|
393
|
+
type: 'string',
|
|
394
|
+
},
|
|
395
|
+
},
|
|
396
|
+
required: ['contactInfo'],
|
|
397
|
+
};
|
|
398
|
+
export const IdResponseLongSchema = {
|
|
399
|
+
type: 'object',
|
|
400
|
+
properties: {
|
|
401
|
+
id: {
|
|
402
|
+
type: 'integer',
|
|
403
|
+
format: 'int64',
|
|
404
|
+
},
|
|
405
|
+
},
|
|
406
|
+
required: ['id'],
|
|
407
|
+
};
|
|
408
|
+
export const InvitationDetailsRequestSchema = {
|
|
409
|
+
type: 'object',
|
|
410
|
+
properties: {
|
|
411
|
+
email: {
|
|
412
|
+
type: 'string',
|
|
413
|
+
format: 'email',
|
|
414
|
+
},
|
|
415
|
+
roleId: {
|
|
416
|
+
type: 'integer',
|
|
417
|
+
format: 'int32',
|
|
418
|
+
},
|
|
419
|
+
},
|
|
420
|
+
required: ['email', 'roleId'],
|
|
421
|
+
};
|
|
422
|
+
export const InviteMemberRequestSchema = {
|
|
423
|
+
type: 'object',
|
|
424
|
+
properties: {
|
|
425
|
+
emails: {
|
|
426
|
+
type: 'array',
|
|
427
|
+
items: {
|
|
428
|
+
$ref: '#/components/schemas/InvitationDetailsRequest',
|
|
429
|
+
},
|
|
430
|
+
minItems: 1,
|
|
431
|
+
},
|
|
432
|
+
},
|
|
433
|
+
required: ['emails'],
|
|
434
|
+
};
|
|
435
|
+
export const AuthRequestSchema = {
|
|
436
|
+
type: 'object',
|
|
437
|
+
properties: {
|
|
438
|
+
sub: {
|
|
439
|
+
type: 'string',
|
|
440
|
+
},
|
|
441
|
+
agencyId: {
|
|
442
|
+
type: 'string',
|
|
443
|
+
format: 'uuid',
|
|
444
|
+
},
|
|
445
|
+
},
|
|
446
|
+
};
|
|
447
|
+
export const AgencyPrincipalDtoSchema = {
|
|
448
|
+
type: 'object',
|
|
449
|
+
properties: {
|
|
450
|
+
memberId: {
|
|
451
|
+
type: 'string',
|
|
452
|
+
format: 'uuid',
|
|
453
|
+
},
|
|
454
|
+
permissions: {
|
|
455
|
+
type: 'array',
|
|
456
|
+
items: {
|
|
457
|
+
$ref: '#/components/schemas/ItemsEnum',
|
|
458
|
+
},
|
|
459
|
+
uniqueItems: true,
|
|
460
|
+
},
|
|
461
|
+
isActive: {
|
|
462
|
+
type: 'boolean',
|
|
463
|
+
},
|
|
464
|
+
isOwner: {
|
|
465
|
+
type: 'boolean',
|
|
52
466
|
},
|
|
53
467
|
},
|
|
54
|
-
required: ['group', 'pages', 'registrationId', 'total'],
|
|
55
468
|
};
|
|
56
|
-
|
|
469
|
+
export const CreateClientRequestSchema = {
|
|
470
|
+
type: 'object',
|
|
471
|
+
properties: {
|
|
472
|
+
contactInfo: {
|
|
473
|
+
$ref: '#/components/schemas/ContactInfoRequest',
|
|
474
|
+
},
|
|
475
|
+
sourceUrl: {
|
|
476
|
+
type: 'string',
|
|
477
|
+
},
|
|
478
|
+
contactMethods: {
|
|
479
|
+
type: 'array',
|
|
480
|
+
items: {
|
|
481
|
+
$ref: '#/components/schemas/ItemsEnum2',
|
|
482
|
+
},
|
|
483
|
+
minItems: 1,
|
|
484
|
+
uniqueItems: true,
|
|
485
|
+
},
|
|
486
|
+
favoriteContactMethod: {
|
|
487
|
+
$ref: '#/components/schemas/ItemsEnum2',
|
|
488
|
+
},
|
|
489
|
+
priority: {
|
|
490
|
+
$ref: '#/components/schemas/PriorityEnum',
|
|
491
|
+
},
|
|
492
|
+
},
|
|
493
|
+
required: ['contactInfo', 'contactMethods', 'favoriteContactMethod'],
|
|
494
|
+
};
|
|
495
|
+
export const IdResponseUUIDSchema = {
|
|
496
|
+
type: 'object',
|
|
497
|
+
properties: {
|
|
498
|
+
id: {
|
|
499
|
+
type: 'string',
|
|
500
|
+
format: 'uuid',
|
|
501
|
+
},
|
|
502
|
+
},
|
|
503
|
+
required: ['id'],
|
|
504
|
+
};
|
|
505
|
+
export const PhotoRequestSchema = {
|
|
57
506
|
type: 'object',
|
|
58
507
|
properties: {
|
|
59
508
|
photo: {
|
|
@@ -79,423 +528,805 @@ exports.PhotoRequestSchema = {
|
|
|
79
528
|
},
|
|
80
529
|
required: ['photo', 'type', 'width'],
|
|
81
530
|
};
|
|
82
|
-
|
|
531
|
+
export const PresignedUrlResponseSchema = {
|
|
83
532
|
type: 'object',
|
|
84
533
|
properties: {
|
|
85
|
-
|
|
534
|
+
originalName: {
|
|
535
|
+
type: 'string',
|
|
536
|
+
},
|
|
537
|
+
key: {
|
|
538
|
+
type: 'string',
|
|
539
|
+
},
|
|
540
|
+
url: {
|
|
541
|
+
type: 'string',
|
|
542
|
+
},
|
|
543
|
+
},
|
|
544
|
+
required: ['key', 'originalName', 'url'],
|
|
545
|
+
};
|
|
546
|
+
export const PresignedUrlsResponseSchema = {
|
|
547
|
+
type: 'object',
|
|
548
|
+
properties: {
|
|
549
|
+
data: {
|
|
86
550
|
type: 'array',
|
|
87
551
|
items: {
|
|
88
|
-
$ref: '#/components/schemas/
|
|
552
|
+
$ref: '#/components/schemas/PresignedUrlResponse',
|
|
89
553
|
},
|
|
90
|
-
maxItems: 30,
|
|
91
|
-
minItems: 1,
|
|
92
554
|
},
|
|
93
555
|
},
|
|
94
|
-
required: ['
|
|
556
|
+
required: ['data'],
|
|
95
557
|
};
|
|
96
|
-
|
|
558
|
+
export const UploadAcknowledgmentResponseSchema = {
|
|
97
559
|
type: 'object',
|
|
98
560
|
properties: {
|
|
99
|
-
|
|
561
|
+
success: {
|
|
562
|
+
type: 'array',
|
|
563
|
+
items: {
|
|
564
|
+
type: 'string',
|
|
565
|
+
},
|
|
566
|
+
},
|
|
567
|
+
fail: {
|
|
568
|
+
type: 'array',
|
|
569
|
+
items: {
|
|
570
|
+
type: 'string',
|
|
571
|
+
},
|
|
572
|
+
},
|
|
573
|
+
},
|
|
574
|
+
required: ['fail', 'success'],
|
|
575
|
+
};
|
|
576
|
+
export const OrganizationSummaryViewResponseSchema = {
|
|
577
|
+
type: 'object',
|
|
578
|
+
properties: {
|
|
579
|
+
agencyId: {
|
|
100
580
|
type: 'string',
|
|
581
|
+
format: 'uuid',
|
|
101
582
|
},
|
|
102
|
-
|
|
583
|
+
isOwner: {
|
|
584
|
+
type: 'boolean',
|
|
585
|
+
},
|
|
586
|
+
agencyName: {
|
|
103
587
|
type: 'string',
|
|
104
588
|
},
|
|
105
|
-
|
|
589
|
+
subDomain: {
|
|
106
590
|
type: 'string',
|
|
107
591
|
},
|
|
592
|
+
roleId: {
|
|
593
|
+
type: 'integer',
|
|
594
|
+
format: 'int32',
|
|
595
|
+
},
|
|
596
|
+
memberId: {
|
|
597
|
+
type: 'string',
|
|
598
|
+
format: 'uuid',
|
|
599
|
+
},
|
|
600
|
+
roleName: {
|
|
601
|
+
type: 'string',
|
|
602
|
+
},
|
|
603
|
+
permissions: {
|
|
604
|
+
type: 'array',
|
|
605
|
+
items: {
|
|
606
|
+
$ref: '#/components/schemas/ItemsEnum',
|
|
607
|
+
},
|
|
608
|
+
},
|
|
609
|
+
status: {
|
|
610
|
+
$ref: '#/components/schemas/SchemaEnum2',
|
|
611
|
+
},
|
|
108
612
|
},
|
|
109
|
-
required: [
|
|
613
|
+
required: [
|
|
614
|
+
'agencyId',
|
|
615
|
+
'agencyName',
|
|
616
|
+
'isOwner',
|
|
617
|
+
'memberId',
|
|
618
|
+
'permissions',
|
|
619
|
+
'roleName',
|
|
620
|
+
'status',
|
|
621
|
+
'subDomain',
|
|
622
|
+
],
|
|
110
623
|
};
|
|
111
|
-
|
|
624
|
+
export const UserContextViewResponseSchema = {
|
|
112
625
|
type: 'object',
|
|
113
626
|
properties: {
|
|
114
|
-
|
|
627
|
+
user: {
|
|
628
|
+
$ref: '#/components/schemas/UserSummaryViewResponse',
|
|
629
|
+
},
|
|
630
|
+
organizations: {
|
|
115
631
|
type: 'array',
|
|
116
632
|
items: {
|
|
117
|
-
$ref: '#/components/schemas/
|
|
633
|
+
$ref: '#/components/schemas/OrganizationSummaryViewResponse',
|
|
118
634
|
},
|
|
119
635
|
},
|
|
120
636
|
},
|
|
121
|
-
required: ['
|
|
637
|
+
required: ['organizations', 'user'],
|
|
122
638
|
};
|
|
123
|
-
|
|
639
|
+
export const UserSummaryViewResponseSchema = {
|
|
124
640
|
type: 'object',
|
|
125
641
|
properties: {
|
|
126
|
-
|
|
127
|
-
type: '
|
|
128
|
-
format: 'double',
|
|
129
|
-
minimum: 1,
|
|
642
|
+
email: {
|
|
643
|
+
type: 'string',
|
|
130
644
|
},
|
|
131
|
-
|
|
132
|
-
type: '
|
|
133
|
-
|
|
645
|
+
firstName: {
|
|
646
|
+
type: 'string',
|
|
647
|
+
},
|
|
648
|
+
lastName: {
|
|
649
|
+
type: 'string',
|
|
650
|
+
},
|
|
651
|
+
},
|
|
652
|
+
required: ['email', 'firstName', 'lastName'],
|
|
653
|
+
};
|
|
654
|
+
export const PageMetadataSchema = {
|
|
655
|
+
type: 'object',
|
|
656
|
+
properties: {
|
|
657
|
+
size: {
|
|
658
|
+
type: 'integer',
|
|
659
|
+
format: 'int64',
|
|
660
|
+
},
|
|
661
|
+
number: {
|
|
662
|
+
type: 'integer',
|
|
663
|
+
format: 'int64',
|
|
664
|
+
},
|
|
665
|
+
totalElements: {
|
|
666
|
+
type: 'integer',
|
|
667
|
+
format: 'int64',
|
|
668
|
+
},
|
|
669
|
+
totalPages: {
|
|
670
|
+
type: 'integer',
|
|
671
|
+
format: 'int64',
|
|
672
|
+
},
|
|
673
|
+
},
|
|
674
|
+
};
|
|
675
|
+
export const PagedModelRoleResponseSchema = {
|
|
676
|
+
type: 'object',
|
|
677
|
+
properties: {
|
|
678
|
+
content: {
|
|
679
|
+
type: 'array',
|
|
680
|
+
items: {
|
|
681
|
+
$ref: '#/components/schemas/RoleResponse',
|
|
682
|
+
},
|
|
683
|
+
},
|
|
684
|
+
page: {
|
|
685
|
+
$ref: '#/components/schemas/PageMetadata',
|
|
686
|
+
},
|
|
687
|
+
},
|
|
688
|
+
};
|
|
689
|
+
export const RoleResponseSchema = {
|
|
690
|
+
type: 'object',
|
|
691
|
+
properties: {
|
|
692
|
+
id: {
|
|
693
|
+
type: 'integer',
|
|
694
|
+
format: 'int32',
|
|
695
|
+
},
|
|
696
|
+
name: {
|
|
697
|
+
type: 'string',
|
|
698
|
+
},
|
|
699
|
+
description: {
|
|
700
|
+
type: 'string',
|
|
701
|
+
},
|
|
702
|
+
permissions: {
|
|
703
|
+
type: 'array',
|
|
704
|
+
items: {
|
|
705
|
+
$ref: '#/components/schemas/ItemsEnum',
|
|
706
|
+
},
|
|
707
|
+
},
|
|
708
|
+
},
|
|
709
|
+
required: ['description', 'id', 'name', 'permissions'],
|
|
710
|
+
};
|
|
711
|
+
export const InvitationDetailsResponseSchema = {
|
|
712
|
+
type: 'object',
|
|
713
|
+
properties: {
|
|
714
|
+
invitationId: {
|
|
715
|
+
type: 'string',
|
|
716
|
+
format: 'uuid',
|
|
717
|
+
},
|
|
718
|
+
agencyId: {
|
|
719
|
+
type: 'string',
|
|
720
|
+
format: 'uuid',
|
|
721
|
+
},
|
|
722
|
+
email: {
|
|
723
|
+
type: 'string',
|
|
724
|
+
},
|
|
725
|
+
status: {
|
|
726
|
+
$ref: '#/components/schemas/StatusEnum',
|
|
727
|
+
},
|
|
728
|
+
agencyName: {
|
|
729
|
+
type: 'string',
|
|
730
|
+
},
|
|
731
|
+
agencyLogo: {
|
|
732
|
+
type: 'string',
|
|
733
|
+
},
|
|
734
|
+
},
|
|
735
|
+
required: ['agencyId', 'agencyName', 'email', 'invitationId', 'status'],
|
|
736
|
+
};
|
|
737
|
+
export const AgencySummaryResponseSchema = {
|
|
738
|
+
type: 'object',
|
|
739
|
+
properties: {
|
|
740
|
+
id: {
|
|
741
|
+
type: 'string',
|
|
742
|
+
format: 'uuid',
|
|
743
|
+
},
|
|
744
|
+
owner: {
|
|
745
|
+
type: 'string',
|
|
746
|
+
},
|
|
747
|
+
name: {
|
|
748
|
+
type: 'string',
|
|
749
|
+
},
|
|
750
|
+
email: {
|
|
751
|
+
type: 'string',
|
|
752
|
+
},
|
|
753
|
+
seats: {
|
|
754
|
+
type: 'string',
|
|
755
|
+
},
|
|
756
|
+
subDomain: {
|
|
757
|
+
type: 'string',
|
|
758
|
+
},
|
|
759
|
+
phone: {
|
|
760
|
+
type: 'string',
|
|
761
|
+
},
|
|
762
|
+
website: {
|
|
763
|
+
type: 'string',
|
|
764
|
+
},
|
|
765
|
+
yearSince: {
|
|
766
|
+
type: 'string',
|
|
767
|
+
},
|
|
768
|
+
status: {
|
|
769
|
+
$ref: '#/components/schemas/SchemaEnum2',
|
|
770
|
+
},
|
|
771
|
+
logo: {
|
|
772
|
+
type: 'string',
|
|
773
|
+
},
|
|
774
|
+
},
|
|
775
|
+
required: [
|
|
776
|
+
'email',
|
|
777
|
+
'id',
|
|
778
|
+
'name',
|
|
779
|
+
'owner',
|
|
780
|
+
'phone',
|
|
781
|
+
'seats',
|
|
782
|
+
'status',
|
|
783
|
+
'subDomain',
|
|
784
|
+
'yearSince',
|
|
785
|
+
],
|
|
786
|
+
};
|
|
787
|
+
export const PagedModelAgencySummaryResponseSchema = {
|
|
788
|
+
type: 'object',
|
|
789
|
+
properties: {
|
|
790
|
+
content: {
|
|
791
|
+
type: 'array',
|
|
792
|
+
items: {
|
|
793
|
+
$ref: '#/components/schemas/AgencySummaryResponse',
|
|
794
|
+
},
|
|
134
795
|
},
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
format: 'double',
|
|
796
|
+
page: {
|
|
797
|
+
$ref: '#/components/schemas/PageMetadata',
|
|
138
798
|
},
|
|
139
799
|
},
|
|
140
|
-
required: ['totalArea'],
|
|
141
800
|
};
|
|
142
|
-
|
|
801
|
+
export const GroupedPermissionsResponseSchema = {
|
|
143
802
|
type: 'object',
|
|
144
803
|
properties: {
|
|
145
|
-
|
|
146
|
-
|
|
804
|
+
group: {
|
|
805
|
+
$ref: '#/components/schemas/GroupEnum',
|
|
147
806
|
},
|
|
148
|
-
|
|
149
|
-
type: '
|
|
150
|
-
|
|
151
|
-
|
|
807
|
+
permissions: {
|
|
808
|
+
type: 'array',
|
|
809
|
+
items: {
|
|
810
|
+
$ref: '#/components/schemas/PermissionResponse',
|
|
152
811
|
},
|
|
153
812
|
},
|
|
154
813
|
},
|
|
814
|
+
required: ['group', 'permissions'],
|
|
155
815
|
};
|
|
156
|
-
|
|
816
|
+
export const PermissionResponseSchema = {
|
|
157
817
|
type: 'object',
|
|
158
818
|
properties: {
|
|
159
|
-
|
|
819
|
+
permission: {
|
|
820
|
+
$ref: '#/components/schemas/ItemsEnum',
|
|
821
|
+
},
|
|
822
|
+
implied: {
|
|
160
823
|
type: 'array',
|
|
161
824
|
items: {
|
|
162
|
-
|
|
163
|
-
format: 'int32',
|
|
825
|
+
$ref: '#/components/schemas/ItemsEnum',
|
|
164
826
|
},
|
|
165
827
|
},
|
|
166
828
|
},
|
|
829
|
+
required: ['implied', 'permission'],
|
|
167
830
|
};
|
|
168
|
-
|
|
831
|
+
export const MemberViewResponseSchema = {
|
|
169
832
|
type: 'object',
|
|
170
833
|
properties: {
|
|
171
|
-
|
|
834
|
+
userId: {
|
|
172
835
|
type: 'string',
|
|
173
|
-
maxLength: 255,
|
|
174
|
-
minLength: 0,
|
|
175
836
|
},
|
|
176
|
-
|
|
837
|
+
firstName: {
|
|
177
838
|
type: 'string',
|
|
178
|
-
maxLength: 255,
|
|
179
|
-
minLength: 0,
|
|
180
839
|
},
|
|
181
|
-
|
|
840
|
+
lastName: {
|
|
182
841
|
type: 'string',
|
|
183
|
-
maxLength: 500,
|
|
184
|
-
minLength: 0,
|
|
185
|
-
},
|
|
186
|
-
lat: {
|
|
187
|
-
type: 'number',
|
|
188
|
-
format: 'double',
|
|
189
|
-
maximum: 90,
|
|
190
|
-
minimum: -90,
|
|
191
842
|
},
|
|
192
|
-
|
|
193
|
-
type: '
|
|
194
|
-
format: 'double',
|
|
195
|
-
maximum: 180,
|
|
196
|
-
minimum: -180,
|
|
843
|
+
phone: {
|
|
844
|
+
type: 'string',
|
|
197
845
|
},
|
|
198
|
-
|
|
846
|
+
email: {
|
|
199
847
|
type: 'string',
|
|
200
|
-
maxLength: 100,
|
|
201
|
-
minLength: 0,
|
|
202
848
|
},
|
|
203
|
-
|
|
849
|
+
roleId: {
|
|
850
|
+
type: 'integer',
|
|
851
|
+
format: 'int32',
|
|
852
|
+
},
|
|
853
|
+
roleName: {
|
|
204
854
|
type: 'string',
|
|
205
|
-
maxLength: 100,
|
|
206
|
-
minLength: 0,
|
|
207
855
|
},
|
|
208
|
-
|
|
856
|
+
joinedAt: {
|
|
209
857
|
type: 'string',
|
|
210
|
-
|
|
211
|
-
minLength: 0,
|
|
858
|
+
format: 'date-time',
|
|
212
859
|
},
|
|
213
860
|
},
|
|
214
861
|
required: [
|
|
215
|
-
'
|
|
216
|
-
'
|
|
217
|
-
'
|
|
218
|
-
'
|
|
219
|
-
'
|
|
220
|
-
'
|
|
221
|
-
'
|
|
222
|
-
'street',
|
|
862
|
+
'email',
|
|
863
|
+
'firstName',
|
|
864
|
+
'joinedAt',
|
|
865
|
+
'lastName',
|
|
866
|
+
'roleId',
|
|
867
|
+
'roleName',
|
|
868
|
+
'userId',
|
|
223
869
|
],
|
|
224
870
|
};
|
|
225
|
-
|
|
871
|
+
export const PagedModelMemberViewResponseSchema = {
|
|
226
872
|
type: 'object',
|
|
227
873
|
properties: {
|
|
228
|
-
|
|
874
|
+
content: {
|
|
229
875
|
type: 'array',
|
|
230
876
|
items: {
|
|
231
|
-
|
|
877
|
+
$ref: '#/components/schemas/MemberViewResponse',
|
|
232
878
|
},
|
|
233
|
-
minItems: 1,
|
|
234
879
|
},
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
};
|
|
238
|
-
exports.StartRegistrationRequestSchema = {
|
|
239
|
-
type: 'object',
|
|
240
|
-
properties: {
|
|
241
|
-
draftType: {
|
|
242
|
-
$ref: '#/components/schemas/DraftTypeEnum',
|
|
880
|
+
page: {
|
|
881
|
+
$ref: '#/components/schemas/PageMetadata',
|
|
243
882
|
},
|
|
244
883
|
},
|
|
245
|
-
required: ['draftType'],
|
|
246
884
|
};
|
|
247
|
-
|
|
885
|
+
export const IntentResponseSchema = {
|
|
248
886
|
type: 'object',
|
|
249
887
|
properties: {
|
|
250
|
-
|
|
251
|
-
|
|
888
|
+
id: {
|
|
889
|
+
type: 'integer',
|
|
890
|
+
format: 'int64',
|
|
252
891
|
},
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
892
|
+
clientType: {
|
|
893
|
+
$ref: '#/components/schemas/ClientTypeEnum',
|
|
894
|
+
},
|
|
895
|
+
listingType: {
|
|
896
|
+
$ref: '#/components/schemas/ListingTypeEnum',
|
|
897
|
+
},
|
|
898
|
+
propertyType: {
|
|
899
|
+
$ref: '#/components/schemas/PropertyTypeEnum',
|
|
900
|
+
},
|
|
901
|
+
priceMin: {
|
|
902
|
+
type: 'number',
|
|
903
|
+
},
|
|
904
|
+
priceMax: {
|
|
905
|
+
type: 'number',
|
|
906
|
+
},
|
|
907
|
+
regionId: {
|
|
908
|
+
type: 'integer',
|
|
909
|
+
format: 'int64',
|
|
910
|
+
},
|
|
911
|
+
districtId: {
|
|
912
|
+
type: 'integer',
|
|
913
|
+
format: 'int64',
|
|
914
|
+
},
|
|
915
|
+
subDistrictId: {
|
|
916
|
+
type: 'integer',
|
|
917
|
+
format: 'int64',
|
|
918
|
+
},
|
|
919
|
+
streetId: {
|
|
920
|
+
type: 'integer',
|
|
921
|
+
format: 'int64',
|
|
922
|
+
},
|
|
923
|
+
area: {
|
|
924
|
+
type: 'number',
|
|
925
|
+
format: 'double',
|
|
926
|
+
},
|
|
927
|
+
numberOfRooms: {
|
|
928
|
+
type: 'integer',
|
|
929
|
+
format: 'int32',
|
|
256
930
|
},
|
|
257
931
|
},
|
|
258
|
-
required: ['
|
|
932
|
+
required: ['clientType', 'id', 'listingType', 'propertyType'],
|
|
259
933
|
};
|
|
260
|
-
|
|
934
|
+
export const LeadProjectionResponseSchema = {
|
|
261
935
|
type: 'object',
|
|
262
936
|
properties: {
|
|
263
|
-
|
|
937
|
+
id: {
|
|
938
|
+
type: 'integer',
|
|
939
|
+
format: 'int64',
|
|
940
|
+
},
|
|
941
|
+
createdBy: {
|
|
264
942
|
type: 'string',
|
|
943
|
+
format: 'uuid',
|
|
265
944
|
},
|
|
266
|
-
|
|
945
|
+
assignedTo: {
|
|
267
946
|
type: 'string',
|
|
947
|
+
format: 'uuid',
|
|
268
948
|
},
|
|
269
|
-
|
|
949
|
+
status: {
|
|
950
|
+
$ref: '#/components/schemas/SchemaEnum',
|
|
951
|
+
},
|
|
952
|
+
contactFullName: {
|
|
270
953
|
type: 'string',
|
|
271
954
|
},
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
format: 'double',
|
|
955
|
+
contactGender: {
|
|
956
|
+
$ref: '#/components/schemas/GenderEnum',
|
|
275
957
|
},
|
|
276
|
-
|
|
277
|
-
type: '
|
|
278
|
-
format: 'double',
|
|
958
|
+
contactPhoneNumber: {
|
|
959
|
+
type: 'string',
|
|
279
960
|
},
|
|
280
|
-
|
|
961
|
+
contactEmail: {
|
|
281
962
|
type: 'string',
|
|
282
963
|
},
|
|
283
|
-
|
|
964
|
+
note: {
|
|
284
965
|
type: 'string',
|
|
285
966
|
},
|
|
286
|
-
|
|
967
|
+
sourceType: {
|
|
968
|
+
$ref: '#/components/schemas/SourceTypeEnum',
|
|
969
|
+
},
|
|
970
|
+
sourceLink: {
|
|
287
971
|
type: 'string',
|
|
288
972
|
},
|
|
973
|
+
isSearching: {
|
|
974
|
+
type: 'boolean',
|
|
975
|
+
},
|
|
976
|
+
isListing: {
|
|
977
|
+
type: 'boolean',
|
|
978
|
+
},
|
|
979
|
+
intents: {
|
|
980
|
+
type: 'array',
|
|
981
|
+
items: {
|
|
982
|
+
$ref: '#/components/schemas/IntentResponse',
|
|
983
|
+
},
|
|
984
|
+
},
|
|
289
985
|
},
|
|
290
986
|
required: [
|
|
291
|
-
'
|
|
292
|
-
'
|
|
293
|
-
'
|
|
294
|
-
'
|
|
295
|
-
'
|
|
296
|
-
'
|
|
297
|
-
'placeId',
|
|
298
|
-
'street',
|
|
987
|
+
'contactPhoneNumber',
|
|
988
|
+
'createdBy',
|
|
989
|
+
'id',
|
|
990
|
+
'isListing',
|
|
991
|
+
'isSearching',
|
|
992
|
+
'status',
|
|
299
993
|
],
|
|
300
994
|
};
|
|
301
|
-
|
|
995
|
+
export const PagedModelLeadProjectionResponseSchema = {
|
|
302
996
|
type: 'object',
|
|
303
997
|
properties: {
|
|
304
|
-
|
|
305
|
-
|
|
998
|
+
content: {
|
|
999
|
+
type: 'array',
|
|
1000
|
+
items: {
|
|
1001
|
+
$ref: '#/components/schemas/LeadProjectionResponse',
|
|
1002
|
+
},
|
|
306
1003
|
},
|
|
307
|
-
|
|
308
|
-
|
|
1004
|
+
page: {
|
|
1005
|
+
$ref: '#/components/schemas/PageMetadata',
|
|
309
1006
|
},
|
|
310
1007
|
},
|
|
311
|
-
required: ['language', 'text'],
|
|
312
1008
|
};
|
|
313
|
-
|
|
1009
|
+
export const InvitationViewResponseSchema = {
|
|
314
1010
|
type: 'object',
|
|
315
1011
|
properties: {
|
|
316
|
-
|
|
317
|
-
type: '
|
|
318
|
-
format: '
|
|
1012
|
+
invitationId: {
|
|
1013
|
+
type: 'string',
|
|
1014
|
+
format: 'uuid',
|
|
319
1015
|
},
|
|
320
|
-
|
|
321
|
-
type: '
|
|
322
|
-
format: 'double',
|
|
1016
|
+
email: {
|
|
1017
|
+
type: 'string',
|
|
323
1018
|
},
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
1019
|
+
status: {
|
|
1020
|
+
$ref: '#/components/schemas/StatusEnum',
|
|
1021
|
+
},
|
|
1022
|
+
createdAt: {
|
|
1023
|
+
type: 'string',
|
|
1024
|
+
format: 'date-time',
|
|
1025
|
+
},
|
|
1026
|
+
expiresAt: {
|
|
1027
|
+
type: 'string',
|
|
1028
|
+
format: 'date-time',
|
|
1029
|
+
},
|
|
1030
|
+
acceptedAt: {
|
|
1031
|
+
type: 'string',
|
|
1032
|
+
format: 'date-time',
|
|
1033
|
+
},
|
|
1034
|
+
acceptedBy: {
|
|
1035
|
+
type: 'string',
|
|
327
1036
|
},
|
|
328
1037
|
},
|
|
329
|
-
required: ['
|
|
1038
|
+
required: ['createdAt', 'email', 'expiresAt', 'invitationId', 'status'],
|
|
330
1039
|
};
|
|
331
|
-
|
|
1040
|
+
export const PagedModelInvitationViewResponseSchema = {
|
|
332
1041
|
type: 'object',
|
|
333
1042
|
properties: {
|
|
334
|
-
|
|
335
|
-
type: '
|
|
1043
|
+
content: {
|
|
1044
|
+
type: 'array',
|
|
1045
|
+
items: {
|
|
1046
|
+
$ref: '#/components/schemas/InvitationViewResponse',
|
|
1047
|
+
},
|
|
336
1048
|
},
|
|
337
|
-
|
|
338
|
-
|
|
1049
|
+
page: {
|
|
1050
|
+
$ref: '#/components/schemas/PageMetadata',
|
|
339
1051
|
},
|
|
340
1052
|
},
|
|
341
1053
|
};
|
|
342
|
-
|
|
1054
|
+
export const ClientProjectionResponseSchema = {
|
|
343
1055
|
type: 'object',
|
|
344
1056
|
properties: {
|
|
345
|
-
|
|
1057
|
+
id: {
|
|
1058
|
+
type: 'integer',
|
|
1059
|
+
format: 'int64',
|
|
1060
|
+
},
|
|
1061
|
+
createdBy: {
|
|
1062
|
+
type: 'string',
|
|
1063
|
+
format: 'uuid',
|
|
1064
|
+
},
|
|
1065
|
+
leadId: {
|
|
1066
|
+
type: 'integer',
|
|
1067
|
+
format: 'int64',
|
|
1068
|
+
},
|
|
1069
|
+
assignedTo: {
|
|
346
1070
|
type: 'string',
|
|
347
1071
|
format: 'uuid',
|
|
348
1072
|
},
|
|
349
|
-
|
|
1073
|
+
contactFullName: {
|
|
350
1074
|
type: 'string',
|
|
351
1075
|
},
|
|
352
|
-
|
|
353
|
-
|
|
1076
|
+
contactPhoneNumber: {
|
|
1077
|
+
type: 'string',
|
|
1078
|
+
},
|
|
1079
|
+
contactGender: {
|
|
1080
|
+
$ref: '#/components/schemas/GenderEnum',
|
|
354
1081
|
},
|
|
355
|
-
|
|
1082
|
+
contactEmail: {
|
|
356
1083
|
type: 'string',
|
|
357
1084
|
},
|
|
358
|
-
|
|
1085
|
+
sourceType: {
|
|
1086
|
+
$ref: '#/components/schemas/SourceTypeEnum',
|
|
1087
|
+
},
|
|
1088
|
+
sourceLink: {
|
|
1089
|
+
type: 'string',
|
|
1090
|
+
},
|
|
1091
|
+
isSearching: {
|
|
1092
|
+
type: 'boolean',
|
|
1093
|
+
},
|
|
1094
|
+
isListing: {
|
|
1095
|
+
type: 'boolean',
|
|
1096
|
+
},
|
|
1097
|
+
contactMethods: {
|
|
359
1098
|
type: 'array',
|
|
360
1099
|
items: {
|
|
361
|
-
$ref: '#/components/schemas/
|
|
1100
|
+
$ref: '#/components/schemas/ItemsEnum2',
|
|
362
1101
|
},
|
|
1102
|
+
uniqueItems: true,
|
|
363
1103
|
},
|
|
364
|
-
|
|
365
|
-
$ref: '#/components/schemas/
|
|
1104
|
+
favoriteContactMethod: {
|
|
1105
|
+
$ref: '#/components/schemas/ItemsEnum2',
|
|
366
1106
|
},
|
|
367
|
-
|
|
368
|
-
$ref: '#/components/schemas/
|
|
1107
|
+
priority: {
|
|
1108
|
+
$ref: '#/components/schemas/PriorityEnum',
|
|
369
1109
|
},
|
|
370
|
-
|
|
1110
|
+
requirements: {
|
|
371
1111
|
type: 'array',
|
|
372
1112
|
items: {
|
|
373
|
-
$ref: '#/components/schemas/
|
|
1113
|
+
$ref: '#/components/schemas/RequirementResponse',
|
|
374
1114
|
},
|
|
375
1115
|
},
|
|
376
|
-
|
|
1116
|
+
properties: {
|
|
377
1117
|
type: 'array',
|
|
378
1118
|
items: {
|
|
379
|
-
$ref: '#/components/schemas/
|
|
1119
|
+
$ref: '#/components/schemas/PropertyResponse',
|
|
380
1120
|
},
|
|
381
1121
|
},
|
|
382
|
-
|
|
1122
|
+
},
|
|
1123
|
+
required: [
|
|
1124
|
+
'contactMethods',
|
|
1125
|
+
'contactPhoneNumber',
|
|
1126
|
+
'createdBy',
|
|
1127
|
+
'id',
|
|
1128
|
+
'isListing',
|
|
1129
|
+
'isSearching',
|
|
1130
|
+
],
|
|
1131
|
+
};
|
|
1132
|
+
export const PagedModelClientProjectionResponseSchema = {
|
|
1133
|
+
type: 'object',
|
|
1134
|
+
properties: {
|
|
1135
|
+
content: {
|
|
383
1136
|
type: 'array',
|
|
384
1137
|
items: {
|
|
385
|
-
|
|
386
|
-
format: 'int32',
|
|
1138
|
+
$ref: '#/components/schemas/ClientProjectionResponse',
|
|
387
1139
|
},
|
|
388
1140
|
},
|
|
389
|
-
|
|
1141
|
+
page: {
|
|
1142
|
+
$ref: '#/components/schemas/PageMetadata',
|
|
1143
|
+
},
|
|
1144
|
+
},
|
|
1145
|
+
};
|
|
1146
|
+
export const PropertyResponseSchema = {
|
|
1147
|
+
type: 'object',
|
|
1148
|
+
properties: {
|
|
1149
|
+
propertyId: {
|
|
1150
|
+
type: 'string',
|
|
1151
|
+
format: 'uuid',
|
|
1152
|
+
},
|
|
1153
|
+
propertyType: {
|
|
1154
|
+
$ref: '#/components/schemas/PropertyTypeEnum',
|
|
1155
|
+
},
|
|
1156
|
+
},
|
|
1157
|
+
required: ['propertyId', 'propertyType'],
|
|
1158
|
+
};
|
|
1159
|
+
export const RequirementResponseSchema = {
|
|
1160
|
+
type: 'object',
|
|
1161
|
+
properties: {
|
|
1162
|
+
id: {
|
|
1163
|
+
type: 'integer',
|
|
1164
|
+
format: 'int64',
|
|
1165
|
+
},
|
|
1166
|
+
propertyType: {
|
|
390
1167
|
type: 'array',
|
|
391
1168
|
items: {
|
|
392
|
-
|
|
1169
|
+
$ref: '#/components/schemas/PropertyTypeEnum',
|
|
393
1170
|
},
|
|
394
1171
|
},
|
|
395
|
-
|
|
1172
|
+
listingType: {
|
|
1173
|
+
$ref: '#/components/schemas/ListingTypeEnum',
|
|
1174
|
+
},
|
|
1175
|
+
priceMin: {
|
|
1176
|
+
type: 'number',
|
|
1177
|
+
},
|
|
1178
|
+
priceMax: {
|
|
1179
|
+
type: 'number',
|
|
1180
|
+
},
|
|
1181
|
+
bedroomsMin: {
|
|
396
1182
|
type: 'integer',
|
|
397
1183
|
format: 'int32',
|
|
398
1184
|
},
|
|
399
|
-
|
|
400
|
-
|
|
1185
|
+
bedroomsMax: {
|
|
1186
|
+
type: 'integer',
|
|
1187
|
+
format: 'int32',
|
|
401
1188
|
},
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
'description',
|
|
406
|
-
'group',
|
|
407
|
-
'ownerId',
|
|
408
|
-
'pages',
|
|
409
|
-
'photos',
|
|
410
|
-
'propertyId',
|
|
411
|
-
'spaces',
|
|
412
|
-
'title',
|
|
413
|
-
'total',
|
|
414
|
-
'type',
|
|
415
|
-
],
|
|
416
|
-
};
|
|
417
|
-
exports.SpaceResponseSchema = {
|
|
418
|
-
type: 'object',
|
|
419
|
-
properties: {
|
|
420
|
-
type: {
|
|
421
|
-
$ref: '#/components/schemas/TypeEnum',
|
|
1189
|
+
bathroomsMin: {
|
|
1190
|
+
type: 'integer',
|
|
1191
|
+
format: 'int32',
|
|
422
1192
|
},
|
|
423
|
-
|
|
1193
|
+
bathroomsMax: {
|
|
1194
|
+
type: 'integer',
|
|
1195
|
+
format: 'int32',
|
|
1196
|
+
},
|
|
1197
|
+
totalMin: {
|
|
1198
|
+
type: 'number',
|
|
1199
|
+
format: 'double',
|
|
1200
|
+
},
|
|
1201
|
+
totalMax: {
|
|
1202
|
+
type: 'number',
|
|
1203
|
+
format: 'double',
|
|
1204
|
+
},
|
|
1205
|
+
livingMin: {
|
|
1206
|
+
type: 'number',
|
|
1207
|
+
format: 'double',
|
|
1208
|
+
},
|
|
1209
|
+
livingMax: {
|
|
424
1210
|
type: 'number',
|
|
425
1211
|
format: 'double',
|
|
426
1212
|
},
|
|
1213
|
+
regionId: {
|
|
1214
|
+
type: 'integer',
|
|
1215
|
+
format: 'int64',
|
|
1216
|
+
},
|
|
1217
|
+
districtId: {
|
|
1218
|
+
type: 'integer',
|
|
1219
|
+
format: 'int64',
|
|
1220
|
+
},
|
|
1221
|
+
subDistrictId: {
|
|
1222
|
+
type: 'integer',
|
|
1223
|
+
format: 'int64',
|
|
1224
|
+
},
|
|
1225
|
+
streetId: {
|
|
1226
|
+
type: 'integer',
|
|
1227
|
+
format: 'int64',
|
|
1228
|
+
},
|
|
427
1229
|
},
|
|
1230
|
+
required: ['id', 'listingType', 'propertyType'],
|
|
428
1231
|
};
|
|
429
|
-
|
|
1232
|
+
export const AddressViewResponseSchema = {
|
|
430
1233
|
type: 'object',
|
|
431
1234
|
properties: {
|
|
432
|
-
|
|
433
|
-
type: 'string',
|
|
434
|
-
format: 'uuid',
|
|
435
|
-
},
|
|
436
|
-
type: {
|
|
437
|
-
$ref: '#/components/schemas/DraftTypeEnum',
|
|
438
|
-
},
|
|
439
|
-
title: {
|
|
1235
|
+
country: {
|
|
440
1236
|
type: 'string',
|
|
441
1237
|
},
|
|
442
1238
|
city: {
|
|
443
1239
|
type: 'string',
|
|
444
1240
|
},
|
|
445
|
-
|
|
1241
|
+
district: {
|
|
446
1242
|
type: 'string',
|
|
447
1243
|
},
|
|
448
|
-
|
|
1244
|
+
subdistrict: {
|
|
449
1245
|
type: 'string',
|
|
450
1246
|
},
|
|
451
|
-
|
|
1247
|
+
street: {
|
|
452
1248
|
type: 'string',
|
|
453
|
-
format: 'date-time',
|
|
454
1249
|
},
|
|
455
1250
|
},
|
|
456
|
-
required: ['
|
|
1251
|
+
required: ['city', 'country', 'district', 'street', 'subdistrict'],
|
|
457
1252
|
};
|
|
458
|
-
|
|
1253
|
+
export const AgencyProfileResponseSchema = {
|
|
459
1254
|
type: 'object',
|
|
460
1255
|
properties: {
|
|
461
|
-
|
|
462
|
-
|
|
1256
|
+
name: {
|
|
1257
|
+
type: 'string',
|
|
1258
|
+
},
|
|
1259
|
+
email: {
|
|
1260
|
+
type: 'string',
|
|
1261
|
+
},
|
|
1262
|
+
seats: {
|
|
1263
|
+
type: 'integer',
|
|
1264
|
+
format: 'int32',
|
|
1265
|
+
},
|
|
1266
|
+
subDomain: {
|
|
1267
|
+
type: 'string',
|
|
1268
|
+
},
|
|
1269
|
+
phone: {
|
|
1270
|
+
type: 'string',
|
|
1271
|
+
},
|
|
1272
|
+
address: {
|
|
1273
|
+
$ref: '#/components/schemas/AddressViewResponse',
|
|
1274
|
+
},
|
|
1275
|
+
yearSince: {
|
|
1276
|
+
type: 'integer',
|
|
1277
|
+
format: 'int32',
|
|
463
1278
|
},
|
|
464
1279
|
},
|
|
465
|
-
required: [
|
|
1280
|
+
required: [
|
|
1281
|
+
'address',
|
|
1282
|
+
'email',
|
|
1283
|
+
'name',
|
|
1284
|
+
'phone',
|
|
1285
|
+
'seats',
|
|
1286
|
+
'subDomain',
|
|
1287
|
+
'yearSince',
|
|
1288
|
+
],
|
|
466
1289
|
};
|
|
467
|
-
|
|
1290
|
+
export const SchemaEnumSchema = {
|
|
468
1291
|
type: 'string',
|
|
469
1292
|
enum: [
|
|
470
|
-
'
|
|
471
|
-
'
|
|
472
|
-
'
|
|
473
|
-
'
|
|
474
|
-
'
|
|
475
|
-
'
|
|
476
|
-
'GYM',
|
|
477
|
-
'LAUNDRY',
|
|
478
|
-
'HOME_THEATRE',
|
|
479
|
-
'GAME_ROOM',
|
|
1293
|
+
'NEW',
|
|
1294
|
+
'ATTEMPTED_CONTACT',
|
|
1295
|
+
'CONTACTED',
|
|
1296
|
+
'DISQUALIFIED',
|
|
1297
|
+
'CONVERTED',
|
|
1298
|
+
'LOST',
|
|
480
1299
|
],
|
|
481
1300
|
};
|
|
482
|
-
|
|
1301
|
+
export const SchemaEnum2Schema = {
|
|
1302
|
+
type: 'string',
|
|
1303
|
+
enum: ['NEW', 'ACTIVE', 'PAYMENT_FAILED', 'INACTIVE'],
|
|
1304
|
+
};
|
|
1305
|
+
export const ItemsEnumSchema = {
|
|
483
1306
|
type: 'string',
|
|
484
|
-
description: 'property group being registered',
|
|
485
1307
|
enum: [
|
|
486
|
-
'
|
|
487
|
-
'
|
|
488
|
-
'
|
|
489
|
-
'
|
|
490
|
-
'
|
|
491
|
-
'
|
|
1308
|
+
'AGENCY_WRITE',
|
|
1309
|
+
'INVITATION_READ',
|
|
1310
|
+
'INVITATION_WRITE',
|
|
1311
|
+
'ROLE_READ',
|
|
1312
|
+
'ROLE_WRITE',
|
|
1313
|
+
'MEMBER_READ',
|
|
1314
|
+
'MEMBER_WRITE',
|
|
1315
|
+
'LEAD_READ',
|
|
1316
|
+
'LEAD_WRITE',
|
|
1317
|
+
'LEAD_READ_ALL',
|
|
1318
|
+
'LEAD_WRITE_ALL',
|
|
492
1319
|
],
|
|
493
1320
|
};
|
|
494
|
-
|
|
1321
|
+
export const ClientTypeEnumSchema = {
|
|
495
1322
|
type: 'string',
|
|
496
|
-
enum: ['
|
|
1323
|
+
enum: ['LISTING', 'SEEKING'],
|
|
1324
|
+
};
|
|
1325
|
+
export const ListingTypeEnumSchema = {
|
|
1326
|
+
type: 'string',
|
|
1327
|
+
enum: ['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE'],
|
|
497
1328
|
};
|
|
498
|
-
|
|
1329
|
+
export const PropertyTypeEnumSchema = {
|
|
499
1330
|
type: 'string',
|
|
500
1331
|
enum: [
|
|
501
1332
|
'HOUSE',
|
|
@@ -520,13 +1351,45 @@ exports.DraftTypeEnumSchema = {
|
|
|
520
1351
|
'GARAGE',
|
|
521
1352
|
],
|
|
522
1353
|
};
|
|
523
|
-
|
|
1354
|
+
export const GenderEnumSchema = {
|
|
1355
|
+
type: 'string',
|
|
1356
|
+
enum: ['MALE', 'FEMALE', 'UNKNOWN'],
|
|
1357
|
+
};
|
|
1358
|
+
export const PriorityEnumSchema = {
|
|
1359
|
+
type: 'string',
|
|
1360
|
+
enum: ['CRITICAL', 'HIGH', 'MEDIUM', 'LOW'],
|
|
1361
|
+
};
|
|
1362
|
+
export const ItemsEnum2Schema = {
|
|
1363
|
+
type: 'string',
|
|
1364
|
+
enum: ['WHATSAPP', 'VIBER', 'PHONE_CALL'],
|
|
1365
|
+
};
|
|
1366
|
+
export const TypeEnumSchema = {
|
|
1367
|
+
type: 'string',
|
|
1368
|
+
enum: ['FACEBOOK', 'YOUTUBE', 'INSTAGRAM', 'TIKTOK', 'LINKEDIN'],
|
|
1369
|
+
};
|
|
1370
|
+
export const TypeEnum2Schema = {
|
|
1371
|
+
type: 'string',
|
|
1372
|
+
enum: ['JPEG', 'JPG', 'PNG', 'WEBP'],
|
|
1373
|
+
};
|
|
1374
|
+
export const StatusEnumSchema = {
|
|
524
1375
|
type: 'string',
|
|
525
|
-
enum: ['
|
|
1376
|
+
enum: ['PENDING', 'ACCEPTED', 'CANCELLED', 'EXPIRED'],
|
|
526
1377
|
};
|
|
527
|
-
|
|
1378
|
+
export const GroupEnumSchema = {
|
|
528
1379
|
type: 'string',
|
|
529
|
-
|
|
530
|
-
|
|
1380
|
+
enum: ['AGENCY', 'INVITATION', 'ROLE', 'MEMBER', 'LEAD'],
|
|
1381
|
+
};
|
|
1382
|
+
export const SourceTypeEnumSchema = {
|
|
1383
|
+
type: 'string',
|
|
1384
|
+
enum: [
|
|
1385
|
+
'MY_HOME',
|
|
1386
|
+
'SS',
|
|
1387
|
+
'FACEBOOK',
|
|
1388
|
+
'YOUTUBE',
|
|
1389
|
+
'INSTAGRAM',
|
|
1390
|
+
'TIKTOK',
|
|
1391
|
+
'LINKEDIN',
|
|
1392
|
+
'UNKNOWN',
|
|
1393
|
+
],
|
|
531
1394
|
};
|
|
532
1395
|
//# sourceMappingURL=schemas.gen.js.map
|