@agravity/public 10.3.5 → 11.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +3 -3
- package/api/publicAIOperations.pub.agravity.ts +5 -3
- package/api/publicAssetManagement.pub.agravity.ts +69 -35
- package/api/publicAssetOperations.pub.agravity.ts +114 -59
- package/api/publicAssetPublishing.pub.agravity.ts +11 -5
- package/api/publicAssetRelationManagement.pub.agravity.ts +37 -21
- package/api/publicAssetRelationTypeManagement.pub.agravity.ts +16 -10
- package/api/publicAssetVersioning.pub.agravity.ts +27 -12
- package/api/publicAuthenticationManagement.pub.agravity.ts +19 -11
- package/api/publicCollectionManagement.pub.agravity.ts +67 -36
- package/api/publicCollectionSecureUpload.pub.agravity.ts +16 -10
- package/api/publicCollectionTypeManagement.pub.agravity.ts +25 -15
- package/api/publicConfigurationManagement.pub.agravity.ts +9 -6
- package/api/publicDownloadFormatManagement.pub.agravity.ts +12 -7
- package/api/publicEndpoints.pub.agravity.ts +30 -17
- package/api/publicGeneralManagement.pub.agravity.ts +24 -12
- package/api/publicHelperTools.pub.agravity.ts +33 -19
- package/api/publicPortalManagement.pub.agravity.ts +27 -12
- package/api/publicPublishing.pub.agravity.ts +11 -7
- package/api/publicSavedSearch.pub.agravity.ts +11 -7
- package/api/publicSearchManagement.pub.agravity.ts +67 -36
- package/api/publicSharingManagement.pub.agravity.ts +30 -16
- package/api/publicSignalRConnectionManagement.pub.agravity.ts +5 -3
- package/api/publicStaticDefinedListManagement.pub.agravity.ts +25 -15
- package/api/publicTranslationManagement.pub.agravity.ts +19 -11
- package/api/publicWebAppData.pub.agravity.ts +8 -4
- package/api/publicWorkspaceManagement.pub.agravity.ts +16 -10
- package/api.base.service.ts +41 -27
- package/configuration.ts +3 -2
- package/encoder.ts +15 -0
- package/package.json +9 -9
- package/query.params.ts +165 -0
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
11
11
|
|
|
12
12
|
import { Inject, Injectable, Optional } from '@angular/core';
|
|
13
|
-
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent,
|
|
14
|
-
import { CustomHttpParameterCodec } from '../encoder';
|
|
13
|
+
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
15
14
|
import { Observable } from 'rxjs';
|
|
15
|
+
import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
|
|
16
16
|
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
import { AgravityErrorResponse } from '../model/agravityErrorResponse.pub.agravity';
|
|
@@ -81,9 +81,11 @@ export class PublicAssetRelationManagementService extends BaseService {
|
|
|
81
81
|
|
|
82
82
|
/**
|
|
83
83
|
* This endpoint creates one asset relation entry in the database.
|
|
84
|
+
* @endpoint post /assetrelations
|
|
84
85
|
* @param requestParameters
|
|
85
86
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
86
87
|
* @param reportProgress flag to report request and response progress.
|
|
88
|
+
* @param options additional options
|
|
87
89
|
*/
|
|
88
90
|
public httpAssetRelationCreate(
|
|
89
91
|
requestParameters: HttpAssetRelationCreateRequestParams,
|
|
@@ -117,9 +119,11 @@ export class PublicAssetRelationManagementService extends BaseService {
|
|
|
117
119
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
118
120
|
const assetrelationtypeid = requestParameters?.assetrelationtypeid;
|
|
119
121
|
|
|
120
|
-
let localVarQueryParameters = new
|
|
121
|
-
|
|
122
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
122
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
123
|
+
|
|
124
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
125
|
+
|
|
126
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'assetrelationtypeid', <any>assetrelationtypeid, QueryParamStyle.Form, true);
|
|
123
127
|
|
|
124
128
|
let localVarHeaders = this.defaultHeaders;
|
|
125
129
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -161,21 +165,23 @@ export class PublicAssetRelationManagementService extends BaseService {
|
|
|
161
165
|
return this.httpClient.request<AssetRelation>('post', `${basePath}${localVarPath}`, {
|
|
162
166
|
context: localVarHttpContext,
|
|
163
167
|
body: assetRelation,
|
|
164
|
-
params: localVarQueryParameters,
|
|
168
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
165
169
|
responseType: <any>responseType_,
|
|
166
170
|
...(withCredentials ? { withCredentials } : {}),
|
|
167
171
|
headers: localVarHeaders,
|
|
168
172
|
observe: observe,
|
|
169
|
-
transferCache: localVarTransferCache,
|
|
173
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
170
174
|
reportProgress: reportProgress
|
|
171
175
|
});
|
|
172
176
|
}
|
|
173
177
|
|
|
174
178
|
/**
|
|
175
179
|
* This endpoint deletes a single asset relation.
|
|
180
|
+
* @endpoint delete /assetrelations/{id}
|
|
176
181
|
* @param requestParameters
|
|
177
182
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
178
183
|
* @param reportProgress flag to report request and response progress.
|
|
184
|
+
* @param options additional options
|
|
179
185
|
*/
|
|
180
186
|
public httpAssetRelationDeleteById(
|
|
181
187
|
requestParameters: HttpAssetRelationDeleteByIdRequestParams,
|
|
@@ -239,16 +245,18 @@ export class PublicAssetRelationManagementService extends BaseService {
|
|
|
239
245
|
...(withCredentials ? { withCredentials } : {}),
|
|
240
246
|
headers: localVarHeaders,
|
|
241
247
|
observe: observe,
|
|
242
|
-
transferCache: localVarTransferCache,
|
|
248
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
243
249
|
reportProgress: reportProgress
|
|
244
250
|
});
|
|
245
251
|
}
|
|
246
252
|
|
|
247
253
|
/**
|
|
248
254
|
* This endpoint lists all asset relations in database.
|
|
255
|
+
* @endpoint get /assetrelations
|
|
249
256
|
* @param requestParameters
|
|
250
257
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
251
258
|
* @param reportProgress flag to report request and response progress.
|
|
259
|
+
* @param options additional options
|
|
252
260
|
*/
|
|
253
261
|
public httpAssetRelationGetAll(
|
|
254
262
|
requestParameters?: HttpAssetRelationGetAllRequestParams,
|
|
@@ -278,9 +286,11 @@ export class PublicAssetRelationManagementService extends BaseService {
|
|
|
278
286
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
279
287
|
const translations = requestParameters?.translations;
|
|
280
288
|
|
|
281
|
-
let localVarQueryParameters = new
|
|
282
|
-
|
|
283
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
289
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
290
|
+
|
|
291
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'assetrelationtypeid', <any>assetrelationtypeid, QueryParamStyle.Form, true);
|
|
292
|
+
|
|
293
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
284
294
|
|
|
285
295
|
let localVarHeaders = this.defaultHeaders;
|
|
286
296
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -314,21 +324,23 @@ export class PublicAssetRelationManagementService extends BaseService {
|
|
|
314
324
|
const { basePath, withCredentials } = this.configuration;
|
|
315
325
|
return this.httpClient.request<Array<AssetRelation>>('get', `${basePath}${localVarPath}`, {
|
|
316
326
|
context: localVarHttpContext,
|
|
317
|
-
params: localVarQueryParameters,
|
|
327
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
318
328
|
responseType: <any>responseType_,
|
|
319
329
|
...(withCredentials ? { withCredentials } : {}),
|
|
320
330
|
headers: localVarHeaders,
|
|
321
331
|
observe: observe,
|
|
322
|
-
transferCache: localVarTransferCache,
|
|
332
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
323
333
|
reportProgress: reportProgress
|
|
324
334
|
});
|
|
325
335
|
}
|
|
326
336
|
|
|
327
337
|
/**
|
|
328
338
|
* This endpoint gets a single asset relation.
|
|
339
|
+
* @endpoint get /assetrelations/{id}
|
|
329
340
|
* @param requestParameters
|
|
330
341
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
331
342
|
* @param reportProgress flag to report request and response progress.
|
|
343
|
+
* @param options additional options
|
|
332
344
|
*/
|
|
333
345
|
public httpAssetRelationGetById(
|
|
334
346
|
requestParameters: HttpAssetRelationGetByIdRequestParams,
|
|
@@ -360,8 +372,9 @@ export class PublicAssetRelationManagementService extends BaseService {
|
|
|
360
372
|
}
|
|
361
373
|
const translations = requestParameters?.translations;
|
|
362
374
|
|
|
363
|
-
let localVarQueryParameters = new
|
|
364
|
-
|
|
375
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
376
|
+
|
|
377
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
365
378
|
|
|
366
379
|
let localVarHeaders = this.defaultHeaders;
|
|
367
380
|
|
|
@@ -392,21 +405,23 @@ export class PublicAssetRelationManagementService extends BaseService {
|
|
|
392
405
|
const { basePath, withCredentials } = this.configuration;
|
|
393
406
|
return this.httpClient.request<AssetRelation>('get', `${basePath}${localVarPath}`, {
|
|
394
407
|
context: localVarHttpContext,
|
|
395
|
-
params: localVarQueryParameters,
|
|
408
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
396
409
|
responseType: <any>responseType_,
|
|
397
410
|
...(withCredentials ? { withCredentials } : {}),
|
|
398
411
|
headers: localVarHeaders,
|
|
399
412
|
observe: observe,
|
|
400
|
-
transferCache: localVarTransferCache,
|
|
413
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
401
414
|
reportProgress: reportProgress
|
|
402
415
|
});
|
|
403
416
|
}
|
|
404
417
|
|
|
405
418
|
/**
|
|
406
419
|
* This endpoint updates an asset relation entry in the database.
|
|
420
|
+
* @endpoint post /assetrelations/{id}
|
|
407
421
|
* @param requestParameters
|
|
408
422
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
409
423
|
* @param reportProgress flag to report request and response progress.
|
|
424
|
+
* @param options additional options
|
|
410
425
|
*/
|
|
411
426
|
public httpAssetRelationUpdateById(
|
|
412
427
|
requestParameters: HttpAssetRelationUpdateByIdRequestParams,
|
|
@@ -443,8 +458,9 @@ export class PublicAssetRelationManagementService extends BaseService {
|
|
|
443
458
|
const translations = requestParameters?.translations;
|
|
444
459
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
445
460
|
|
|
446
|
-
let localVarQueryParameters = new
|
|
447
|
-
|
|
461
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
462
|
+
|
|
463
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
448
464
|
|
|
449
465
|
let localVarHeaders = this.defaultHeaders;
|
|
450
466
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -486,12 +502,12 @@ export class PublicAssetRelationManagementService extends BaseService {
|
|
|
486
502
|
return this.httpClient.request<AssetRelation>('post', `${basePath}${localVarPath}`, {
|
|
487
503
|
context: localVarHttpContext,
|
|
488
504
|
body: assetRelation,
|
|
489
|
-
params: localVarQueryParameters,
|
|
505
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
490
506
|
responseType: <any>responseType_,
|
|
491
507
|
...(withCredentials ? { withCredentials } : {}),
|
|
492
508
|
headers: localVarHeaders,
|
|
493
509
|
observe: observe,
|
|
494
|
-
transferCache: localVarTransferCache,
|
|
510
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
495
511
|
reportProgress: reportProgress
|
|
496
512
|
});
|
|
497
513
|
}
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
11
11
|
|
|
12
12
|
import { Inject, Injectable, Optional } from '@angular/core';
|
|
13
|
-
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent,
|
|
14
|
-
import { CustomHttpParameterCodec } from '../encoder';
|
|
13
|
+
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
15
14
|
import { Observable } from 'rxjs';
|
|
15
|
+
import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
|
|
16
16
|
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
import { AssetRelationType } from '../model/assetRelationType.pub.agravity';
|
|
@@ -52,9 +52,11 @@ export class PublicAssetRelationTypeManagementService extends BaseService {
|
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
* This endpoint lists all asset relation types in database.
|
|
55
|
+
* @endpoint get /assetrelationtypes
|
|
55
56
|
* @param requestParameters
|
|
56
57
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
57
58
|
* @param reportProgress flag to report request and response progress.
|
|
59
|
+
* @param options additional options
|
|
58
60
|
*/
|
|
59
61
|
public httpAssetRelationTypeGetAll(
|
|
60
62
|
requestParameters?: HttpAssetRelationTypeGetAllRequestParams,
|
|
@@ -83,8 +85,9 @@ export class PublicAssetRelationTypeManagementService extends BaseService {
|
|
|
83
85
|
const translations = requestParameters?.translations;
|
|
84
86
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
85
87
|
|
|
86
|
-
let localVarQueryParameters = new
|
|
87
|
-
|
|
88
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
89
|
+
|
|
90
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
88
91
|
|
|
89
92
|
let localVarHeaders = this.defaultHeaders;
|
|
90
93
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -118,21 +121,23 @@ export class PublicAssetRelationTypeManagementService extends BaseService {
|
|
|
118
121
|
const { basePath, withCredentials } = this.configuration;
|
|
119
122
|
return this.httpClient.request<Array<AssetRelationType>>('get', `${basePath}${localVarPath}`, {
|
|
120
123
|
context: localVarHttpContext,
|
|
121
|
-
params: localVarQueryParameters,
|
|
124
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
122
125
|
responseType: <any>responseType_,
|
|
123
126
|
...(withCredentials ? { withCredentials } : {}),
|
|
124
127
|
headers: localVarHeaders,
|
|
125
128
|
observe: observe,
|
|
126
|
-
transferCache: localVarTransferCache,
|
|
129
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
127
130
|
reportProgress: reportProgress
|
|
128
131
|
});
|
|
129
132
|
}
|
|
130
133
|
|
|
131
134
|
/**
|
|
132
135
|
* This endpoint gets a single asset relation type.
|
|
136
|
+
* @endpoint get /assetrelationtypes/{id}
|
|
133
137
|
* @param requestParameters
|
|
134
138
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
135
139
|
* @param reportProgress flag to report request and response progress.
|
|
140
|
+
* @param options additional options
|
|
136
141
|
*/
|
|
137
142
|
public httpAssetRelationTypeGetById(
|
|
138
143
|
requestParameters: HttpAssetRelationTypeGetByIdRequestParams,
|
|
@@ -165,8 +170,9 @@ export class PublicAssetRelationTypeManagementService extends BaseService {
|
|
|
165
170
|
const translations = requestParameters?.translations;
|
|
166
171
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
167
172
|
|
|
168
|
-
let localVarQueryParameters = new
|
|
169
|
-
|
|
173
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
174
|
+
|
|
175
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
170
176
|
|
|
171
177
|
let localVarHeaders = this.defaultHeaders;
|
|
172
178
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -200,12 +206,12 @@ export class PublicAssetRelationTypeManagementService extends BaseService {
|
|
|
200
206
|
const { basePath, withCredentials } = this.configuration;
|
|
201
207
|
return this.httpClient.request<AssetRelationType>('get', `${basePath}${localVarPath}`, {
|
|
202
208
|
context: localVarHttpContext,
|
|
203
|
-
params: localVarQueryParameters,
|
|
209
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
204
210
|
responseType: <any>responseType_,
|
|
205
211
|
...(withCredentials ? { withCredentials } : {}),
|
|
206
212
|
headers: localVarHeaders,
|
|
207
213
|
observe: observe,
|
|
208
|
-
transferCache: localVarTransferCache,
|
|
214
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
209
215
|
reportProgress: reportProgress
|
|
210
216
|
});
|
|
211
217
|
}
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
11
11
|
|
|
12
12
|
import { Inject, Injectable, Optional } from '@angular/core';
|
|
13
|
-
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent,
|
|
14
|
-
import { CustomHttpParameterCodec } from '../encoder';
|
|
13
|
+
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
15
14
|
import { Observable } from 'rxjs';
|
|
15
|
+
import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
|
|
16
16
|
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
import { AgravityErrorResponse } from '../model/agravityErrorResponse.pub.agravity';
|
|
@@ -96,9 +96,11 @@ export class PublicAssetVersioningService extends BaseService {
|
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
98
|
* This endpoint allows to upload one asset which replaces the asset with given id and creates a version which is returned.
|
|
99
|
+
* @endpoint post /assets/{id}/versionsupload
|
|
99
100
|
* @param requestParameters
|
|
100
101
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
101
102
|
* @param reportProgress flag to report request and response progress.
|
|
103
|
+
* @param options additional options
|
|
102
104
|
*/
|
|
103
105
|
public httpAssetCreateUploadVersion(
|
|
104
106
|
requestParameters: HttpAssetCreateUploadVersionRequestParams,
|
|
@@ -201,16 +203,18 @@ export class PublicAssetVersioningService extends BaseService {
|
|
|
201
203
|
...(withCredentials ? { withCredentials } : {}),
|
|
202
204
|
headers: localVarHeaders,
|
|
203
205
|
observe: observe,
|
|
204
|
-
transferCache: localVarTransferCache,
|
|
206
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
205
207
|
reportProgress: reportProgress
|
|
206
208
|
});
|
|
207
209
|
}
|
|
208
210
|
|
|
209
211
|
/**
|
|
210
212
|
* This endpoint allows to create empty version or upload one asset which replaces the asset with given id and creates version.
|
|
213
|
+
* @endpoint post /assets/{id}/versions
|
|
211
214
|
* @param requestParameters
|
|
212
215
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
213
216
|
* @param reportProgress flag to report request and response progress.
|
|
217
|
+
* @param options additional options
|
|
214
218
|
*/
|
|
215
219
|
public httpAssetCreateVersion(
|
|
216
220
|
requestParameters: HttpAssetCreateVersionRequestParams,
|
|
@@ -286,16 +290,18 @@ export class PublicAssetVersioningService extends BaseService {
|
|
|
286
290
|
...(withCredentials ? { withCredentials } : {}),
|
|
287
291
|
headers: localVarHeaders,
|
|
288
292
|
observe: observe,
|
|
289
|
-
transferCache: localVarTransferCache,
|
|
293
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
290
294
|
reportProgress: reportProgress
|
|
291
295
|
});
|
|
292
296
|
}
|
|
293
297
|
|
|
294
298
|
/**
|
|
295
299
|
* This endpoint deletes a version of an asset.
|
|
300
|
+
* @endpoint delete /assets/{id}/versions/{vNr}
|
|
296
301
|
* @param requestParameters
|
|
297
302
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
298
303
|
* @param reportProgress flag to report request and response progress.
|
|
304
|
+
* @param options additional options
|
|
299
305
|
*/
|
|
300
306
|
public httpDeleteVersionedAssetsById(
|
|
301
307
|
requestParameters: HttpDeleteVersionedAssetsByIdRequestParams,
|
|
@@ -363,16 +369,18 @@ export class PublicAssetVersioningService extends BaseService {
|
|
|
363
369
|
...(withCredentials ? { withCredentials } : {}),
|
|
364
370
|
headers: localVarHeaders,
|
|
365
371
|
observe: observe,
|
|
366
|
-
transferCache: localVarTransferCache,
|
|
372
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
367
373
|
reportProgress: reportProgress
|
|
368
374
|
});
|
|
369
375
|
}
|
|
370
376
|
|
|
371
377
|
/**
|
|
372
378
|
* This endpoint checks if assets and version exists and returns the url for the requested blob.
|
|
379
|
+
* @endpoint get /assets/{id}/versions/{vNr}/blobs
|
|
373
380
|
* @param requestParameters
|
|
374
381
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
375
382
|
* @param reportProgress flag to report request and response progress.
|
|
383
|
+
* @param options additional options
|
|
376
384
|
*/
|
|
377
385
|
public httpGetVersionedAssetBlobById(
|
|
378
386
|
requestParameters: HttpGetVersionedAssetBlobByIdRequestParams,
|
|
@@ -408,8 +416,9 @@ export class PublicAssetVersioningService extends BaseService {
|
|
|
408
416
|
}
|
|
409
417
|
const c = requestParameters?.c;
|
|
410
418
|
|
|
411
|
-
let localVarQueryParameters = new
|
|
412
|
-
|
|
419
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
420
|
+
|
|
421
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'c', <any>c, QueryParamStyle.Form, true);
|
|
413
422
|
|
|
414
423
|
let localVarHeaders = this.defaultHeaders;
|
|
415
424
|
|
|
@@ -440,21 +449,23 @@ export class PublicAssetVersioningService extends BaseService {
|
|
|
440
449
|
const { basePath, withCredentials } = this.configuration;
|
|
441
450
|
return this.httpClient.request<AssetBlob>('get', `${basePath}${localVarPath}`, {
|
|
442
451
|
context: localVarHttpContext,
|
|
443
|
-
params: localVarQueryParameters,
|
|
452
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
444
453
|
responseType: <any>responseType_,
|
|
445
454
|
...(withCredentials ? { withCredentials } : {}),
|
|
446
455
|
headers: localVarHeaders,
|
|
447
456
|
observe: observe,
|
|
448
|
-
transferCache: localVarTransferCache,
|
|
457
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
449
458
|
reportProgress: reportProgress
|
|
450
459
|
});
|
|
451
460
|
}
|
|
452
461
|
|
|
453
462
|
/**
|
|
454
463
|
* This endpoint restores a version nr to be the current version and saves the current asset as version.
|
|
464
|
+
* @endpoint post /assets/{id}/versions/{vNr}/restore
|
|
455
465
|
* @param requestParameters
|
|
456
466
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
457
467
|
* @param reportProgress flag to report request and response progress.
|
|
468
|
+
* @param options additional options
|
|
458
469
|
*/
|
|
459
470
|
public httpRestoreVersionedAssetsById(
|
|
460
471
|
requestParameters: HttpRestoreVersionedAssetsByIdRequestParams,
|
|
@@ -534,16 +545,18 @@ export class PublicAssetVersioningService extends BaseService {
|
|
|
534
545
|
...(withCredentials ? { withCredentials } : {}),
|
|
535
546
|
headers: localVarHeaders,
|
|
536
547
|
observe: observe,
|
|
537
|
-
transferCache: localVarTransferCache,
|
|
548
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
538
549
|
reportProgress: reportProgress
|
|
539
550
|
});
|
|
540
551
|
}
|
|
541
552
|
|
|
542
553
|
/**
|
|
543
554
|
* This endpoint updates a version of an asset.
|
|
555
|
+
* @endpoint post /assets/{id}/versions/{vNr}
|
|
544
556
|
* @param requestParameters
|
|
545
557
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
546
558
|
* @param reportProgress flag to report request and response progress.
|
|
559
|
+
* @param options additional options
|
|
547
560
|
*/
|
|
548
561
|
public httpUpdateVersionedAssetsById(
|
|
549
562
|
requestParameters: HttpUpdateVersionedAssetsByIdRequestParams,
|
|
@@ -611,16 +624,18 @@ export class PublicAssetVersioningService extends BaseService {
|
|
|
611
624
|
...(withCredentials ? { withCredentials } : {}),
|
|
612
625
|
headers: localVarHeaders,
|
|
613
626
|
observe: observe,
|
|
614
|
-
transferCache: localVarTransferCache,
|
|
627
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
615
628
|
reportProgress: reportProgress
|
|
616
629
|
});
|
|
617
630
|
}
|
|
618
631
|
|
|
619
632
|
/**
|
|
620
633
|
* This endpoint lists all the versioned assets which are stored in the database if asset is still valid.
|
|
634
|
+
* @endpoint get /assets/{id}/versions
|
|
621
635
|
* @param requestParameters
|
|
622
636
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
623
637
|
* @param reportProgress flag to report request and response progress.
|
|
638
|
+
* @param options additional options
|
|
624
639
|
*/
|
|
625
640
|
public httpVersionedAssetsGet(
|
|
626
641
|
requestParameters: HttpVersionedAssetsGetRequestParams,
|
|
@@ -684,7 +699,7 @@ export class PublicAssetVersioningService extends BaseService {
|
|
|
684
699
|
...(withCredentials ? { withCredentials } : {}),
|
|
685
700
|
headers: localVarHeaders,
|
|
686
701
|
observe: observe,
|
|
687
|
-
transferCache: localVarTransferCache,
|
|
702
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
688
703
|
reportProgress: reportProgress
|
|
689
704
|
});
|
|
690
705
|
}
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
11
11
|
|
|
12
12
|
import { Inject, Injectable, Optional } from '@angular/core';
|
|
13
|
-
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent,
|
|
14
|
-
import { CustomHttpParameterCodec } from '../encoder';
|
|
13
|
+
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
15
14
|
import { Observable } from 'rxjs';
|
|
15
|
+
import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
|
|
16
16
|
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
import { AgravityUser } from '../model/agravityUser.pub.agravity';
|
|
@@ -52,9 +52,11 @@ export class PublicAuthenticationManagementService extends BaseService {
|
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
* This gets the user information about an Agravity User (incl. Online Status). Only full information if requester and userId are the same or it has role Admin.
|
|
55
|
+
* @endpoint get /auth/users/{id}
|
|
55
56
|
* @param requestParameters
|
|
56
57
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
57
58
|
* @param reportProgress flag to report request and response progress.
|
|
59
|
+
* @param options additional options
|
|
58
60
|
*/
|
|
59
61
|
public httpAuthGetAgravityUserById(
|
|
60
62
|
requestParameters: HttpAuthGetAgravityUserByIdRequestParams,
|
|
@@ -86,8 +88,9 @@ export class PublicAuthenticationManagementService extends BaseService {
|
|
|
86
88
|
}
|
|
87
89
|
const limit = requestParameters?.limit;
|
|
88
90
|
|
|
89
|
-
let localVarQueryParameters = new
|
|
90
|
-
|
|
91
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
92
|
+
|
|
93
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'limit', <any>limit, QueryParamStyle.Form, true);
|
|
91
94
|
|
|
92
95
|
let localVarHeaders = this.defaultHeaders;
|
|
93
96
|
|
|
@@ -118,21 +121,23 @@ export class PublicAuthenticationManagementService extends BaseService {
|
|
|
118
121
|
const { basePath, withCredentials } = this.configuration;
|
|
119
122
|
return this.httpClient.request<AgravityUser>('get', `${basePath}${localVarPath}`, {
|
|
120
123
|
context: localVarHttpContext,
|
|
121
|
-
params: localVarQueryParameters,
|
|
124
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
122
125
|
responseType: <any>responseType_,
|
|
123
126
|
...(withCredentials ? { withCredentials } : {}),
|
|
124
127
|
headers: localVarHeaders,
|
|
125
128
|
observe: observe,
|
|
126
|
-
transferCache: localVarTransferCache,
|
|
129
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
127
130
|
reportProgress: reportProgress
|
|
128
131
|
});
|
|
129
132
|
}
|
|
130
133
|
|
|
131
134
|
/**
|
|
132
135
|
* This endpoint creates and returns a SAS-Token with write access for the requested container
|
|
136
|
+
* @endpoint get /auth/containerwrite/{containerName}
|
|
133
137
|
* @param requestParameters
|
|
134
138
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
135
139
|
* @param reportProgress flag to report request and response progress.
|
|
140
|
+
* @param options additional options
|
|
136
141
|
*/
|
|
137
142
|
public httpAuthGetContainerWriteSasToken(
|
|
138
143
|
requestParameters: HttpAuthGetContainerWriteSasTokenRequestParams,
|
|
@@ -167,8 +172,9 @@ export class PublicAuthenticationManagementService extends BaseService {
|
|
|
167
172
|
throw new Error('Required parameter code was null or undefined when calling httpAuthGetContainerWriteSasToken.');
|
|
168
173
|
}
|
|
169
174
|
|
|
170
|
-
let localVarQueryParameters = new
|
|
171
|
-
|
|
175
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
176
|
+
|
|
177
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'code', <any>code, QueryParamStyle.Form, true);
|
|
172
178
|
|
|
173
179
|
let localVarHeaders = this.defaultHeaders;
|
|
174
180
|
|
|
@@ -199,20 +205,22 @@ export class PublicAuthenticationManagementService extends BaseService {
|
|
|
199
205
|
const { basePath, withCredentials } = this.configuration;
|
|
200
206
|
return this.httpClient.request<SasToken>('get', `${basePath}${localVarPath}`, {
|
|
201
207
|
context: localVarHttpContext,
|
|
202
|
-
params: localVarQueryParameters,
|
|
208
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
203
209
|
responseType: <any>responseType_,
|
|
204
210
|
...(withCredentials ? { withCredentials } : {}),
|
|
205
211
|
headers: localVarHeaders,
|
|
206
212
|
observe: observe,
|
|
207
|
-
transferCache: localVarTransferCache,
|
|
213
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
208
214
|
reportProgress: reportProgress
|
|
209
215
|
});
|
|
210
216
|
}
|
|
211
217
|
|
|
212
218
|
/**
|
|
213
219
|
* This endpoint creates and returns a SAS-Token with write access for the inbox container. Do not use this any longer. Use HttpAuthGetContainerWriteSasToken with inbox as container name.
|
|
220
|
+
* @endpoint get /auth/inbox
|
|
214
221
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
215
222
|
* @param reportProgress flag to report request and response progress.
|
|
223
|
+
* @param options additional options
|
|
216
224
|
* @deprecated
|
|
217
225
|
*/
|
|
218
226
|
public httpAuthGetInboxContainerWriteSasToken(
|
|
@@ -268,7 +276,7 @@ export class PublicAuthenticationManagementService extends BaseService {
|
|
|
268
276
|
...(withCredentials ? { withCredentials } : {}),
|
|
269
277
|
headers: localVarHeaders,
|
|
270
278
|
observe: observe,
|
|
271
|
-
transferCache: localVarTransferCache,
|
|
279
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
272
280
|
reportProgress: reportProgress
|
|
273
281
|
});
|
|
274
282
|
}
|