@agravity/private 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/aIOperations.agravity.ts +38 -14
- package/api/assetIconRuleManagement.agravity.ts +33 -19
- package/api/assetManagement.agravity.ts +74 -37
- package/api/assetOperations.agravity.ts +175 -86
- package/api/assetPublishing.agravity.ts +33 -14
- package/api/assetRelationManagement.agravity.ts +37 -21
- package/api/assetRelationTypeManagement.agravity.ts +36 -20
- package/api/assetVersioning.agravity.ts +33 -14
- package/api/authenticationManagement.agravity.ts +57 -24
- package/api/collectionManagement.agravity.ts +86 -46
- package/api/collectionShareManagement.agravity.ts +29 -15
- package/api/collectionTypeItemBlueprintManagement.agravity.ts +26 -15
- package/api/collectionTypeManagement.agravity.ts +50 -27
- package/api/commentsManagement.agravity.ts +14 -6
- package/api/configurationManagement.agravity.ts +25 -13
- package/api/dashboardWidgetManagement.agravity.ts +21 -10
- package/api/dataImportExportManagement.agravity.ts +49 -25
- package/api/downloadFormatManagement.agravity.ts +36 -20
- package/api/downloadZip.agravity.ts +11 -5
- package/api/featuresManagement.agravity.ts +5 -3
- package/api/generalManagement.agravity.ts +43 -22
- package/api/helperTools.agravity.ts +76 -35
- package/api/historyEntryManagement.agravity.ts +9 -6
- package/api/iccProfileManagement.agravity.ts +5 -3
- package/api/listBlobs.agravity.ts +8 -4
- package/api/listQueues.agravity.ts +5 -3
- package/api/listTables.agravity.ts +5 -3
- package/api/notificationManagement.agravity.ts +11 -5
- package/api/permissionsManagement.agravity.ts +14 -6
- package/api/portalManagement.agravity.ts +26 -10
- package/api/portalsUsersManagement.agravity.ts +17 -7
- package/api/profilesManagement.agravity.ts +20 -8
- package/api/publishing.agravity.ts +11 -7
- package/api/quickshareManagement.agravity.ts +36 -19
- package/api/savedSearchManagement.agravity.ts +23 -13
- package/api/searchManagement.agravity.ts +100 -54
- package/api/searchSettingsOperations.agravity.ts +8 -4
- package/api/secureUpload.agravity.ts +28 -14
- package/api/signalRConnectionManagement.agravity.ts +11 -5
- package/api/staticDefinedListManagement.agravity.ts +35 -20
- package/api/stockImport.agravity.ts +22 -13
- package/api/structureImport.agravity.ts +13 -8
- package/api/translationManagement.agravity.ts +32 -17
- package/api/webAppData.agravity.ts +14 -6
- package/api/widgetLayoutManagement.agravity.ts +8 -4
- package/api/wordpressManagement.agravity.ts +28 -16
- package/api/workspaceManagement.agravity.ts +39 -21
- 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.agravity';
|
|
@@ -108,9 +108,11 @@ export class AssetVersioningService extends BaseService {
|
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* This endpoint allows to create empty version or upload one asset which replaces the asset with given id and creates version.
|
|
111
|
+
* @endpoint post /assets/{id}/versions
|
|
111
112
|
* @param requestParameters
|
|
112
113
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
113
114
|
* @param reportProgress flag to report request and response progress.
|
|
115
|
+
* @param options additional options
|
|
114
116
|
*/
|
|
115
117
|
public httpAssetCreateNewVersion(
|
|
116
118
|
requestParameters: HttpAssetCreateNewVersionRequestParams,
|
|
@@ -186,16 +188,18 @@ export class AssetVersioningService extends BaseService {
|
|
|
186
188
|
...(withCredentials ? { withCredentials } : {}),
|
|
187
189
|
headers: localVarHeaders,
|
|
188
190
|
observe: observe,
|
|
189
|
-
transferCache: localVarTransferCache,
|
|
191
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
190
192
|
reportProgress: reportProgress
|
|
191
193
|
});
|
|
192
194
|
}
|
|
193
195
|
|
|
194
196
|
/**
|
|
195
197
|
* This endpoint allows to upload one asset which replaces the asset with given id and creates a version which is returned.
|
|
198
|
+
* @endpoint post /assets/{id}/versionsupload
|
|
196
199
|
* @param requestParameters
|
|
197
200
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
198
201
|
* @param reportProgress flag to report request and response progress.
|
|
202
|
+
* @param options additional options
|
|
199
203
|
*/
|
|
200
204
|
public httpAssetCreateUploadVersion(
|
|
201
205
|
requestParameters: HttpAssetCreateUploadVersionRequestParams,
|
|
@@ -298,16 +302,18 @@ export class AssetVersioningService extends BaseService {
|
|
|
298
302
|
...(withCredentials ? { withCredentials } : {}),
|
|
299
303
|
headers: localVarHeaders,
|
|
300
304
|
observe: observe,
|
|
301
|
-
transferCache: localVarTransferCache,
|
|
305
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
302
306
|
reportProgress: reportProgress
|
|
303
307
|
});
|
|
304
308
|
}
|
|
305
309
|
|
|
306
310
|
/**
|
|
307
311
|
* This endpoint restores the last version of this asset (even when corrupt or no blob was uploaded).
|
|
312
|
+
* @endpoint patch /assets/{id}/versionsrestore
|
|
308
313
|
* @param requestParameters
|
|
309
314
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
310
315
|
* @param reportProgress flag to report request and response progress.
|
|
316
|
+
* @param options additional options
|
|
311
317
|
*/
|
|
312
318
|
public httpAssetRestoreLastVersion(
|
|
313
319
|
requestParameters: HttpAssetRestoreLastVersionRequestParams,
|
|
@@ -371,16 +377,18 @@ export class AssetVersioningService extends BaseService {
|
|
|
371
377
|
...(withCredentials ? { withCredentials } : {}),
|
|
372
378
|
headers: localVarHeaders,
|
|
373
379
|
observe: observe,
|
|
374
|
-
transferCache: localVarTransferCache,
|
|
380
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
375
381
|
reportProgress: reportProgress
|
|
376
382
|
});
|
|
377
383
|
}
|
|
378
384
|
|
|
379
385
|
/**
|
|
380
386
|
* This endpoint deletes a version of an asset.
|
|
387
|
+
* @endpoint delete /assets/{id}/versions/{vNr}
|
|
381
388
|
* @param requestParameters
|
|
382
389
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
383
390
|
* @param reportProgress flag to report request and response progress.
|
|
391
|
+
* @param options additional options
|
|
384
392
|
*/
|
|
385
393
|
public httpDeleteVersionedAssetsById(
|
|
386
394
|
requestParameters: HttpDeleteVersionedAssetsByIdRequestParams,
|
|
@@ -448,16 +456,18 @@ export class AssetVersioningService extends BaseService {
|
|
|
448
456
|
...(withCredentials ? { withCredentials } : {}),
|
|
449
457
|
headers: localVarHeaders,
|
|
450
458
|
observe: observe,
|
|
451
|
-
transferCache: localVarTransferCache,
|
|
459
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
452
460
|
reportProgress: reportProgress
|
|
453
461
|
});
|
|
454
462
|
}
|
|
455
463
|
|
|
456
464
|
/**
|
|
457
465
|
* This endpoint checks if assets and version exists and returns the url for the requested blob.
|
|
466
|
+
* @endpoint get /assets/{id}/versions/{vNr}/blobs
|
|
458
467
|
* @param requestParameters
|
|
459
468
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
460
469
|
* @param reportProgress flag to report request and response progress.
|
|
470
|
+
* @param options additional options
|
|
461
471
|
*/
|
|
462
472
|
public httpGetVersionedAssetBlobById(
|
|
463
473
|
requestParameters: HttpGetVersionedAssetBlobByIdRequestParams,
|
|
@@ -493,8 +503,9 @@ export class AssetVersioningService extends BaseService {
|
|
|
493
503
|
}
|
|
494
504
|
const c = requestParameters?.c;
|
|
495
505
|
|
|
496
|
-
let localVarQueryParameters = new
|
|
497
|
-
|
|
506
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
507
|
+
|
|
508
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'c', <any>c, QueryParamStyle.Form, true);
|
|
498
509
|
|
|
499
510
|
let localVarHeaders = this.defaultHeaders;
|
|
500
511
|
|
|
@@ -525,21 +536,23 @@ export class AssetVersioningService extends BaseService {
|
|
|
525
536
|
const { basePath, withCredentials } = this.configuration;
|
|
526
537
|
return this.httpClient.request<AssetBlob>('get', `${basePath}${localVarPath}`, {
|
|
527
538
|
context: localVarHttpContext,
|
|
528
|
-
params: localVarQueryParameters,
|
|
539
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
529
540
|
responseType: <any>responseType_,
|
|
530
541
|
...(withCredentials ? { withCredentials } : {}),
|
|
531
542
|
headers: localVarHeaders,
|
|
532
543
|
observe: observe,
|
|
533
|
-
transferCache: localVarTransferCache,
|
|
544
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
534
545
|
reportProgress: reportProgress
|
|
535
546
|
});
|
|
536
547
|
}
|
|
537
548
|
|
|
538
549
|
/**
|
|
539
550
|
* This endpoint restores a version nr to be the current version and saves the current asset as version.
|
|
551
|
+
* @endpoint post /assets/{id}/versions/{vNr}/restore
|
|
540
552
|
* @param requestParameters
|
|
541
553
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
542
554
|
* @param reportProgress flag to report request and response progress.
|
|
555
|
+
* @param options additional options
|
|
543
556
|
*/
|
|
544
557
|
public httpRestoreVersionedAssetsById(
|
|
545
558
|
requestParameters: HttpRestoreVersionedAssetsByIdRequestParams,
|
|
@@ -619,16 +632,18 @@ export class AssetVersioningService extends BaseService {
|
|
|
619
632
|
...(withCredentials ? { withCredentials } : {}),
|
|
620
633
|
headers: localVarHeaders,
|
|
621
634
|
observe: observe,
|
|
622
|
-
transferCache: localVarTransferCache,
|
|
635
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
623
636
|
reportProgress: reportProgress
|
|
624
637
|
});
|
|
625
638
|
}
|
|
626
639
|
|
|
627
640
|
/**
|
|
628
641
|
* This endpoint updates a version of an asset.
|
|
642
|
+
* @endpoint post /assets/{id}/versions/{vNr}
|
|
629
643
|
* @param requestParameters
|
|
630
644
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
631
645
|
* @param reportProgress flag to report request and response progress.
|
|
646
|
+
* @param options additional options
|
|
632
647
|
*/
|
|
633
648
|
public httpUpdateVersionedAssetsById(
|
|
634
649
|
requestParameters: HttpUpdateVersionedAssetsByIdRequestParams,
|
|
@@ -708,16 +723,18 @@ export class AssetVersioningService extends BaseService {
|
|
|
708
723
|
...(withCredentials ? { withCredentials } : {}),
|
|
709
724
|
headers: localVarHeaders,
|
|
710
725
|
observe: observe,
|
|
711
|
-
transferCache: localVarTransferCache,
|
|
726
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
712
727
|
reportProgress: reportProgress
|
|
713
728
|
});
|
|
714
729
|
}
|
|
715
730
|
|
|
716
731
|
/**
|
|
717
732
|
* This endpoint deletes all versioned asset.
|
|
733
|
+
* @endpoint delete /assets/{id}/versions
|
|
718
734
|
* @param requestParameters
|
|
719
735
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
720
736
|
* @param reportProgress flag to report request and response progress.
|
|
737
|
+
* @param options additional options
|
|
721
738
|
*/
|
|
722
739
|
public httpVersionedAssetsDeleteAll(
|
|
723
740
|
requestParameters: HttpVersionedAssetsDeleteAllRequestParams,
|
|
@@ -781,16 +798,18 @@ export class AssetVersioningService extends BaseService {
|
|
|
781
798
|
...(withCredentials ? { withCredentials } : {}),
|
|
782
799
|
headers: localVarHeaders,
|
|
783
800
|
observe: observe,
|
|
784
|
-
transferCache: localVarTransferCache,
|
|
801
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
785
802
|
reportProgress: reportProgress
|
|
786
803
|
});
|
|
787
804
|
}
|
|
788
805
|
|
|
789
806
|
/**
|
|
790
807
|
* This endpoint lists all the versioned assets which are stored in the database if asset is still valid.
|
|
808
|
+
* @endpoint get /assets/{id}/versions
|
|
791
809
|
* @param requestParameters
|
|
792
810
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
793
811
|
* @param reportProgress flag to report request and response progress.
|
|
812
|
+
* @param options additional options
|
|
794
813
|
*/
|
|
795
814
|
public httpVersionedAssetsGet(
|
|
796
815
|
requestParameters: HttpVersionedAssetsGetRequestParams,
|
|
@@ -854,7 +873,7 @@ export class AssetVersioningService extends BaseService {
|
|
|
854
873
|
...(withCredentials ? { withCredentials } : {}),
|
|
855
874
|
headers: localVarHeaders,
|
|
856
875
|
observe: observe,
|
|
857
|
-
transferCache: localVarTransferCache,
|
|
876
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
858
877
|
reportProgress: reportProgress
|
|
859
878
|
});
|
|
860
879
|
}
|
|
@@ -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.agravity';
|
|
@@ -95,9 +95,11 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
95
95
|
|
|
96
96
|
/**
|
|
97
97
|
* This endpoint creates a new api key user in database and registers it on the public function
|
|
98
|
+
* @endpoint post /auth/apikey
|
|
98
99
|
* @param requestParameters
|
|
99
100
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
100
101
|
* @param reportProgress flag to report request and response progress.
|
|
102
|
+
* @param options additional options
|
|
101
103
|
*/
|
|
102
104
|
public httpAuthCreatePublicApiKey(
|
|
103
105
|
requestParameters: HttpAuthCreatePublicApiKeyRequestParams,
|
|
@@ -169,16 +171,18 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
169
171
|
...(withCredentials ? { withCredentials } : {}),
|
|
170
172
|
headers: localVarHeaders,
|
|
171
173
|
observe: observe,
|
|
172
|
-
transferCache: localVarTransferCache,
|
|
174
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
173
175
|
reportProgress: reportProgress
|
|
174
176
|
});
|
|
175
177
|
}
|
|
176
178
|
|
|
177
179
|
/**
|
|
178
180
|
* This endpoint deletes an agravity user.
|
|
181
|
+
* @endpoint delete /auth/user/{id}
|
|
179
182
|
* @param requestParameters
|
|
180
183
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
181
184
|
* @param reportProgress flag to report request and response progress.
|
|
185
|
+
* @param options additional options
|
|
182
186
|
*/
|
|
183
187
|
public httpAuthDeleteAgravityUser(
|
|
184
188
|
requestParameters: HttpAuthDeleteAgravityUserRequestParams,
|
|
@@ -242,15 +246,17 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
242
246
|
...(withCredentials ? { withCredentials } : {}),
|
|
243
247
|
headers: localVarHeaders,
|
|
244
248
|
observe: observe,
|
|
245
|
-
transferCache: localVarTransferCache,
|
|
249
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
246
250
|
reportProgress: reportProgress
|
|
247
251
|
});
|
|
248
252
|
}
|
|
249
253
|
|
|
250
254
|
/**
|
|
251
255
|
* This endpoint to end impersonation an Agravity user.
|
|
256
|
+
* @endpoint delete /auth/impersonate
|
|
252
257
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
253
258
|
* @param reportProgress flag to report request and response progress.
|
|
259
|
+
* @param options additional options
|
|
254
260
|
*/
|
|
255
261
|
public httpAuthDeleteImpersonateUser(
|
|
256
262
|
observe?: 'body',
|
|
@@ -305,16 +311,18 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
305
311
|
...(withCredentials ? { withCredentials } : {}),
|
|
306
312
|
headers: localVarHeaders,
|
|
307
313
|
observe: observe,
|
|
308
|
-
transferCache: localVarTransferCache,
|
|
314
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
309
315
|
reportProgress: reportProgress
|
|
310
316
|
});
|
|
311
317
|
}
|
|
312
318
|
|
|
313
319
|
/**
|
|
314
320
|
* This endpoint deletes an api key user and removed the key from public functions.
|
|
321
|
+
* @endpoint delete /auth/apikey/{id}
|
|
315
322
|
* @param requestParameters
|
|
316
323
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
317
324
|
* @param reportProgress flag to report request and response progress.
|
|
325
|
+
* @param options additional options
|
|
318
326
|
*/
|
|
319
327
|
public httpAuthDeletePublicApiKey(
|
|
320
328
|
requestParameters: HttpAuthDeletePublicApiKeyRequestParams,
|
|
@@ -378,15 +386,17 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
378
386
|
...(withCredentials ? { withCredentials } : {}),
|
|
379
387
|
headers: localVarHeaders,
|
|
380
388
|
observe: observe,
|
|
381
|
-
transferCache: localVarTransferCache,
|
|
389
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
382
390
|
reportProgress: reportProgress
|
|
383
391
|
});
|
|
384
392
|
}
|
|
385
393
|
|
|
386
394
|
/**
|
|
387
395
|
* This endpoint returns the user from database of the HTTP request.
|
|
396
|
+
* @endpoint get /auth/user
|
|
388
397
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
389
398
|
* @param reportProgress flag to report request and response progress.
|
|
399
|
+
* @param options additional options
|
|
390
400
|
*/
|
|
391
401
|
public httpAuthGetAgravityUser(
|
|
392
402
|
observe?: 'body',
|
|
@@ -441,16 +451,18 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
441
451
|
...(withCredentials ? { withCredentials } : {}),
|
|
442
452
|
headers: localVarHeaders,
|
|
443
453
|
observe: observe,
|
|
444
|
-
transferCache: localVarTransferCache,
|
|
454
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
445
455
|
reportProgress: reportProgress
|
|
446
456
|
});
|
|
447
457
|
}
|
|
448
458
|
|
|
449
459
|
/**
|
|
450
460
|
* 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.
|
|
461
|
+
* @endpoint get /auth/users/{id}
|
|
451
462
|
* @param requestParameters
|
|
452
463
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
453
464
|
* @param reportProgress flag to report request and response progress.
|
|
465
|
+
* @param options additional options
|
|
454
466
|
*/
|
|
455
467
|
public httpAuthGetAgravityUserById(
|
|
456
468
|
requestParameters: HttpAuthGetAgravityUserByIdRequestParams,
|
|
@@ -482,8 +494,9 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
482
494
|
}
|
|
483
495
|
const limit = requestParameters?.limit;
|
|
484
496
|
|
|
485
|
-
let localVarQueryParameters = new
|
|
486
|
-
|
|
497
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
498
|
+
|
|
499
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'limit', <any>limit, QueryParamStyle.Form, true);
|
|
487
500
|
|
|
488
501
|
let localVarHeaders = this.defaultHeaders;
|
|
489
502
|
|
|
@@ -514,21 +527,23 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
514
527
|
const { basePath, withCredentials } = this.configuration;
|
|
515
528
|
return this.httpClient.request<AgravityUser>('get', `${basePath}${localVarPath}`, {
|
|
516
529
|
context: localVarHttpContext,
|
|
517
|
-
params: localVarQueryParameters,
|
|
530
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
518
531
|
responseType: <any>responseType_,
|
|
519
532
|
...(withCredentials ? { withCredentials } : {}),
|
|
520
533
|
headers: localVarHeaders,
|
|
521
534
|
observe: observe,
|
|
522
|
-
transferCache: localVarTransferCache,
|
|
535
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
523
536
|
reportProgress: reportProgress
|
|
524
537
|
});
|
|
525
538
|
}
|
|
526
539
|
|
|
527
540
|
/**
|
|
528
541
|
* This endpoint returns all the Agravity users from database.
|
|
542
|
+
* @endpoint get /auth/users
|
|
529
543
|
* @param requestParameters
|
|
530
544
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
531
545
|
* @param reportProgress flag to report request and response progress.
|
|
546
|
+
* @param options additional options
|
|
532
547
|
*/
|
|
533
548
|
public httpAuthGetAgravityUsers(
|
|
534
549
|
requestParameters?: HttpAuthGetAgravityUsersRequestParams,
|
|
@@ -557,9 +572,11 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
557
572
|
const limit = requestParameters?.limit;
|
|
558
573
|
const apikey = requestParameters?.apikey;
|
|
559
574
|
|
|
560
|
-
let localVarQueryParameters = new
|
|
561
|
-
|
|
562
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
575
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
576
|
+
|
|
577
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'limit', <any>limit, QueryParamStyle.Form, true);
|
|
578
|
+
|
|
579
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'apikey', <any>apikey, QueryParamStyle.Form, true);
|
|
563
580
|
|
|
564
581
|
let localVarHeaders = this.defaultHeaders;
|
|
565
582
|
|
|
@@ -590,20 +607,22 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
590
607
|
const { basePath, withCredentials } = this.configuration;
|
|
591
608
|
return this.httpClient.request<Array<AgravityUser>>('get', `${basePath}${localVarPath}`, {
|
|
592
609
|
context: localVarHttpContext,
|
|
593
|
-
params: localVarQueryParameters,
|
|
610
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
594
611
|
responseType: <any>responseType_,
|
|
595
612
|
...(withCredentials ? { withCredentials } : {}),
|
|
596
613
|
headers: localVarHeaders,
|
|
597
614
|
observe: observe,
|
|
598
|
-
transferCache: localVarTransferCache,
|
|
615
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
599
616
|
reportProgress: reportProgress
|
|
600
617
|
});
|
|
601
618
|
}
|
|
602
619
|
|
|
603
620
|
/**
|
|
604
621
|
* This endpoint gets the agravity users allowed features.
|
|
622
|
+
* @endpoint get /auth/features
|
|
605
623
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
606
624
|
* @param reportProgress flag to report request and response progress.
|
|
625
|
+
* @param options additional options
|
|
607
626
|
*/
|
|
608
627
|
public httpAuthGetAgravityUsersFeatures(
|
|
609
628
|
observe?: 'body',
|
|
@@ -658,15 +677,17 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
658
677
|
...(withCredentials ? { withCredentials } : {}),
|
|
659
678
|
headers: localVarHeaders,
|
|
660
679
|
observe: observe,
|
|
661
|
-
transferCache: localVarTransferCache,
|
|
680
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
662
681
|
reportProgress: reportProgress
|
|
663
682
|
});
|
|
664
683
|
}
|
|
665
684
|
|
|
666
685
|
/**
|
|
667
686
|
* This endpoint gets the ID of the application client.
|
|
687
|
+
* @endpoint get /auth/clientid
|
|
668
688
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
669
689
|
* @param reportProgress flag to report request and response progress.
|
|
690
|
+
* @param options additional options
|
|
670
691
|
*/
|
|
671
692
|
public httpAuthGetAppClientId(
|
|
672
693
|
observe?: 'body',
|
|
@@ -721,16 +742,18 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
721
742
|
...(withCredentials ? { withCredentials } : {}),
|
|
722
743
|
headers: localVarHeaders,
|
|
723
744
|
observe: observe,
|
|
724
|
-
transferCache: localVarTransferCache,
|
|
745
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
725
746
|
reportProgress: reportProgress
|
|
726
747
|
});
|
|
727
748
|
}
|
|
728
749
|
|
|
729
750
|
/**
|
|
730
751
|
* This endpoint creates and returns a SAS token for a single blob inside the optimized OR thumbnails container.
|
|
752
|
+
* @endpoint get /auth/blob/{blobName}
|
|
731
753
|
* @param requestParameters
|
|
732
754
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
733
755
|
* @param reportProgress flag to report request and response progress.
|
|
756
|
+
* @param options additional options
|
|
734
757
|
*/
|
|
735
758
|
public httpAuthGetBlobReadSasToken(
|
|
736
759
|
requestParameters: HttpAuthGetBlobReadSasTokenRequestParams,
|
|
@@ -794,16 +817,18 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
794
817
|
...(withCredentials ? { withCredentials } : {}),
|
|
795
818
|
headers: localVarHeaders,
|
|
796
819
|
observe: observe,
|
|
797
|
-
transferCache: localVarTransferCache,
|
|
820
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
798
821
|
reportProgress: reportProgress
|
|
799
822
|
});
|
|
800
823
|
}
|
|
801
824
|
|
|
802
825
|
/**
|
|
803
826
|
* This endpoint creates and returns a SAS token for a single container with read only access
|
|
827
|
+
* @endpoint get /auth/container/{containerName}
|
|
804
828
|
* @param requestParameters
|
|
805
829
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
806
830
|
* @param reportProgress flag to report request and response progress.
|
|
831
|
+
* @param options additional options
|
|
807
832
|
*/
|
|
808
833
|
public httpAuthGetContainerReadSasToken(
|
|
809
834
|
requestParameters: HttpAuthGetContainerReadSasTokenRequestParams,
|
|
@@ -867,16 +892,18 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
867
892
|
...(withCredentials ? { withCredentials } : {}),
|
|
868
893
|
headers: localVarHeaders,
|
|
869
894
|
observe: observe,
|
|
870
|
-
transferCache: localVarTransferCache,
|
|
895
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
871
896
|
reportProgress: reportProgress
|
|
872
897
|
});
|
|
873
898
|
}
|
|
874
899
|
|
|
875
900
|
/**
|
|
876
901
|
* This endpoint creates and returns a SAS-Token with write access for the requested container
|
|
902
|
+
* @endpoint get /auth/containerwrite/{containerName}
|
|
877
903
|
* @param requestParameters
|
|
878
904
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
879
905
|
* @param reportProgress flag to report request and response progress.
|
|
906
|
+
* @param options additional options
|
|
880
907
|
*/
|
|
881
908
|
public httpAuthGetContainerWriteSasToken(
|
|
882
909
|
requestParameters: HttpAuthGetContainerWriteSasTokenRequestParams,
|
|
@@ -940,15 +967,17 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
940
967
|
...(withCredentials ? { withCredentials } : {}),
|
|
941
968
|
headers: localVarHeaders,
|
|
942
969
|
observe: observe,
|
|
943
|
-
transferCache: localVarTransferCache,
|
|
970
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
944
971
|
reportProgress: reportProgress
|
|
945
972
|
});
|
|
946
973
|
}
|
|
947
974
|
|
|
948
975
|
/**
|
|
949
976
|
* 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.
|
|
977
|
+
* @endpoint get /auth/inbox
|
|
950
978
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
951
979
|
* @param reportProgress flag to report request and response progress.
|
|
980
|
+
* @param options additional options
|
|
952
981
|
* @deprecated
|
|
953
982
|
*/
|
|
954
983
|
public httpAuthGetInboxContainerWriteSasToken(
|
|
@@ -1004,15 +1033,17 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
1004
1033
|
...(withCredentials ? { withCredentials } : {}),
|
|
1005
1034
|
headers: localVarHeaders,
|
|
1006
1035
|
observe: observe,
|
|
1007
|
-
transferCache: localVarTransferCache,
|
|
1036
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1008
1037
|
reportProgress: reportProgress
|
|
1009
1038
|
});
|
|
1010
1039
|
}
|
|
1011
1040
|
|
|
1012
1041
|
/**
|
|
1013
1042
|
* This endpoint gets the ID of the user.
|
|
1043
|
+
* @endpoint get /auth/userid
|
|
1014
1044
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1015
1045
|
* @param reportProgress flag to report request and response progress.
|
|
1046
|
+
* @param options additional options
|
|
1016
1047
|
*/
|
|
1017
1048
|
public httpAuthGetUserId(
|
|
1018
1049
|
observe?: 'body',
|
|
@@ -1067,16 +1098,18 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
1067
1098
|
...(withCredentials ? { withCredentials } : {}),
|
|
1068
1099
|
headers: localVarHeaders,
|
|
1069
1100
|
observe: observe,
|
|
1070
|
-
transferCache: localVarTransferCache,
|
|
1101
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1071
1102
|
reportProgress: reportProgress
|
|
1072
1103
|
});
|
|
1073
1104
|
}
|
|
1074
1105
|
|
|
1075
1106
|
/**
|
|
1076
1107
|
* This endpoint to impersonate an Agravity user.
|
|
1108
|
+
* @endpoint patch /auth/impersonate/{id}
|
|
1077
1109
|
* @param requestParameters
|
|
1078
1110
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1079
1111
|
* @param reportProgress flag to report request and response progress.
|
|
1112
|
+
* @param options additional options
|
|
1080
1113
|
*/
|
|
1081
1114
|
public httpAuthPatchImpersonateUser(
|
|
1082
1115
|
requestParameters: HttpAuthPatchImpersonateUserRequestParams,
|
|
@@ -1140,7 +1173,7 @@ export class AuthenticationManagementService extends BaseService {
|
|
|
1140
1173
|
...(withCredentials ? { withCredentials } : {}),
|
|
1141
1174
|
headers: localVarHeaders,
|
|
1142
1175
|
observe: observe,
|
|
1143
|
-
transferCache: localVarTransferCache,
|
|
1176
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1144
1177
|
reportProgress: reportProgress
|
|
1145
1178
|
});
|
|
1146
1179
|
}
|