@agravity/private 7.3.1 → 8.1.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.
- package/.openapi-generator/FILES +1 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +29 -4
- package/api/assetIconRuleManagement.agravity.ts +344 -150
- package/api/assetManagement.agravity.ts +709 -389
- package/api/assetOperations.agravity.ts +1414 -650
- package/api/assetPublishing.agravity.ts +562 -255
- package/api/assetVersioning.agravity.ts +598 -278
- package/api/authenticationManagement.agravity.ts +731 -274
- package/api/collectionManagement.agravity.ts +618 -309
- package/api/collectionShareManagement.agravity.ts +262 -121
- package/api/collectionTypeItemBlueprintManagement.agravity.ts +271 -123
- package/api/collectionTypeManagement.agravity.ts +519 -250
- package/api/commentsManagement.agravity.ts +284 -90
- package/api/configurationManagement.agravity.ts +311 -128
- package/api/dashboardWidgetManagement.agravity.ts +342 -124
- package/api/dataImportExportManagement.agravity.ts +378 -148
- package/api/downloadFormatManagement.agravity.ts +450 -152
- package/api/downloadZip.agravity.ts +75 -30
- package/api/generalManagement.agravity.ts +374 -164
- package/api/helperTools.agravity.ts +804 -273
- package/api/historyEntryManagement.agravity.ts +75 -33
- package/api/iccProfileManagement.agravity.ts +64 -23
- package/api/listBlobs.agravity.ts +125 -47
- package/api/listQueues.agravity.ts +68 -24
- package/api/listTables.agravity.ts +68 -25
- package/api/permissionsManagement.agravity.ts +174 -77
- package/api/portalManagement.agravity.ts +511 -198
- package/api/publishing.agravity.ts +69 -38
- package/api/quickshareManagement.agravity.ts +349 -138
- package/api/savedSearchManagement.agravity.ts +205 -92
- package/api/searchManagement.agravity.ts +517 -297
- package/api/secureUpload.agravity.ts +325 -126
- package/api/signalRConnectionManagement.agravity.ts +175 -56
- package/api/staticDefinedListManagement.agravity.ts +342 -162
- package/api/stockImport.agravity.ts +138 -74
- package/api/structureImport.agravity.ts +68 -25
- package/api/translationManagement.agravity.ts +357 -206
- package/api/webAppData.agravity.ts +278 -88
- package/api/widgetLayoutManagement.agravity.ts +131 -47
- package/api/wordpressManagement.agravity.ts +152 -108
- package/api/workspaceManagement.agravity.ts +456 -197
- package/api.module.ts +0 -40
- package/configuration.ts +42 -0
- package/git_push.sh +3 -4
- package/index.ts +1 -0
- package/model/agravityErrorResponse.agravity.ts +3 -4
- package/model/agravityInfoResponse.agravity.ts +3 -4
- package/model/agravityUser.agravity.ts +16 -17
- package/model/agravityUserDto.agravity.ts +3 -4
- package/model/agravityVersion.agravity.ts +8 -9
- package/model/allWebAppData.agravity.ts +4 -5
- package/model/apiKeyResponse.agravity.ts +2 -3
- package/model/appConfigTableEntity.agravity.ts +8 -9
- package/model/artificialIntelligenceGroup.agravity.ts +3 -4
- package/model/asset.agravity.ts +22 -23
- package/model/assetAvailability.agravity.ts +1 -2
- package/model/assetBlob.agravity.ts +27 -28
- package/model/assetBulkUpdate.agravity.ts +2 -3
- package/model/assetCollectionLink.agravity.ts +2 -3
- package/model/assetIconRule.agravity.ts +17 -18
- package/model/assetIdFormat.agravity.ts +3 -4
- package/model/assetPageResult.agravity.ts +4 -5
- package/model/assetTextContent.agravity.ts +2 -3
- package/model/assetsOperationBody.agravity.ts +3 -4
- package/model/azSearchOptions.agravity.ts +8 -9
- package/model/azureIdentity.agravity.ts +4 -5
- package/model/blobInfoObj.agravity.ts +0 -1
- package/model/collTypeItem.agravity.ts +16 -17
- package/model/collTypeItemBlueprint.agravity.ts +12 -13
- package/model/collection.agravity.ts +15 -16
- package/model/collectionType.agravity.ts +14 -15
- package/model/collectionUDL.agravity.ts +4 -5
- package/model/collectionUDLListEntity.agravity.ts +9 -10
- package/model/collectionUDLReference.agravity.ts +3 -4
- package/model/comment.agravity.ts +9 -10
- package/model/createSftpUserResult.agravity.ts +2 -3
- package/model/dashboardWidget.agravity.ts +11 -12
- package/model/dataResult.agravity.ts +4 -5
- package/model/deletedEntities.agravity.ts +4 -5
- package/model/distZipResponse.agravity.ts +3 -4
- package/model/downloadFormat.agravity.ts +18 -16
- package/model/downloadObject.agravity.ts +16 -16
- package/model/downloadZipRequest.agravity.ts +9 -10
- package/model/dynamicImageOperation.agravity.ts +2 -3
- package/model/emailAddress.agravity.ts +2 -3
- package/model/entityId.agravity.ts +1 -2
- package/model/entityIdName.agravity.ts +3 -4
- package/model/entityTranslations.agravity.ts +2 -3
- package/model/excelExportTableEntity.agravity.ts +5 -5
- package/model/frontendAppConfig.agravity.ts +0 -1
- package/model/groupAllAppData.agravity.ts +5 -6
- package/model/historyEntry.agravity.ts +9 -10
- package/model/infoEntitySkillEnhanced.agravity.ts +10 -11
- package/model/metadata.agravity.ts +3 -4
- package/model/models.ts +0 -1
- package/model/moveCollectionBody.agravity.ts +3 -4
- package/model/permissionChange.agravity.ts +1 -2
- package/model/permissionEntity.agravity.ts +1 -2
- package/model/permissionSetting.agravity.ts +8 -9
- package/model/portal.agravity.ts +20 -20
- package/model/portalLinks.agravity.ts +3 -4
- package/model/portalTheme.agravity.ts +6 -7
- package/model/portalZipRequest.agravity.ts +14 -15
- package/model/publishEntity.agravity.ts +9 -10
- package/model/publishedAsset.agravity.ts +12 -13
- package/model/quickShare.agravity.ts +12 -13
- package/model/quickShareFull.agravity.ts +15 -16
- package/model/sasToken.agravity.ts +6 -7
- package/model/savedSearch.agravity.ts +13 -14
- package/model/searchAdminDataSourceStatus.agravity.ts +2 -3
- package/model/searchAdminIndexStatus.agravity.ts +3 -4
- package/model/searchAdminIndexerLastRun.agravity.ts +3 -4
- package/model/searchAdminIndexerStatus.agravity.ts +4 -5
- package/model/searchAdminSkillStatus.agravity.ts +2 -3
- package/model/searchAdminStatistics.agravity.ts +2 -3
- package/model/searchAdminStatus.agravity.ts +4 -5
- package/model/searchFacet.agravity.ts +2 -3
- package/model/searchFacetEntity.agravity.ts +2 -3
- package/model/searchResult.agravity.ts +3 -4
- package/model/searchableItem.agravity.ts +3 -4
- package/model/secureUploadEntity.agravity.ts +10 -11
- package/model/sharedAllowedFormat.agravity.ts +2 -3
- package/model/sharedAsset.agravity.ts +5 -6
- package/model/sharedCollection.agravity.ts +15 -16
- package/model/sharedCollectionFull.agravity.ts +18 -19
- package/model/signalRConnectionInfo.agravity.ts +0 -1
- package/model/simpleAsset.agravity.ts +10 -11
- package/model/staticDefinedList.agravity.ts +12 -13
- package/model/translation.agravity.ts +2 -3
- package/model/translationRequest.agravity.ts +3 -4
- package/model/uiTutorials.agravity.ts +0 -1
- package/model/versionEntity.agravity.ts +9 -10
- package/model/versionedAsset.agravity.ts +5 -6
- package/model/whereParam.agravity.ts +0 -1
- package/model/widgetLayout.agravity.ts +8 -9
- package/model/widgetProperties.agravity.ts +6 -7
- package/model/workspace.agravity.ts +14 -15
- package/package.json +16 -17
- package/param.ts +44 -0
- package/model/portalLanguages.agravity.ts +0 -16
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 7.3.1
|
|
6
5
|
* Contact: office@agravity.io
|
|
7
6
|
*
|
|
8
7
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,10 +11,14 @@
|
|
|
12
11
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
13
12
|
|
|
14
13
|
import { Inject, Injectable, Optional } from '@angular/core';
|
|
15
|
-
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';
|
|
14
|
+
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
16
15
|
import { CustomHttpParameterCodec } from '../encoder';
|
|
17
16
|
import { Observable } from 'rxjs';
|
|
18
17
|
|
|
18
|
+
// @ts-ignore
|
|
19
|
+
import { AgravityInfoResponse } from '../model/agravityInfoResponse.agravity';
|
|
20
|
+
|
|
21
|
+
// @ts-ignore
|
|
19
22
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
20
23
|
import { AgravityConfiguration } from '../configuration';
|
|
21
24
|
|
|
@@ -30,13 +33,18 @@ export class ListQueuesService {
|
|
|
30
33
|
|
|
31
34
|
constructor(
|
|
32
35
|
protected httpClient: HttpClient,
|
|
33
|
-
@Optional() @Inject(BASE_PATH) basePath: string,
|
|
36
|
+
@Optional() @Inject(BASE_PATH) basePath: string | string[],
|
|
34
37
|
@Optional() configuration: AgravityConfiguration
|
|
35
38
|
) {
|
|
36
39
|
if (configuration) {
|
|
37
40
|
this.configuration = configuration;
|
|
38
41
|
}
|
|
39
42
|
if (typeof this.configuration.basePath !== 'string') {
|
|
43
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
44
|
+
if (firstBasePath != undefined) {
|
|
45
|
+
basePath = firstBasePath;
|
|
46
|
+
}
|
|
47
|
+
|
|
40
48
|
if (typeof basePath !== 'string') {
|
|
41
49
|
basePath = this.basePath;
|
|
42
50
|
}
|
|
@@ -45,6 +53,7 @@ export class ListQueuesService {
|
|
|
45
53
|
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
46
54
|
}
|
|
47
55
|
|
|
56
|
+
// @ts-ignore
|
|
48
57
|
private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
|
|
49
58
|
if (typeof value === 'object' && value instanceof Date === false) {
|
|
50
59
|
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
@@ -64,7 +73,7 @@ export class ListQueuesService {
|
|
|
64
73
|
(value as any[]).forEach((elem) => (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)));
|
|
65
74
|
} else if (value instanceof Date) {
|
|
66
75
|
if (key != null) {
|
|
67
|
-
httpParams = httpParams.append(key, (value as Date).toISOString().
|
|
76
|
+
httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10));
|
|
68
77
|
} else {
|
|
69
78
|
throw Error('key may not be null if value is Date');
|
|
70
79
|
}
|
|
@@ -84,39 +93,74 @@ export class ListQueuesService {
|
|
|
84
93
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
85
94
|
* @param reportProgress flag to report request and response progress.
|
|
86
95
|
*/
|
|
87
|
-
public httpListQueues(
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
96
|
+
public httpListQueues(
|
|
97
|
+
observe?: 'body',
|
|
98
|
+
reportProgress?: boolean,
|
|
99
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
100
|
+
): Observable<AgravityInfoResponse>;
|
|
101
|
+
public httpListQueues(
|
|
102
|
+
observe?: 'response',
|
|
103
|
+
reportProgress?: boolean,
|
|
104
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
105
|
+
): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
106
|
+
public httpListQueues(
|
|
107
|
+
observe?: 'events',
|
|
108
|
+
reportProgress?: boolean,
|
|
109
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
110
|
+
): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
111
|
+
public httpListQueues(
|
|
112
|
+
observe: any = 'body',
|
|
113
|
+
reportProgress: boolean = false,
|
|
114
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
115
|
+
): Observable<any> {
|
|
116
|
+
let localVarHeaders = this.defaultHeaders;
|
|
92
117
|
|
|
93
|
-
let
|
|
118
|
+
let localVarCredential: string | undefined;
|
|
94
119
|
// authentication (msal_auth) required
|
|
95
|
-
|
|
96
|
-
if (
|
|
97
|
-
|
|
120
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
121
|
+
if (localVarCredential) {
|
|
122
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
98
123
|
}
|
|
99
124
|
|
|
100
|
-
let
|
|
101
|
-
if (
|
|
125
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
126
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
102
127
|
// to determine the Accept header
|
|
103
|
-
const httpHeaderAccepts: string[] = ['
|
|
104
|
-
|
|
128
|
+
const httpHeaderAccepts: string[] = ['application/json'];
|
|
129
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
105
130
|
}
|
|
106
|
-
if (
|
|
107
|
-
|
|
131
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
132
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
136
|
+
if (localVarHttpContext === undefined) {
|
|
137
|
+
localVarHttpContext = new HttpContext();
|
|
108
138
|
}
|
|
109
139
|
|
|
110
|
-
let
|
|
111
|
-
if (
|
|
112
|
-
|
|
140
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
141
|
+
if (localVarTransferCache === undefined) {
|
|
142
|
+
localVarTransferCache = true;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
146
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
147
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
148
|
+
responseType_ = 'text';
|
|
149
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
150
|
+
responseType_ = 'json';
|
|
151
|
+
} else {
|
|
152
|
+
responseType_ = 'blob';
|
|
153
|
+
}
|
|
113
154
|
}
|
|
114
155
|
|
|
115
|
-
|
|
156
|
+
let localVarPath = `/queues`;
|
|
157
|
+
return this.httpClient.request<AgravityInfoResponse>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
158
|
+
context: localVarHttpContext,
|
|
116
159
|
responseType: <any>responseType_,
|
|
117
160
|
withCredentials: this.configuration.withCredentials,
|
|
118
|
-
headers:
|
|
161
|
+
headers: localVarHeaders,
|
|
119
162
|
observe: observe,
|
|
163
|
+
transferCache: localVarTransferCache,
|
|
120
164
|
reportProgress: reportProgress
|
|
121
165
|
});
|
|
122
166
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 7.3.1
|
|
6
5
|
* Contact: office@agravity.io
|
|
7
6
|
*
|
|
8
7
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,13 +11,16 @@
|
|
|
12
11
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
13
12
|
|
|
14
13
|
import { Inject, Injectable, Optional } from '@angular/core';
|
|
15
|
-
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';
|
|
14
|
+
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
16
15
|
import { CustomHttpParameterCodec } from '../encoder';
|
|
17
16
|
import { Observable } from 'rxjs';
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
import {
|
|
18
|
+
// @ts-ignore
|
|
19
|
+
import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { AgravityInfoResponse } from '../model/agravityInfoResponse.agravity';
|
|
21
22
|
|
|
23
|
+
// @ts-ignore
|
|
22
24
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
23
25
|
import { AgravityConfiguration } from '../configuration';
|
|
24
26
|
|
|
@@ -33,13 +35,18 @@ export class ListTablesService {
|
|
|
33
35
|
|
|
34
36
|
constructor(
|
|
35
37
|
protected httpClient: HttpClient,
|
|
36
|
-
@Optional() @Inject(BASE_PATH) basePath: string,
|
|
38
|
+
@Optional() @Inject(BASE_PATH) basePath: string | string[],
|
|
37
39
|
@Optional() configuration: AgravityConfiguration
|
|
38
40
|
) {
|
|
39
41
|
if (configuration) {
|
|
40
42
|
this.configuration = configuration;
|
|
41
43
|
}
|
|
42
44
|
if (typeof this.configuration.basePath !== 'string') {
|
|
45
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
46
|
+
if (firstBasePath != undefined) {
|
|
47
|
+
basePath = firstBasePath;
|
|
48
|
+
}
|
|
49
|
+
|
|
43
50
|
if (typeof basePath !== 'string') {
|
|
44
51
|
basePath = this.basePath;
|
|
45
52
|
}
|
|
@@ -48,6 +55,7 @@ export class ListTablesService {
|
|
|
48
55
|
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
49
56
|
}
|
|
50
57
|
|
|
58
|
+
// @ts-ignore
|
|
51
59
|
private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
|
|
52
60
|
if (typeof value === 'object' && value instanceof Date === false) {
|
|
53
61
|
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
@@ -67,7 +75,7 @@ export class ListTablesService {
|
|
|
67
75
|
(value as any[]).forEach((elem) => (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)));
|
|
68
76
|
} else if (value instanceof Date) {
|
|
69
77
|
if (key != null) {
|
|
70
|
-
httpParams = httpParams.append(key, (value as Date).toISOString().
|
|
78
|
+
httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10));
|
|
71
79
|
} else {
|
|
72
80
|
throw Error('key may not be null if value is Date');
|
|
73
81
|
}
|
|
@@ -87,39 +95,74 @@ export class ListTablesService {
|
|
|
87
95
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
88
96
|
* @param reportProgress flag to report request and response progress.
|
|
89
97
|
*/
|
|
90
|
-
public httpDeleteAllTableEntities(
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
98
|
+
public httpDeleteAllTableEntities(
|
|
99
|
+
observe?: 'body',
|
|
100
|
+
reportProgress?: boolean,
|
|
101
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
102
|
+
): Observable<AgravityInfoResponse>;
|
|
103
|
+
public httpDeleteAllTableEntities(
|
|
104
|
+
observe?: 'response',
|
|
105
|
+
reportProgress?: boolean,
|
|
106
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
107
|
+
): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
108
|
+
public httpDeleteAllTableEntities(
|
|
109
|
+
observe?: 'events',
|
|
110
|
+
reportProgress?: boolean,
|
|
111
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
112
|
+
): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
113
|
+
public httpDeleteAllTableEntities(
|
|
114
|
+
observe: any = 'body',
|
|
115
|
+
reportProgress: boolean = false,
|
|
116
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
117
|
+
): Observable<any> {
|
|
118
|
+
let localVarHeaders = this.defaultHeaders;
|
|
95
119
|
|
|
96
|
-
let
|
|
120
|
+
let localVarCredential: string | undefined;
|
|
97
121
|
// authentication (msal_auth) required
|
|
98
|
-
|
|
99
|
-
if (
|
|
100
|
-
|
|
122
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
123
|
+
if (localVarCredential) {
|
|
124
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
101
125
|
}
|
|
102
126
|
|
|
103
|
-
let
|
|
104
|
-
if (
|
|
127
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
128
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
105
129
|
// to determine the Accept header
|
|
106
130
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
107
|
-
|
|
131
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
132
|
+
}
|
|
133
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
134
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
138
|
+
if (localVarHttpContext === undefined) {
|
|
139
|
+
localVarHttpContext = new HttpContext();
|
|
108
140
|
}
|
|
109
|
-
|
|
110
|
-
|
|
141
|
+
|
|
142
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
143
|
+
if (localVarTransferCache === undefined) {
|
|
144
|
+
localVarTransferCache = true;
|
|
111
145
|
}
|
|
112
146
|
|
|
113
|
-
let responseType_: 'text' | 'json' = 'json';
|
|
114
|
-
if (
|
|
115
|
-
|
|
147
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
148
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
149
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
150
|
+
responseType_ = 'text';
|
|
151
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
152
|
+
responseType_ = 'json';
|
|
153
|
+
} else {
|
|
154
|
+
responseType_ = 'blob';
|
|
155
|
+
}
|
|
116
156
|
}
|
|
117
157
|
|
|
118
|
-
|
|
158
|
+
let localVarPath = `/tables`;
|
|
159
|
+
return this.httpClient.request<AgravityInfoResponse>('delete', `${this.configuration.basePath}${localVarPath}`, {
|
|
160
|
+
context: localVarHttpContext,
|
|
119
161
|
responseType: <any>responseType_,
|
|
120
162
|
withCredentials: this.configuration.withCredentials,
|
|
121
|
-
headers:
|
|
163
|
+
headers: localVarHeaders,
|
|
122
164
|
observe: observe,
|
|
165
|
+
transferCache: localVarTransferCache,
|
|
123
166
|
reportProgress: reportProgress
|
|
124
167
|
});
|
|
125
168
|
}
|