@fenixalliance/abs-api-client 1.0.9 → 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 (75) hide show
  1. package/app/index.js +2 -2
  2. package/app/index.ts +1 -1
  3. package/clients/contentService/services/PortalsService.js +22 -11
  4. package/clients/contentService/services/PortalsService.ts +22 -11
  5. package/clients/crmService/services/ContactsService.js +86 -28
  6. package/clients/crmService/services/ContactsService.ts +86 -28
  7. package/clients/holderService/index.js +7 -3
  8. package/clients/holderService/index.ts +3 -2
  9. package/clients/holderService/services/{HolderService.js → IdentityService.js} +58 -176
  10. package/clients/holderService/services/{HolderService.ts → IdentityService.ts} +58 -200
  11. package/clients/holderService/services/TenantsService.js +151 -0
  12. package/clients/holderService/services/TenantsService.ts +176 -0
  13. package/clients/holderService/services/UserService.js +364 -0
  14. package/clients/holderService/services/UserService.ts +421 -0
  15. package/clients/storageService/services/AvatarsService.js +19 -8
  16. package/clients/storageService/services/AvatarsService.ts +19 -8
  17. package/clients/systemService/services/ModulesService.js +4 -2
  18. package/clients/systemService/services/ModulesService.ts +4 -2
  19. package/clients/systemService/services/TenantsService.js +24 -8
  20. package/clients/systemService/services/TenantsService.ts +24 -8
  21. package/clients/tenantService/index.js +1 -29
  22. package/clients/tenantService/index.ts +7 -20
  23. package/clients/{holderService/models/EmptyEnvelopeEnvelope.ts → tenantService/models/TenantIndustryDtoListEnvelope.ts} +3 -3
  24. package/clients/tenantService/models/{TenantTeamContactEnrollmentDtoIReadOnlyCollectionEnvelope.ts → TenantTeamContactEnrollmentDtoListEnvelope.ts} +1 -1
  25. package/clients/tenantService/models/{TenantTeamDtoIReadOnlyCollectionEnvelope.ts → TenantTeamDtoListEnvelope.ts} +1 -1
  26. package/clients/tenantService/models/{TenantTeamEmployeeEnrollmentDtoIReadOnlyCollectionEnvelope.ts → TenantTeamEmployeeEnrollmentDtoListEnvelope.ts} +1 -1
  27. package/clients/tenantService/models/{TenantTeamProjectEnrollmentDtoIReadOnlyCollectionEnvelope.ts → TenantTeamProjectEnrollmentDtoListEnvelope.ts} +1 -1
  28. package/clients/tenantService/models/{TenantTeamRecordDtoIReadOnlyCollectionEnvelope.ts → TenantTeamRecordDtoListEnvelope.ts} +1 -1
  29. package/clients/tenantService/models/{TenantTypeDtoIReadOnlyCollectionEnvelope.ts → TenantTypeDtoListEnvelope.ts} +1 -1
  30. package/clients/tenantService/services/SizesService.js +15 -5
  31. package/clients/tenantService/services/SizesService.ts +15 -5
  32. package/clients/tenantService/services/TenantsService.js +2554 -233
  33. package/clients/tenantService/services/TenantsService.ts +3004 -307
  34. package/package.json +1 -1
  35. package/schemas/contentService/schema.s.ts +850 -817
  36. package/schemas/crmService/schema.s.ts +1776 -1516
  37. package/schemas/holderService/schema.s.ts +256 -115
  38. package/schemas/storageService/schema.s.ts +439 -394
  39. package/schemas/systemService/schema.s.ts +465 -387
  40. package/schemas/tenantService/schema.s.ts +5713 -4820
  41. package/clients/tenantService/services/DepartmentsService.js +0 -161
  42. package/clients/tenantService/services/DepartmentsService.ts +0 -192
  43. package/clients/tenantService/services/EmployeeEnrollmentsService.js +0 -153
  44. package/clients/tenantService/services/EmployeeEnrollmentsService.ts +0 -181
  45. package/clients/tenantService/services/EnrollmentsService.js +0 -163
  46. package/clients/tenantService/services/EnrollmentsService.ts +0 -195
  47. package/clients/tenantService/services/IndustriesService.js +0 -161
  48. package/clients/tenantService/services/IndustriesService.ts +0 -190
  49. package/clients/tenantService/services/InvitationsService.js +0 -128
  50. package/clients/tenantService/services/InvitationsService.ts +0 -150
  51. package/clients/tenantService/services/PositionsService.js +0 -161
  52. package/clients/tenantService/services/PositionsService.ts +0 -192
  53. package/clients/tenantService/services/SegmentsService.js +0 -161
  54. package/clients/tenantService/services/SegmentsService.ts +0 -191
  55. package/clients/tenantService/services/TeamContactEnrollmentsService.js +0 -161
  56. package/clients/tenantService/services/TeamContactEnrollmentsService.ts +0 -191
  57. package/clients/tenantService/services/TeamProjectEnrollmentService.js +0 -153
  58. package/clients/tenantService/services/TeamProjectEnrollmentService.ts +0 -181
  59. package/clients/tenantService/services/TeamRecordsService.js +0 -161
  60. package/clients/tenantService/services/TeamRecordsService.ts +0 -192
  61. package/clients/tenantService/services/TeamsService.js +0 -161
  62. package/clients/tenantService/services/TeamsService.ts +0 -192
  63. package/clients/tenantService/services/TerritoriesService.js +0 -161
  64. package/clients/tenantService/services/TerritoriesService.ts +0 -192
  65. package/clients/tenantService/services/TypesService.js +0 -149
  66. package/clients/tenantService/services/TypesService.ts +0 -176
  67. package/clients/tenantService/services/UnitsService.js +0 -159
  68. package/clients/tenantService/services/UnitsService.ts +0 -190
  69. /package/clients/{holderService/models/EmptyEnvelopeEnvelope.js → tenantService/models/TenantIndustryDtoListEnvelope.js} +0 -0
  70. /package/clients/tenantService/models/{TenantTeamContactEnrollmentDtoIReadOnlyCollectionEnvelope.js → TenantTeamContactEnrollmentDtoListEnvelope.js} +0 -0
  71. /package/clients/tenantService/models/{TenantTeamDtoIReadOnlyCollectionEnvelope.js → TenantTeamDtoListEnvelope.js} +0 -0
  72. /package/clients/tenantService/models/{TenantTeamEmployeeEnrollmentDtoIReadOnlyCollectionEnvelope.js → TenantTeamEmployeeEnrollmentDtoListEnvelope.js} +0 -0
  73. /package/clients/tenantService/models/{TenantTeamProjectEnrollmentDtoIReadOnlyCollectionEnvelope.js → TenantTeamProjectEnrollmentDtoListEnvelope.js} +0 -0
  74. /package/clients/tenantService/models/{TenantTeamRecordDtoIReadOnlyCollectionEnvelope.js → TenantTeamRecordDtoListEnvelope.js} +0 -0
  75. /package/clients/tenantService/models/{TenantTypeDtoIReadOnlyCollectionEnvelope.js → TenantTypeDtoListEnvelope.js} +0 -0
