@agravity/private 8.2.0 → 8.3.0

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.
@@ -28,6 +28,7 @@ api/listQueues.agravity.ts
28
28
  api/listTables.agravity.ts
29
29
  api/permissionsManagement.agravity.ts
30
30
  api/portalManagement.agravity.ts
31
+ api/portalsUsersManagement.agravity.ts
31
32
  api/publishing.agravity.ts
32
33
  api/quickshareManagement.agravity.ts
33
34
  api/savedSearchManagement.agravity.ts
@@ -48,6 +49,7 @@ git_push.sh
48
49
  index.ts
49
50
  model/agravityErrorResponse.agravity.ts
50
51
  model/agravityInfoResponse.agravity.ts
52
+ model/agravityPortalUser.agravity.ts
51
53
  model/agravityUser.agravity.ts
52
54
  model/agravityUserDto.agravity.ts
53
55
  model/agravityVersion.agravity.ts
@@ -101,8 +103,11 @@ model/permissionChange.agravity.ts
101
103
  model/permissionEntity.agravity.ts
102
104
  model/permissionSetting.agravity.ts
103
105
  model/portal.agravity.ts
106
+ model/portalAuthentication.agravity.ts
107
+ model/portalFields.agravity.ts
104
108
  model/portalLinks.agravity.ts
105
109
  model/portalTheme.agravity.ts
110
+ model/portalUserContext.agravity.ts
106
111
  model/portalZipRequest.agravity.ts
107
112
  model/publishEntity.agravity.ts
108
113
  model/publishedAsset.agravity.ts
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- ## @agravity/private@8.2.0
1
+ ## @agravity/private@8.3.0
2
2
 
3
- The version of the OpenAPI document: 8.2.0
3
+ The version of the OpenAPI document: 8.3.0
4
4
 
5
5
  ### Building
6
6
 
@@ -21,7 +21,7 @@ Navigate to the folder of your consuming project and run one of next commands.
21
21
  _published:_
22
22
 
23
23
  ```
24
- npm install @agravity/private@8.2.0 --save
24
+ npm install @agravity/private@8.3.0 --save
25
25
  ```
26
26
 
27
27
  _without publishing (not recommended):_
package/api/api.ts CHANGED
@@ -48,6 +48,8 @@ export * from './permissionsManagement.agravity';
48
48
  import { PermissionsManagementService } from './permissionsManagement.agravity';
49
49
  export * from './portalManagement.agravity';
50
50
  import { PortalManagementService } from './portalManagement.agravity';
51
+ export * from './portalsUsersManagement.agravity';
52
+ import { PortalsUsersManagementService } from './portalsUsersManagement.agravity';
51
53
  export * from './publishing.agravity';
52
54
  import { PublishingService } from './publishing.agravity';
53
55
  export * from './quickshareManagement.agravity';
