@homespot-sdk/core 0.0.231 → 0.0.232
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/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 +348 -12
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +395 -6
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +8 -2
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +53 -5
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +3 -1
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +25 -0
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +213 -21
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +557 -19
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +265 -9
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/schemas.gen.js
CHANGED
|
@@ -197,6 +197,7 @@ export const RolesRequestSchema = {
|
|
|
197
197
|
'ROLE_WRITE',
|
|
198
198
|
'MEMBER_READ',
|
|
199
199
|
'MEMBER_WRITE',
|
|
200
|
+
'MEETING_READ_ALL',
|
|
200
201
|
'LEAD_READ',
|
|
201
202
|
'LEAD_WRITE',
|
|
202
203
|
'LEAD_READ_ALL',
|
|
@@ -240,6 +241,40 @@ export const BatchAssignRoleRequestSchema = {
|
|
|
240
241
|
},
|
|
241
242
|
required: ['memberIds', 'roleId'],
|
|
242
243
|
};
|
|
244
|
+
export const UpdateMeetingRequestSchema = {
|
|
245
|
+
type: 'object',
|
|
246
|
+
properties: {
|
|
247
|
+
title: {
|
|
248
|
+
type: 'string',
|
|
249
|
+
},
|
|
250
|
+
description: {
|
|
251
|
+
type: 'string',
|
|
252
|
+
},
|
|
253
|
+
location: {
|
|
254
|
+
type: 'string',
|
|
255
|
+
},
|
|
256
|
+
type: {
|
|
257
|
+
type: 'string',
|
|
258
|
+
enum: [
|
|
259
|
+
'PROPERTY_VIEWING',
|
|
260
|
+
'INTERNAL',
|
|
261
|
+
'CLIENT_CONSULTATION',
|
|
262
|
+
'OTHER',
|
|
263
|
+
],
|
|
264
|
+
},
|
|
265
|
+
format: {
|
|
266
|
+
type: 'string',
|
|
267
|
+
enum: ['IN_PERSON', 'ONLINE', 'OTHER'],
|
|
268
|
+
},
|
|
269
|
+
propertyId: {
|
|
270
|
+
type: 'integer',
|
|
271
|
+
format: 'int64',
|
|
272
|
+
},
|
|
273
|
+
clearProperty: {
|
|
274
|
+
type: 'boolean',
|
|
275
|
+
},
|
|
276
|
+
},
|
|
277
|
+
};
|
|
243
278
|
export const RescheduleRequestSchema = {
|
|
244
279
|
type: 'object',
|
|
245
280
|
properties: {
|
|
@@ -740,7 +775,7 @@ export const AttendeeRequestSchema = {
|
|
|
740
775
|
properties: {
|
|
741
776
|
role: {
|
|
742
777
|
type: 'string',
|
|
743
|
-
enum: ['ORGANIZER', '
|
|
778
|
+
enum: ['ORGANIZER', 'MEMBER', 'OWNER', 'CLIENT', 'OTHER'],
|
|
744
779
|
},
|
|
745
780
|
memberId: {
|
|
746
781
|
type: 'string',
|
|
@@ -763,6 +798,19 @@ export const AttendeeRequestSchema = {
|
|
|
763
798
|
export const CreateMeetingRequestSchema = {
|
|
764
799
|
type: 'object',
|
|
765
800
|
properties: {
|
|
801
|
+
type: {
|
|
802
|
+
type: 'string',
|
|
803
|
+
enum: [
|
|
804
|
+
'PROPERTY_VIEWING',
|
|
805
|
+
'INTERNAL',
|
|
806
|
+
'CLIENT_CONSULTATION',
|
|
807
|
+
'OTHER',
|
|
808
|
+
],
|
|
809
|
+
},
|
|
810
|
+
format: {
|
|
811
|
+
type: 'string',
|
|
812
|
+
enum: ['IN_PERSON', 'ONLINE', 'OTHER'],
|
|
813
|
+
},
|
|
766
814
|
propertyId: {
|
|
767
815
|
type: 'integer',
|
|
768
816
|
format: 'int64',
|
|
@@ -792,7 +840,7 @@ export const CreateMeetingRequestSchema = {
|
|
|
792
840
|
},
|
|
793
841
|
description: {
|
|
794
842
|
type: 'string',
|
|
795
|
-
maxLength:
|
|
843
|
+
maxLength: 2000,
|
|
796
844
|
minLength: 0,
|
|
797
845
|
},
|
|
798
846
|
location: {
|
|
@@ -800,15 +848,33 @@ export const CreateMeetingRequestSchema = {
|
|
|
800
848
|
maxLength: 500,
|
|
801
849
|
minLength: 0,
|
|
802
850
|
},
|
|
803
|
-
|
|
851
|
+
color: {
|
|
852
|
+
$ref: '#/components/schemas/MeetingColor',
|
|
853
|
+
},
|
|
854
|
+
calendarNotifyPolicy: {
|
|
804
855
|
type: 'string',
|
|
805
|
-
enum: ['
|
|
856
|
+
enum: ['ALL', 'ONLY_ORGANIZER', 'NONE'],
|
|
857
|
+
},
|
|
858
|
+
withConference: {
|
|
859
|
+
type: 'boolean',
|
|
806
860
|
},
|
|
807
|
-
|
|
861
|
+
guestsCanSeeOtherGuests: {
|
|
808
862
|
type: 'boolean',
|
|
809
863
|
},
|
|
864
|
+
reminders: {
|
|
865
|
+
type: 'boolean',
|
|
866
|
+
},
|
|
867
|
+
},
|
|
868
|
+
required: ['attendees', 'calendarNotifyPolicy', 'start', 'title'],
|
|
869
|
+
};
|
|
870
|
+
export const MeetingColorSchema = {
|
|
871
|
+
type: 'object',
|
|
872
|
+
properties: {
|
|
873
|
+
colorId: {
|
|
874
|
+
type: 'integer',
|
|
875
|
+
format: 'int32',
|
|
876
|
+
},
|
|
810
877
|
},
|
|
811
|
-
required: ['attendees', 'inviteStrategy', 'start', 'title'],
|
|
812
878
|
};
|
|
813
879
|
export const MeetingResponseSchema = {
|
|
814
880
|
type: 'object',
|
|
@@ -906,6 +972,7 @@ export const AgencyPrincipalDtoSchema = {
|
|
|
906
972
|
'ROLE_WRITE',
|
|
907
973
|
'MEMBER_READ',
|
|
908
974
|
'MEMBER_WRITE',
|
|
975
|
+
'MEETING_READ_ALL',
|
|
909
976
|
'LEAD_READ',
|
|
910
977
|
'LEAD_WRITE',
|
|
911
978
|
'LEAD_READ_ALL',
|
|
@@ -1353,6 +1420,7 @@ export const OrganizationSummaryViewResponseSchema = {
|
|
|
1353
1420
|
'ROLE_WRITE',
|
|
1354
1421
|
'MEMBER_READ',
|
|
1355
1422
|
'MEMBER_WRITE',
|
|
1423
|
+
'MEETING_READ_ALL',
|
|
1356
1424
|
'LEAD_READ',
|
|
1357
1425
|
'LEAD_WRITE',
|
|
1358
1426
|
'LEAD_READ_ALL',
|
|
@@ -1477,6 +1545,7 @@ export const RoleResponseSchema = {
|
|
|
1477
1545
|
'ROLE_WRITE',
|
|
1478
1546
|
'MEMBER_READ',
|
|
1479
1547
|
'MEMBER_WRITE',
|
|
1548
|
+
'MEETING_READ_ALL',
|
|
1480
1549
|
'LEAD_READ',
|
|
1481
1550
|
'LEAD_WRITE',
|
|
1482
1551
|
'LEAD_READ_ALL',
|
|
@@ -1738,6 +1807,7 @@ export const PermissionResponseSchema = {
|
|
|
1738
1807
|
'ROLE_WRITE',
|
|
1739
1808
|
'MEMBER_READ',
|
|
1740
1809
|
'MEMBER_WRITE',
|
|
1810
|
+
'MEETING_READ_ALL',
|
|
1741
1811
|
'LEAD_READ',
|
|
1742
1812
|
'LEAD_WRITE',
|
|
1743
1813
|
'LEAD_READ_ALL',
|
|
@@ -1761,6 +1831,7 @@ export const PermissionResponseSchema = {
|
|
|
1761
1831
|
'ROLE_WRITE',
|
|
1762
1832
|
'MEMBER_READ',
|
|
1763
1833
|
'MEMBER_WRITE',
|
|
1834
|
+
'MEETING_READ_ALL',
|
|
1764
1835
|
'LEAD_READ',
|
|
1765
1836
|
'LEAD_WRITE',
|
|
1766
1837
|
'LEAD_READ_ALL',
|
|
@@ -2089,6 +2160,238 @@ export const MemberViewResponseSchema = {
|
|
|
2089
2160
|
'userId',
|
|
2090
2161
|
],
|
|
2091
2162
|
};
|
|
2163
|
+
export const PageableSchema = {
|
|
2164
|
+
type: 'object',
|
|
2165
|
+
properties: {
|
|
2166
|
+
page: {
|
|
2167
|
+
type: 'integer',
|
|
2168
|
+
format: 'int32',
|
|
2169
|
+
minimum: 0,
|
|
2170
|
+
},
|
|
2171
|
+
size: {
|
|
2172
|
+
type: 'integer',
|
|
2173
|
+
format: 'int32',
|
|
2174
|
+
minimum: 1,
|
|
2175
|
+
},
|
|
2176
|
+
sort: {
|
|
2177
|
+
type: 'array',
|
|
2178
|
+
items: {
|
|
2179
|
+
type: 'string',
|
|
2180
|
+
},
|
|
2181
|
+
},
|
|
2182
|
+
},
|
|
2183
|
+
};
|
|
2184
|
+
export const MeetingCalendarViewSchema = {
|
|
2185
|
+
type: 'object',
|
|
2186
|
+
properties: {
|
|
2187
|
+
meetingId: {
|
|
2188
|
+
type: 'string',
|
|
2189
|
+
format: 'uuid',
|
|
2190
|
+
},
|
|
2191
|
+
title: {
|
|
2192
|
+
type: 'string',
|
|
2193
|
+
},
|
|
2194
|
+
start: {
|
|
2195
|
+
type: 'string',
|
|
2196
|
+
format: 'date-time',
|
|
2197
|
+
},
|
|
2198
|
+
end: {
|
|
2199
|
+
type: 'string',
|
|
2200
|
+
format: 'date-time',
|
|
2201
|
+
},
|
|
2202
|
+
status: {
|
|
2203
|
+
type: 'string',
|
|
2204
|
+
enum: ['SCHEDULED', 'CANCELLED'],
|
|
2205
|
+
},
|
|
2206
|
+
format: {
|
|
2207
|
+
type: 'string',
|
|
2208
|
+
enum: ['IN_PERSON', 'ONLINE', 'OTHER'],
|
|
2209
|
+
},
|
|
2210
|
+
type: {
|
|
2211
|
+
type: 'string',
|
|
2212
|
+
enum: [
|
|
2213
|
+
'PROPERTY_VIEWING',
|
|
2214
|
+
'INTERNAL',
|
|
2215
|
+
'CLIENT_CONSULTATION',
|
|
2216
|
+
'OTHER',
|
|
2217
|
+
],
|
|
2218
|
+
},
|
|
2219
|
+
color: {
|
|
2220
|
+
type: 'integer',
|
|
2221
|
+
format: 'int32',
|
|
2222
|
+
},
|
|
2223
|
+
hasGoogleMeet: {
|
|
2224
|
+
type: 'boolean',
|
|
2225
|
+
},
|
|
2226
|
+
hasProperty: {
|
|
2227
|
+
type: 'boolean',
|
|
2228
|
+
},
|
|
2229
|
+
attendeeCount: {
|
|
2230
|
+
type: 'integer',
|
|
2231
|
+
format: 'int32',
|
|
2232
|
+
},
|
|
2233
|
+
organizerId: {
|
|
2234
|
+
type: 'string',
|
|
2235
|
+
format: 'uuid',
|
|
2236
|
+
},
|
|
2237
|
+
organizerName: {
|
|
2238
|
+
type: 'string',
|
|
2239
|
+
},
|
|
2240
|
+
},
|
|
2241
|
+
required: [
|
|
2242
|
+
'attendeeCount',
|
|
2243
|
+
'color',
|
|
2244
|
+
'end',
|
|
2245
|
+
'format',
|
|
2246
|
+
'hasGoogleMeet',
|
|
2247
|
+
'hasProperty',
|
|
2248
|
+
'meetingId',
|
|
2249
|
+
'organizerId',
|
|
2250
|
+
'organizerName',
|
|
2251
|
+
'start',
|
|
2252
|
+
'status',
|
|
2253
|
+
'title',
|
|
2254
|
+
'type',
|
|
2255
|
+
],
|
|
2256
|
+
};
|
|
2257
|
+
export const PagedModelMeetingCalendarViewSchema = {
|
|
2258
|
+
type: 'object',
|
|
2259
|
+
properties: {
|
|
2260
|
+
content: {
|
|
2261
|
+
type: 'array',
|
|
2262
|
+
items: {
|
|
2263
|
+
$ref: '#/components/schemas/MeetingCalendarView',
|
|
2264
|
+
},
|
|
2265
|
+
},
|
|
2266
|
+
page: {
|
|
2267
|
+
$ref: '#/components/schemas/PageMetadata',
|
|
2268
|
+
},
|
|
2269
|
+
},
|
|
2270
|
+
};
|
|
2271
|
+
export const AttendeeViewSchema = {
|
|
2272
|
+
type: 'object',
|
|
2273
|
+
properties: {
|
|
2274
|
+
role: {
|
|
2275
|
+
type: 'string',
|
|
2276
|
+
enum: ['ORGANIZER', 'MEMBER', 'OWNER', 'CLIENT', 'OTHER'],
|
|
2277
|
+
},
|
|
2278
|
+
memberId: {
|
|
2279
|
+
type: 'string',
|
|
2280
|
+
format: 'uuid',
|
|
2281
|
+
},
|
|
2282
|
+
clientId: {
|
|
2283
|
+
type: 'integer',
|
|
2284
|
+
format: 'int64',
|
|
2285
|
+
},
|
|
2286
|
+
email: {
|
|
2287
|
+
type: 'string',
|
|
2288
|
+
},
|
|
2289
|
+
displayName: {
|
|
2290
|
+
type: 'string',
|
|
2291
|
+
},
|
|
2292
|
+
},
|
|
2293
|
+
required: ['role'],
|
|
2294
|
+
};
|
|
2295
|
+
export const MeetingDetailViewSchema = {
|
|
2296
|
+
type: 'object',
|
|
2297
|
+
properties: {
|
|
2298
|
+
meetingId: {
|
|
2299
|
+
type: 'string',
|
|
2300
|
+
format: 'uuid',
|
|
2301
|
+
},
|
|
2302
|
+
agencyId: {
|
|
2303
|
+
type: 'string',
|
|
2304
|
+
format: 'uuid',
|
|
2305
|
+
},
|
|
2306
|
+
createdBy: {
|
|
2307
|
+
type: 'string',
|
|
2308
|
+
format: 'uuid',
|
|
2309
|
+
},
|
|
2310
|
+
title: {
|
|
2311
|
+
type: 'string',
|
|
2312
|
+
},
|
|
2313
|
+
description: {
|
|
2314
|
+
type: 'string',
|
|
2315
|
+
},
|
|
2316
|
+
location: {
|
|
2317
|
+
type: 'string',
|
|
2318
|
+
},
|
|
2319
|
+
start: {
|
|
2320
|
+
type: 'string',
|
|
2321
|
+
format: 'date-time',
|
|
2322
|
+
},
|
|
2323
|
+
end: {
|
|
2324
|
+
type: 'string',
|
|
2325
|
+
format: 'date-time',
|
|
2326
|
+
},
|
|
2327
|
+
status: {
|
|
2328
|
+
type: 'string',
|
|
2329
|
+
enum: ['SCHEDULED', 'CANCELLED'],
|
|
2330
|
+
},
|
|
2331
|
+
format: {
|
|
2332
|
+
type: 'string',
|
|
2333
|
+
enum: ['IN_PERSON', 'ONLINE', 'OTHER'],
|
|
2334
|
+
},
|
|
2335
|
+
type: {
|
|
2336
|
+
type: 'string',
|
|
2337
|
+
enum: [
|
|
2338
|
+
'PROPERTY_VIEWING',
|
|
2339
|
+
'INTERNAL',
|
|
2340
|
+
'CLIENT_CONSULTATION',
|
|
2341
|
+
'OTHER',
|
|
2342
|
+
],
|
|
2343
|
+
},
|
|
2344
|
+
color: {
|
|
2345
|
+
type: 'integer',
|
|
2346
|
+
format: 'int32',
|
|
2347
|
+
},
|
|
2348
|
+
googleEventId: {
|
|
2349
|
+
type: 'string',
|
|
2350
|
+
},
|
|
2351
|
+
googleMeetLink: {
|
|
2352
|
+
type: 'string',
|
|
2353
|
+
},
|
|
2354
|
+
cancellationReason: {
|
|
2355
|
+
type: 'string',
|
|
2356
|
+
},
|
|
2357
|
+
propertyId: {
|
|
2358
|
+
$ref: '#/components/schemas/PropertyId',
|
|
2359
|
+
},
|
|
2360
|
+
attendees: {
|
|
2361
|
+
type: 'array',
|
|
2362
|
+
items: {
|
|
2363
|
+
$ref: '#/components/schemas/AttendeeView',
|
|
2364
|
+
},
|
|
2365
|
+
},
|
|
2366
|
+
createdAt: {
|
|
2367
|
+
type: 'string',
|
|
2368
|
+
format: 'date-time',
|
|
2369
|
+
},
|
|
2370
|
+
},
|
|
2371
|
+
required: [
|
|
2372
|
+
'agencyId',
|
|
2373
|
+
'attendees',
|
|
2374
|
+
'color',
|
|
2375
|
+
'createdAt',
|
|
2376
|
+
'createdBy',
|
|
2377
|
+
'end',
|
|
2378
|
+
'format',
|
|
2379
|
+
'meetingId',
|
|
2380
|
+
'start',
|
|
2381
|
+
'status',
|
|
2382
|
+
'title',
|
|
2383
|
+
'type',
|
|
2384
|
+
],
|
|
2385
|
+
};
|
|
2386
|
+
export const PropertyIdSchema = {
|
|
2387
|
+
type: 'object',
|
|
2388
|
+
properties: {
|
|
2389
|
+
value: {
|
|
2390
|
+
type: 'integer',
|
|
2391
|
+
format: 'int64',
|
|
2392
|
+
},
|
|
2393
|
+
},
|
|
2394
|
+
};
|
|
2092
2395
|
export const ListingGridViewSchema = {
|
|
2093
2396
|
type: 'object',
|
|
2094
2397
|
properties: {
|
|
@@ -2489,6 +2792,92 @@ export const PagedModelInvitationViewResponseSchema = {
|
|
|
2489
2792
|
},
|
|
2490
2793
|
},
|
|
2491
2794
|
};
|
|
2795
|
+
export const AssignedAgentSchema = {
|
|
2796
|
+
type: 'object',
|
|
2797
|
+
properties: {
|
|
2798
|
+
memberId: {
|
|
2799
|
+
type: 'string',
|
|
2800
|
+
format: 'uuid',
|
|
2801
|
+
},
|
|
2802
|
+
firstName: {
|
|
2803
|
+
type: 'string',
|
|
2804
|
+
},
|
|
2805
|
+
lastName: {
|
|
2806
|
+
type: 'string',
|
|
2807
|
+
},
|
|
2808
|
+
photo: {
|
|
2809
|
+
type: 'string',
|
|
2810
|
+
},
|
|
2811
|
+
phone: {
|
|
2812
|
+
type: 'string',
|
|
2813
|
+
},
|
|
2814
|
+
},
|
|
2815
|
+
required: ['firstName', 'lastName', 'memberId'],
|
|
2816
|
+
};
|
|
2817
|
+
export const DuplicateContactInfoSchema = {
|
|
2818
|
+
type: 'object',
|
|
2819
|
+
properties: {
|
|
2820
|
+
type: {
|
|
2821
|
+
type: 'string',
|
|
2822
|
+
enum: ['LEAD', 'CLIENT'],
|
|
2823
|
+
},
|
|
2824
|
+
contactId: {
|
|
2825
|
+
type: 'integer',
|
|
2826
|
+
format: 'int64',
|
|
2827
|
+
},
|
|
2828
|
+
isActive: {
|
|
2829
|
+
type: 'boolean',
|
|
2830
|
+
},
|
|
2831
|
+
firstName: {
|
|
2832
|
+
type: 'string',
|
|
2833
|
+
},
|
|
2834
|
+
lastName: {
|
|
2835
|
+
type: 'string',
|
|
2836
|
+
},
|
|
2837
|
+
gender: {
|
|
2838
|
+
type: 'string',
|
|
2839
|
+
enum: ['MALE', 'FEMALE', 'UNKNOWN'],
|
|
2840
|
+
},
|
|
2841
|
+
email: {
|
|
2842
|
+
type: 'string',
|
|
2843
|
+
},
|
|
2844
|
+
phone: {
|
|
2845
|
+
type: 'string',
|
|
2846
|
+
},
|
|
2847
|
+
contactMethods: {
|
|
2848
|
+
type: 'array',
|
|
2849
|
+
items: {
|
|
2850
|
+
type: 'string',
|
|
2851
|
+
enum: ['WHATSAPP', 'VIBER', 'PHONE_CALL'],
|
|
2852
|
+
},
|
|
2853
|
+
uniqueItems: true,
|
|
2854
|
+
},
|
|
2855
|
+
favoriteContactMethod: {
|
|
2856
|
+
type: 'string',
|
|
2857
|
+
enum: ['WHATSAPP', 'VIBER', 'PHONE_CALL'],
|
|
2858
|
+
},
|
|
2859
|
+
assignedTo: {
|
|
2860
|
+
$ref: '#/components/schemas/AssignedAgent',
|
|
2861
|
+
},
|
|
2862
|
+
},
|
|
2863
|
+
required: ['contactId', 'isActive', 'phone', 'type'],
|
|
2864
|
+
};
|
|
2865
|
+
export const PhoneDuplicateCheckResponseSchema = {
|
|
2866
|
+
type: 'object',
|
|
2867
|
+
properties: {
|
|
2868
|
+
policy: {
|
|
2869
|
+
type: 'string',
|
|
2870
|
+
enum: ['ALLOW', 'WARN', 'PREVENT'],
|
|
2871
|
+
},
|
|
2872
|
+
matches: {
|
|
2873
|
+
type: 'array',
|
|
2874
|
+
items: {
|
|
2875
|
+
$ref: '#/components/schemas/DuplicateContactInfo',
|
|
2876
|
+
},
|
|
2877
|
+
},
|
|
2878
|
+
},
|
|
2879
|
+
required: ['matches', 'policy'],
|
|
2880
|
+
};
|
|
2492
2881
|
export const ClientGridResponseSchema = {
|
|
2493
2882
|
type: 'object',
|
|
2494
2883
|
properties: {
|