@fenixalliance/abs-api-client 1.0.8 → 1.0.10

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.
Files changed (119) hide show
  1. package/app/index.js +2 -2
  2. package/app/index.ts +1 -1
  3. package/clients/contentService/index.ts +2 -2
  4. package/clients/contentService/models/{Portal.ts → PortalSettings.ts} +1 -1
  5. package/clients/contentService/models/PortalSettingsEnvelope.ts +14 -0
  6. package/clients/contentService/services/PortalsService.js +23 -12
  7. package/clients/contentService/services/PortalsService.ts +25 -14
  8. package/clients/crmService/services/ContactsService.js +86 -28
  9. package/clients/crmService/services/ContactsService.ts +86 -28
  10. package/clients/holderService/index.js +7 -3
  11. package/clients/holderService/index.ts +4 -2
  12. package/clients/holderService/models/FollowRecordDtoListEnvelope.ts +14 -0
  13. package/clients/holderService/services/{HolderService.js → IdentityService.js} +65 -157
  14. package/clients/holderService/services/{HolderService.ts → IdentityService.ts} +70 -186
  15. package/clients/holderService/services/TenantsService.js +151 -0
  16. package/clients/holderService/services/TenantsService.ts +176 -0
  17. package/clients/holderService/services/UserService.js +364 -0
  18. package/clients/holderService/services/UserService.ts +421 -0
  19. package/clients/storageService/core/ApiError.js +20 -0
  20. package/clients/storageService/core/ApiError.ts +25 -0
  21. package/clients/storageService/core/ApiRequestOptions.ts +17 -0
  22. package/clients/storageService/core/ApiResult.ts +11 -0
  23. package/clients/storageService/core/CancelablePromise.js +104 -0
  24. package/clients/storageService/core/CancelablePromise.ts +131 -0
  25. package/clients/storageService/core/OpenAPI.js +14 -0
  26. package/clients/storageService/core/OpenAPI.ts +32 -0
  27. package/clients/storageService/core/request.js +294 -0
  28. package/clients/storageService/core/request.ts +322 -0
  29. package/clients/storageService/index.js +26 -0
  30. package/clients/storageService/index.ts +23 -0
  31. package/clients/storageService/models/Blob.js +11 -0
  32. package/clients/storageService/models/Blob.ts +26 -0
  33. package/clients/{contentService/models/PortalEnvelope.ts → storageService/models/BlobEnvelope.ts} +3 -3
  34. package/clients/{holderService/models/EmptyEnvelopeEnvelope.ts → storageService/models/EmptyEnvelope.ts} +1 -3
  35. package/clients/storageService/models/ErrorEnvelope.ts +12 -0
  36. package/clients/storageService/models/FileUploadCreateDto.ts +20 -0
  37. package/clients/storageService/models/FileUploadDto.js +2 -0
  38. package/clients/storageService/models/FileUploadDto.ts +29 -0
  39. package/clients/storageService/models/FileUploadDtoEnvelope.js +2 -0
  40. package/clients/storageService/models/FileUploadDtoEnvelope.ts +14 -0
  41. package/clients/storageService/models/FileUploadUpdateDto.js +2 -0
  42. package/clients/storageService/models/FileUploadUpdateDto.ts +19 -0
  43. package/clients/storageService/services/AvatarsService.js +200 -0
  44. package/clients/storageService/services/AvatarsService.ts +234 -0
  45. package/clients/storageService/services/BlobsService.js +66 -0
  46. package/clients/storageService/services/BlobsService.ts +81 -0
  47. package/clients/{tenantService/services/EnrollmentsService.js → storageService/services/FilesService.js} +50 -42
  48. package/clients/{tenantService/services/UnitsService.ts → storageService/services/FilesService.ts} +75 -65
  49. package/clients/storageService/services/RadzenEditorService.js +117 -0
  50. package/clients/storageService/services/RadzenEditorService.ts +149 -0
  51. package/clients/storageService/services/UploadsService.js +33 -0
  52. package/clients/storageService/services/UploadsService.ts +53 -0
  53. package/clients/systemService/services/ModulesService.js +4 -2
  54. package/clients/systemService/services/ModulesService.ts +4 -2
  55. package/clients/systemService/services/TenantsService.js +24 -8
  56. package/clients/systemService/services/TenantsService.ts +24 -8
  57. package/clients/tenantService/index.js +1 -29
  58. package/clients/tenantService/index.ts +7 -20
  59. package/clients/tenantService/models/TenantIndustryDtoListEnvelope.js +2 -0
  60. package/clients/tenantService/models/TenantIndustryDtoListEnvelope.ts +14 -0
  61. package/clients/tenantService/models/TenantTeamContactEnrollmentDtoListEnvelope.js +2 -0
  62. package/clients/tenantService/models/{TenantTeamContactEnrollmentDtoIReadOnlyCollectionEnvelope.ts → TenantTeamContactEnrollmentDtoListEnvelope.ts} +1 -1
  63. package/clients/tenantService/models/TenantTeamDtoListEnvelope.js +2 -0
  64. package/clients/tenantService/models/{TenantTeamDtoIReadOnlyCollectionEnvelope.ts → TenantTeamDtoListEnvelope.ts} +1 -1
  65. package/clients/tenantService/models/TenantTeamEmployeeEnrollmentDtoListEnvelope.js +2 -0
  66. package/clients/tenantService/models/{TenantTeamEmployeeEnrollmentDtoIReadOnlyCollectionEnvelope.ts → TenantTeamEmployeeEnrollmentDtoListEnvelope.ts} +1 -1
  67. package/clients/tenantService/models/TenantTeamProjectEnrollmentDtoListEnvelope.js +2 -0
  68. package/clients/tenantService/models/{TenantTeamProjectEnrollmentDtoIReadOnlyCollectionEnvelope.ts → TenantTeamProjectEnrollmentDtoListEnvelope.ts} +1 -1
  69. package/clients/tenantService/models/TenantTeamRecordDtoListEnvelope.js +2 -0
  70. package/clients/tenantService/models/{TenantTeamRecordDtoIReadOnlyCollectionEnvelope.ts → TenantTeamRecordDtoListEnvelope.ts} +1 -1
  71. package/clients/tenantService/models/TenantTypeDtoListEnvelope.js +2 -0
  72. package/clients/tenantService/models/{TenantTypeDtoIReadOnlyCollectionEnvelope.ts → TenantTypeDtoListEnvelope.ts} +1 -1
  73. package/clients/tenantService/services/SizesService.js +15 -5
  74. package/clients/tenantService/services/SizesService.ts +15 -5
  75. package/clients/tenantService/services/TenantsService.js +2554 -233
  76. package/clients/tenantService/services/TenantsService.ts +3004 -307
  77. package/package.json +1 -1
  78. package/schemas/contentService/schema.s.ts +877 -844
  79. package/schemas/crmService/schema.s.ts +1776 -1516
  80. package/schemas/holderService/schema.s.ts +1024 -789
  81. package/schemas/storageService/schema.s.js +6 -0
  82. package/schemas/storageService/schema.s.ts +1087 -0
  83. package/schemas/systemService/schema.s.ts +465 -387
  84. package/schemas/tenantService/schema.s.ts +5713 -4820
  85. package/clients/tenantService/services/DepartmentsService.js +0 -161
  86. package/clients/tenantService/services/DepartmentsService.ts +0 -192
  87. package/clients/tenantService/services/EmployeeEnrollmentsService.js +0 -153
  88. package/clients/tenantService/services/EmployeeEnrollmentsService.ts +0 -181
  89. package/clients/tenantService/services/EnrollmentsService.ts +0 -195
  90. package/clients/tenantService/services/IndustriesService.js +0 -161
  91. package/clients/tenantService/services/IndustriesService.ts +0 -190
  92. package/clients/tenantService/services/InvitationsService.js +0 -128
  93. package/clients/tenantService/services/InvitationsService.ts +0 -150
  94. package/clients/tenantService/services/PositionsService.js +0 -161
  95. package/clients/tenantService/services/PositionsService.ts +0 -192
  96. package/clients/tenantService/services/SegmentsService.js +0 -161
  97. package/clients/tenantService/services/SegmentsService.ts +0 -191
  98. package/clients/tenantService/services/TeamContactEnrollmentsService.js +0 -161
  99. package/clients/tenantService/services/TeamContactEnrollmentsService.ts +0 -191
  100. package/clients/tenantService/services/TeamProjectEnrollmentService.js +0 -153
  101. package/clients/tenantService/services/TeamProjectEnrollmentService.ts +0 -181
  102. package/clients/tenantService/services/TeamRecordsService.js +0 -161
  103. package/clients/tenantService/services/TeamRecordsService.ts +0 -192
  104. package/clients/tenantService/services/TeamsService.js +0 -161
  105. package/clients/tenantService/services/TeamsService.ts +0 -192
  106. package/clients/tenantService/services/TerritoriesService.js +0 -161
  107. package/clients/tenantService/services/TerritoriesService.ts +0 -192
  108. package/clients/tenantService/services/TypesService.js +0 -149
  109. package/clients/tenantService/services/TypesService.ts +0 -176
  110. package/clients/tenantService/services/UnitsService.js +0 -159
  111. /package/clients/contentService/models/{Portal.js → PortalSettings.js} +0 -0
  112. /package/clients/contentService/models/{PortalEnvelope.js → PortalSettingsEnvelope.js} +0 -0
  113. /package/clients/holderService/models/{EmptyEnvelopeEnvelope.js → FollowRecordDtoListEnvelope.js} +0 -0
  114. /package/clients/{tenantService/models/TenantTeamContactEnrollmentDtoIReadOnlyCollectionEnvelope.js → storageService/core/ApiRequestOptions.js} +0 -0
  115. /package/clients/{tenantService/models/TenantTeamDtoIReadOnlyCollectionEnvelope.js → storageService/core/ApiResult.js} +0 -0
  116. /package/clients/{tenantService/models/TenantTeamEmployeeEnrollmentDtoIReadOnlyCollectionEnvelope.js → storageService/models/BlobEnvelope.js} +0 -0
  117. /package/clients/{tenantService/models/TenantTeamProjectEnrollmentDtoIReadOnlyCollectionEnvelope.js → storageService/models/EmptyEnvelope.js} +0 -0
  118. /package/clients/{tenantService/models/TenantTeamRecordDtoIReadOnlyCollectionEnvelope.js → storageService/models/ErrorEnvelope.js} +0 -0
  119. /package/clients/{tenantService/models/TenantTypeDtoIReadOnlyCollectionEnvelope.js → storageService/models/FileUploadCreateDto.js} +0 -0
