@homespot-sdk/validators 0.0.5

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.
@@ -0,0 +1,1146 @@
1
+ import { type ZodiosOptions } from '@zodios/core';
2
+ import { z } from 'zod';
3
+ export declare const schemas: {
4
+ SocialMediaRequest: z.ZodObject<{
5
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
6
+ url: z.ZodOptional<z.ZodString>;
7
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
9
+ url: z.ZodOptional<z.ZodString>;
10
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
12
+ url: z.ZodOptional<z.ZodString>;
13
+ }, z.ZodTypeAny, "passthrough">>;
14
+ SocialMediasRequest: z.ZodObject<{
15
+ data: z.ZodArray<z.ZodObject<{
16
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
17
+ url: z.ZodOptional<z.ZodString>;
18
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
20
+ url: z.ZodOptional<z.ZodString>;
21
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
22
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
23
+ url: z.ZodOptional<z.ZodString>;
24
+ }, z.ZodTypeAny, "passthrough">>, "many">;
25
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
26
+ data: z.ZodArray<z.ZodObject<{
27
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
28
+ url: z.ZodOptional<z.ZodString>;
29
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
30
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
31
+ url: z.ZodOptional<z.ZodString>;
32
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
33
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
34
+ url: z.ZodOptional<z.ZodString>;
35
+ }, z.ZodTypeAny, "passthrough">>, "many">;
36
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
37
+ data: z.ZodArray<z.ZodObject<{
38
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
39
+ url: z.ZodOptional<z.ZodString>;
40
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
41
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
42
+ url: z.ZodOptional<z.ZodString>;
43
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
45
+ url: z.ZodOptional<z.ZodString>;
46
+ }, z.ZodTypeAny, "passthrough">>, "many">;
47
+ }, z.ZodTypeAny, "passthrough">>;
48
+ RolesRequest: z.ZodObject<{
49
+ name: z.ZodString;
50
+ description: z.ZodString;
51
+ authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
52
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
53
+ name: z.ZodString;
54
+ description: z.ZodString;
55
+ authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
56
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
57
+ name: z.ZodString;
58
+ description: z.ZodString;
59
+ authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
60
+ }, z.ZodTypeAny, "passthrough">>;
61
+ PhotoRequest: z.ZodObject<{
62
+ photo: z.ZodString;
63
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
64
+ width: z.ZodNumber;
65
+ height: z.ZodOptional<z.ZodNumber>;
66
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
67
+ photo: z.ZodString;
68
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
69
+ width: z.ZodNumber;
70
+ height: z.ZodOptional<z.ZodNumber>;
71
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
72
+ photo: z.ZodString;
73
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
74
+ width: z.ZodNumber;
75
+ height: z.ZodOptional<z.ZodNumber>;
76
+ }, z.ZodTypeAny, "passthrough">>;
77
+ AddressRequest: z.ZodObject<{
78
+ placeId: z.ZodString;
79
+ cadastralCode: z.ZodString;
80
+ fullName: z.ZodString;
81
+ lat: z.ZodNumber;
82
+ lng: z.ZodNumber;
83
+ country: z.ZodString;
84
+ city: z.ZodString;
85
+ street: z.ZodString;
86
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
87
+ placeId: z.ZodString;
88
+ cadastralCode: z.ZodString;
89
+ fullName: z.ZodString;
90
+ lat: z.ZodNumber;
91
+ lng: z.ZodNumber;
92
+ country: z.ZodString;
93
+ city: z.ZodString;
94
+ street: z.ZodString;
95
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
96
+ placeId: z.ZodString;
97
+ cadastralCode: z.ZodString;
98
+ fullName: z.ZodString;
99
+ lat: z.ZodNumber;
100
+ lng: z.ZodNumber;
101
+ country: z.ZodString;
102
+ city: z.ZodString;
103
+ street: z.ZodString;
104
+ }, z.ZodTypeAny, "passthrough">>;
105
+ CreateAgencyRequest: z.ZodObject<{
106
+ name: z.ZodString;
107
+ slogan: z.ZodString;
108
+ logoUrl: z.ZodString;
109
+ coverImage: z.ZodString;
110
+ email: z.ZodString;
111
+ seats: z.ZodNumber;
112
+ domain: z.ZodString;
113
+ phone: z.ZodString;
114
+ website: z.ZodString;
115
+ address: z.ZodObject<{
116
+ placeId: z.ZodString;
117
+ cadastralCode: z.ZodString;
118
+ fullName: z.ZodString;
119
+ lat: z.ZodNumber;
120
+ lng: z.ZodNumber;
121
+ country: z.ZodString;
122
+ city: z.ZodString;
123
+ street: z.ZodString;
124
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
125
+ placeId: z.ZodString;
126
+ cadastralCode: z.ZodString;
127
+ fullName: z.ZodString;
128
+ lat: z.ZodNumber;
129
+ lng: z.ZodNumber;
130
+ country: z.ZodString;
131
+ city: z.ZodString;
132
+ street: z.ZodString;
133
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
134
+ placeId: z.ZodString;
135
+ cadastralCode: z.ZodString;
136
+ fullName: z.ZodString;
137
+ lat: z.ZodNumber;
138
+ lng: z.ZodNumber;
139
+ country: z.ZodString;
140
+ city: z.ZodString;
141
+ street: z.ZodString;
142
+ }, z.ZodTypeAny, "passthrough">>;
143
+ yearSince: z.ZodNumber;
144
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
145
+ name: z.ZodString;
146
+ slogan: z.ZodString;
147
+ logoUrl: z.ZodString;
148
+ coverImage: z.ZodString;
149
+ email: z.ZodString;
150
+ seats: z.ZodNumber;
151
+ domain: z.ZodString;
152
+ phone: z.ZodString;
153
+ website: z.ZodString;
154
+ address: z.ZodObject<{
155
+ placeId: z.ZodString;
156
+ cadastralCode: z.ZodString;
157
+ fullName: z.ZodString;
158
+ lat: z.ZodNumber;
159
+ lng: z.ZodNumber;
160
+ country: z.ZodString;
161
+ city: z.ZodString;
162
+ street: z.ZodString;
163
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
164
+ placeId: z.ZodString;
165
+ cadastralCode: z.ZodString;
166
+ fullName: z.ZodString;
167
+ lat: z.ZodNumber;
168
+ lng: z.ZodNumber;
169
+ country: z.ZodString;
170
+ city: z.ZodString;
171
+ street: z.ZodString;
172
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
173
+ placeId: z.ZodString;
174
+ cadastralCode: z.ZodString;
175
+ fullName: z.ZodString;
176
+ lat: z.ZodNumber;
177
+ lng: z.ZodNumber;
178
+ country: z.ZodString;
179
+ city: z.ZodString;
180
+ street: z.ZodString;
181
+ }, z.ZodTypeAny, "passthrough">>;
182
+ yearSince: z.ZodNumber;
183
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
184
+ name: z.ZodString;
185
+ slogan: z.ZodString;
186
+ logoUrl: z.ZodString;
187
+ coverImage: z.ZodString;
188
+ email: z.ZodString;
189
+ seats: z.ZodNumber;
190
+ domain: z.ZodString;
191
+ phone: z.ZodString;
192
+ website: z.ZodString;
193
+ address: z.ZodObject<{
194
+ placeId: z.ZodString;
195
+ cadastralCode: z.ZodString;
196
+ fullName: z.ZodString;
197
+ lat: z.ZodNumber;
198
+ lng: z.ZodNumber;
199
+ country: z.ZodString;
200
+ city: z.ZodString;
201
+ street: z.ZodString;
202
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
203
+ placeId: z.ZodString;
204
+ cadastralCode: z.ZodString;
205
+ fullName: z.ZodString;
206
+ lat: z.ZodNumber;
207
+ lng: z.ZodNumber;
208
+ country: z.ZodString;
209
+ city: z.ZodString;
210
+ street: z.ZodString;
211
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
212
+ placeId: z.ZodString;
213
+ cadastralCode: z.ZodString;
214
+ fullName: z.ZodString;
215
+ lat: z.ZodNumber;
216
+ lng: z.ZodNumber;
217
+ country: z.ZodString;
218
+ city: z.ZodString;
219
+ street: z.ZodString;
220
+ }, z.ZodTypeAny, "passthrough">>;
221
+ yearSince: z.ZodNumber;
222
+ }, z.ZodTypeAny, "passthrough">>;
223
+ InviteMemberRequest: z.ZodObject<{
224
+ emails: z.ZodArray<z.ZodString, "many">;
225
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
226
+ emails: z.ZodArray<z.ZodString, "many">;
227
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
228
+ emails: z.ZodArray<z.ZodString, "many">;
229
+ }, z.ZodTypeAny, "passthrough">>;
230
+ PresignedUrlResponse: z.ZodObject<{
231
+ originalName: z.ZodString;
232
+ key: z.ZodString;
233
+ url: z.ZodString;
234
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
235
+ originalName: z.ZodString;
236
+ key: z.ZodString;
237
+ url: z.ZodString;
238
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
239
+ originalName: z.ZodString;
240
+ key: z.ZodString;
241
+ url: z.ZodString;
242
+ }, z.ZodTypeAny, "passthrough">>;
243
+ PresignedUrlsResponse: z.ZodObject<{
244
+ data: z.ZodArray<z.ZodObject<{
245
+ originalName: z.ZodString;
246
+ key: z.ZodString;
247
+ url: z.ZodString;
248
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
249
+ originalName: z.ZodString;
250
+ key: z.ZodString;
251
+ url: z.ZodString;
252
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
253
+ originalName: z.ZodString;
254
+ key: z.ZodString;
255
+ url: z.ZodString;
256
+ }, z.ZodTypeAny, "passthrough">>, "many">;
257
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
258
+ data: z.ZodArray<z.ZodObject<{
259
+ originalName: z.ZodString;
260
+ key: z.ZodString;
261
+ url: z.ZodString;
262
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
263
+ originalName: z.ZodString;
264
+ key: z.ZodString;
265
+ url: z.ZodString;
266
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
267
+ originalName: z.ZodString;
268
+ key: z.ZodString;
269
+ url: z.ZodString;
270
+ }, z.ZodTypeAny, "passthrough">>, "many">;
271
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
272
+ data: z.ZodArray<z.ZodObject<{
273
+ originalName: z.ZodString;
274
+ key: z.ZodString;
275
+ url: z.ZodString;
276
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
277
+ originalName: z.ZodString;
278
+ key: z.ZodString;
279
+ url: z.ZodString;
280
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
281
+ originalName: z.ZodString;
282
+ key: z.ZodString;
283
+ url: z.ZodString;
284
+ }, z.ZodTypeAny, "passthrough">>, "many">;
285
+ }, z.ZodTypeAny, "passthrough">>;
286
+ IdResponse: z.ZodObject<{
287
+ id: z.ZodString;
288
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
289
+ id: z.ZodString;
290
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
291
+ id: z.ZodString;
292
+ }, z.ZodTypeAny, "passthrough">>;
293
+ UploadAcknowledgmentResponse: z.ZodObject<{
294
+ success: z.ZodArray<z.ZodString, "many">;
295
+ fail: z.ZodArray<z.ZodString, "many">;
296
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
297
+ success: z.ZodArray<z.ZodString, "many">;
298
+ fail: z.ZodArray<z.ZodString, "many">;
299
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
300
+ success: z.ZodArray<z.ZodString, "many">;
301
+ fail: z.ZodArray<z.ZodString, "many">;
302
+ }, z.ZodTypeAny, "passthrough">>;
303
+ InvitationViewResponse: z.ZodObject<{
304
+ invitationId: z.ZodString;
305
+ email: z.ZodString;
306
+ status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELLED", "EXPIRED"]>;
307
+ createdAt: z.ZodString;
308
+ expiresAt: z.ZodString;
309
+ acceptedAt: z.ZodOptional<z.ZodString>;
310
+ acceptedBy: z.ZodOptional<z.ZodString>;
311
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
312
+ invitationId: z.ZodString;
313
+ email: z.ZodString;
314
+ status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELLED", "EXPIRED"]>;
315
+ createdAt: z.ZodString;
316
+ expiresAt: z.ZodString;
317
+ acceptedAt: z.ZodOptional<z.ZodString>;
318
+ acceptedBy: z.ZodOptional<z.ZodString>;
319
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
320
+ invitationId: z.ZodString;
321
+ email: z.ZodString;
322
+ status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELLED", "EXPIRED"]>;
323
+ createdAt: z.ZodString;
324
+ expiresAt: z.ZodString;
325
+ acceptedAt: z.ZodOptional<z.ZodString>;
326
+ acceptedBy: z.ZodOptional<z.ZodString>;
327
+ }, z.ZodTypeAny, "passthrough">>;
328
+ };
329
+ export declare const api: import("@zodios/core").ZodiosInstance<[{
330
+ method: "post";
331
+ path: "/agency";
332
+ alias: "createAgency";
333
+ requestFormat: "json";
334
+ parameters: [{
335
+ name: "body";
336
+ type: "Body";
337
+ schema: z.ZodObject<{
338
+ name: z.ZodString;
339
+ slogan: z.ZodString;
340
+ logoUrl: z.ZodString;
341
+ coverImage: z.ZodString;
342
+ email: z.ZodString;
343
+ seats: z.ZodNumber;
344
+ domain: z.ZodString;
345
+ phone: z.ZodString;
346
+ website: z.ZodString;
347
+ address: z.ZodObject<{
348
+ placeId: z.ZodString;
349
+ cadastralCode: z.ZodString;
350
+ fullName: z.ZodString;
351
+ lat: z.ZodNumber;
352
+ lng: z.ZodNumber;
353
+ country: z.ZodString;
354
+ city: z.ZodString;
355
+ street: z.ZodString;
356
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
357
+ placeId: z.ZodString;
358
+ cadastralCode: z.ZodString;
359
+ fullName: z.ZodString;
360
+ lat: z.ZodNumber;
361
+ lng: z.ZodNumber;
362
+ country: z.ZodString;
363
+ city: z.ZodString;
364
+ street: z.ZodString;
365
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
366
+ placeId: z.ZodString;
367
+ cadastralCode: z.ZodString;
368
+ fullName: z.ZodString;
369
+ lat: z.ZodNumber;
370
+ lng: z.ZodNumber;
371
+ country: z.ZodString;
372
+ city: z.ZodString;
373
+ street: z.ZodString;
374
+ }, z.ZodTypeAny, "passthrough">>;
375
+ yearSince: z.ZodNumber;
376
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
377
+ name: z.ZodString;
378
+ slogan: z.ZodString;
379
+ logoUrl: z.ZodString;
380
+ coverImage: z.ZodString;
381
+ email: z.ZodString;
382
+ seats: z.ZodNumber;
383
+ domain: z.ZodString;
384
+ phone: z.ZodString;
385
+ website: z.ZodString;
386
+ address: z.ZodObject<{
387
+ placeId: z.ZodString;
388
+ cadastralCode: z.ZodString;
389
+ fullName: z.ZodString;
390
+ lat: z.ZodNumber;
391
+ lng: z.ZodNumber;
392
+ country: z.ZodString;
393
+ city: z.ZodString;
394
+ street: z.ZodString;
395
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
396
+ placeId: z.ZodString;
397
+ cadastralCode: z.ZodString;
398
+ fullName: z.ZodString;
399
+ lat: z.ZodNumber;
400
+ lng: z.ZodNumber;
401
+ country: z.ZodString;
402
+ city: z.ZodString;
403
+ street: z.ZodString;
404
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
405
+ placeId: z.ZodString;
406
+ cadastralCode: z.ZodString;
407
+ fullName: z.ZodString;
408
+ lat: z.ZodNumber;
409
+ lng: z.ZodNumber;
410
+ country: z.ZodString;
411
+ city: z.ZodString;
412
+ street: z.ZodString;
413
+ }, z.ZodTypeAny, "passthrough">>;
414
+ yearSince: z.ZodNumber;
415
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
416
+ name: z.ZodString;
417
+ slogan: z.ZodString;
418
+ logoUrl: z.ZodString;
419
+ coverImage: z.ZodString;
420
+ email: z.ZodString;
421
+ seats: z.ZodNumber;
422
+ domain: z.ZodString;
423
+ phone: z.ZodString;
424
+ website: z.ZodString;
425
+ address: z.ZodObject<{
426
+ placeId: z.ZodString;
427
+ cadastralCode: z.ZodString;
428
+ fullName: z.ZodString;
429
+ lat: z.ZodNumber;
430
+ lng: z.ZodNumber;
431
+ country: z.ZodString;
432
+ city: z.ZodString;
433
+ street: z.ZodString;
434
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
435
+ placeId: z.ZodString;
436
+ cadastralCode: z.ZodString;
437
+ fullName: z.ZodString;
438
+ lat: z.ZodNumber;
439
+ lng: z.ZodNumber;
440
+ country: z.ZodString;
441
+ city: z.ZodString;
442
+ street: z.ZodString;
443
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
444
+ placeId: z.ZodString;
445
+ cadastralCode: z.ZodString;
446
+ fullName: z.ZodString;
447
+ lat: z.ZodNumber;
448
+ lng: z.ZodNumber;
449
+ country: z.ZodString;
450
+ city: z.ZodString;
451
+ street: z.ZodString;
452
+ }, z.ZodTypeAny, "passthrough">>;
453
+ yearSince: z.ZodNumber;
454
+ }, z.ZodTypeAny, "passthrough">>;
455
+ }];
456
+ response: z.ZodVoid;
457
+ }, {
458
+ method: "get";
459
+ path: "/agency/:agencyId";
460
+ alias: "getAgency";
461
+ requestFormat: "json";
462
+ parameters: [{
463
+ name: "agencyId";
464
+ type: "Path";
465
+ schema: z.ZodString;
466
+ }];
467
+ response: z.ZodVoid;
468
+ }, {
469
+ method: "post";
470
+ path: "/agency/:agencyId/activate";
471
+ alias: "activateAgency";
472
+ requestFormat: "json";
473
+ parameters: [{
474
+ name: "agencyId";
475
+ type: "Path";
476
+ schema: z.ZodString;
477
+ }];
478
+ response: z.ZodVoid;
479
+ }, {
480
+ method: "get";
481
+ path: "/agency/:agencyId/invitation";
482
+ alias: "getAllInvitations";
483
+ requestFormat: "json";
484
+ parameters: [{
485
+ name: "agencyId";
486
+ type: "Path";
487
+ schema: z.ZodString;
488
+ }];
489
+ response: z.ZodVoid;
490
+ }, {
491
+ method: "post";
492
+ path: "/agency/:agencyId/invitation";
493
+ alias: "inviteMember";
494
+ requestFormat: "json";
495
+ parameters: [{
496
+ name: "body";
497
+ type: "Body";
498
+ schema: z.ZodObject<{
499
+ emails: z.ZodArray<z.ZodString, "many">;
500
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
501
+ emails: z.ZodArray<z.ZodString, "many">;
502
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
503
+ emails: z.ZodArray<z.ZodString, "many">;
504
+ }, z.ZodTypeAny, "passthrough">>;
505
+ }, {
506
+ name: "agencyId";
507
+ type: "Path";
508
+ schema: z.ZodString;
509
+ }];
510
+ response: z.ZodVoid;
511
+ }, {
512
+ method: "post";
513
+ path: "/agency/:agencyId/invitation/:invitationId";
514
+ alias: "inviteAccepted";
515
+ requestFormat: "json";
516
+ parameters: [{
517
+ name: "agencyId";
518
+ type: "Path";
519
+ schema: z.ZodString;
520
+ }, {
521
+ name: "invitationId";
522
+ type: "Path";
523
+ schema: z.ZodString;
524
+ }];
525
+ response: z.ZodVoid;
526
+ }, {
527
+ method: "put";
528
+ path: "/agency/:agencyId/presigned-urls";
529
+ alias: "generatePresignedUrl";
530
+ requestFormat: "json";
531
+ parameters: [{
532
+ name: "body";
533
+ type: "Body";
534
+ schema: z.ZodObject<{
535
+ photo: z.ZodString;
536
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
537
+ width: z.ZodNumber;
538
+ height: z.ZodOptional<z.ZodNumber>;
539
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
540
+ photo: z.ZodString;
541
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
542
+ width: z.ZodNumber;
543
+ height: z.ZodOptional<z.ZodNumber>;
544
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
545
+ photo: z.ZodString;
546
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
547
+ width: z.ZodNumber;
548
+ height: z.ZodOptional<z.ZodNumber>;
549
+ }, z.ZodTypeAny, "passthrough">>;
550
+ }, {
551
+ name: "agencyId";
552
+ type: "Path";
553
+ schema: z.ZodString;
554
+ }];
555
+ response: z.ZodVoid;
556
+ }, {
557
+ method: "post";
558
+ path: "/agency/:agencyId/presigned-urls/notify/cover";
559
+ alias: "notifyCoverUploadCompletion";
560
+ requestFormat: "json";
561
+ parameters: [{
562
+ name: "body";
563
+ type: "Body";
564
+ schema: z.ZodObject<{
565
+ photo: z.ZodString;
566
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
567
+ width: z.ZodNumber;
568
+ height: z.ZodOptional<z.ZodNumber>;
569
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
570
+ photo: z.ZodString;
571
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
572
+ width: z.ZodNumber;
573
+ height: z.ZodOptional<z.ZodNumber>;
574
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
575
+ photo: z.ZodString;
576
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
577
+ width: z.ZodNumber;
578
+ height: z.ZodOptional<z.ZodNumber>;
579
+ }, z.ZodTypeAny, "passthrough">>;
580
+ }, {
581
+ name: "agencyId";
582
+ type: "Path";
583
+ schema: z.ZodString;
584
+ }];
585
+ response: z.ZodVoid;
586
+ }, {
587
+ method: "post";
588
+ path: "/agency/:agencyId/presigned-urls/notify/logo";
589
+ alias: "notifyLogoUploadCompletion";
590
+ requestFormat: "json";
591
+ parameters: [{
592
+ name: "body";
593
+ type: "Body";
594
+ schema: z.ZodObject<{
595
+ photo: z.ZodString;
596
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
597
+ width: z.ZodNumber;
598
+ height: z.ZodOptional<z.ZodNumber>;
599
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
600
+ photo: z.ZodString;
601
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
602
+ width: z.ZodNumber;
603
+ height: z.ZodOptional<z.ZodNumber>;
604
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
605
+ photo: z.ZodString;
606
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
607
+ width: z.ZodNumber;
608
+ height: z.ZodOptional<z.ZodNumber>;
609
+ }, z.ZodTypeAny, "passthrough">>;
610
+ }, {
611
+ name: "agencyId";
612
+ type: "Path";
613
+ schema: z.ZodString;
614
+ }];
615
+ response: z.ZodVoid;
616
+ }, {
617
+ method: "post";
618
+ path: "/agency/:agencyId/roles";
619
+ alias: "addRole";
620
+ requestFormat: "json";
621
+ parameters: [{
622
+ name: "body";
623
+ type: "Body";
624
+ schema: z.ZodObject<{
625
+ name: z.ZodString;
626
+ description: z.ZodString;
627
+ authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
628
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
629
+ name: z.ZodString;
630
+ description: z.ZodString;
631
+ authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
632
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
633
+ name: z.ZodString;
634
+ description: z.ZodString;
635
+ authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
636
+ }, z.ZodTypeAny, "passthrough">>;
637
+ }, {
638
+ name: "agencyId";
639
+ type: "Path";
640
+ schema: z.ZodString;
641
+ }];
642
+ response: z.ZodVoid;
643
+ }, {
644
+ method: "put";
645
+ path: "/agency/:agencyId/roles/:roleId";
646
+ alias: "updateRole";
647
+ requestFormat: "json";
648
+ parameters: [{
649
+ name: "body";
650
+ type: "Body";
651
+ schema: z.ZodObject<{
652
+ name: z.ZodString;
653
+ description: z.ZodString;
654
+ authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
655
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
656
+ name: z.ZodString;
657
+ description: z.ZodString;
658
+ authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
659
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
660
+ name: z.ZodString;
661
+ description: z.ZodString;
662
+ authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
663
+ }, z.ZodTypeAny, "passthrough">>;
664
+ }, {
665
+ name: "agencyId";
666
+ type: "Path";
667
+ schema: z.ZodString;
668
+ }, {
669
+ name: "roleId";
670
+ type: "Path";
671
+ schema: z.ZodNumber;
672
+ }];
673
+ response: z.ZodVoid;
674
+ }, {
675
+ method: "delete";
676
+ path: "/agency/:agencyId/roles/:roleId";
677
+ alias: "removeRole";
678
+ requestFormat: "json";
679
+ parameters: [{
680
+ name: "agencyId";
681
+ type: "Path";
682
+ schema: z.ZodString;
683
+ }, {
684
+ name: "roleId";
685
+ type: "Path";
686
+ schema: z.ZodNumber;
687
+ }];
688
+ response: z.ZodVoid;
689
+ }, {
690
+ method: "put";
691
+ path: "/agency/:agencyId/social-media";
692
+ alias: "updateSocialUrls";
693
+ requestFormat: "json";
694
+ parameters: [{
695
+ name: "body";
696
+ type: "Body";
697
+ schema: z.ZodObject<{
698
+ data: z.ZodArray<z.ZodObject<{
699
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
700
+ url: z.ZodOptional<z.ZodString>;
701
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
702
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
703
+ url: z.ZodOptional<z.ZodString>;
704
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
705
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
706
+ url: z.ZodOptional<z.ZodString>;
707
+ }, z.ZodTypeAny, "passthrough">>, "many">;
708
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
709
+ data: z.ZodArray<z.ZodObject<{
710
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
711
+ url: z.ZodOptional<z.ZodString>;
712
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
713
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
714
+ url: z.ZodOptional<z.ZodString>;
715
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
716
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
717
+ url: z.ZodOptional<z.ZodString>;
718
+ }, z.ZodTypeAny, "passthrough">>, "many">;
719
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
720
+ data: z.ZodArray<z.ZodObject<{
721
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
722
+ url: z.ZodOptional<z.ZodString>;
723
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
724
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
725
+ url: z.ZodOptional<z.ZodString>;
726
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
727
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
728
+ url: z.ZodOptional<z.ZodString>;
729
+ }, z.ZodTypeAny, "passthrough">>, "many">;
730
+ }, z.ZodTypeAny, "passthrough">>;
731
+ }, {
732
+ name: "agencyId";
733
+ type: "Path";
734
+ schema: z.ZodString;
735
+ }];
736
+ response: z.ZodVoid;
737
+ }]>;
738
+ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions): import("@zodios/core").ZodiosInstance<[{
739
+ method: "post";
740
+ path: "/agency";
741
+ alias: "createAgency";
742
+ requestFormat: "json";
743
+ parameters: [{
744
+ name: "body";
745
+ type: "Body";
746
+ schema: z.ZodObject<{
747
+ name: z.ZodString;
748
+ slogan: z.ZodString;
749
+ logoUrl: z.ZodString;
750
+ coverImage: z.ZodString;
751
+ email: z.ZodString;
752
+ seats: z.ZodNumber;
753
+ domain: z.ZodString;
754
+ phone: z.ZodString;
755
+ website: z.ZodString;
756
+ address: z.ZodObject<{
757
+ placeId: z.ZodString;
758
+ cadastralCode: z.ZodString;
759
+ fullName: z.ZodString;
760
+ lat: z.ZodNumber;
761
+ lng: z.ZodNumber;
762
+ country: z.ZodString;
763
+ city: z.ZodString;
764
+ street: z.ZodString;
765
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
766
+ placeId: z.ZodString;
767
+ cadastralCode: z.ZodString;
768
+ fullName: z.ZodString;
769
+ lat: z.ZodNumber;
770
+ lng: z.ZodNumber;
771
+ country: z.ZodString;
772
+ city: z.ZodString;
773
+ street: z.ZodString;
774
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
775
+ placeId: z.ZodString;
776
+ cadastralCode: z.ZodString;
777
+ fullName: z.ZodString;
778
+ lat: z.ZodNumber;
779
+ lng: z.ZodNumber;
780
+ country: z.ZodString;
781
+ city: z.ZodString;
782
+ street: z.ZodString;
783
+ }, z.ZodTypeAny, "passthrough">>;
784
+ yearSince: z.ZodNumber;
785
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
786
+ name: z.ZodString;
787
+ slogan: z.ZodString;
788
+ logoUrl: z.ZodString;
789
+ coverImage: z.ZodString;
790
+ email: z.ZodString;
791
+ seats: z.ZodNumber;
792
+ domain: z.ZodString;
793
+ phone: z.ZodString;
794
+ website: z.ZodString;
795
+ address: z.ZodObject<{
796
+ placeId: z.ZodString;
797
+ cadastralCode: z.ZodString;
798
+ fullName: z.ZodString;
799
+ lat: z.ZodNumber;
800
+ lng: z.ZodNumber;
801
+ country: z.ZodString;
802
+ city: z.ZodString;
803
+ street: z.ZodString;
804
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
805
+ placeId: z.ZodString;
806
+ cadastralCode: z.ZodString;
807
+ fullName: z.ZodString;
808
+ lat: z.ZodNumber;
809
+ lng: z.ZodNumber;
810
+ country: z.ZodString;
811
+ city: z.ZodString;
812
+ street: z.ZodString;
813
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
814
+ placeId: z.ZodString;
815
+ cadastralCode: z.ZodString;
816
+ fullName: z.ZodString;
817
+ lat: z.ZodNumber;
818
+ lng: z.ZodNumber;
819
+ country: z.ZodString;
820
+ city: z.ZodString;
821
+ street: z.ZodString;
822
+ }, z.ZodTypeAny, "passthrough">>;
823
+ yearSince: z.ZodNumber;
824
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
825
+ name: z.ZodString;
826
+ slogan: z.ZodString;
827
+ logoUrl: z.ZodString;
828
+ coverImage: z.ZodString;
829
+ email: z.ZodString;
830
+ seats: z.ZodNumber;
831
+ domain: z.ZodString;
832
+ phone: z.ZodString;
833
+ website: z.ZodString;
834
+ address: z.ZodObject<{
835
+ placeId: z.ZodString;
836
+ cadastralCode: z.ZodString;
837
+ fullName: z.ZodString;
838
+ lat: z.ZodNumber;
839
+ lng: z.ZodNumber;
840
+ country: z.ZodString;
841
+ city: z.ZodString;
842
+ street: z.ZodString;
843
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
844
+ placeId: z.ZodString;
845
+ cadastralCode: z.ZodString;
846
+ fullName: z.ZodString;
847
+ lat: z.ZodNumber;
848
+ lng: z.ZodNumber;
849
+ country: z.ZodString;
850
+ city: z.ZodString;
851
+ street: z.ZodString;
852
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
853
+ placeId: z.ZodString;
854
+ cadastralCode: z.ZodString;
855
+ fullName: z.ZodString;
856
+ lat: z.ZodNumber;
857
+ lng: z.ZodNumber;
858
+ country: z.ZodString;
859
+ city: z.ZodString;
860
+ street: z.ZodString;
861
+ }, z.ZodTypeAny, "passthrough">>;
862
+ yearSince: z.ZodNumber;
863
+ }, z.ZodTypeAny, "passthrough">>;
864
+ }];
865
+ response: z.ZodVoid;
866
+ }, {
867
+ method: "get";
868
+ path: "/agency/:agencyId";
869
+ alias: "getAgency";
870
+ requestFormat: "json";
871
+ parameters: [{
872
+ name: "agencyId";
873
+ type: "Path";
874
+ schema: z.ZodString;
875
+ }];
876
+ response: z.ZodVoid;
877
+ }, {
878
+ method: "post";
879
+ path: "/agency/:agencyId/activate";
880
+ alias: "activateAgency";
881
+ requestFormat: "json";
882
+ parameters: [{
883
+ name: "agencyId";
884
+ type: "Path";
885
+ schema: z.ZodString;
886
+ }];
887
+ response: z.ZodVoid;
888
+ }, {
889
+ method: "get";
890
+ path: "/agency/:agencyId/invitation";
891
+ alias: "getAllInvitations";
892
+ requestFormat: "json";
893
+ parameters: [{
894
+ name: "agencyId";
895
+ type: "Path";
896
+ schema: z.ZodString;
897
+ }];
898
+ response: z.ZodVoid;
899
+ }, {
900
+ method: "post";
901
+ path: "/agency/:agencyId/invitation";
902
+ alias: "inviteMember";
903
+ requestFormat: "json";
904
+ parameters: [{
905
+ name: "body";
906
+ type: "Body";
907
+ schema: z.ZodObject<{
908
+ emails: z.ZodArray<z.ZodString, "many">;
909
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
910
+ emails: z.ZodArray<z.ZodString, "many">;
911
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
912
+ emails: z.ZodArray<z.ZodString, "many">;
913
+ }, z.ZodTypeAny, "passthrough">>;
914
+ }, {
915
+ name: "agencyId";
916
+ type: "Path";
917
+ schema: z.ZodString;
918
+ }];
919
+ response: z.ZodVoid;
920
+ }, {
921
+ method: "post";
922
+ path: "/agency/:agencyId/invitation/:invitationId";
923
+ alias: "inviteAccepted";
924
+ requestFormat: "json";
925
+ parameters: [{
926
+ name: "agencyId";
927
+ type: "Path";
928
+ schema: z.ZodString;
929
+ }, {
930
+ name: "invitationId";
931
+ type: "Path";
932
+ schema: z.ZodString;
933
+ }];
934
+ response: z.ZodVoid;
935
+ }, {
936
+ method: "put";
937
+ path: "/agency/:agencyId/presigned-urls";
938
+ alias: "generatePresignedUrl";
939
+ requestFormat: "json";
940
+ parameters: [{
941
+ name: "body";
942
+ type: "Body";
943
+ schema: z.ZodObject<{
944
+ photo: z.ZodString;
945
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
946
+ width: z.ZodNumber;
947
+ height: z.ZodOptional<z.ZodNumber>;
948
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
949
+ photo: z.ZodString;
950
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
951
+ width: z.ZodNumber;
952
+ height: z.ZodOptional<z.ZodNumber>;
953
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
954
+ photo: z.ZodString;
955
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
956
+ width: z.ZodNumber;
957
+ height: z.ZodOptional<z.ZodNumber>;
958
+ }, z.ZodTypeAny, "passthrough">>;
959
+ }, {
960
+ name: "agencyId";
961
+ type: "Path";
962
+ schema: z.ZodString;
963
+ }];
964
+ response: z.ZodVoid;
965
+ }, {
966
+ method: "post";
967
+ path: "/agency/:agencyId/presigned-urls/notify/cover";
968
+ alias: "notifyCoverUploadCompletion";
969
+ requestFormat: "json";
970
+ parameters: [{
971
+ name: "body";
972
+ type: "Body";
973
+ schema: z.ZodObject<{
974
+ photo: z.ZodString;
975
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
976
+ width: z.ZodNumber;
977
+ height: z.ZodOptional<z.ZodNumber>;
978
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
979
+ photo: z.ZodString;
980
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
981
+ width: z.ZodNumber;
982
+ height: z.ZodOptional<z.ZodNumber>;
983
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
984
+ photo: z.ZodString;
985
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
986
+ width: z.ZodNumber;
987
+ height: z.ZodOptional<z.ZodNumber>;
988
+ }, z.ZodTypeAny, "passthrough">>;
989
+ }, {
990
+ name: "agencyId";
991
+ type: "Path";
992
+ schema: z.ZodString;
993
+ }];
994
+ response: z.ZodVoid;
995
+ }, {
996
+ method: "post";
997
+ path: "/agency/:agencyId/presigned-urls/notify/logo";
998
+ alias: "notifyLogoUploadCompletion";
999
+ requestFormat: "json";
1000
+ parameters: [{
1001
+ name: "body";
1002
+ type: "Body";
1003
+ schema: z.ZodObject<{
1004
+ photo: z.ZodString;
1005
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
1006
+ width: z.ZodNumber;
1007
+ height: z.ZodOptional<z.ZodNumber>;
1008
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1009
+ photo: z.ZodString;
1010
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
1011
+ width: z.ZodNumber;
1012
+ height: z.ZodOptional<z.ZodNumber>;
1013
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1014
+ photo: z.ZodString;
1015
+ type: z.ZodEnum<["JPEG", "JPG", "PNG", "WEBP"]>;
1016
+ width: z.ZodNumber;
1017
+ height: z.ZodOptional<z.ZodNumber>;
1018
+ }, z.ZodTypeAny, "passthrough">>;
1019
+ }, {
1020
+ name: "agencyId";
1021
+ type: "Path";
1022
+ schema: z.ZodString;
1023
+ }];
1024
+ response: z.ZodVoid;
1025
+ }, {
1026
+ method: "post";
1027
+ path: "/agency/:agencyId/roles";
1028
+ alias: "addRole";
1029
+ requestFormat: "json";
1030
+ parameters: [{
1031
+ name: "body";
1032
+ type: "Body";
1033
+ schema: z.ZodObject<{
1034
+ name: z.ZodString;
1035
+ description: z.ZodString;
1036
+ authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
1037
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1038
+ name: z.ZodString;
1039
+ description: z.ZodString;
1040
+ authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
1041
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1042
+ name: z.ZodString;
1043
+ description: z.ZodString;
1044
+ authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
1045
+ }, z.ZodTypeAny, "passthrough">>;
1046
+ }, {
1047
+ name: "agencyId";
1048
+ type: "Path";
1049
+ schema: z.ZodString;
1050
+ }];
1051
+ response: z.ZodVoid;
1052
+ }, {
1053
+ method: "put";
1054
+ path: "/agency/:agencyId/roles/:roleId";
1055
+ alias: "updateRole";
1056
+ requestFormat: "json";
1057
+ parameters: [{
1058
+ name: "body";
1059
+ type: "Body";
1060
+ schema: z.ZodObject<{
1061
+ name: z.ZodString;
1062
+ description: z.ZodString;
1063
+ authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
1064
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1065
+ name: z.ZodString;
1066
+ description: z.ZodString;
1067
+ authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
1068
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1069
+ name: z.ZodString;
1070
+ description: z.ZodString;
1071
+ authorities: z.ZodArray<z.ZodEnum<["properties_read", "properties_write", "agents_read", "agents_write"]>, "many">;
1072
+ }, z.ZodTypeAny, "passthrough">>;
1073
+ }, {
1074
+ name: "agencyId";
1075
+ type: "Path";
1076
+ schema: z.ZodString;
1077
+ }, {
1078
+ name: "roleId";
1079
+ type: "Path";
1080
+ schema: z.ZodNumber;
1081
+ }];
1082
+ response: z.ZodVoid;
1083
+ }, {
1084
+ method: "delete";
1085
+ path: "/agency/:agencyId/roles/:roleId";
1086
+ alias: "removeRole";
1087
+ requestFormat: "json";
1088
+ parameters: [{
1089
+ name: "agencyId";
1090
+ type: "Path";
1091
+ schema: z.ZodString;
1092
+ }, {
1093
+ name: "roleId";
1094
+ type: "Path";
1095
+ schema: z.ZodNumber;
1096
+ }];
1097
+ response: z.ZodVoid;
1098
+ }, {
1099
+ method: "put";
1100
+ path: "/agency/:agencyId/social-media";
1101
+ alias: "updateSocialUrls";
1102
+ requestFormat: "json";
1103
+ parameters: [{
1104
+ name: "body";
1105
+ type: "Body";
1106
+ schema: z.ZodObject<{
1107
+ data: z.ZodArray<z.ZodObject<{
1108
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
1109
+ url: z.ZodOptional<z.ZodString>;
1110
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1111
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
1112
+ url: z.ZodOptional<z.ZodString>;
1113
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1114
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
1115
+ url: z.ZodOptional<z.ZodString>;
1116
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1117
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1118
+ data: z.ZodArray<z.ZodObject<{
1119
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
1120
+ url: z.ZodOptional<z.ZodString>;
1121
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1122
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
1123
+ url: z.ZodOptional<z.ZodString>;
1124
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1125
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
1126
+ url: z.ZodOptional<z.ZodString>;
1127
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1128
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1129
+ data: z.ZodArray<z.ZodObject<{
1130
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
1131
+ url: z.ZodOptional<z.ZodString>;
1132
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1133
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
1134
+ url: z.ZodOptional<z.ZodString>;
1135
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1136
+ type: z.ZodEnum<["FACEBOOK", "YOUTUBE", "INSTAGRAM", "TIKTOK", "LINKEDIN"]>;
1137
+ url: z.ZodOptional<z.ZodString>;
1138
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1139
+ }, z.ZodTypeAny, "passthrough">>;
1140
+ }, {
1141
+ name: "agencyId";
1142
+ type: "Path";
1143
+ schema: z.ZodString;
1144
+ }];
1145
+ response: z.ZodVoid;
1146
+ }]>;