@@ -102,6 +104,7 @@ export const APIS = [
102
104
  ListTablesService,
103
105
  PermissionsManagementService,
104
106
  PortalManagementService,
107
+ PortalsUsersManagementService,
105
108
  PublishingService,
106
109
  QuickshareManagementService,
107
110
  SavedSearchManagementService,
@@ -0,0 +1,559 @@
1
+ /**
2
+ * Agravity OpenAPI Documentation - Private Functions
3
+ * <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2024. All Rights Reserved
4
+ *
5
+ * Contact: office@agravity.io
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+ /* tslint:disable:no-unused-variable member-ordering */
12
+
13
+ import { Inject, Injectable, Optional } from '@angular/core';
14
+ import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
15
+ import { CustomHttpParameterCodec } from '../encoder';
16
+ import { Observable } from 'rxjs';
17
+
18
+ // @ts-ignore
19
+ import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
20
+ // @ts-ignore
21
+ import { AgravityPortalUser } from '../model/agravityPortalUser.agravity';
22
+
23
+ // @ts-ignore
24
+ import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
25
+ import { AgravityConfiguration } from '../configuration';
26
+
27
+ export interface HttpPortalsCreatePortalsUserRequestParams {
28
+ /** The created Agravity Portals User. */
29
+ agravityPortalUser: AgravityPortalUser;
30
+ }
31
+
32
+ export interface HttpPortalsDeletePortalUserRequestParams {
33
+ /** The ID of the portal user which should be deleted */
34
+ id: string;
35
+ }
36
+
37
+ export interface HttpPortalsGetPortalUserByIdRequestParams {
38
+ /** The ID of the portals user. */
39
+ id: string;
40
+ }
41
+
42
+ export interface HttpPortalsUpdatePortalUserByIdRequestParams {
43
+ /** The ID of the portals user. */
44
+ id: string;
45
+ /** The created Agravity Portals User. */
46
+ agravityPortalUser: AgravityPortalUser;
47
+ }
48
+
49
+ @Injectable({
50
+ providedIn: 'root'
51
+ })
52
+ export class PortalsUsersManagementService {
53
+ protected basePath = 'http://localhost:7071/api';
54
+ public defaultHeaders = new HttpHeaders();
55
+ public configuration = new AgravityConfiguration();
56
+ public encoder: HttpParameterCodec;
57
+
58
+ constructor(
59
+ protected httpClient: HttpClient,
60
+ @Optional() @Inject(BASE_PATH) basePath: string | string[],
61
+ @Optional() configuration: AgravityConfiguration
62
+ ) {
63
+ if (configuration) {
64
+ this.configuration = configuration;
65
+ }
66
+ if (typeof this.configuration.basePath !== 'string') {
67
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
68
+ if (firstBasePath != undefined) {
69
+ basePath = firstBasePath;
70
+ }
71
+
72
+ if (typeof basePath !== 'string') {
73
+ basePath = this.basePath;
74
+ }
75
+ this.configuration.basePath = basePath;
76
+ }
77
+ this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
78
+ }
79
+
80
+ // @ts-ignore
81
+ private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
82
+ if (typeof value === 'object' && value instanceof Date === false) {
83
+ httpParams = this.addToHttpParamsRecursive(httpParams, value);
84
+ } else {
85
+ httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
86
+ }
87
+ return httpParams;
88
+ }
89
+
90
+ private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
91
+ if (value == null) {
92
+ return httpParams;
93
+ }
94
+
95
+ if (typeof value === 'object') {
96
+ if (Array.isArray(value)) {
97
+ (value as any[]).forEach((elem) => (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)));
98
+ } else if (value instanceof Date) {
99
+ if (key != null) {
100
+ httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10));
101
+ } else {
102
+ throw Error('key may not be null if value is Date');
103
+ }
104
+ } else {
105
+ Object.keys(value).forEach((k) => (httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k)));
106
+ }
107
+ } else if (key != null) {
108
+ httpParams = httpParams.append(key, value);
109
+ } else {
110
+ throw Error('key may not be null if value is not object or array');
111
+ }
112
+ return httpParams;
113
+ }
114
+
115
+ /**
116
+ * This endpoint creates a portals user.
117
+ * @param requestParameters
118
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
119
+ * @param reportProgress flag to report request and response progress.
120
+ */
121
+ public httpPortalsCreatePortalsUser(
122
+ requestParameters?: HttpPortalsCreatePortalsUserRequestParams,
123
+ observe?: 'body',
124
+ reportProgress?: boolean,
125
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
126
+ ): Observable<AgravityPortalUser>;
127
+ public httpPortalsCreatePortalsUser(
128
+ requestParameters?: HttpPortalsCreatePortalsUserRequestParams,
129
+ observe?: 'response',
130
+ reportProgress?: boolean,
131
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
132
+ ): Observable<HttpResponse<AgravityPortalUser>>;
133
+ public httpPortalsCreatePortalsUser(
134
+ requestParameters?: HttpPortalsCreatePortalsUserRequestParams,
135
+ observe?: 'events',
136
+ reportProgress?: boolean,
137
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
138
+ ): Observable<HttpEvent<AgravityPortalUser>>;
139
+ public httpPortalsCreatePortalsUser(
140
+ requestParameters?: HttpPortalsCreatePortalsUserRequestParams,
141
+ observe: any = 'body',
142
+ reportProgress: boolean = false,
143
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
144
+ ): Observable<any> {
145
+ const agravityPortalUser = requestParameters?.agravityPortalUser;
146
+ if (agravityPortalUser === null || agravityPortalUser === undefined) {
147
+ throw new Error('Required parameter agravityPortalUser was null or undefined when calling httpPortalsCreatePortalsUser.');
148
+ }
149
+
150
+ let localVarHeaders = this.defaultHeaders;
151
+
152
+ let localVarCredential: string | undefined;
153
+ // authentication (msal_auth) required
154
+ localVarCredential = this.configuration.lookupCredential('msal_auth');
155
+ if (localVarCredential) {
156
+ localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
157
+ }
158
+
159
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
160
+ if (localVarHttpHeaderAcceptSelected === undefined) {
161
+ // to determine the Accept header
162
+ const httpHeaderAccepts: string[] = ['application/json'];
163
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
164
+ }
165
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
166
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
167
+ }
168
+
169
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
170
+ if (localVarHttpContext === undefined) {
171
+ localVarHttpContext = new HttpContext();
172
+ }
173
+
174
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
175
+ if (localVarTransferCache === undefined) {
176
+ localVarTransferCache = true;
177
+ }
178
+
179
+ // to determine the Content-Type header
180
+ const consumes: string[] = ['application/json'];
181
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
182
+ if (httpContentTypeSelected !== undefined) {
183
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
184
+ }
185
+
186
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
187
+ if (localVarHttpHeaderAcceptSelected) {
188
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
189
+ responseType_ = 'text';
190
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
191
+ responseType_ = 'json';
192
+ } else {
193
+ responseType_ = 'blob';
194
+ }
195
+ }
196
+
197
+ let localVarPath = `/portalsusers`;
198
+ return this.httpClient.request<AgravityPortalUser>('post', `${this.configuration.basePath}${localVarPath}`, {
199
+ context: localVarHttpContext,
200
+ body: agravityPortalUser,
201
+ responseType: <any>responseType_,
202
+ withCredentials: this.configuration.withCredentials,
203
+ headers: localVarHeaders,
204
+ observe: observe,
205
+ transferCache: localVarTransferCache,
206
+ reportProgress: reportProgress
207
+ });
208
+ }
209
+
210
+ /**
211
+ * This endpoint deletes a portal user.
212
+ * @param requestParameters
213
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
214
+ * @param reportProgress flag to report request and response progress.
215
+ */
216
+ public httpPortalsDeletePortalUser(
217
+ requestParameters?: HttpPortalsDeletePortalUserRequestParams,
218
+ observe?: 'body',
219
+ reportProgress?: boolean,
220
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
221
+ ): Observable<string>;
222
+ public httpPortalsDeletePortalUser(
223
+ requestParameters?: HttpPortalsDeletePortalUserRequestParams,
224
+ observe?: 'response',
225
+ reportProgress?: boolean,
226
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
227
+ ): Observable<HttpResponse<string>>;
228
+ public httpPortalsDeletePortalUser(
229
+ requestParameters?: HttpPortalsDeletePortalUserRequestParams,
230
+ observe?: 'events',
231
+ reportProgress?: boolean,
232
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
233
+ ): Observable<HttpEvent<string>>;
234
+ public httpPortalsDeletePortalUser(
235
+ requestParameters?: HttpPortalsDeletePortalUserRequestParams,
236
+ observe: any = 'body',
237
+ reportProgress: boolean = false,
238
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
239
+ ): Observable<any> {
240
+ const id = requestParameters?.id;
241
+ if (id === null || id === undefined) {
242
+ throw new Error('Required parameter id was null or undefined when calling httpPortalsDeletePortalUser.');
243
+ }
244
+
245
+ let localVarHeaders = this.defaultHeaders;
246
+
247
+ let localVarCredential: string | undefined;
248
+ // authentication (msal_auth) required
249
+ localVarCredential = this.configuration.lookupCredential('msal_auth');
250
+ if (localVarCredential) {
251
+ localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
252
+ }
253
+
254
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
255
+ if (localVarHttpHeaderAcceptSelected === undefined) {
256
+ // to determine the Accept header
257
+ const httpHeaderAccepts: string[] = ['application/json'];
258
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
259
+ }
260
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
261
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
262
+ }
263
+
264
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
265
+ if (localVarHttpContext === undefined) {
266
+ localVarHttpContext = new HttpContext();
267
+ }
268
+
269
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
270
+ if (localVarTransferCache === undefined) {
271
+ localVarTransferCache = true;
272
+ }
273
+
274
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
275
+ if (localVarHttpHeaderAcceptSelected) {
276
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
277
+ responseType_ = 'text';
278
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
279
+ responseType_ = 'json';
280
+ } else {
281
+ responseType_ = 'blob';
282
+ }
283
+ }
284
+
285
+ let localVarPath = `/portalsusers/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
286
+ return this.httpClient.request<string>('delete', `${this.configuration.basePath}${localVarPath}`, {
287
+ context: localVarHttpContext,
288
+ responseType: <any>responseType_,
289
+ withCredentials: this.configuration.withCredentials,
290
+ headers: localVarHeaders,
291
+ observe: observe,
292
+ transferCache: localVarTransferCache,
293
+ reportProgress: reportProgress
294
+ });
295
+ }
296
+
297
+ /**
298
+ * This endpoint returns all portal users.
299
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
300
+ * @param reportProgress flag to report request and response progress.
301
+ */
302
+ public httpPortalsGetAllPortalUser(
303
+ observe?: 'body',
304
+ reportProgress?: boolean,
305
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
306
+ ): Observable<Array<AgravityPortalUser>>;
307
+ public httpPortalsGetAllPortalUser(
308
+ observe?: 'response',
309
+ reportProgress?: boolean,
310
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
311
+ ): Observable<HttpResponse<Array<AgravityPortalUser>>>;
312
+ public httpPortalsGetAllPortalUser(
313
+ observe?: 'events',
314
+ reportProgress?: boolean,
315
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
316
+ ): Observable<HttpEvent<Array<AgravityPortalUser>>>;
317
+ public httpPortalsGetAllPortalUser(
318
+ observe: any = 'body',
319
+ reportProgress: boolean = false,
320
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
321
+ ): Observable<any> {
322
+ let localVarHeaders = this.defaultHeaders;
323
+
324
+ let localVarCredential: string | undefined;
325
+ // authentication (msal_auth) required
326
+ localVarCredential = this.configuration.lookupCredential('msal_auth');
327
+ if (localVarCredential) {
328
+ localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
329
+ }
330
+
331
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
332
+ if (localVarHttpHeaderAcceptSelected === undefined) {
333
+ // to determine the Accept header
334
+ const httpHeaderAccepts: string[] = ['application/json'];
335
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
336
+ }
337
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
338
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
339
+ }
340
+
341
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
342
+ if (localVarHttpContext === undefined) {
343
+ localVarHttpContext = new HttpContext();
344
+ }
345
+
346
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
347
+ if (localVarTransferCache === undefined) {
348
+ localVarTransferCache = true;
349
+ }
350
+
351
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
352
+ if (localVarHttpHeaderAcceptSelected) {
353
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
354
+ responseType_ = 'text';
355
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
356
+ responseType_ = 'json';
357
+ } else {
358
+ responseType_ = 'blob';
359
+ }
360
+ }
361
+
362
+ let localVarPath = `/portalsusers`;
363
+ return this.httpClient.request<Array<AgravityPortalUser>>('get', `${this.configuration.basePath}${localVarPath}`, {
364
+ context: localVarHttpContext,
365
+ responseType: <any>responseType_,
366
+ withCredentials: this.configuration.withCredentials,
367
+ headers: localVarHeaders,
368
+ observe: observe,
369
+ transferCache: localVarTransferCache,
370
+ reportProgress: reportProgress
371
+ });
372
+ }
373
+
374
+ /**
375
+ * This endpoint returns single portals user.
376
+ * @param requestParameters
377
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
378
+ * @param reportProgress flag to report request and response progress.
379
+ */
380
+ public httpPortalsGetPortalUserById(
381
+ requestParameters?: HttpPortalsGetPortalUserByIdRequestParams,
382
+ observe?: 'body',
383
+ reportProgress?: boolean,
384
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
385
+ ): Observable<Array<AgravityPortalUser>>;
386
+ public httpPortalsGetPortalUserById(
387
+ requestParameters?: HttpPortalsGetPortalUserByIdRequestParams,
388
+ observe?: 'response',
389
+ reportProgress?: boolean,
390
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
391
+ ): Observable<HttpResponse<Array<AgravityPortalUser>>>;
392
+ public httpPortalsGetPortalUserById(
393
+ requestParameters?: HttpPortalsGetPortalUserByIdRequestParams,
394
+ observe?: 'events',
395
+ reportProgress?: boolean,
396
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
397
+ ): Observable<HttpEvent<Array<AgravityPortalUser>>>;
398
+ public httpPortalsGetPortalUserById(
399
+ requestParameters?: HttpPortalsGetPortalUserByIdRequestParams,
400
+ observe: any = 'body',
401
+ reportProgress: boolean = false,
402
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
403
+ ): Observable<any> {
404
+ const id = requestParameters?.id;
405
+ if (id === null || id === undefined) {
406
+ throw new Error('Required parameter id was null or undefined when calling httpPortalsGetPortalUserById.');
407
+ }
408
+
409
+ let localVarHeaders = this.defaultHeaders;
410
+
411
+ let localVarCredential: string | undefined;
412
+ // authentication (msal_auth) required
413
+ localVarCredential = this.configuration.lookupCredential('msal_auth');
414
+ if (localVarCredential) {
415
+ localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
416
+ }
417
+
418
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
419
+ if (localVarHttpHeaderAcceptSelected === undefined) {
420
+ // to determine the Accept header
421
+ const httpHeaderAccepts: string[] = ['application/json'];
422
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
423
+ }
424
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
425
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
426
+ }
427
+
428
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
429
+ if (localVarHttpContext === undefined) {
430
+ localVarHttpContext = new HttpContext();
431
+ }
432
+
433
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
434
+ if (localVarTransferCache === undefined) {
435
+ localVarTransferCache = true;
436
+ }
437
+
438
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
439
+ if (localVarHttpHeaderAcceptSelected) {
440
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
441
+ responseType_ = 'text';
442
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
443
+ responseType_ = 'json';
444
+ } else {
445
+ responseType_ = 'blob';
446
+ }
447
+ }
448
+
449
+ let localVarPath = `/portalsusers/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
450
+ return this.httpClient.request<Array<AgravityPortalUser>>('get', `${this.configuration.basePath}${localVarPath}`, {
451
+ context: localVarHttpContext,
452
+ responseType: <any>responseType_,
453
+ withCredentials: this.configuration.withCredentials,
454
+ headers: localVarHeaders,
455
+ observe: observe,
456
+ transferCache: localVarTransferCache,
457
+ reportProgress: reportProgress
458
+ });
459
+ }
460
+
461
+ /**
462
+ * This endpoint updates a portals user.
463
+ * @param requestParameters
464
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
465
+ * @param reportProgress flag to report request and response progress.
466
+ */
467
+ public httpPortalsUpdatePortalUserById(
468
+ requestParameters?: HttpPortalsUpdatePortalUserByIdRequestParams,
469
+ observe?: 'body',
470
+ reportProgress?: boolean,
471
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
472
+ ): Observable<AgravityPortalUser>;
473
+ public httpPortalsUpdatePortalUserById(
474
+ requestParameters?: HttpPortalsUpdatePortalUserByIdRequestParams,
475
+ observe?: 'response',
476
+ reportProgress?: boolean,
477
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
478
+ ): Observable<HttpResponse<AgravityPortalUser>>;
479
+ public httpPortalsUpdatePortalUserById(
480
+ requestParameters?: HttpPortalsUpdatePortalUserByIdRequestParams,
481
+ observe?: 'events',
482
+ reportProgress?: boolean,
483
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
484
+ ): Observable<HttpEvent<AgravityPortalUser>>;
485
+ public httpPortalsUpdatePortalUserById(
486
+ requestParameters?: HttpPortalsUpdatePortalUserByIdRequestParams,
487
+ observe: any = 'body',
488
+ reportProgress: boolean = false,
489
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
490
+ ): Observable<any> {
491
+ const id = requestParameters?.id;
492
+ if (id === null || id === undefined) {
493
+ throw new Error('Required parameter id was null or undefined when calling httpPortalsUpdatePortalUserById.');
494
+ }
495
+ const agravityPortalUser = requestParameters?.agravityPortalUser;
496
+ if (agravityPortalUser === null || agravityPortalUser === undefined) {
497
+ throw new Error('Required parameter agravityPortalUser was null or undefined when calling httpPortalsUpdatePortalUserById.');
498
+ }
499
+
500
+ let localVarHeaders = this.defaultHeaders;
501
+
502
+ let localVarCredential: string | undefined;
503
+ // authentication (msal_auth) required
504
+ localVarCredential = this.configuration.lookupCredential('msal_auth');
505
+ if (localVarCredential) {
506
+ localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
507
+ }
508
+
509
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
510
+ if (localVarHttpHeaderAcceptSelected === undefined) {
511
+ // to determine the Accept header
512
+ const httpHeaderAccepts: string[] = ['application/json'];
513
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
514
+ }
515
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
516
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
517
+ }
518
+
519
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
520
+ if (localVarHttpContext === undefined) {
521
+ localVarHttpContext = new HttpContext();
522
+ }
523
+
524
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
525
+ if (localVarTransferCache === undefined) {
526
+ localVarTransferCache = true;
527
+ }
528
+
529
+ // to determine the Content-Type header
530
+ const consumes: string[] = ['application/json'];
531
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
532
+ if (httpContentTypeSelected !== undefined) {
533
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
534
+ }
535
+
536
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
537
+ if (localVarHttpHeaderAcceptSelected) {
538
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
539
+ responseType_ = 'text';
540
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
541
+ responseType_ = 'json';
542
+ } else {
543
+ responseType_ = 'blob';
544
+ }
545
+ }
546
+
547
+ let localVarPath = `/portalsusers/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
548
+ return this.httpClient.request<AgravityPortalUser>('post', `${this.configuration.basePath}${localVarPath}`, {
549
+ context: localVarHttpContext,
550
+ body: agravityPortalUser,
551
+ responseType: <any>responseType_,
552
+ withCredentials: this.configuration.withCredentials,
553
+ headers: localVarHeaders,
554
+ observe: observe,
555
+ transferCache: localVarTransferCache,
556
+ reportProgress: reportProgress
557
+ });
558
+ }
559
+ }
@@ -53,6 +53,8 @@ export interface HttpGetSearchFacetteByNameRequestParams {
53
53
  mode?: string;
54
54
  /** Key value filter for filterable strings and string collections separated by special \&#39;,,,\&#39;. For date or numbers \&quot;&lt;\&quot;, \&quot;&#x3D;\&quot; and \&quot;&gt;\&quot; are possible. Mode influences AND (all) and OR (any) of all filters. Multiple filters are separated by semicolons. (Only if Azure Search is enabled) */
55
55
  filter?: string;
56
+ /** Colon separated key value filter for additional scopes. It applies the same conventions as for filter parameter. */
57
+ scopefilter?: string;
56
58
  /** Comma separated values list with all ids which should be returned. */
57
59
  ids?: string;
58
60
  /** If the search should be redirected to a specific portal. */
@@ -76,6 +78,8 @@ export interface HttpGlobalSearchRequestParams {
76
78
  expose?: boolean;
77
79
  /** Key value filter for filterable strings and string collections separated by special \&#39;,,,\&#39;. For date or numbers \&quot;&lt;\&quot;, \&quot;&#x3D;\&quot; and \&quot;&gt;\&quot; are possible. Mode influences AND (all) and OR (any) of all filters. Multiple filters are separated by semicolons. (Only if Azure Search is enabled) */
78
80
  filter?: string;
81
+ /** Colon separated key value filter for additional scopes. It applies the same conventions as for filter parameter. */
82
+ scopefilter?: string;
79
83
  /** Sortable fields can be used. For descendant sorting use leading \&quot;!\&quot;. (Only if Azure Search is enabled) */
80
84
  orderby?: string;
81
85
  /** Comma separated values list with all ids which should be returned. */
@@ -105,6 +109,11 @@ export interface HttpSearchAdminGetStatusRequestParams {
105
109
  full?: boolean;
106
110
  }
107
111
 
112
+ export interface HttpSearchAdminRunRequestParams {
113
+ /** If the a specific portal should be run. */
114
+ portalId?: string;
115
+ }
116
+
108
117
  @Injectable({
109
118
  providedIn: 'root'
110
119
  })
@@ -393,6 +402,7 @@ export class SearchManagementService {
393
402
  const collectionid = requestParameters?.collectionid;
394
403
  const mode = requestParameters?.mode;
395
404
  const filter = requestParameters?.filter;
405
+ const scopefilter = requestParameters?.scopefilter;
396
406
  const ids = requestParameters?.ids;
397
407
  const portalId = requestParameters?.portalId;
398
408
 
@@ -415,6 +425,9 @@ export class SearchManagementService {
415
425
  if (filter !== undefined && filter !== null) {
416
426
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>filter, 'filter');
417
427
  }
428
+ if (scopefilter !== undefined && scopefilter !== null) {
429
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>scopefilter, 'scopefilter');
430
+ }
418
431
  if (ids !== undefined && ids !== null) {
419
432
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>ids, 'ids');
420
433
  }
@@ -516,6 +529,7 @@ export class SearchManagementService {
516
529
  const mode = requestParameters?.mode;
517
530
  const expose = requestParameters?.expose;
518
531
  const filter = requestParameters?.filter;
532
+ const scopefilter = requestParameters?.scopefilter;
519
533
  const orderby = requestParameters?.orderby;
520
534
  const ids = requestParameters?.ids;
521
535
  const portalId = requestParameters?.portalId;
@@ -547,6 +561,9 @@ export class SearchManagementService {
547
561
  if (filter !== undefined && filter !== null) {
548
562
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>filter, 'filter');
549
563
  }
564
+ if (scopefilter !== undefined && scopefilter !== null) {
565
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>scopefilter, 'scopefilter');
566
+ }
550
567
  if (orderby !== undefined && orderby !== null) {
551
568
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>orderby, 'orderby');
552
569
  }
@@ -889,29 +906,41 @@ export class SearchManagementService {
889
906
 
890
907
  /**
891
908
  * This endpoint runs the search indexer
909
+ * @param requestParameters
892
910
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
893
911
  * @param reportProgress flag to report request and response progress.
894
912
  */
895
913
  public httpSearchAdminRun(
914
+ requestParameters?: HttpSearchAdminRunRequestParams,
896
915
  observe?: 'body',
897
916
  reportProgress?: boolean,
898
917
  options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
899
918
  ): Observable<AgravityInfoResponse>;
900
919
  public httpSearchAdminRun(
920
+ requestParameters?: HttpSearchAdminRunRequestParams,
901
921
  observe?: 'response',
902
922
  reportProgress?: boolean,
903
923
  options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
904
924
  ): Observable<HttpResponse<AgravityInfoResponse>>;
905
925
  public httpSearchAdminRun(
926
+ requestParameters?: HttpSearchAdminRunRequestParams,
906
927
  observe?: 'events',
907
928
  reportProgress?: boolean,
908
929
  options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
909
930
  ): Observable<HttpEvent<AgravityInfoResponse>>;
910
931
  public httpSearchAdminRun(
932
+ requestParameters?: HttpSearchAdminRunRequestParams,
911
933
  observe: any = 'body',
912
934
  reportProgress: boolean = false,
913
935
  options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
914
936
  ): Observable<any> {
937
+ const portalId = requestParameters?.portalId;
938
+
939
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
940
+ if (portalId !== undefined && portalId !== null) {
941
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
942
+ }
943
+
915
944
  let localVarHeaders = this.defaultHeaders;
916
945
 
917
946
  let localVarCredential: string | undefined;
@@ -955,6 +984,7 @@ export class SearchManagementService {
955
984
  let localVarPath = `/searchadmin/run`;
956
985
  return this.httpClient.request<AgravityInfoResponse>('patch', `${this.configuration.basePath}${localVarPath}`, {
957
986
  context: localVarHttpContext,
987
+ params: localVarQueryParameters,
958
988
  responseType: <any>responseType_,
959
989
  withCredentials: this.configuration.withCredentials,
960
990
  headers: localVarHeaders,
package/configuration.ts CHANGED
@@ -142,7 +142,7 @@ export class AgravityConfiguration {
142
142
  * @return True if the given MIME is JSON, false otherwise.
143
143
  */
144
144
  public isJsonMime(mime: string): boolean {
145
- const jsonMime: RegExp = new RegExp('^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
145
+ const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
146
146
  return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
147
147
  }
148
148
 
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Agravity OpenAPI Documentation - Private Functions
3
+ * <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2024. All Rights Reserved
4
+ *
5
+ * Contact: office@agravity.io
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+
12
+ export interface AgravityPortalUser {
13
+ id?: string | null;
14
+ entity_type?: string | null;
15
+ name?: string | null;
16
+ user_context?: { [key: string]: Array<string> } | null;
17
+ email?: string | null;
18
+ status?: string | null;
19
+ created_date?: string | null;
20
+ created_by?: string | null;
21
+ modified_date?: string | null;
22
+ modified_by?: string | null;
23
+ pk?: string | null;
24
+ _etag?: string | null;
25
+ }
package/model/models.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './agravityErrorResponse.agravity';
2
2
  export * from './agravityInfoResponse.agravity';
3
+ export * from './agravityPortalUser.agravity';
3
4
  export * from './agravityUser.agravity';
4
5
  export * from './agravityUserDto.agravity';
5
6
  export * from './agravityVersion.agravity';
@@ -52,8 +53,11 @@ export * from './permissionChange.agravity';
52
53
  export * from './permissionEntity.agravity';
53
54
  export * from './permissionSetting.agravity';
54
55
  export * from './portal.agravity';
56
+ export * from './portalAuthentication.agravity';
57
+ export * from './portalFields.agravity';
55
58
  export * from './portalLinks.agravity';
56
59
  export * from './portalTheme.agravity';
60
+ export * from './portalUserContext.agravity';
57
61
  export * from './portalZipRequest.agravity';
58
62
  export * from './publishEntity.agravity';
59
63
  export * from './publishedAsset.agravity';
@@ -10,21 +10,24 @@
10
10
  */
11
11
  import { SharedAllowedFormat } from './sharedAllowedFormat.agravity';
12
12
  import { AssetIconRule } from './assetIconRule.agravity';
13
+ import { PortalAuthentication } from './portalAuthentication.agravity';
14
+ import { PortalFields } from './portalFields.agravity';
13
15
  import { PortalLinks } from './portalLinks.agravity';
14
16
  import { PortalTheme } from './portalTheme.agravity';
15
17
 
16
18
  export interface Portal {
17
19
  id?: string | null;
18
20
  entity_type?: string | null;
19
- filter?: string | null;
21
+ authentication?: PortalAuthentication | null;
20
22
  languages?: string | null;
21
- theme?: PortalTheme | null;
22
- links?: PortalLinks | null;
23
- metadata?: Array<string> | null;
24
- facettes?: Array<string> | null;
25
- asset_icon_rules?: Array<AssetIconRule> | null;
26
- allowed_formats?: Array<SharedAllowedFormat> | null;
23
+ fields?: Array<PortalFields> | null;
24
+ filter?: string | null;
27
25
  limit_ids?: Array<string> | null;
26
+ allowed_formats?: Array<SharedAllowedFormat> | null;
27
+ asset_icon_rules?: Array<AssetIconRule> | null;
28
+ allowed_origins?: Array<string> | null;
29
+ links?: PortalLinks | null;
30
+ theme?: PortalTheme | null;
28
31
  name?: string | null;
29
32
  description?: string | null;
30
33
  add_properties?: { [key: string]: any } | null;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Agravity OpenAPI Documentation - Private Functions
3
+ * <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2024. All Rights Reserved
4
+ *
5
+ * Contact: office@agravity.io
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+
12
+ export interface PortalAuthentication {
13
+ method?: PortalAuthentication.MethodEnum;
14
+ issuer?: string | null;
15
+ client_id?: string | null;
16
+ tenant_id?: string | null;
17
+ password?: string | null;
18
+ }
19
+ export namespace PortalAuthentication {
20
+ export type MethodEnum = 'UNDEFINED' | 'NONE' | 'PASSWORD' | 'EEID' | 'AUTH0';
21
+ export const MethodEnum = {
22
+ Undefined: 'UNDEFINED' as MethodEnum,
23
+ None: 'NONE' as MethodEnum,
24
+ Password: 'PASSWORD' as MethodEnum,
25
+ Eeid: 'EEID' as MethodEnum,
26
+ Auth0: 'AUTH0' as MethodEnum
27
+ };
28
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Agravity OpenAPI Documentation - Private Functions
3
+ * <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2024. All Rights Reserved
4
+ *
5
+ * Contact: office@agravity.io
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+ import { PortalUserContext } from './portalUserContext.agravity';
12
+
13
+ export interface PortalFields {
14
+ name?: string | null;
15
+ detail_order?: number | null;
16
+ facet_order?: number | null;
17
+ labels?: { [key: string]: string } | null;
18
+ user_context?: PortalUserContext | null;
19
+ }
@@ -10,10 +10,11 @@
10
10
  */
11
11
 
12
12
  export interface PortalTheme {
13
- background_url?: string | null;
14
13
  logo_url?: string | null;
15
- colors?: { [key: string]: object } | null;
16
14
  topbar_color?: string | null;
15
+ background_url?: string | null;
16
+ fav_icon?: string | null;
17
17
  icon_empty?: string | null;
18
18
  icon_active?: string | null;
19
+ colors?: { [key: string]: object } | null;
19
20
  }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Agravity OpenAPI Documentation - Private Functions
3
+ * <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2024. All Rights Reserved
4
+ *
5
+ * Contact: office@agravity.io
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+
12
+ export interface PortalUserContext {
13
+ key?: string | null;
14
+ mandatory?: boolean | null;
15
+ mapping?: { [key: string]: string } | null;
16
+ options?: Array<string> | null;
17
+ }
@@ -14,6 +14,7 @@ import { AgravityErrorResponse } from './agravityErrorResponse.agravity';
14
14
  export interface PortalZipRequest {
15
15
  zip_type?: string | null;
16
16
  portal_id?: string | null;
17
+ language?: string | null;
17
18
  asset_ids?: Array<string> | null;
18
19
  id?: string | null;
19
20
  entity_type?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agravity/private",
3
- "version": "8.2.0",
3
+ "version": "8.3.0",
4
4
  "description": "The Agravity GlobalDAM API which allowes authenticated user to access the Agravity GlobalDAM Backend",
5
5
  "author": "Philipp Losbichler",
6
6
  "repository": {