@@ -0,0 +1,1087 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+
6
+
7
+ export interface paths {
8
+ "/api/v2/StorageService/Avatars/{socialProfileId}": {
9
+ /** Get the avatar for a given social profile. */
10
+ get: operations["GetAvatar"];
11
+ };
12
+ "/api/v2/StorageService/Avatars/User": {
13
+ /** Get the avatar for the current user. */
14
+ get: operations["GetCurrentUserAvatar"];
15
+ /** Update the avatar for the current user. */
16
+ post: operations["UpdateUserAvatar"];
17
+ };
18
+ "/api/v2/StorageService/Avatars/User/{userId}": {
19
+ /** Get the avatar for a given user. */
20
+ get: operations["GetUserAvatar"];
21
+ };
22
+ "/api/v2/StorageService/Avatars/Tenant/{tenantId}": {
23
+ /** Get the avatar for a given tenant. */
24
+ get: operations["GetTenantAvatar"];
25
+ /** Update the avatar for a given tenant. */
26
+ post: operations["UpdateTenantAvatar"];
27
+ };
28
+ "/api/v2/StorageService/Avatars/Contact/{contactId}": {
29
+ /** Get the avatar for a given contact. */
30
+ get: operations["GetContactAvatar"];
31
+ };
32
+ "/api/v2/StorageService/Avatars/Contacts/{contactId}": {
33
+ /** Update the avatar for a given contact. */
34
+ post: operations["UpdateContactAvatar"];
35
+ };
36
+ "/api/v2/StorageService/Blobs": {
37
+ get: operations["GetBlobsAsync"];
38
+ };
39
+ "/api/v2/StorageService/Blobs/Single": {
40
+ get: operations["GetBlobAsync"];
41
+ };
42
+ "/api/v2/StorageService/Files": {
43
+ get: operations["GetFilesAsync"];
44
+ post: operations["CreateFileAsync"];
45
+ };
46
+ "/api/v2/StorageService/Files/{fileId}": {
47
+ get: operations["GetFileAsync"];
48
+ put: operations["UpdateFileAsync"];
49
+ delete: operations["DeleteFileAsync"];
50
+ };
51
+ "/api/v2/StorageService/Files/{fileId}/Raw": {
52
+ get: operations["DownloadFileAsync"];
53
+ };
54
+ "/api/v2/StorageService/RadzenEditor/Uploads/Single": {
55
+ post: {
56
+ parameters: {
57
+ query?: {
58
+ tenantId?: string;
59
+ "api-version"?: string;
60
+ };
61
+ header?: {
62
+ "x-api-version"?: string;
63
+ };
64
+ };
65
+ requestBody?: {
66
+ content: {
67
+ "multipart/form-data": {
68
+ /** Format: binary */
69
+ file?: string;
70
+ };
71
+ };
72
+ };
73
+ responses: {
74
+ /** @description OK */
75
+ 200: {
76
+ content: never;
77
+ };
78
+ };
79
+ };
80
+ };
81
+ "/api/v2/StorageService/RadzenEditor/Uploads/Image": {
82
+ post: {
83
+ parameters: {
84
+ query?: {
85
+ tenantId?: string;
86
+ "api-version"?: string;
87
+ };
88
+ header?: {
89
+ "x-api-version"?: string;
90
+ };
91
+ };
92
+ requestBody?: {
93
+ content: {
94
+ "multipart/form-data": {
95
+ /** Format: binary */
96
+ file?: string;
97
+ };
98
+ };
99
+ };
100
+ responses: {
101
+ /** @description OK */
102
+ 200: {
103
+ content: never;
104
+ };
105
+ };
106
+ };
107
+ };
108
+ "/api/v2/StorageService/RadzenEditor/Uploads/Multiple": {
109
+ post: {
110
+ parameters: {
111
+ query?: {
112
+ tenantId?: string;
113
+ "api-version"?: string;
114
+ };
115
+ header?: {
116
+ "x-api-version"?: string;
117
+ };
118
+ };
119
+ requestBody?: {
120
+ content: {
121
+ "multipart/form-data": {
122
+ files?: string[];
123
+ };
124
+ };
125
+ };
126
+ responses: {
127
+ /** @description OK */
128
+ 200: {
129
+ content: never;
130
+ };
131
+ };
132
+ };
133
+ };
134
+ "/api/v2/StorageService/RadzenEditor/Uploads/{id}": {
135
+ post: {
136
+ parameters: {
137
+ query?: {
138
+ tenantId?: string;
139
+ "api-version"?: string;
140
+ };
141
+ header?: {
142
+ "x-api-version"?: string;
143
+ };
144
+ path: {
145
+ id: number;
146
+ };
147
+ };
148
+ requestBody?: {
149
+ content: {
150
+ "multipart/form-data": {
151
+ files?: string[];
152
+ };
153
+ };
154
+ };
155
+ responses: {
156
+ /** @description OK */
157
+ 200: {
158
+ content: never;
159
+ };
160
+ };
161
+ };
162
+ };
163
+ "/api/v2/StorageService/RadzenEditor/Uploads/Specific": {
164
+ post: {
165
+ parameters: {
166
+ query?: {
167
+ tenantId?: string;
168
+ "api-version"?: string;
169
+ };
170
+ header?: {
171
+ "x-api-version"?: string;
172
+ };
173
+ };
174
+ requestBody?: {
175
+ content: {
176
+ "multipart/form-data": {
177
+ /** Format: binary */
178
+ file?: string;
179
+ };
180
+ };
181
+ };
182
+ responses: {
183
+ /** @description OK */
184
+ 200: {
185
+ content: never;
186
+ };
187
+ };
188
+ };
189
+ };
190
+ "/api/v2/StorageService/Uploads": {
191
+ post: {
192
+ parameters: {
193
+ query?: {
194
+ tenantId?: string;
195
+ "api-version"?: string;
196
+ };
197
+ header?: {
198
+ "x-api-version"?: string;
199
+ };
200
+ };
201
+ requestBody?: {
202
+ content: {
203
+ "multipart/form-data": {
204
+ notes?: string;
205
+ title?: string;
206
+ author?: string;
207
+ isFolder?: boolean;
208
+ fileName?: string;
209
+ abstract?: string;
210
+ keyWords?: string;
211
+ validResponse?: boolean;
212
+ parentFileUploadId?: string;
213
+ filePath?: string;
214
+ /** Format: binary */
215
+ file?: string;
216
+ /** Format: uuid */
217
+ iD?: string;
218
+ /** Format: date-time */
219
+ timestamp?: string;
220
+ };
221
+ };
222
+ };
223
+ responses: {
224
+ /** @description OK */
225
+ 200: {
226
+ content: {
227
+ "application/json": components["schemas"]["EmptyEnvelope"];
228
+ "application/xml": components["schemas"]["EmptyEnvelope"];
229
+ };
230
+ };
231
+ /** @description Unauthorized */
232
+ 401: {
233
+ content: {
234
+ "application/json": components["schemas"]["ErrorEnvelope"];
235
+ "application/xml": components["schemas"]["ErrorEnvelope"];
236
+ };
237
+ };
238
+ /** @description Forbidden */
239
+ 403: {
240
+ content: {
241
+ "application/json": components["schemas"]["ErrorEnvelope"];
242
+ "application/xml": components["schemas"]["ErrorEnvelope"];
243
+ };
244
+ };
245
+ };
246
+ };
247
+ };
248
+ }
249
+
250
+ export type webhooks = Record<string, never>;
251
+
252
+ export interface components {
253
+ schemas: {
254
+ Blob: {
255
+ /**
256
+ * Format: int32
257
+ * @enum {integer}
258
+ */
259
+ kind?: 0 | 1;
260
+ isFolder?: boolean;
261
+ isFile?: boolean;
262
+ folderPath?: string | null;
263
+ name?: string | null;
264
+ /** Format: int64 */
265
+ size?: number | null;
266
+ md5?: string | null;
267
+ /** Format: date-time */
268
+ createdTime?: string | null;
269
+ /** Format: date-time */
270
+ lastModificationTime?: string | null;
271
+ fullPath?: string | null;
272
+ properties?: {
273
+ [key: string]: unknown;
274
+ } | null;
275
+ metadata?: ({
276
+ [key: string]: string | null;
277
+ }) | null;
278
+ isRootFolder?: boolean;
279
+ };
280
+ BlobEnvelope: {
281
+ isSuccess?: boolean;
282
+ errorMessage?: string | null;
283
+ correlationId?: string | null;
284
+ /** Format: date-time */
285
+ timestamp?: string;
286
+ activityId?: string | null;
287
+ result?: components["schemas"]["Blob"];
288
+ };
289
+ EmptyEnvelope: {
290
+ isSuccess?: boolean;
291
+ errorMessage?: string | null;
292
+ correlationId?: string | null;
293
+ /** Format: date-time */
294
+ timestamp?: string;
295
+ activityId?: string | null;
296
+ };
297
+ ErrorEnvelope: {
298
+ isSuccess?: boolean;
299
+ errorMessage?: string | null;
300
+ correlationId?: string | null;
301
+ /** Format: date-time */
302
+ timestamp?: string;
303
+ activityId?: string | null;
304
+ };
305
+ FileUploadCreateDto: {
306
+ /** Format: uuid */
307
+ id?: string;
308
+ /** Format: date-time */
309
+ timestamp?: string;
310
+ notes?: string | null;
311
+ title?: string | null;
312
+ author?: string | null;
313
+ isFolder?: boolean;
314
+ fileName?: string | null;
315
+ abstract?: string | null;
316
+ keyWords?: string | null;
317
+ validResponse?: boolean;
318
+ parentFileUploadId?: string | null;
319
+ filePath?: string | null;
320
+ /** Format: binary */
321
+ file?: string | null;
322
+ };
323
+ FileUploadDto: {
324
+ id?: string | null;
325
+ /** Format: date-time */
326
+ timestamp?: string | null;
327
+ notes?: string | null;
328
+ title?: string | null;
329
+ author?: string | null;
330
+ isFolder?: boolean;
331
+ hash?: string | null;
332
+ fileUrl?: string | null;
333
+ filePath?: string | null;
334
+ fileName?: string | null;
335
+ abstract?: string | null;
336
+ keyWords?: string | null;
337
+ metadata?: string | null;
338
+ /** Format: int64 */
339
+ fileLength?: number;
340
+ contentType?: string | null;
341
+ parentFileId?: string | null;
342
+ validResponse?: boolean;
343
+ userId?: string | null;
344
+ tenantId?: string | null;
345
+ enrollmentId?: string | null;
346
+ socialProfileId?: string | null;
347
+ folderPath?: string | null;
348
+ };
349
+ FileUploadDtoEnvelope: {
350
+ isSuccess?: boolean;
351
+ errorMessage?: string | null;
352
+ correlationId?: string | null;
353
+ /** Format: date-time */
354
+ timestamp?: string;
355
+ activityId?: string | null;
356
+ result?: components["schemas"]["FileUploadDto"];
357
+ };
358
+ FileUploadUpdateDto: {
359
+ notes?: string | null;
360
+ metadata?: string | null;
361
+ title?: string | null;
362
+ author?: string | null;
363
+ isFolder?: boolean;
364
+ fileName?: string | null;
365
+ abstract?: string | null;
366
+ keyWords?: string | null;
367
+ validResponse?: boolean;
368
+ parentFileUploadID?: string | null;
369
+ filePath?: string | null;
370
+ /** Format: binary */
371
+ file?: string | null;
372
+ };
373
+ };
374
+ responses: never;
375
+ parameters: never;
376
+ requestBodies: never;
377
+ headers: never;
378
+ pathItems: never;
379
+ }
380
+
381
+ export type $defs = Record<string, never>;
382
+
383
+ export type external = Record<string, never>;
384
+
385
+ export interface operations {
386
+
387
+ /** Get the avatar for a given social profile. */
388
+ GetAvatar: {
389
+ parameters: {
390
+ query?: {
391
+ "api-version"?: string;
392
+ };
393
+ header?: {
394
+ "x-api-version"?: string;
395
+ };
396
+ path: {
397
+ socialProfileId: string;
398
+ };
399
+ };
400
+ responses: {
401
+ /** @description OK */
402
+ 200: {
403
+ content: {
404
+ "application/json": components["schemas"]["EmptyEnvelope"];
405
+ "image/png": components["schemas"]["EmptyEnvelope"];
406
+ };
407
+ };
408
+ /** @description Unauthorized */
409
+ 401: {
410
+ content: {
411
+ "application/json": components["schemas"]["ErrorEnvelope"];
412
+ "image/png": components["schemas"]["ErrorEnvelope"];
413
+ };
414
+ };
415
+ /** @description Forbidden */
416
+ 403: {
417
+ content: {
418
+ "application/json": components["schemas"]["ErrorEnvelope"];
419
+ "image/png": components["schemas"]["ErrorEnvelope"];
420
+ };
421
+ };
422
+ };
423
+ };
424
+ /** Get the avatar for the current user. */
425
+ GetCurrentUserAvatar: {
426
+ parameters: {
427
+ query?: {
428
+ "api-version"?: string;
429
+ };
430
+ header?: {
431
+ "x-api-version"?: string;
432
+ };
433
+ };
434
+ responses: {
435
+ /** @description OK */
436
+ 200: {
437
+ content: {
438
+ "application/json": components["schemas"]["EmptyEnvelope"];
439
+ "image/png": components["schemas"]["EmptyEnvelope"];
440
+ };
441
+ };
442
+ /** @description Unauthorized */
443
+ 401: {
444
+ content: {
445
+ "application/json": components["schemas"]["ErrorEnvelope"];
446
+ "image/png": components["schemas"]["ErrorEnvelope"];
447
+ };
448
+ };
449
+ /** @description Forbidden */
450
+ 403: {
451
+ content: {
452
+ "application/json": components["schemas"]["ErrorEnvelope"];
453
+ "image/png": components["schemas"]["ErrorEnvelope"];
454
+ };
455
+ };
456
+ };
457
+ };
458
+ /** Update the avatar for the current user. */
459
+ UpdateUserAvatar: {
460
+ parameters: {
461
+ query?: {
462
+ "api-version"?: string;
463
+ };
464
+ header?: {
465
+ "x-api-version"?: string;
466
+ };
467
+ };
468
+ requestBody?: {
469
+ content: {
470
+ "multipart/form-data": {
471
+ /** Format: binary */
472
+ avatar?: string;
473
+ };
474
+ };
475
+ };
476
+ responses: {
477
+ /** @description OK */
478
+ 200: {
479
+ content: {
480
+ "application/json": components["schemas"]["EmptyEnvelope"];
481
+ "image/png": components["schemas"]["EmptyEnvelope"];
482
+ };
483
+ };
484
+ /** @description Bad Request */
485
+ 400: {
486
+ content: {
487
+ "application/json": components["schemas"]["ErrorEnvelope"];
488
+ "image/png": components["schemas"]["ErrorEnvelope"];
489
+ };
490
+ };
491
+ /** @description Unauthorized */
492
+ 401: {
493
+ content: {
494
+ "application/json": components["schemas"]["ErrorEnvelope"];
495
+ "image/png": components["schemas"]["ErrorEnvelope"];
496
+ };
497
+ };
498
+ /** @description Forbidden */
499
+ 403: {
500
+ content: {
501
+ "application/json": components["schemas"]["ErrorEnvelope"];
502
+ "image/png": components["schemas"]["ErrorEnvelope"];
503
+ };
504
+ };
505
+ };
506
+ };
507
+ /** Get the avatar for a given user. */
508
+ GetUserAvatar: {
509
+ parameters: {
510
+ query?: {
511
+ "api-version"?: string;
512
+ };
513
+ header?: {
514
+ "x-api-version"?: string;
515
+ };
516
+ path: {
517
+ userId: string;
518
+ };
519
+ };
520
+ responses: {
521
+ /** @description OK */
522
+ 200: {
523
+ content: {
524
+ "application/json": components["schemas"]["EmptyEnvelope"];
525
+ "image/png": components["schemas"]["EmptyEnvelope"];
526
+ };
527
+ };
528
+ /** @description Unauthorized */
529
+ 401: {
530
+ content: {
531
+ "application/json": components["schemas"]["ErrorEnvelope"];
532
+ "image/png": components["schemas"]["ErrorEnvelope"];
533
+ };
534
+ };
535
+ /** @description Forbidden */
536
+ 403: {
537
+ content: {
538
+ "application/json": components["schemas"]["ErrorEnvelope"];
539
+ "image/png": components["schemas"]["ErrorEnvelope"];
540
+ };
541
+ };
542
+ };
543
+ };
544
+ /** Get the avatar for a given tenant. */
545
+ GetTenantAvatar: {
546
+ parameters: {
547
+ query?: {
548
+ "api-version"?: string;
549
+ };
550
+ header?: {
551
+ "x-api-version"?: string;
552
+ };
553
+ path: {
554
+ tenantId: string;
555
+ };
556
+ };
557
+ responses: {
558
+ /** @description OK */
559
+ 200: {
560
+ content: {
561
+ "application/json": components["schemas"]["EmptyEnvelope"];
562
+ "image/png": components["schemas"]["EmptyEnvelope"];
563
+ };
564
+ };
565
+ /** @description Unauthorized */
566
+ 401: {
567
+ content: {
568
+ "application/json": components["schemas"]["ErrorEnvelope"];
569
+ "image/png": components["schemas"]["ErrorEnvelope"];
570
+ };
571
+ };
572
+ /** @description Forbidden */
573
+ 403: {
574
+ content: {
575
+ "application/json": components["schemas"]["ErrorEnvelope"];
576
+ "image/png": components["schemas"]["ErrorEnvelope"];
577
+ };
578
+ };
579
+ };
580
+ };
581
+ /** Update the avatar for a given tenant. */
582
+ UpdateTenantAvatar: {
583
+ parameters: {
584
+ query?: {
585
+ "api-version"?: string;
586
+ };
587
+ header?: {
588
+ "x-api-version"?: string;
589
+ };
590
+ path: {
591
+ tenantId: string;
592
+ };
593
+ };
594
+ requestBody?: {
595
+ content: {
596
+ "multipart/form-data": {
597
+ /** Format: binary */
598
+ avatar?: string;
599
+ };
600
+ };
601
+ };
602
+ responses: {
603
+ /** @description OK */
604
+ 200: {
605
+ content: {
606
+ "application/json": components["schemas"]["EmptyEnvelope"];
607
+ "image/png": components["schemas"]["EmptyEnvelope"];
608
+ };
609
+ };
610
+ /** @description Bad Request */
611
+ 400: {
612
+ content: {
613
+ "application/json": components["schemas"]["ErrorEnvelope"];
614
+ "image/png": components["schemas"]["ErrorEnvelope"];
615
+ };
616
+ };
617
+ /** @description Unauthorized */
618
+ 401: {
619
+ content: {
620
+ "application/json": components["schemas"]["ErrorEnvelope"];
621
+ "image/png": components["schemas"]["ErrorEnvelope"];
622
+ };
623
+ };
624
+ /** @description Forbidden */
625
+ 403: {
626
+ content: {
627
+ "application/json": components["schemas"]["ErrorEnvelope"];
628
+ "image/png": components["schemas"]["ErrorEnvelope"];
629
+ };
630
+ };
631
+ };
632
+ };
633
+ /** Get the avatar for a given contact. */
634
+ GetContactAvatar: {
635
+ parameters: {
636
+ query?: {
637
+ "api-version"?: string;
638
+ };
639
+ header?: {
640
+ "x-api-version"?: string;
641
+ };
642
+ path: {
643
+ contactId: string;
644
+ };
645
+ };
646
+ responses: {
647
+ /** @description OK */
648
+ 200: {
649
+ content: {
650
+ "application/json": components["schemas"]["EmptyEnvelope"];
651
+ "image/png": components["schemas"]["EmptyEnvelope"];
652
+ };
653
+ };
654
+ /** @description Unauthorized */
655
+ 401: {
656
+ content: {
657
+ "application/json": components["schemas"]["ErrorEnvelope"];
658
+ "image/png": components["schemas"]["ErrorEnvelope"];
659
+ };
660
+ };
661
+ /** @description Forbidden */
662
+ 403: {
663
+ content: {
664
+ "application/json": components["schemas"]["ErrorEnvelope"];
665
+ "image/png": components["schemas"]["ErrorEnvelope"];
666
+ };
667
+ };
668
+ };
669
+ };
670
+ /** Update the avatar for a given contact. */
671
+ UpdateContactAvatar: {
672
+ parameters: {
673
+ query?: {
674
+ tenantId?: string;
675
+ "api-version"?: string;
676
+ };
677
+ header?: {
678
+ "x-api-version"?: string;
679
+ };
680
+ path: {
681
+ contactId: string;
682
+ };
683
+ };
684
+ requestBody?: {
685
+ content: {
686
+ "multipart/form-data": {
687
+ /** Format: binary */
688
+ avatar?: string;
689
+ };
690
+ };
691
+ };
692
+ responses: {
693
+ /** @description OK */
694
+ 200: {
695
+ content: {
696
+ "application/json": components["schemas"]["EmptyEnvelope"];
697
+ "image/png": components["schemas"]["EmptyEnvelope"];
698
+ };
699
+ };
700
+ /** @description Bad Request */
701
+ 400: {
702
+ content: {
703
+ "application/json": components["schemas"]["ErrorEnvelope"];
704
+ "image/png": components["schemas"]["ErrorEnvelope"];
705
+ };
706
+ };
707
+ /** @description Unauthorized */
708
+ 401: {
709
+ content: {
710
+ "application/json": components["schemas"]["ErrorEnvelope"];
711
+ "image/png": components["schemas"]["ErrorEnvelope"];
712
+ };
713
+ };
714
+ /** @description Forbidden */
715
+ 403: {
716
+ content: {
717
+ "application/json": components["schemas"]["ErrorEnvelope"];
718
+ "image/png": components["schemas"]["ErrorEnvelope"];
719
+ };
720
+ };
721
+ };
722
+ };
723
+ GetBlobsAsync: {
724
+ parameters: {
725
+ query?: {
726
+ tenantId?: string;
727
+ folderPath?: string;
728
+ browseFilter?: string;
729
+ filePrefix?: string;
730
+ recurse?: boolean;
731
+ maxResults?: number;
732
+ includeAttributes?: boolean;
733
+ "api-version"?: string;
734
+ };
735
+ header?: {
736
+ "x-api-version"?: string;
737
+ };
738
+ };
739
+ responses: {
740
+ /** @description OK */
741
+ 200: {
742
+ content: {
743
+ "application/json": components["schemas"]["BlobEnvelope"];
744
+ "image/png": components["schemas"]["BlobEnvelope"];
745
+ };
746
+ };
747
+ /** @description Unauthorized */
748
+ 401: {
749
+ content: {
750
+ "application/json": components["schemas"]["ErrorEnvelope"];
751
+ "image/png": components["schemas"]["ErrorEnvelope"];
752
+ };
753
+ };
754
+ /** @description Forbidden */
755
+ 403: {
756
+ content: {
757
+ "application/json": components["schemas"]["ErrorEnvelope"];
758
+ "image/png": components["schemas"]["ErrorEnvelope"];
759
+ };
760
+ };
761
+ };
762
+ };
763
+ GetBlobAsync: {
764
+ parameters: {
765
+ query?: {
766
+ tenantId?: string;
767
+ filePath?: string;
768
+ "api-version"?: string;
769
+ };
770
+ header?: {
771
+ "x-api-version"?: string;
772
+ };
773
+ };
774
+ responses: {
775
+ /** @description OK */
776
+ 200: {
777
+ content: {
778
+ "application/json": components["schemas"]["BlobEnvelope"];
779
+ "image/png": components["schemas"]["BlobEnvelope"];
780
+ };
781
+ };
782
+ /** @description Unauthorized */
783
+ 401: {
784
+ content: {
785
+ "application/json": components["schemas"]["ErrorEnvelope"];
786
+ "image/png": components["schemas"]["ErrorEnvelope"];
787
+ };
788
+ };
789
+ /** @description Forbidden */
790
+ 403: {
791
+ content: {
792
+ "application/json": components["schemas"]["ErrorEnvelope"];
793
+ "image/png": components["schemas"]["ErrorEnvelope"];
794
+ };
795
+ };
796
+ };
797
+ };
798
+ GetFilesAsync: {
799
+ parameters: {
800
+ query?: {
801
+ tenantId?: string;
802
+ "api-version"?: string;
803
+ };
804
+ header?: {
805
+ "x-api-version"?: string;
806
+ };
807
+ };
808
+ responses: {
809
+ /** @description OK */
810
+ 200: {
811
+ content: {
812
+ "application/json": components["schemas"]["FileUploadDtoEnvelope"];
813
+ "image/png": components["schemas"]["FileUploadDtoEnvelope"];
814
+ };
815
+ };
816
+ /** @description Unauthorized */
817
+ 401: {
818
+ content: {
819
+ "application/json": components["schemas"]["ErrorEnvelope"];
820
+ "image/png": components["schemas"]["ErrorEnvelope"];
821
+ };
822
+ };
823
+ /** @description Forbidden */
824
+ 403: {
825
+ content: {
826
+ "application/json": components["schemas"]["ErrorEnvelope"];
827
+ "image/png": components["schemas"]["ErrorEnvelope"];
828
+ };
829
+ };
830
+ };
831
+ };
832
+ CreateFileAsync: {
833
+ parameters: {
834
+ query?: {
835
+ tenantId?: string;
836
+ "api-version"?: string;
837
+ };
838
+ header?: {
839
+ "x-api-version"?: string;
840
+ };
841
+ };
842
+ requestBody?: {
843
+ content: {
844
+ "multipart/form-data": components["schemas"]["FileUploadCreateDto"];
845
+ };
846
+ };
847
+ responses: {
848
+ /** @description Created */
849
+ 201: {
850
+ content: {
851
+ "application/json": components["schemas"]["EmptyEnvelope"];
852
+ "image/png": components["schemas"]["EmptyEnvelope"];
853
+ };
854
+ };
855
+ /** @description Bad Request */
856
+ 400: {
857
+ content: {
858
+ "application/json": components["schemas"]["ErrorEnvelope"];
859
+ "image/png": components["schemas"]["ErrorEnvelope"];
860
+ };
861
+ };
862
+ /** @description Unauthorized */
863
+ 401: {
864
+ content: {
865
+ "application/json": components["schemas"]["ErrorEnvelope"];
866
+ "image/png": components["schemas"]["ErrorEnvelope"];
867
+ };
868
+ };
869
+ /** @description Forbidden */
870
+ 403: {
871
+ content: {
872
+ "application/json": components["schemas"]["ErrorEnvelope"];
873
+ "image/png": components["schemas"]["ErrorEnvelope"];
874
+ };
875
+ };
876
+ /** @description Conflict */
877
+ 409: {
878
+ content: {
879
+ "application/json": components["schemas"]["ErrorEnvelope"];
880
+ "image/png": components["schemas"]["ErrorEnvelope"];
881
+ };
882
+ };
883
+ /** @description Unprocessable Content */
884
+ 422: {
885
+ content: {
886
+ "application/json": components["schemas"]["ErrorEnvelope"];
887
+ "image/png": components["schemas"]["ErrorEnvelope"];
888
+ };
889
+ };
890
+ };
891
+ };
892
+ GetFileAsync: {
893
+ parameters: {
894
+ query?: {
895
+ tenantId?: string;
896
+ "api-version"?: string;
897
+ };
898
+ header?: {
899
+ "x-api-version"?: string;
900
+ };
901
+ path: {
902
+ fileId: string;
903
+ };
904
+ };
905
+ responses: {
906
+ /** @description OK */
907
+ 200: {
908
+ content: {
909
+ "application/json": components["schemas"]["FileUploadDtoEnvelope"];
910
+ "image/png": components["schemas"]["FileUploadDtoEnvelope"];
911
+ };
912
+ };
913
+ /** @description Unauthorized */
914
+ 401: {
915
+ content: {
916
+ "application/json": components["schemas"]["ErrorEnvelope"];
917
+ "image/png": components["schemas"]["ErrorEnvelope"];
918
+ };
919
+ };
920
+ /** @description Forbidden */
921
+ 403: {
922
+ content: {
923
+ "application/json": components["schemas"]["ErrorEnvelope"];
924
+ "image/png": components["schemas"]["ErrorEnvelope"];
925
+ };
926
+ };
927
+ };
928
+ };
929
+ UpdateFileAsync: {
930
+ parameters: {
931
+ query?: {
932
+ tenantId?: string;
933
+ "api-version"?: string;
934
+ };
935
+ header?: {
936
+ "x-api-version"?: string;
937
+ };
938
+ path: {
939
+ fileId: string;
940
+ };
941
+ };
942
+ requestBody?: {
943
+ content: {
944
+ "multipart/form-data": components["schemas"]["FileUploadUpdateDto"];
945
+ };
946
+ };
947
+ responses: {
948
+ /** @description OK */
949
+ 200: {
950
+ content: {
951
+ "application/json": components["schemas"]["FileUploadDtoEnvelope"];
952
+ "image/png": components["schemas"]["FileUploadDtoEnvelope"];
953
+ };
954
+ };
955
+ /** @description Bad Request */
956
+ 400: {
957
+ content: {
958
+ "application/json": components["schemas"]["ErrorEnvelope"];
959
+ "image/png": components["schemas"]["ErrorEnvelope"];
960
+ };
961
+ };
962
+ /** @description Unauthorized */
963
+ 401: {
964
+ content: {
965
+ "application/json": components["schemas"]["ErrorEnvelope"];
966
+ "image/png": components["schemas"]["ErrorEnvelope"];
967
+ };
968
+ };
969
+ /** @description Forbidden */
970
+ 403: {
971
+ content: {
972
+ "application/json": components["schemas"]["ErrorEnvelope"];
973
+ "image/png": components["schemas"]["ErrorEnvelope"];
974
+ };
975
+ };
976
+ /** @description Conflict */
977
+ 409: {
978
+ content: {
979
+ "application/json": components["schemas"]["ErrorEnvelope"];
980
+ "image/png": components["schemas"]["ErrorEnvelope"];
981
+ };
982
+ };
983
+ /** @description Unprocessable Content */
984
+ 422: {
985
+ content: {
986
+ "application/json": components["schemas"]["ErrorEnvelope"];
987
+ "image/png": components["schemas"]["ErrorEnvelope"];
988
+ };
989
+ };
990
+ };
991
+ };
992
+ DeleteFileAsync: {
993
+ parameters: {
994
+ query?: {
995
+ tenantId?: string;
996
+ "api-version"?: string;
997
+ };
998
+ header?: {
999
+ "x-api-version"?: string;
1000
+ };
1001
+ path: {
1002
+ fileId: string;
1003
+ };
1004
+ };
1005
+ responses: {
1006
+ /** @description OK */
1007
+ 200: {
1008
+ content: {
1009
+ "application/json": components["schemas"]["FileUploadDtoEnvelope"];
1010
+ "image/png": components["schemas"]["FileUploadDtoEnvelope"];
1011
+ };
1012
+ };
1013
+ /** @description Bad Request */
1014
+ 400: {
1015
+ content: {
1016
+ "application/json": components["schemas"]["ErrorEnvelope"];
1017
+ "image/png": components["schemas"]["ErrorEnvelope"];
1018
+ };
1019
+ };
1020
+ /** @description Unauthorized */
1021
+ 401: {
1022
+ content: {
1023
+ "application/json": components["schemas"]["ErrorEnvelope"];
1024
+ "image/png": components["schemas"]["ErrorEnvelope"];
1025
+ };
1026
+ };
1027
+ /** @description Forbidden */
1028
+ 403: {
1029
+ content: {
1030
+ "application/json": components["schemas"]["ErrorEnvelope"];
1031
+ "image/png": components["schemas"]["ErrorEnvelope"];
1032
+ };
1033
+ };
1034
+ /** @description Conflict */
1035
+ 409: {
1036
+ content: {
1037
+ "application/json": components["schemas"]["ErrorEnvelope"];
1038
+ "image/png": components["schemas"]["ErrorEnvelope"];
1039
+ };
1040
+ };
1041
+ /** @description Unprocessable Content */
1042
+ 422: {
1043
+ content: {
1044
+ "application/json": components["schemas"]["ErrorEnvelope"];
1045
+ "image/png": components["schemas"]["ErrorEnvelope"];
1046
+ };
1047
+ };
1048
+ };
1049
+ };
1050
+ DownloadFileAsync: {
1051
+ parameters: {
1052
+ query?: {
1053
+ tenantId?: string;
1054
+ "api-version"?: string;
1055
+ };
1056
+ header?: {
1057
+ "x-api-version"?: string;
1058
+ };
1059
+ path: {
1060
+ fileId: string;
1061
+ };
1062
+ };
1063
+ responses: {
1064
+ /** @description OK */
1065
+ 200: {
1066
+ content: {
1067
+ "application/json": string;
1068
+ "image/png": string;
1069
+ };
1070
+ };
1071
+ /** @description Unauthorized */
1072
+ 401: {
1073
+ content: {
1074
+ "application/json": components["schemas"]["ErrorEnvelope"];
1075
+ "image/png": components["schemas"]["ErrorEnvelope"];
1076
+ };
1077
+ };
1078
+ /** @description Forbidden */
1079
+ 403: {
1080
+ content: {
1081
+ "application/json": components["schemas"]["ErrorEnvelope"];
1082
+ "image/png": components["schemas"]["ErrorEnvelope"];
1083
+ };
1084
+ };
1085
+ };
1086
+ };
1087
+ }