@homespot-sdk/validators 0.0.633 → 0.0.634
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/index.d.ts +195 -3
- package/dist/index.js +38 -7
- package/package.json +1 -1
- package/src/index.ts +40 -7
package/dist/index.d.ts
CHANGED
|
@@ -252,10 +252,190 @@ export declare const schemas: {
|
|
|
252
252
|
success: z.ZodArray<z.ZodString, "many">;
|
|
253
253
|
fail: z.ZodArray<z.ZodString, "many">;
|
|
254
254
|
}, z.ZodTypeAny, "passthrough">>;
|
|
255
|
+
OrganizationSummaryViewResponse: z.ZodObject<{
|
|
256
|
+
agencyId: z.ZodString;
|
|
257
|
+
isOwner: z.ZodBoolean;
|
|
258
|
+
agencyName: z.ZodString;
|
|
259
|
+
subDomain: z.ZodString;
|
|
260
|
+
roleId: z.ZodOptional<z.ZodNumber>;
|
|
261
|
+
memberId: z.ZodString;
|
|
262
|
+
roleName: z.ZodString;
|
|
263
|
+
authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
|
|
264
|
+
status: z.ZodEnum<["NEW", "ACTIVE", "PAYMENT_FAILED", "INACTIVE"]>;
|
|
265
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
266
|
+
agencyId: z.ZodString;
|
|
267
|
+
isOwner: z.ZodBoolean;
|
|
268
|
+
agencyName: z.ZodString;
|
|
269
|
+
subDomain: z.ZodString;
|
|
270
|
+
roleId: z.ZodOptional<z.ZodNumber>;
|
|
271
|
+
memberId: z.ZodString;
|
|
272
|
+
roleName: z.ZodString;
|
|
273
|
+
authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
|
|
274
|
+
status: z.ZodEnum<["NEW", "ACTIVE", "PAYMENT_FAILED", "INACTIVE"]>;
|
|
275
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
276
|
+
agencyId: z.ZodString;
|
|
277
|
+
isOwner: z.ZodBoolean;
|
|
278
|
+
agencyName: z.ZodString;
|
|
279
|
+
subDomain: z.ZodString;
|
|
280
|
+
roleId: z.ZodOptional<z.ZodNumber>;
|
|
281
|
+
memberId: z.ZodString;
|
|
282
|
+
roleName: z.ZodString;
|
|
283
|
+
authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
|
|
284
|
+
status: z.ZodEnum<["NEW", "ACTIVE", "PAYMENT_FAILED", "INACTIVE"]>;
|
|
285
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
286
|
+
UserSummaryViewResponse: z.ZodObject<{
|
|
287
|
+
email: z.ZodString;
|
|
288
|
+
firstName: z.ZodString;
|
|
289
|
+
lastName: z.ZodString;
|
|
290
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
291
|
+
email: z.ZodString;
|
|
292
|
+
firstName: z.ZodString;
|
|
293
|
+
lastName: z.ZodString;
|
|
294
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
295
|
+
email: z.ZodString;
|
|
296
|
+
firstName: z.ZodString;
|
|
297
|
+
lastName: z.ZodString;
|
|
298
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
299
|
+
UserContextViewResponse: z.ZodObject<{
|
|
300
|
+
user: z.ZodObject<{
|
|
301
|
+
email: z.ZodString;
|
|
302
|
+
firstName: z.ZodString;
|
|
303
|
+
lastName: z.ZodString;
|
|
304
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
305
|
+
email: z.ZodString;
|
|
306
|
+
firstName: z.ZodString;
|
|
307
|
+
lastName: z.ZodString;
|
|
308
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
309
|
+
email: z.ZodString;
|
|
310
|
+
firstName: z.ZodString;
|
|
311
|
+
lastName: z.ZodString;
|
|
312
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
313
|
+
organizations: z.ZodArray<z.ZodObject<{
|
|
314
|
+
agencyId: z.ZodString;
|
|
315
|
+
isOwner: z.ZodBoolean;
|
|
316
|
+
agencyName: z.ZodString;
|
|
317
|
+
subDomain: z.ZodString;
|
|
318
|
+
roleId: z.ZodOptional<z.ZodNumber>;
|
|
319
|
+
memberId: z.ZodString;
|
|
320
|
+
roleName: z.ZodString;
|
|
321
|
+
authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
|
|
322
|
+
status: z.ZodEnum<["NEW", "ACTIVE", "PAYMENT_FAILED", "INACTIVE"]>;
|
|
323
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
324
|
+
agencyId: z.ZodString;
|
|
325
|
+
isOwner: z.ZodBoolean;
|
|
326
|
+
agencyName: z.ZodString;
|
|
327
|
+
subDomain: z.ZodString;
|
|
328
|
+
roleId: z.ZodOptional<z.ZodNumber>;
|
|
329
|
+
memberId: z.ZodString;
|
|
330
|
+
roleName: z.ZodString;
|
|
331
|
+
authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
|
|
332
|
+
status: z.ZodEnum<["NEW", "ACTIVE", "PAYMENT_FAILED", "INACTIVE"]>;
|
|
333
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
334
|
+
agencyId: z.ZodString;
|
|
335
|
+
isOwner: z.ZodBoolean;
|
|
336
|
+
agencyName: z.ZodString;
|
|
337
|
+
subDomain: z.ZodString;
|
|
338
|
+
roleId: z.ZodOptional<z.ZodNumber>;
|
|
339
|
+
memberId: z.ZodString;
|
|
340
|
+
roleName: z.ZodString;
|
|
341
|
+
authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
|
|
342
|
+
status: z.ZodEnum<["NEW", "ACTIVE", "PAYMENT_FAILED", "INACTIVE"]>;
|
|
343
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
344
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
345
|
+
user: z.ZodObject<{
|
|
346
|
+
email: z.ZodString;
|
|
347
|
+
firstName: z.ZodString;
|
|
348
|
+
lastName: z.ZodString;
|
|
349
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
350
|
+
email: z.ZodString;
|
|
351
|
+
firstName: z.ZodString;
|
|
352
|
+
lastName: z.ZodString;
|
|
353
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
354
|
+
email: z.ZodString;
|
|
355
|
+
firstName: z.ZodString;
|
|
356
|
+
lastName: z.ZodString;
|
|
357
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
358
|
+
organizations: z.ZodArray<z.ZodObject<{
|
|
359
|
+
agencyId: z.ZodString;
|
|
360
|
+
isOwner: z.ZodBoolean;
|
|
361
|
+
agencyName: z.ZodString;
|
|
362
|
+
subDomain: z.ZodString;
|
|
363
|
+
roleId: z.ZodOptional<z.ZodNumber>;
|
|
364
|
+
memberId: z.ZodString;
|
|
365
|
+
roleName: z.ZodString;
|
|
366
|
+
authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
|
|
367
|
+
status: z.ZodEnum<["NEW", "ACTIVE", "PAYMENT_FAILED", "INACTIVE"]>;
|
|
368
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
369
|
+
agencyId: z.ZodString;
|
|
370
|
+
isOwner: z.ZodBoolean;
|
|
371
|
+
agencyName: z.ZodString;
|
|
372
|
+
subDomain: z.ZodString;
|
|
373
|
+
roleId: z.ZodOptional<z.ZodNumber>;
|
|
374
|
+
memberId: z.ZodString;
|
|
375
|
+
roleName: z.ZodString;
|
|
376
|
+
authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
|
|
377
|
+
status: z.ZodEnum<["NEW", "ACTIVE", "PAYMENT_FAILED", "INACTIVE"]>;
|
|
378
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
379
|
+
agencyId: z.ZodString;
|
|
380
|
+
isOwner: z.ZodBoolean;
|
|
381
|
+
agencyName: z.ZodString;
|
|
382
|
+
subDomain: z.ZodString;
|
|
383
|
+
roleId: z.ZodOptional<z.ZodNumber>;
|
|
384
|
+
memberId: z.ZodString;
|
|
385
|
+
roleName: z.ZodString;
|
|
386
|
+
authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
|
|
387
|
+
status: z.ZodEnum<["NEW", "ACTIVE", "PAYMENT_FAILED", "INACTIVE"]>;
|
|
388
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
389
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
390
|
+
user: z.ZodObject<{
|
|
391
|
+
email: z.ZodString;
|
|
392
|
+
firstName: z.ZodString;
|
|
393
|
+
lastName: z.ZodString;
|
|
394
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
395
|
+
email: z.ZodString;
|
|
396
|
+
firstName: z.ZodString;
|
|
397
|
+
lastName: z.ZodString;
|
|
398
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
399
|
+
email: z.ZodString;
|
|
400
|
+
firstName: z.ZodString;
|
|
401
|
+
lastName: z.ZodString;
|
|
402
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
403
|
+
organizations: z.ZodArray<z.ZodObject<{
|
|
404
|
+
agencyId: z.ZodString;
|
|
405
|
+
isOwner: z.ZodBoolean;
|
|
406
|
+
agencyName: z.ZodString;
|
|
407
|
+
subDomain: z.ZodString;
|
|
408
|
+
roleId: z.ZodOptional<z.ZodNumber>;
|
|
409
|
+
memberId: z.ZodString;
|
|
410
|
+
roleName: z.ZodString;
|
|
411
|
+
authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
|
|
412
|
+
status: z.ZodEnum<["NEW", "ACTIVE", "PAYMENT_FAILED", "INACTIVE"]>;
|
|
413
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
414
|
+
agencyId: z.ZodString;
|
|
415
|
+
isOwner: z.ZodBoolean;
|
|
416
|
+
agencyName: z.ZodString;
|
|
417
|
+
subDomain: z.ZodString;
|
|
418
|
+
roleId: z.ZodOptional<z.ZodNumber>;
|
|
419
|
+
memberId: z.ZodString;
|
|
420
|
+
roleName: z.ZodString;
|
|
421
|
+
authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
|
|
422
|
+
status: z.ZodEnum<["NEW", "ACTIVE", "PAYMENT_FAILED", "INACTIVE"]>;
|
|
423
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
424
|
+
agencyId: z.ZodString;
|
|
425
|
+
isOwner: z.ZodBoolean;
|
|
426
|
+
agencyName: z.ZodString;
|
|
427
|
+
subDomain: z.ZodString;
|
|
428
|
+
roleId: z.ZodOptional<z.ZodNumber>;
|
|
429
|
+
memberId: z.ZodString;
|
|
430
|
+
roleName: z.ZodString;
|
|
431
|
+
authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
|
|
432
|
+
status: z.ZodEnum<["NEW", "ACTIVE", "PAYMENT_FAILED", "INACTIVE"]>;
|
|
433
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
434
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
255
435
|
InvitationViewResponse: z.ZodObject<{
|
|
256
436
|
invitationId: z.ZodString;
|
|
257
437
|
email: z.ZodString;
|
|
258
|
-
status: z.ZodEnum<["PENDING", "ACCEPTED", "
|
|
438
|
+
status: z.ZodEnum<["PENDING", "ACCEPTED", "CANCELLED", "EXPIRED"]>;
|
|
259
439
|
createdAt: z.ZodString;
|
|
260
440
|
expiresAt: z.ZodString;
|
|
261
441
|
acceptedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -263,7 +443,7 @@ export declare const schemas: {
|
|
|
263
443
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
264
444
|
invitationId: z.ZodString;
|
|
265
445
|
email: z.ZodString;
|
|
266
|
-
status: z.ZodEnum<["PENDING", "ACCEPTED", "
|
|
446
|
+
status: z.ZodEnum<["PENDING", "ACCEPTED", "CANCELLED", "EXPIRED"]>;
|
|
267
447
|
createdAt: z.ZodString;
|
|
268
448
|
expiresAt: z.ZodString;
|
|
269
449
|
acceptedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -271,7 +451,7 @@ export declare const schemas: {
|
|
|
271
451
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
272
452
|
invitationId: z.ZodString;
|
|
273
453
|
email: z.ZodString;
|
|
274
|
-
status: z.ZodEnum<["PENDING", "ACCEPTED", "
|
|
454
|
+
status: z.ZodEnum<["PENDING", "ACCEPTED", "CANCELLED", "EXPIRED"]>;
|
|
275
455
|
createdAt: z.ZodString;
|
|
276
456
|
expiresAt: z.ZodString;
|
|
277
457
|
acceptedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -740,6 +920,12 @@ export declare const api: import("@zodios/core").ZodiosInstance<[{
|
|
|
740
920
|
schema: z.ZodString;
|
|
741
921
|
}];
|
|
742
922
|
response: z.ZodVoid;
|
|
923
|
+
}, {
|
|
924
|
+
method: "get";
|
|
925
|
+
path: "/user/me";
|
|
926
|
+
alias: "getMe";
|
|
927
|
+
requestFormat: "json";
|
|
928
|
+
response: z.ZodVoid;
|
|
743
929
|
}]>;
|
|
744
930
|
export declare function createApiClient(baseUrl: string, options?: ZodiosOptions): import("@zodios/core").ZodiosInstance<[{
|
|
745
931
|
method: "post";
|
|
@@ -1203,4 +1389,10 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
1203
1389
|
schema: z.ZodString;
|
|
1204
1390
|
}];
|
|
1205
1391
|
response: z.ZodVoid;
|
|
1392
|
+
}, {
|
|
1393
|
+
method: "get";
|
|
1394
|
+
path: "/user/me";
|
|
1395
|
+
alias: "getMe";
|
|
1396
|
+
requestFormat: "json";
|
|
1397
|
+
response: z.ZodVoid;
|
|
1206
1398
|
}]>;
|
package/dist/index.js
CHANGED
|
@@ -72,17 +72,38 @@ const IdResponse = zod_1.z.object({ id: zod_1.z.string() }).passthrough();
|
|
|
72
72
|
const UploadAcknowledgmentResponse = zod_1.z
|
|
73
73
|
.object({ success: zod_1.z.array(zod_1.z.string()), fail: zod_1.z.array(zod_1.z.string()) })
|
|
74
74
|
.passthrough();
|
|
75
|
+
const OrganizationSummaryViewResponse = zod_1.z
|
|
76
|
+
.object({
|
|
77
|
+
agencyId: zod_1.z.string().uuid(),
|
|
78
|
+
isOwner: zod_1.z.boolean(),
|
|
79
|
+
agencyName: zod_1.z.string(),
|
|
80
|
+
subDomain: zod_1.z.string(),
|
|
81
|
+
roleId: zod_1.z.number().int().optional(),
|
|
82
|
+
memberId: zod_1.z.string().uuid(),
|
|
83
|
+
roleName: zod_1.z.string(),
|
|
84
|
+
authorities: zod_1.z.array(zod_1.z.enum([
|
|
85
|
+
'properties_read',
|
|
86
|
+
'properties_write',
|
|
87
|
+
'agents_read',
|
|
88
|
+
'agents_write',
|
|
89
|
+
])),
|
|
90
|
+
status: zod_1.z.enum(['NEW', 'ACTIVE', 'PAYMENT_FAILED', 'INACTIVE']),
|
|
91
|
+
})
|
|
92
|
+
.passthrough();
|
|
93
|
+
const UserSummaryViewResponse = zod_1.z
|
|
94
|
+
.object({ email: zod_1.z.string(), firstName: zod_1.z.string(), lastName: zod_1.z.string() })
|
|
95
|
+
.passthrough();
|
|
96
|
+
const UserContextViewResponse = zod_1.z
|
|
97
|
+
.object({
|
|
98
|
+
user: UserSummaryViewResponse,
|
|
99
|
+
organizations: zod_1.z.array(OrganizationSummaryViewResponse),
|
|
100
|
+
})
|
|
101
|
+
.passthrough();
|
|
75
102
|
const InvitationViewResponse = zod_1.z
|
|
76
103
|
.object({
|
|
77
104
|
invitationId: zod_1.z.string().uuid(),
|
|
78
105
|
email: zod_1.z.string(),
|
|
79
|
-
status: zod_1.z.enum([
|
|
80
|
-
'PENDING',
|
|
81
|
-
'ACCEPTED',
|
|
82
|
-
'REJECTED',
|
|
83
|
-
'CANCELLED',
|
|
84
|
-
'EXPIRED',
|
|
85
|
-
]),
|
|
106
|
+
status: zod_1.z.enum(['PENDING', 'ACCEPTED', 'CANCELLED', 'EXPIRED']),
|
|
86
107
|
createdAt: zod_1.z.string().datetime({ offset: true }),
|
|
87
108
|
expiresAt: zod_1.z.string().datetime({ offset: true }),
|
|
88
109
|
acceptedAt: zod_1.z.string().datetime({ offset: true }).optional(),
|
|
@@ -101,6 +122,9 @@ exports.schemas = {
|
|
|
101
122
|
PresignedUrlsResponse,
|
|
102
123
|
IdResponse,
|
|
103
124
|
UploadAcknowledgmentResponse,
|
|
125
|
+
OrganizationSummaryViewResponse,
|
|
126
|
+
UserSummaryViewResponse,
|
|
127
|
+
UserContextViewResponse,
|
|
104
128
|
InvitationViewResponse,
|
|
105
129
|
};
|
|
106
130
|
const endpoints = (0, core_1.makeApi)([
|
|
@@ -355,6 +379,13 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
355
379
|
],
|
|
356
380
|
response: zod_1.z.void(),
|
|
357
381
|
},
|
|
382
|
+
{
|
|
383
|
+
method: 'get',
|
|
384
|
+
path: '/user/me',
|
|
385
|
+
alias: 'getMe',
|
|
386
|
+
requestFormat: 'json',
|
|
387
|
+
response: zod_1.z.void(),
|
|
388
|
+
},
|
|
358
389
|
]);
|
|
359
390
|
exports.api = new core_1.Zodios(endpoints);
|
|
360
391
|
function createApiClient(baseUrl, options) {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -71,17 +71,40 @@ const IdResponse = z.object({ id: z.string() }).passthrough();
|
|
|
71
71
|
const UploadAcknowledgmentResponse = z
|
|
72
72
|
.object({ success: z.array(z.string()), fail: z.array(z.string()) })
|
|
73
73
|
.passthrough();
|
|
74
|
+
const OrganizationSummaryViewResponse = z
|
|
75
|
+
.object({
|
|
76
|
+
agencyId: z.string().uuid(),
|
|
77
|
+
isOwner: z.boolean(),
|
|
78
|
+
agencyName: z.string(),
|
|
79
|
+
subDomain: z.string(),
|
|
80
|
+
roleId: z.number().int().optional(),
|
|
81
|
+
memberId: z.string().uuid(),
|
|
82
|
+
roleName: z.string(),
|
|
83
|
+
authorities: z.array(
|
|
84
|
+
z.enum([
|
|
85
|
+
'properties_read',
|
|
86
|
+
'properties_write',
|
|
87
|
+
'agents_read',
|
|
88
|
+
'agents_write',
|
|
89
|
+
])
|
|
90
|
+
),
|
|
91
|
+
status: z.enum(['NEW', 'ACTIVE', 'PAYMENT_FAILED', 'INACTIVE']),
|
|
92
|
+
})
|
|
93
|
+
.passthrough();
|
|
94
|
+
const UserSummaryViewResponse = z
|
|
95
|
+
.object({ email: z.string(), firstName: z.string(), lastName: z.string() })
|
|
96
|
+
.passthrough();
|
|
97
|
+
const UserContextViewResponse = z
|
|
98
|
+
.object({
|
|
99
|
+
user: UserSummaryViewResponse,
|
|
100
|
+
organizations: z.array(OrganizationSummaryViewResponse),
|
|
101
|
+
})
|
|
102
|
+
.passthrough();
|
|
74
103
|
const InvitationViewResponse = z
|
|
75
104
|
.object({
|
|
76
105
|
invitationId: z.string().uuid(),
|
|
77
106
|
email: z.string(),
|
|
78
|
-
status: z.enum([
|
|
79
|
-
'PENDING',
|
|
80
|
-
'ACCEPTED',
|
|
81
|
-
'REJECTED',
|
|
82
|
-
'CANCELLED',
|
|
83
|
-
'EXPIRED',
|
|
84
|
-
]),
|
|
107
|
+
status: z.enum(['PENDING', 'ACCEPTED', 'CANCELLED', 'EXPIRED']),
|
|
85
108
|
createdAt: z.string().datetime({ offset: true }),
|
|
86
109
|
expiresAt: z.string().datetime({ offset: true }),
|
|
87
110
|
acceptedAt: z.string().datetime({ offset: true }).optional(),
|
|
@@ -101,6 +124,9 @@ export const schemas = {
|
|
|
101
124
|
PresignedUrlsResponse,
|
|
102
125
|
IdResponse,
|
|
103
126
|
UploadAcknowledgmentResponse,
|
|
127
|
+
OrganizationSummaryViewResponse,
|
|
128
|
+
UserSummaryViewResponse,
|
|
129
|
+
UserContextViewResponse,
|
|
104
130
|
InvitationViewResponse,
|
|
105
131
|
};
|
|
106
132
|
|
|
@@ -356,6 +382,13 @@ const endpoints = makeApi([
|
|
|
356
382
|
],
|
|
357
383
|
response: z.void(),
|
|
358
384
|
},
|
|
385
|
+
{
|
|
386
|
+
method: 'get',
|
|
387
|
+
path: '/user/me',
|
|
388
|
+
alias: 'getMe',
|
|
389
|
+
requestFormat: 'json',
|
|
390
|
+
response: z.void(),
|
|
391
|
+
},
|
|
359
392
|
]);
|
|
360
393
|
|
|
361
394
|
export const api = new Zodios(endpoints);
|