@agravity/private 7.3.0 → 8.0.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 +256 -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 +19 -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 +18 -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.0
|
|
6
5
|
* Contact: office@agravity.io
|
|
7
6
|
*
|
|
8
7
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,17 +11,48 @@
|
|
|
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 {
|
|
21
|
-
|
|
18
|
+
// @ts-ignore
|
|
19
|
+
import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { ApiKeyResponse } from '../model/apiKeyResponse.agravity';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { SecureUploadEntity } from '../model/secureUploadEntity.agravity';
|
|
22
24
|
|
|
25
|
+
// @ts-ignore
|
|
23
26
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
24
27
|
import { AgravityConfiguration } from '../configuration';
|
|
25
28
|
|
|
29
|
+
export interface HttpGetSecureUploadApiKeyByIdRequestParams {
|
|
30
|
+
/** The ID of the secure upload collection. */
|
|
31
|
+
id: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface HttpGetSecureUploadListOfUserRequestParams {
|
|
35
|
+
/** (optional) The ID of the collection where this secure upload should be filtered. */
|
|
36
|
+
collectionid?: string;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface HttpSecureUploadCreateForUserRequestParams {
|
|
40
|
+
/** This creates / adds an unique secure upload collection ID and adds the information to the collection (in DB). */
|
|
41
|
+
secureUploadEntity: SecureUploadEntity;
|
|
42
|
+
/** Used to enable sftp secure file upload */
|
|
43
|
+
sftpenabled?: boolean;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export interface HttpSecureUploadEntityCheckByIdRequestParams {
|
|
47
|
+
/** The ID of the secure upload collection. */
|
|
48
|
+
id: string;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface HttpSecureUploadToCollectionsDeleteByIdRequestParams {
|
|
52
|
+
/** The ID of the secure upload collection. */
|
|
53
|
+
id: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
26
56
|
@Injectable({
|
|
27
57
|
providedIn: 'root'
|
|
28
58
|
})
|
|
@@ -34,13 +64,18 @@ export class SecureUploadService {
|
|
|
34
64
|
|
|
35
65
|
constructor(
|
|
36
66
|
protected httpClient: HttpClient,
|
|
37
|
-
@Optional() @Inject(BASE_PATH) basePath: string,
|
|
67
|
+
@Optional() @Inject(BASE_PATH) basePath: string | string[],
|
|
38
68
|
@Optional() configuration: AgravityConfiguration
|
|
39
69
|
) {
|
|
40
70
|
if (configuration) {
|
|
41
71
|
this.configuration = configuration;
|
|
42
72
|
}
|
|
43
73
|
if (typeof this.configuration.basePath !== 'string') {
|
|
74
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
75
|
+
if (firstBasePath != undefined) {
|
|
76
|
+
basePath = firstBasePath;
|
|
77
|
+
}
|
|
78
|
+
|
|
44
79
|
if (typeof basePath !== 'string') {
|
|
45
80
|
basePath = this.basePath;
|
|
46
81
|
}
|
|
@@ -49,6 +84,7 @@ export class SecureUploadService {
|
|
|
49
84
|
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
50
85
|
}
|
|
51
86
|
|
|
87
|
+
// @ts-ignore
|
|
52
88
|
private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
|
|
53
89
|
if (typeof value === 'object' && value instanceof Date === false) {
|
|
54
90
|
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
@@ -68,7 +104,7 @@ export class SecureUploadService {
|
|
|
68
104
|
(value as any[]).forEach((elem) => (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)));
|
|
69
105
|
} else if (value instanceof Date) {
|
|
70
106
|
if (key != null) {
|
|
71
|
-
httpParams = httpParams.append(key, (value as Date).toISOString().
|
|
107
|
+
httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10));
|
|
72
108
|
} else {
|
|
73
109
|
throw Error('key may not be null if value is Date');
|
|
74
110
|
}
|
|
@@ -85,290 +121,453 @@ export class SecureUploadService {
|
|
|
85
121
|
|
|
86
122
|
/**
|
|
87
123
|
* Returns the API Key of a secure upload
|
|
88
|
-
* @param
|
|
124
|
+
* @param requestParameters
|
|
89
125
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
90
126
|
* @param reportProgress flag to report request and response progress.
|
|
91
127
|
*/
|
|
92
|
-
public httpGetSecureUploadApiKeyById(
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
128
|
+
public httpGetSecureUploadApiKeyById(
|
|
129
|
+
requestParameters?: HttpGetSecureUploadApiKeyByIdRequestParams,
|
|
130
|
+
observe?: 'body',
|
|
131
|
+
reportProgress?: boolean,
|
|
132
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
133
|
+
): Observable<ApiKeyResponse>;
|
|
134
|
+
public httpGetSecureUploadApiKeyById(
|
|
135
|
+
requestParameters?: HttpGetSecureUploadApiKeyByIdRequestParams,
|
|
136
|
+
observe?: 'response',
|
|
137
|
+
reportProgress?: boolean,
|
|
138
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
139
|
+
): Observable<HttpResponse<ApiKeyResponse>>;
|
|
140
|
+
public httpGetSecureUploadApiKeyById(
|
|
141
|
+
requestParameters?: HttpGetSecureUploadApiKeyByIdRequestParams,
|
|
142
|
+
observe?: 'events',
|
|
143
|
+
reportProgress?: boolean,
|
|
144
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
145
|
+
): Observable<HttpEvent<ApiKeyResponse>>;
|
|
146
|
+
public httpGetSecureUploadApiKeyById(
|
|
147
|
+
requestParameters?: HttpGetSecureUploadApiKeyByIdRequestParams,
|
|
148
|
+
observe: any = 'body',
|
|
149
|
+
reportProgress: boolean = false,
|
|
150
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
151
|
+
): Observable<any> {
|
|
152
|
+
const id = requestParameters?.id;
|
|
96
153
|
if (id === null || id === undefined) {
|
|
97
154
|
throw new Error('Required parameter id was null or undefined when calling httpGetSecureUploadApiKeyById.');
|
|
98
155
|
}
|
|
99
156
|
|
|
100
|
-
let
|
|
157
|
+
let localVarHeaders = this.defaultHeaders;
|
|
101
158
|
|
|
102
|
-
let
|
|
159
|
+
let localVarCredential: string | undefined;
|
|
103
160
|
// authentication (msal_auth) required
|
|
104
|
-
|
|
105
|
-
if (
|
|
106
|
-
|
|
161
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
162
|
+
if (localVarCredential) {
|
|
163
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
107
164
|
}
|
|
108
165
|
|
|
109
|
-
let
|
|
110
|
-
if (
|
|
166
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
167
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
111
168
|
// to determine the Accept header
|
|
112
169
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
113
|
-
|
|
170
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
171
|
+
}
|
|
172
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
173
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
114
174
|
}
|
|
115
|
-
|
|
116
|
-
|
|
175
|
+
|
|
176
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
177
|
+
if (localVarHttpContext === undefined) {
|
|
178
|
+
localVarHttpContext = new HttpContext();
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
182
|
+
if (localVarTransferCache === undefined) {
|
|
183
|
+
localVarTransferCache = true;
|
|
117
184
|
}
|
|
118
185
|
|
|
119
|
-
let responseType_: 'text' | 'json' = 'json';
|
|
120
|
-
if (
|
|
121
|
-
|
|
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
|
+
}
|
|
122
195
|
}
|
|
123
196
|
|
|
124
|
-
|
|
197
|
+
let localVarPath = `/secureupload/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/apikey`;
|
|
198
|
+
return this.httpClient.request<ApiKeyResponse>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
199
|
+
context: localVarHttpContext,
|
|
125
200
|
responseType: <any>responseType_,
|
|
126
201
|
withCredentials: this.configuration.withCredentials,
|
|
127
|
-
headers:
|
|
202
|
+
headers: localVarHeaders,
|
|
128
203
|
observe: observe,
|
|
204
|
+
transferCache: localVarTransferCache,
|
|
129
205
|
reportProgress: reportProgress
|
|
130
206
|
});
|
|
131
207
|
}
|
|
132
208
|
|
|
133
209
|
/**
|
|
134
210
|
* This lists the secure upload collection which are stored in the database for a specific user (Taken from Bearer token).
|
|
135
|
-
* @param
|
|
211
|
+
* @param requestParameters
|
|
136
212
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
137
213
|
* @param reportProgress flag to report request and response progress.
|
|
138
214
|
*/
|
|
139
|
-
public httpGetSecureUploadListOfUser(collectionid?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<Array<SecureUploadEntity>>;
|
|
140
215
|
public httpGetSecureUploadListOfUser(
|
|
141
|
-
|
|
216
|
+
requestParameters?: HttpGetSecureUploadListOfUserRequestParams,
|
|
217
|
+
observe?: 'body',
|
|
218
|
+
reportProgress?: boolean,
|
|
219
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
220
|
+
): Observable<Array<SecureUploadEntity>>;
|
|
221
|
+
public httpGetSecureUploadListOfUser(
|
|
222
|
+
requestParameters?: HttpGetSecureUploadListOfUserRequestParams,
|
|
142
223
|
observe?: 'response',
|
|
143
224
|
reportProgress?: boolean,
|
|
144
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
225
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
145
226
|
): Observable<HttpResponse<Array<SecureUploadEntity>>>;
|
|
146
227
|
public httpGetSecureUploadListOfUser(
|
|
147
|
-
|
|
228
|
+
requestParameters?: HttpGetSecureUploadListOfUserRequestParams,
|
|
148
229
|
observe?: 'events',
|
|
149
230
|
reportProgress?: boolean,
|
|
150
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
231
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
151
232
|
): Observable<HttpEvent<Array<SecureUploadEntity>>>;
|
|
152
|
-
public httpGetSecureUploadListOfUser(
|
|
153
|
-
|
|
233
|
+
public httpGetSecureUploadListOfUser(
|
|
234
|
+
requestParameters?: HttpGetSecureUploadListOfUserRequestParams,
|
|
235
|
+
observe: any = 'body',
|
|
236
|
+
reportProgress: boolean = false,
|
|
237
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
238
|
+
): Observable<any> {
|
|
239
|
+
const collectionid = requestParameters?.collectionid;
|
|
240
|
+
|
|
241
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
154
242
|
if (collectionid !== undefined && collectionid !== null) {
|
|
155
|
-
|
|
243
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>collectionid, 'collectionid');
|
|
156
244
|
}
|
|
157
245
|
|
|
158
|
-
let
|
|
246
|
+
let localVarHeaders = this.defaultHeaders;
|
|
159
247
|
|
|
160
|
-
let
|
|
248
|
+
let localVarCredential: string | undefined;
|
|
161
249
|
// authentication (msal_auth) required
|
|
162
|
-
|
|
163
|
-
if (
|
|
164
|
-
|
|
250
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
251
|
+
if (localVarCredential) {
|
|
252
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
165
253
|
}
|
|
166
254
|
|
|
167
|
-
let
|
|
168
|
-
if (
|
|
255
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
256
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
169
257
|
// to determine the Accept header
|
|
170
258
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
171
|
-
|
|
259
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
172
260
|
}
|
|
173
|
-
if (
|
|
174
|
-
|
|
261
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
262
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
175
263
|
}
|
|
176
264
|
|
|
177
|
-
let
|
|
178
|
-
if (
|
|
179
|
-
|
|
265
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
266
|
+
if (localVarHttpContext === undefined) {
|
|
267
|
+
localVarHttpContext = new HttpContext();
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
271
|
+
if (localVarTransferCache === undefined) {
|
|
272
|
+
localVarTransferCache = true;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
276
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
277
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
278
|
+
responseType_ = 'text';
|
|
279
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
280
|
+
responseType_ = 'json';
|
|
281
|
+
} else {
|
|
282
|
+
responseType_ = 'blob';
|
|
283
|
+
}
|
|
180
284
|
}
|
|
181
285
|
|
|
182
|
-
|
|
183
|
-
|
|
286
|
+
let localVarPath = `/secureupload`;
|
|
287
|
+
return this.httpClient.request<Array<SecureUploadEntity>>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
288
|
+
context: localVarHttpContext,
|
|
289
|
+
params: localVarQueryParameters,
|
|
184
290
|
responseType: <any>responseType_,
|
|
185
291
|
withCredentials: this.configuration.withCredentials,
|
|
186
|
-
headers:
|
|
292
|
+
headers: localVarHeaders,
|
|
187
293
|
observe: observe,
|
|
294
|
+
transferCache: localVarTransferCache,
|
|
188
295
|
reportProgress: reportProgress
|
|
189
296
|
});
|
|
190
297
|
}
|
|
191
298
|
|
|
192
299
|
/**
|
|
193
300
|
* Creates an secure upload entry point for a collection
|
|
194
|
-
* @param
|
|
195
|
-
* @param sftpenabled Used to enable sftp secure file upload
|
|
301
|
+
* @param requestParameters
|
|
196
302
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
197
303
|
* @param reportProgress flag to report request and response progress.
|
|
198
304
|
*/
|
|
199
305
|
public httpSecureUploadCreateForUser(
|
|
200
|
-
|
|
201
|
-
sftpenabled?: boolean,
|
|
306
|
+
requestParameters?: HttpSecureUploadCreateForUserRequestParams,
|
|
202
307
|
observe?: 'body',
|
|
203
308
|
reportProgress?: boolean,
|
|
204
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
309
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
205
310
|
): Observable<SecureUploadEntity>;
|
|
206
311
|
public httpSecureUploadCreateForUser(
|
|
207
|
-
|
|
208
|
-
sftpenabled?: boolean,
|
|
312
|
+
requestParameters?: HttpSecureUploadCreateForUserRequestParams,
|
|
209
313
|
observe?: 'response',
|
|
210
314
|
reportProgress?: boolean,
|
|
211
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
315
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
212
316
|
): Observable<HttpResponse<SecureUploadEntity>>;
|
|
213
317
|
public httpSecureUploadCreateForUser(
|
|
214
|
-
|
|
215
|
-
sftpenabled?: boolean,
|
|
318
|
+
requestParameters?: HttpSecureUploadCreateForUserRequestParams,
|
|
216
319
|
observe?: 'events',
|
|
217
320
|
reportProgress?: boolean,
|
|
218
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
321
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
219
322
|
): Observable<HttpEvent<SecureUploadEntity>>;
|
|
220
323
|
public httpSecureUploadCreateForUser(
|
|
221
|
-
|
|
222
|
-
sftpenabled?: boolean,
|
|
324
|
+
requestParameters?: HttpSecureUploadCreateForUserRequestParams,
|
|
223
325
|
observe: any = 'body',
|
|
224
326
|
reportProgress: boolean = false,
|
|
225
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
327
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
226
328
|
): Observable<any> {
|
|
329
|
+
const secureUploadEntity = requestParameters?.secureUploadEntity;
|
|
227
330
|
if (secureUploadEntity === null || secureUploadEntity === undefined) {
|
|
228
331
|
throw new Error('Required parameter secureUploadEntity was null or undefined when calling httpSecureUploadCreateForUser.');
|
|
229
332
|
}
|
|
333
|
+
const sftpenabled = requestParameters?.sftpenabled;
|
|
230
334
|
|
|
231
|
-
let
|
|
335
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
232
336
|
if (sftpenabled !== undefined && sftpenabled !== null) {
|
|
233
|
-
|
|
337
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>sftpenabled, 'sftpenabled');
|
|
234
338
|
}
|
|
235
339
|
|
|
236
|
-
let
|
|
340
|
+
let localVarHeaders = this.defaultHeaders;
|
|
237
341
|
|
|
238
|
-
let
|
|
342
|
+
let localVarCredential: string | undefined;
|
|
239
343
|
// authentication (msal_auth) required
|
|
240
|
-
|
|
241
|
-
if (
|
|
242
|
-
|
|
344
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
345
|
+
if (localVarCredential) {
|
|
346
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
243
347
|
}
|
|
244
348
|
|
|
245
|
-
let
|
|
246
|
-
if (
|
|
349
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
350
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
247
351
|
// to determine the Accept header
|
|
248
352
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
249
|
-
|
|
353
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
354
|
+
}
|
|
355
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
356
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
250
357
|
}
|
|
251
|
-
|
|
252
|
-
|
|
358
|
+
|
|
359
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
360
|
+
if (localVarHttpContext === undefined) {
|
|
361
|
+
localVarHttpContext = new HttpContext();
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
365
|
+
if (localVarTransferCache === undefined) {
|
|
366
|
+
localVarTransferCache = true;
|
|
253
367
|
}
|
|
254
368
|
|
|
255
369
|
// to determine the Content-Type header
|
|
256
370
|
const consumes: string[] = ['application/json'];
|
|
257
371
|
const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
|
|
258
372
|
if (httpContentTypeSelected !== undefined) {
|
|
259
|
-
|
|
373
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
260
374
|
}
|
|
261
375
|
|
|
262
|
-
let responseType_: 'text' | 'json' = 'json';
|
|
263
|
-
if (
|
|
264
|
-
|
|
376
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
377
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
378
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
379
|
+
responseType_ = 'text';
|
|
380
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
381
|
+
responseType_ = 'json';
|
|
382
|
+
} else {
|
|
383
|
+
responseType_ = 'blob';
|
|
384
|
+
}
|
|
265
385
|
}
|
|
266
386
|
|
|
267
|
-
|
|
268
|
-
|
|
387
|
+
let localVarPath = `/secureupload`;
|
|
388
|
+
return this.httpClient.request<SecureUploadEntity>('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
389
|
+
context: localVarHttpContext,
|
|
390
|
+
body: secureUploadEntity,
|
|
391
|
+
params: localVarQueryParameters,
|
|
269
392
|
responseType: <any>responseType_,
|
|
270
393
|
withCredentials: this.configuration.withCredentials,
|
|
271
|
-
headers:
|
|
394
|
+
headers: localVarHeaders,
|
|
272
395
|
observe: observe,
|
|
396
|
+
transferCache: localVarTransferCache,
|
|
273
397
|
reportProgress: reportProgress
|
|
274
398
|
});
|
|
275
399
|
}
|
|
276
400
|
|
|
277
401
|
/**
|
|
278
402
|
* Returns one single secure upload entity from ID
|
|
279
|
-
* @param
|
|
403
|
+
* @param requestParameters
|
|
280
404
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
281
405
|
* @param reportProgress flag to report request and response progress.
|
|
282
406
|
*/
|
|
283
|
-
public httpSecureUploadEntityCheckById(id: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<SecureUploadEntity>;
|
|
284
407
|
public httpSecureUploadEntityCheckById(
|
|
285
|
-
|
|
408
|
+
requestParameters?: HttpSecureUploadEntityCheckByIdRequestParams,
|
|
409
|
+
observe?: 'body',
|
|
410
|
+
reportProgress?: boolean,
|
|
411
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
412
|
+
): Observable<SecureUploadEntity>;
|
|
413
|
+
public httpSecureUploadEntityCheckById(
|
|
414
|
+
requestParameters?: HttpSecureUploadEntityCheckByIdRequestParams,
|
|
286
415
|
observe?: 'response',
|
|
287
416
|
reportProgress?: boolean,
|
|
288
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
417
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
289
418
|
): Observable<HttpResponse<SecureUploadEntity>>;
|
|
290
|
-
public httpSecureUploadEntityCheckById(
|
|
291
|
-
|
|
419
|
+
public httpSecureUploadEntityCheckById(
|
|
420
|
+
requestParameters?: HttpSecureUploadEntityCheckByIdRequestParams,
|
|
421
|
+
observe?: 'events',
|
|
422
|
+
reportProgress?: boolean,
|
|
423
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
424
|
+
): Observable<HttpEvent<SecureUploadEntity>>;
|
|
425
|
+
public httpSecureUploadEntityCheckById(
|
|
426
|
+
requestParameters?: HttpSecureUploadEntityCheckByIdRequestParams,
|
|
427
|
+
observe: any = 'body',
|
|
428
|
+
reportProgress: boolean = false,
|
|
429
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
430
|
+
): Observable<any> {
|
|
431
|
+
const id = requestParameters?.id;
|
|
292
432
|
if (id === null || id === undefined) {
|
|
293
433
|
throw new Error('Required parameter id was null or undefined when calling httpSecureUploadEntityCheckById.');
|
|
294
434
|
}
|
|
295
435
|
|
|
296
|
-
let
|
|
436
|
+
let localVarHeaders = this.defaultHeaders;
|
|
297
437
|
|
|
298
|
-
let
|
|
438
|
+
let localVarCredential: string | undefined;
|
|
299
439
|
// authentication (msal_auth) required
|
|
300
|
-
|
|
301
|
-
if (
|
|
302
|
-
|
|
440
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
441
|
+
if (localVarCredential) {
|
|
442
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
303
443
|
}
|
|
304
444
|
|
|
305
|
-
let
|
|
306
|
-
if (
|
|
445
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
446
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
307
447
|
// to determine the Accept header
|
|
308
448
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
309
|
-
|
|
449
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
450
|
+
}
|
|
451
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
452
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
310
453
|
}
|
|
311
|
-
|
|
312
|
-
|
|
454
|
+
|
|
455
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
456
|
+
if (localVarHttpContext === undefined) {
|
|
457
|
+
localVarHttpContext = new HttpContext();
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
461
|
+
if (localVarTransferCache === undefined) {
|
|
462
|
+
localVarTransferCache = true;
|
|
313
463
|
}
|
|
314
464
|
|
|
315
|
-
let responseType_: 'text' | 'json' = 'json';
|
|
316
|
-
if (
|
|
317
|
-
|
|
465
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
466
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
467
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
468
|
+
responseType_ = 'text';
|
|
469
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
470
|
+
responseType_ = 'json';
|
|
471
|
+
} else {
|
|
472
|
+
responseType_ = 'blob';
|
|
473
|
+
}
|
|
318
474
|
}
|
|
319
475
|
|
|
320
|
-
|
|
476
|
+
let localVarPath = `/secureupload/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
|
|
477
|
+
return this.httpClient.request<SecureUploadEntity>('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
478
|
+
context: localVarHttpContext,
|
|
321
479
|
responseType: <any>responseType_,
|
|
322
480
|
withCredentials: this.configuration.withCredentials,
|
|
323
|
-
headers:
|
|
481
|
+
headers: localVarHeaders,
|
|
324
482
|
observe: observe,
|
|
483
|
+
transferCache: localVarTransferCache,
|
|
325
484
|
reportProgress: reportProgress
|
|
326
485
|
});
|
|
327
486
|
}
|
|
328
487
|
|
|
329
488
|
/**
|
|
330
489
|
* Deletes (= disables) the secure upload to collection with the given ID.
|
|
331
|
-
* @param
|
|
490
|
+
* @param requestParameters
|
|
332
491
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
333
492
|
* @param reportProgress flag to report request and response progress.
|
|
334
493
|
*/
|
|
335
|
-
public httpSecureUploadToCollectionsDeleteById(
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
494
|
+
public httpSecureUploadToCollectionsDeleteById(
|
|
495
|
+
requestParameters?: HttpSecureUploadToCollectionsDeleteByIdRequestParams,
|
|
496
|
+
observe?: 'body',
|
|
497
|
+
reportProgress?: boolean,
|
|
498
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
499
|
+
): Observable<any>;
|
|
500
|
+
public httpSecureUploadToCollectionsDeleteById(
|
|
501
|
+
requestParameters?: HttpSecureUploadToCollectionsDeleteByIdRequestParams,
|
|
502
|
+
observe?: 'response',
|
|
503
|
+
reportProgress?: boolean,
|
|
504
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
505
|
+
): Observable<HttpResponse<any>>;
|
|
506
|
+
public httpSecureUploadToCollectionsDeleteById(
|
|
507
|
+
requestParameters?: HttpSecureUploadToCollectionsDeleteByIdRequestParams,
|
|
508
|
+
observe?: 'events',
|
|
509
|
+
reportProgress?: boolean,
|
|
510
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
511
|
+
): Observable<HttpEvent<any>>;
|
|
512
|
+
public httpSecureUploadToCollectionsDeleteById(
|
|
513
|
+
requestParameters?: HttpSecureUploadToCollectionsDeleteByIdRequestParams,
|
|
514
|
+
observe: any = 'body',
|
|
515
|
+
reportProgress: boolean = false,
|
|
516
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
517
|
+
): Observable<any> {
|
|
518
|
+
const id = requestParameters?.id;
|
|
339
519
|
if (id === null || id === undefined) {
|
|
340
520
|
throw new Error('Required parameter id was null or undefined when calling httpSecureUploadToCollectionsDeleteById.');
|
|
341
521
|
}
|
|
342
522
|
|
|
343
|
-
let
|
|
523
|
+
let localVarHeaders = this.defaultHeaders;
|
|
344
524
|
|
|
345
|
-
let
|
|
525
|
+
let localVarCredential: string | undefined;
|
|
346
526
|
// authentication (msal_auth) required
|
|
347
|
-
|
|
348
|
-
if (
|
|
349
|
-
|
|
527
|
+
localVarCredential = this.configuration.lookupCredential('msal_auth');
|
|
528
|
+
if (localVarCredential) {
|
|
529
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
350
530
|
}
|
|
351
531
|
|
|
352
|
-
let
|
|
353
|
-
if (
|
|
532
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
533
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
354
534
|
// to determine the Accept header
|
|
355
535
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
356
|
-
|
|
536
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
537
|
+
}
|
|
538
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
539
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
357
540
|
}
|
|
358
|
-
|
|
359
|
-
|
|
541
|
+
|
|
542
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
543
|
+
if (localVarHttpContext === undefined) {
|
|
544
|
+
localVarHttpContext = new HttpContext();
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
548
|
+
if (localVarTransferCache === undefined) {
|
|
549
|
+
localVarTransferCache = true;
|
|
360
550
|
}
|
|
361
551
|
|
|
362
|
-
let responseType_: 'text' | 'json' = 'json';
|
|
363
|
-
if (
|
|
364
|
-
|
|
552
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
553
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
554
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
555
|
+
responseType_ = 'text';
|
|
556
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
557
|
+
responseType_ = 'json';
|
|
558
|
+
} else {
|
|
559
|
+
responseType_ = 'blob';
|
|
560
|
+
}
|
|
365
561
|
}
|
|
366
562
|
|
|
367
|
-
|
|
563
|
+
let localVarPath = `/secureupload/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
|
|
564
|
+
return this.httpClient.request<any>('delete', `${this.configuration.basePath}${localVarPath}`, {
|
|
565
|
+
context: localVarHttpContext,
|
|
368
566
|
responseType: <any>responseType_,
|
|
369
567
|
withCredentials: this.configuration.withCredentials,
|
|
370
|
-
headers:
|
|
568
|
+
headers: localVarHeaders,
|
|
371
569
|
observe: observe,
|
|
570
|
+
transferCache: localVarTransferCache,
|
|
372
571
|
reportProgress: reportProgress
|
|
373
572
|
});
|
|
374
573
|
}
|