@@ -6,80 +6,83 @@
6
6
 
7
7
  export interface paths {
8
8
  "/api/v2/StorageService/Avatars/{socialProfileId}": {
9
- get: {
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: {
10
56
  parameters: {
11
57
  query?: {
58
+ tenantId?: string;
12
59
  "api-version"?: string;
13
60
  };
14
61
  header?: {
15
62
  "x-api-version"?: string;
16
63
  };
17
- path: {
18
- socialProfileId: string;
19
- };
20
64
  };
21
- responses: {
22
- /** @description OK */
23
- 200: {
24
- content: {
25
- "application/json": components["schemas"]["EmptyEnvelope"];
26
- "image/png": components["schemas"]["EmptyEnvelope"];
27
- };
28
- };
29
- /** @description Unauthorized */
30
- 401: {
31
- content: {
32
- "application/json": components["schemas"]["ErrorEnvelope"];
33
- "image/png": components["schemas"]["ErrorEnvelope"];
34
- };
35
- };
36
- /** @description Forbidden */
37
- 403: {
38
- content: {
39
- "application/json": components["schemas"]["ErrorEnvelope"];
40
- "image/png": components["schemas"]["ErrorEnvelope"];
65
+ requestBody?: {
66
+ content: {
67
+ "multipart/form-data": {
68
+ /** Format: binary */
69
+ file?: string;
41
70
  };
42
71
  };
43
72
  };
44
- };
45
- };
46
- "/api/v2/StorageService/Avatars/User": {
47
- get: {
48
- parameters: {
49
- query?: {
50
- "api-version"?: string;
51
- };
52
- header?: {
53
- "x-api-version"?: string;
54
- };
55
- };
56
73
  responses: {
57
74
  /** @description OK */
58
75
  200: {
59
- content: {
60
- "application/json": components["schemas"]["EmptyEnvelope"];
61
- "image/png": components["schemas"]["EmptyEnvelope"];
62
- };
63
- };
64
- /** @description Unauthorized */
65
- 401: {
66
- content: {
67
- "application/json": components["schemas"]["ErrorEnvelope"];
68
- "image/png": components["schemas"]["ErrorEnvelope"];
69
- };
70
- };
71
- /** @description Forbidden */
72
- 403: {
73
- content: {
74
- "application/json": components["schemas"]["ErrorEnvelope"];
75
- "image/png": components["schemas"]["ErrorEnvelope"];
76
- };
76
+ content: never;
77
77
  };
78
78
  };
79
79
  };
80
+ };
81
+ "/api/v2/StorageService/RadzenEditor/Uploads/Image": {
80
82
  post: {
81
83
  parameters: {
82
84
  query?: {
85
+ tenantId?: string;
83
86
  "api-version"?: string;
84
87
  };
85
88
  header?: {
@@ -90,194 +93,101 @@ export interface paths {
90
93
  content: {
91
94
  "multipart/form-data": {
92
95
  /** Format: binary */
93
- avatar?: string;
96
+ file?: string;
94
97
  };
95
98
  };
96
99
  };
97
100
  responses: {
98
101
  /** @description OK */
99
102
  200: {
100
- content: {
101
- "application/json": components["schemas"]["EmptyEnvelope"];
102
- "image/png": components["schemas"]["EmptyEnvelope"];
103
- };
104
- };
105
- /** @description Unauthorized */
106
- 401: {
107
- content: {
108
- "application/json": components["schemas"]["ErrorEnvelope"];
109
- "image/png": components["schemas"]["ErrorEnvelope"];
110
- };
111
- };
112
- /** @description Forbidden */
113
- 403: {
114
- content: {
115
- "application/json": components["schemas"]["ErrorEnvelope"];
116
- "image/png": components["schemas"]["ErrorEnvelope"];
117
- };
103
+ content: never;
118
104
  };
119
105
  };
120
106
  };
121
107
  };
122
- "/api/v2/StorageService/Avatars/User/{userId}": {
123
- get: {
108
+ "/api/v2/StorageService/RadzenEditor/Uploads/Multiple": {
109
+ post: {
124
110
  parameters: {
125
111
  query?: {
112
+ tenantId?: string;
126
113
  "api-version"?: string;
127
114
  };
128
115
  header?: {
129
116
  "x-api-version"?: string;
130
117
  };
131
- path: {
132
- userId: string;
133
- };
134
118
  };
135
- responses: {
136
- /** @description OK */
137
- 200: {
138
- content: {
139
- "application/json": components["schemas"]["EmptyEnvelope"];
140
- "image/png": components["schemas"]["EmptyEnvelope"];
141
- };
142
- };
143
- /** @description Unauthorized */
144
- 401: {
145
- content: {
146
- "application/json": components["schemas"]["ErrorEnvelope"];
147
- "image/png": components["schemas"]["ErrorEnvelope"];
148
- };
149
- };
150
- /** @description Forbidden */
151
- 403: {
152
- content: {
153
- "application/json": components["schemas"]["ErrorEnvelope"];
154
- "image/png": components["schemas"]["ErrorEnvelope"];
119
+ requestBody?: {
120
+ content: {
121
+ "multipart/form-data": {
122
+ files?: string[];
155
123
  };
156
124
  };
157
125
  };
158
- };
159
- };
160
- "/api/v2/StorageService/Avatars/Tenant/{tenantId}": {
161
- get: {
162
- parameters: {
163
- query?: {
164
- "api-version"?: string;
165
- };
166
- header?: {
167
- "x-api-version"?: string;
168
- };
169
- path: {
170
- tenantId: string;
171
- };
172
- };
173
126
  responses: {
174
127
  /** @description OK */
175
128
  200: {
176
- content: {
177
- "application/json": components["schemas"]["EmptyEnvelope"];
178
- "image/png": components["schemas"]["EmptyEnvelope"];
179
- };
180
- };
181
- /** @description Unauthorized */
182
- 401: {
183
- content: {
184
- "application/json": components["schemas"]["ErrorEnvelope"];
185
- "image/png": components["schemas"]["ErrorEnvelope"];
186
- };
187
- };
188
- /** @description Forbidden */
189
- 403: {
190
- content: {
191
- "application/json": components["schemas"]["ErrorEnvelope"];
192
- "image/png": components["schemas"]["ErrorEnvelope"];
193
- };
129
+ content: never;
194
130
  };
195
131
  };
196
132
  };
133
+ };
134
+ "/api/v2/StorageService/RadzenEditor/Uploads/{id}": {
197
135
  post: {
198
136
  parameters: {
199
137
  query?: {
138
+ tenantId?: string;
200
139
  "api-version"?: string;
201
140
  };
202
141
  header?: {
203
142
  "x-api-version"?: string;
204
143
  };
205
144
  path: {
206
- tenantId: string;
145
+ id: number;
207
146
  };
208
147
  };
209
148
  requestBody?: {
210
149
  content: {
211
150
  "multipart/form-data": {
212
- /** Format: binary */
213
- avatar?: string;
151
+ files?: string[];
214
152
  };
215
153
  };
216
154
  };
217
155
  responses: {
218
156
  /** @description OK */
219
157
  200: {
220
- content: {
221
- "application/json": components["schemas"]["EmptyEnvelope"];
222
- "image/png": components["schemas"]["EmptyEnvelope"];
223
- };
224
- };
225
- /** @description Unauthorized */
226
- 401: {
227
- content: {
228
- "application/json": components["schemas"]["ErrorEnvelope"];
229
- "image/png": components["schemas"]["ErrorEnvelope"];
230
- };
231
- };
232
- /** @description Forbidden */
233
- 403: {
234
- content: {
235
- "application/json": components["schemas"]["ErrorEnvelope"];
236
- "image/png": components["schemas"]["ErrorEnvelope"];
237
- };
158
+ content: never;
238
159
  };
239
160
  };
240
161
  };
241
162
  };
242
- "/api/v2/StorageService/Avatars/Contact/{contactId}": {
243
- get: {
163
+ "/api/v2/StorageService/RadzenEditor/Uploads/Specific": {
164
+ post: {
244
165
  parameters: {
245
166
  query?: {
167
+ tenantId?: string;
246
168
  "api-version"?: string;
247
169
  };
248
170
  header?: {
249
171
  "x-api-version"?: string;
250
172
  };
251
- path: {
252
- contactId: string;
173
+ };
174
+ requestBody?: {
175
+ content: {
176
+ "multipart/form-data": {
177
+ /** Format: binary */
178
+ file?: string;
179
+ };
253
180
  };
254
181
  };
255
182
  responses: {
256
183
  /** @description OK */
257
184
  200: {
258
- content: {
259
- "application/json": components["schemas"]["EmptyEnvelope"];
260
- "image/png": components["schemas"]["EmptyEnvelope"];
261
- };
262
- };
263
- /** @description Unauthorized */
264
- 401: {
265
- content: {
266
- "application/json": components["schemas"]["ErrorEnvelope"];
267
- "image/png": components["schemas"]["ErrorEnvelope"];
268
- };
269
- };
270
- /** @description Forbidden */
271
- 403: {
272
- content: {
273
- "application/json": components["schemas"]["ErrorEnvelope"];
274
- "image/png": components["schemas"]["ErrorEnvelope"];
275
- };
185
+ content: never;
276
186
  };
277
187
  };
278
188
  };
279
189
  };
280
- "/api/v2/StorageService/Avatars/Contacts/{contactId}": {
190
+ "/api/v2/StorageService/Uploads": {
281
191
  post: {
282
192
  parameters: {
283
193
  query?: {
@@ -287,15 +197,26 @@ export interface paths {
287
197
  header?: {
288
198
  "x-api-version"?: string;
289
199
  };
290
- path: {
291
- contactId: string;
292
- };
293
200
  };
294
201
  requestBody?: {
295
202
  content: {
296
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;
297
214
  /** Format: binary */
298
- avatar?: string;
215
+ file?: string;
216
+ /** Format: uuid */
217
+ iD?: string;
218
+ /** Format: date-time */
219
+ timestamp?: string;
299
220
  };
300
221
  };
301
222
  };
@@ -304,233 +225,21 @@ export interface paths {
304
225
  200: {
305
226
  content: {
306
227
  "application/json": components["schemas"]["EmptyEnvelope"];
307
- "image/png": components["schemas"]["EmptyEnvelope"];
228
+ "application/xml": components["schemas"]["EmptyEnvelope"];
308
229
  };
309
230
  };
310
231
  /** @description Unauthorized */
311
232
  401: {
312
233
  content: {
313
234
  "application/json": components["schemas"]["ErrorEnvelope"];
314
- "image/png": components["schemas"]["ErrorEnvelope"];
235
+ "application/xml": components["schemas"]["ErrorEnvelope"];
315
236
  };
316
237
  };
317
238
  /** @description Forbidden */
318
239
  403: {
319
240
  content: {
320
241
  "application/json": components["schemas"]["ErrorEnvelope"];
321
- "image/png": components["schemas"]["ErrorEnvelope"];
322
- };
323
- };
324
- };
325
- };
326
- };
327
- "/api/v2/StorageService/Blobs": {
328
- get: operations["GetBlobsAsync"];
329
- };
330
- "/api/v2/StorageService/Blobs/Single": {
331
- get: operations["GetBlobAsync"];
332
- };
333
- "/api/v2/StorageService/Files": {
334
- get: operations["GetFilesAsync"];
335
- post: operations["CreateFileAsync"];
336
- };
337
- "/api/v2/StorageService/Files/{fileId}": {
338
- get: operations["GetFileAsync"];
339
- put: operations["UpdateFileAsync"];
340
- delete: operations["DeleteFileAsync"];
341
- };
342
- "/api/v2/StorageService/Files/{fileId}/Raw": {
343
- get: operations["DownloadFileAsync"];
344
- };
345
- "/api/v2/StorageService/RadzenEditor/Uploads/Single": {
346
- post: {
347
- parameters: {
348
- query?: {
349
- tenantId?: string;
350
- "api-version"?: string;
351
- };
352
- header?: {
353
- "x-api-version"?: string;
354
- };
355
- };
356
- requestBody?: {
357
- content: {
358
- "multipart/form-data": {
359
- /** Format: binary */
360
- file?: string;
361
- };
362
- };
363
- };
364
- responses: {
365
- /** @description OK */
366
- 200: {
367
- content: never;
368
- };
369
- };
370
- };
371
- };
372
- "/api/v2/StorageService/RadzenEditor/Uploads/Image": {
373
- post: {
374
- parameters: {
375
- query?: {
376
- tenantId?: string;
377
- "api-version"?: string;
378
- };
379
- header?: {
380
- "x-api-version"?: string;
381
- };
382
- };
383
- requestBody?: {
384
- content: {
385
- "multipart/form-data": {
386
- /** Format: binary */
387
- file?: string;
388
- };
389
- };
390
- };
391
- responses: {
392
- /** @description OK */
393
- 200: {
394
- content: never;
395
- };
396
- };
397
- };
398
- };
399
- "/api/v2/StorageService/RadzenEditor/Uploads/Multiple": {
400
- post: {
401
- parameters: {
402
- query?: {
403
- tenantId?: string;
404
- "api-version"?: string;
405
- };
406
- header?: {
407
- "x-api-version"?: string;
408
- };
409
- };
410
- requestBody?: {
411
- content: {
412
- "multipart/form-data": {
413
- files?: string[];
414
- };
415
- };
416
- };
417
- responses: {
418
- /** @description OK */
419
- 200: {
420
- content: never;
421
- };
422
- };
423
- };
424
- };
425
- "/api/v2/StorageService/RadzenEditor/Uploads/{id}": {
426
- post: {
427
- parameters: {
428
- query?: {
429
- tenantId?: string;
430
- "api-version"?: string;
431
- };
432
- header?: {
433
- "x-api-version"?: string;
434
- };
435
- path: {
436
- id: number;
437
- };
438
- };
439
- requestBody?: {
440
- content: {
441
- "multipart/form-data": {
442
- files?: string[];
443
- };
444
- };
445
- };
446
- responses: {
447
- /** @description OK */
448
- 200: {
449
- content: never;
450
- };
451
- };
452
- };
453
- };
454
- "/api/v2/StorageService/RadzenEditor/Uploads/Specific": {
455
- post: {
456
- parameters: {
457
- query?: {
458
- tenantId?: string;
459
- "api-version"?: string;
460
- };
461
- header?: {
462
- "x-api-version"?: string;
463
- };
464
- };
465
- requestBody?: {
466
- content: {
467
- "multipart/form-data": {
468
- /** Format: binary */
469
- file?: string;
470
- };
471
- };
472
- };
473
- responses: {
474
- /** @description OK */
475
- 200: {
476
- content: never;
477
- };
478
- };
479
- };
480
- };
481
- "/api/v2/StorageService/Uploads": {
482
- post: {
483
- parameters: {
484
- query?: {
485
- tenantId?: string;
486
- "api-version"?: string;
487
- };
488
- header?: {
489
- "x-api-version"?: string;
490
- };
491
- };
492
- requestBody?: {
493
- content: {
494
- "multipart/form-data": {
495
- notes?: string;
496
- title?: string;
497
- author?: string;
498
- isFolder?: boolean;
499
- fileName?: string;
500
- abstract?: string;
501
- keyWords?: string;
502
- validResponse?: boolean;
503
- parentFileUploadId?: string;
504
- filePath?: string;
505
- /** Format: binary */
506
- file?: string;
507
- /** Format: uuid */
508
- iD?: string;
509
- /** Format: date-time */
510
- timestamp?: string;
511
- };
512
- };
513
- };
514
- responses: {
515
- /** @description OK */
516
- 200: {
517
- content: {
518
- "application/json": components["schemas"]["EmptyEnvelope"];
519
- "application/xml": components["schemas"]["EmptyEnvelope"];
520
- };
521
- };
522
- /** @description Unauthorized */
523
- 401: {
524
- content: {
525
- "application/json": components["schemas"]["ErrorEnvelope"];
526
- "application/xml": components["schemas"]["ErrorEnvelope"];
527
- };
528
- };
529
- /** @description Forbidden */
530
- 403: {
531
- content: {
532
- "application/json": components["schemas"]["ErrorEnvelope"];
533
- "application/xml": components["schemas"]["ErrorEnvelope"];
242
+ "application/xml": components["schemas"]["ErrorEnvelope"];
534
243
  };
535
244
  };
536
245
  };
@@ -675,6 +384,342 @@ export type external = Record<string, never>;
675
384
 
676
385
  export interface operations {
677
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
+ };
678
723
  GetBlobsAsync: {
679
724
  parameters: {
680
725
  query?: {