@agravity/private 7.3.1 → 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.
Files changed (141) hide show
  1. package/.openapi-generator/FILES +1 -1
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +29 -4
  4. package/api/assetIconRuleManagement.agravity.ts +344 -150
  5. package/api/assetManagement.agravity.ts +709 -389
  6. package/api/assetOperations.agravity.ts +1414 -650
  7. package/api/assetPublishing.agravity.ts +562 -255
  8. package/api/assetVersioning.agravity.ts +598 -278
  9. package/api/authenticationManagement.agravity.ts +731 -274
  10. package/api/collectionManagement.agravity.ts +618 -309
  11. package/api/collectionShareManagement.agravity.ts +256 -121
  12. package/api/collectionTypeItemBlueprintManagement.agravity.ts +271 -123
  13. package/api/collectionTypeManagement.agravity.ts +519 -250
  14. package/api/commentsManagement.agravity.ts +284 -90
  15. package/api/configurationManagement.agravity.ts +311 -128
  16. package/api/dashboardWidgetManagement.agravity.ts +342 -124
  17. package/api/dataImportExportManagement.agravity.ts +378 -148
  18. package/api/downloadFormatManagement.agravity.ts +450 -152
  19. package/api/downloadZip.agravity.ts +75 -30
  20. package/api/generalManagement.agravity.ts +374 -164
  21. package/api/helperTools.agravity.ts +804 -273
  22. package/api/historyEntryManagement.agravity.ts +75 -33
  23. package/api/iccProfileManagement.agravity.ts +64 -23
  24. package/api/listBlobs.agravity.ts +125 -47
  25. package/api/listQueues.agravity.ts +68 -24
  26. package/api/listTables.agravity.ts +68 -25
  27. package/api/permissionsManagement.agravity.ts +174 -77
  28. package/api/portalManagement.agravity.ts +511 -198
  29. package/api/publishing.agravity.ts +69 -38
  30. package/api/quickshareManagement.agravity.ts +349 -138
  31. package/api/savedSearchManagement.agravity.ts +205 -92
  32. package/api/searchManagement.agravity.ts +517 -297
  33. package/api/secureUpload.agravity.ts +325 -126
  34. package/api/signalRConnectionManagement.agravity.ts +175 -56
  35. package/api/staticDefinedListManagement.agravity.ts +342 -162
  36. package/api/stockImport.agravity.ts +138 -74
  37. package/api/structureImport.agravity.ts +68 -25
  38. package/api/translationManagement.agravity.ts +357 -206
  39. package/api/webAppData.agravity.ts +278 -88
  40. package/api/widgetLayoutManagement.agravity.ts +131 -47
  41. package/api/wordpressManagement.agravity.ts +152 -108
  42. package/api/workspaceManagement.agravity.ts +456 -197
  43. package/api.module.ts +0 -40
  44. package/configuration.ts +42 -0
  45. package/git_push.sh +3 -4
  46. package/index.ts +1 -0
  47. package/model/agravityErrorResponse.agravity.ts +3 -4
  48. package/model/agravityInfoResponse.agravity.ts +3 -4
  49. package/model/agravityUser.agravity.ts +16 -17
  50. package/model/agravityUserDto.agravity.ts +3 -4
  51. package/model/agravityVersion.agravity.ts +8 -9
  52. package/model/allWebAppData.agravity.ts +4 -5
  53. package/model/apiKeyResponse.agravity.ts +2 -3
  54. package/model/appConfigTableEntity.agravity.ts +8 -9
  55. package/model/artificialIntelligenceGroup.agravity.ts +3 -4
  56. package/model/asset.agravity.ts +22 -23
  57. package/model/assetAvailability.agravity.ts +1 -2
  58. package/model/assetBlob.agravity.ts +27 -28
  59. package/model/assetBulkUpdate.agravity.ts +2 -3
  60. package/model/assetCollectionLink.agravity.ts +2 -3
  61. package/model/assetIconRule.agravity.ts +17 -18
  62. package/model/assetIdFormat.agravity.ts +3 -4
  63. package/model/assetPageResult.agravity.ts +4 -5
  64. package/model/assetTextContent.agravity.ts +2 -3
  65. package/model/assetsOperationBody.agravity.ts +3 -4
  66. package/model/azSearchOptions.agravity.ts +8 -9
  67. package/model/azureIdentity.agravity.ts +4 -5
  68. package/model/blobInfoObj.agravity.ts +0 -1
  69. package/model/collTypeItem.agravity.ts +16 -17
  70. package/model/collTypeItemBlueprint.agravity.ts +12 -13
  71. package/model/collection.agravity.ts +15 -16
  72. package/model/collectionType.agravity.ts +14 -15
  73. package/model/collectionUDL.agravity.ts +4 -5
  74. package/model/collectionUDLListEntity.agravity.ts +9 -10
  75. package/model/collectionUDLReference.agravity.ts +3 -4
  76. package/model/comment.agravity.ts +9 -10
  77. package/model/createSftpUserResult.agravity.ts +2 -3
  78. package/model/dashboardWidget.agravity.ts +11 -12
  79. package/model/dataResult.agravity.ts +4 -5
  80. package/model/deletedEntities.agravity.ts +4 -5
  81. package/model/distZipResponse.agravity.ts +3 -4
  82. package/model/downloadFormat.agravity.ts +18 -16
  83. package/model/downloadObject.agravity.ts +16 -16
  84. package/model/downloadZipRequest.agravity.ts +9 -10
  85. package/model/dynamicImageOperation.agravity.ts +2 -3
  86. package/model/emailAddress.agravity.ts +2 -3
  87. package/model/entityId.agravity.ts +1 -2
  88. package/model/entityIdName.agravity.ts +3 -4
  89. package/model/entityTranslations.agravity.ts +2 -3
  90. package/model/excelExportTableEntity.agravity.ts +5 -5
  91. package/model/frontendAppConfig.agravity.ts +0 -1
  92. package/model/groupAllAppData.agravity.ts +5 -6
  93. package/model/historyEntry.agravity.ts +9 -10
  94. package/model/infoEntitySkillEnhanced.agravity.ts +10 -11
  95. package/model/metadata.agravity.ts +3 -4
  96. package/model/models.ts +0 -1
  97. package/model/moveCollectionBody.agravity.ts +3 -4
  98. package/model/permissionChange.agravity.ts +1 -2
  99. package/model/permissionEntity.agravity.ts +1 -2
  100. package/model/permissionSetting.agravity.ts +8 -9
  101. package/model/portal.agravity.ts +18 -20
  102. package/model/portalLinks.agravity.ts +3 -4
  103. package/model/portalTheme.agravity.ts +6 -7
  104. package/model/portalZipRequest.agravity.ts +14 -15
  105. package/model/publishEntity.agravity.ts +9 -10
  106. package/model/publishedAsset.agravity.ts +12 -13
  107. package/model/quickShare.agravity.ts +12 -13
  108. package/model/quickShareFull.agravity.ts +15 -16
  109. package/model/sasToken.agravity.ts +6 -7
  110. package/model/savedSearch.agravity.ts +13 -14
  111. package/model/searchAdminDataSourceStatus.agravity.ts +2 -3
  112. package/model/searchAdminIndexStatus.agravity.ts +3 -4
  113. package/model/searchAdminIndexerLastRun.agravity.ts +3 -4
  114. package/model/searchAdminIndexerStatus.agravity.ts +4 -5
  115. package/model/searchAdminSkillStatus.agravity.ts +2 -3
  116. package/model/searchAdminStatistics.agravity.ts +2 -3
  117. package/model/searchAdminStatus.agravity.ts +4 -5
  118. package/model/searchFacet.agravity.ts +2 -3
  119. package/model/searchFacetEntity.agravity.ts +2 -3
  120. package/model/searchResult.agravity.ts +3 -4
  121. package/model/searchableItem.agravity.ts +3 -4
  122. package/model/secureUploadEntity.agravity.ts +10 -11
  123. package/model/sharedAllowedFormat.agravity.ts +2 -3
  124. package/model/sharedAsset.agravity.ts +5 -6
  125. package/model/sharedCollection.agravity.ts +15 -16
  126. package/model/sharedCollectionFull.agravity.ts +18 -19
  127. package/model/signalRConnectionInfo.agravity.ts +0 -1
  128. package/model/simpleAsset.agravity.ts +10 -11
  129. package/model/staticDefinedList.agravity.ts +12 -13
  130. package/model/translation.agravity.ts +2 -3
  131. package/model/translationRequest.agravity.ts +3 -4
  132. package/model/uiTutorials.agravity.ts +0 -1
  133. package/model/versionEntity.agravity.ts +9 -10
  134. package/model/versionedAsset.agravity.ts +5 -6
  135. package/model/whereParam.agravity.ts +0 -1
  136. package/model/widgetLayout.agravity.ts +8 -9
  137. package/model/widgetProperties.agravity.ts +6 -7
  138. package/model/workspace.agravity.ts +14 -15
  139. package/package.json +16 -17
  140. package/param.ts +44 -0
  141. 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,18 +11,46 @@
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
- import { AgravityErrorResponse } from '../model/models';
20
- import { AgravityInfoResponse } from '../model/models';
21
- import { AgravityVersion } from '../model/models';
22
- import { DeletedEntities } from '../model/models';
18
+ // @ts-ignore
19
+ import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
20
+ // @ts-ignore
21
+ import { AgravityInfoResponse } from '../model/agravityInfoResponse.agravity';
22
+ // @ts-ignore
23
+ import { AgravityVersion } from '../model/agravityVersion.agravity';
24
+ // @ts-ignore
25
+ import { DeletedEntities } from '../model/deletedEntities.agravity';
23
26
 
27
+ // @ts-ignore
24
28
  import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
25
29
  import { AgravityConfiguration } from '../configuration';
26
30
 
31
+ export interface HttpCleanupRequestParams {
32
+ /** (Default 90 days) - How many days in the entity. */
33
+ olderThanDays?: number;
34
+ }
35
+
36
+ export interface HttpGetDeletedEntitiesRequestParams {
37
+ /** The type of the entity (e.g. \&#39;asset\&#39;, \&#39;collection_type\&#39;, \&#39;collection_type\&#39;. Admins are allowed to list the other types as well. */
38
+ entityType?: string;
39
+ /** The date in the past since the entities are marked as deleted in the database. */
40
+ since?: string;
41
+ /** The date in the past until the entities are marked as deleted in the database. */
42
+ until?: string;
43
+ /** If the request comes from portal this is the indicator. */
44
+ portalId?: string;
45
+ }
46
+
47
+ export interface HttpSetupRequestParams {
48
+ /** (Default true) - Set to false if base collections (Folder) should not be created. */
49
+ createfolder: boolean;
50
+ /** Comma separated queue-names (have to start with \&#39;setup-\&#39;). */
51
+ addconfigqueues?: string;
52
+ }
53
+
27
54
  @Injectable({
28
55
  providedIn: 'root'
29
56
  })
@@ -35,13 +62,18 @@ export class GeneralManagementService {
35
62
 
36
63
  constructor(
37
64
  protected httpClient: HttpClient,
38
- @Optional() @Inject(BASE_PATH) basePath: string,
65
+ @Optional() @Inject(BASE_PATH) basePath: string | string[],
39
66
  @Optional() configuration: AgravityConfiguration
40
67
  ) {
41
68
  if (configuration) {
42
69
  this.configuration = configuration;
43
70
  }
44
71
  if (typeof this.configuration.basePath !== 'string') {
72
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
73
+ if (firstBasePath != undefined) {
74
+ basePath = firstBasePath;
75
+ }
76
+
45
77
  if (typeof basePath !== 'string') {
46
78
  basePath = this.basePath;
47
79
  }
@@ -50,6 +82,7 @@ export class GeneralManagementService {
50
82
  this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
51
83
  }
52
84
 
85
+ // @ts-ignore
53
86
  private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
54
87
  if (typeof value === 'object' && value instanceof Date === false) {
55
88
  httpParams = this.addToHttpParamsRecursive(httpParams, value);
@@ -69,7 +102,7 @@ export class GeneralManagementService {
69
102
  (value as any[]).forEach((elem) => (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)));
70
103
  } else if (value instanceof Date) {
71
104
  if (key != null) {
72
- httpParams = httpParams.append(key, (value as Date).toISOString().substr(0, 10));
105
+ httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10));
73
106
  } else {
74
107
  throw Error('key may not be null if value is Date');
75
108
  }
@@ -89,39 +122,74 @@ export class GeneralManagementService {
89
122
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
90
123
  * @param reportProgress flag to report request and response progress.
91
124
  */
92
- public httpAgravityVersionInfo(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<AgravityVersion>;
93
- public httpAgravityVersionInfo(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpResponse<AgravityVersion>>;
94
- public httpAgravityVersionInfo(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpEvent<AgravityVersion>>;
95
- public httpAgravityVersionInfo(observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
96
- let headers = this.defaultHeaders;
125
+ public httpAgravityVersionInfo(
126
+ observe?: 'body',
127
+ reportProgress?: boolean,
128
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
129
+ ): Observable<AgravityVersion>;
130
+ public httpAgravityVersionInfo(
131
+ observe?: 'response',
132
+ reportProgress?: boolean,
133
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
134
+ ): Observable<HttpResponse<AgravityVersion>>;
135
+ public httpAgravityVersionInfo(
136
+ observe?: 'events',
137
+ reportProgress?: boolean,
138
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
139
+ ): Observable<HttpEvent<AgravityVersion>>;
140
+ public httpAgravityVersionInfo(
141
+ observe: any = 'body',
142
+ reportProgress: boolean = false,
143
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
144
+ ): Observable<any> {
145
+ let localVarHeaders = this.defaultHeaders;
97
146
 
98
- let credential: string | undefined;
147
+ let localVarCredential: string | undefined;
99
148
  // authentication (msal_auth) required
100
- credential = this.configuration.lookupCredential('msal_auth');
101
- if (credential) {
102
- headers = headers.set('Authorization', 'Bearer ' + credential);
149
+ localVarCredential = this.configuration.lookupCredential('msal_auth');
150
+ if (localVarCredential) {
151
+ localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
103
152
  }
104
153
 
105
- let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
106
- if (httpHeaderAcceptSelected === undefined) {
154
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
155
+ if (localVarHttpHeaderAcceptSelected === undefined) {
107
156
  // to determine the Accept header
108
157
  const httpHeaderAccepts: string[] = ['application/json'];
109
- httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
158
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
159
+ }
160
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
161
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
110
162
  }
111
- if (httpHeaderAcceptSelected !== undefined) {
112
- headers = headers.set('Accept', httpHeaderAcceptSelected);
163
+
164
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
165
+ if (localVarHttpContext === undefined) {
166
+ localVarHttpContext = new HttpContext();
167
+ }
168
+
169
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
170
+ if (localVarTransferCache === undefined) {
171
+ localVarTransferCache = true;
113
172
  }
114
173
 
115
- let responseType_: 'text' | 'json' = 'json';
116
- if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
117
- responseType_ = 'text';
174
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
175
+ if (localVarHttpHeaderAcceptSelected) {
176
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
177
+ responseType_ = 'text';
178
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
179
+ responseType_ = 'json';
180
+ } else {
181
+ responseType_ = 'blob';
182
+ }
118
183
  }
119
184
 
120
- return this.httpClient.get<AgravityVersion>(`${this.configuration.basePath}/version`, {
185
+ let localVarPath = `/version`;
186
+ return this.httpClient.request<AgravityVersion>('get', `${this.configuration.basePath}${localVarPath}`, {
187
+ context: localVarHttpContext,
121
188
  responseType: <any>responseType_,
122
189
  withCredentials: this.configuration.withCredentials,
123
- headers: headers,
190
+ headers: localVarHeaders,
124
191
  observe: observe,
192
+ transferCache: localVarTransferCache,
125
193
  reportProgress: reportProgress
126
194
  });
127
195
  }
@@ -131,88 +199,164 @@ export class GeneralManagementService {
131
199
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
132
200
  * @param reportProgress flag to report request and response progress.
133
201
  */
134
- public httpAssetsDeleteAllFast(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<AgravityInfoResponse>;
135
- public httpAssetsDeleteAllFast(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpResponse<AgravityInfoResponse>>;
136
- public httpAssetsDeleteAllFast(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpEvent<AgravityInfoResponse>>;
137
- public httpAssetsDeleteAllFast(observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
138
- let headers = this.defaultHeaders;
202
+ public httpAssetsDeleteAllFast(
203
+ observe?: 'body',
204
+ reportProgress?: boolean,
205
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
206
+ ): Observable<AgravityInfoResponse>;
207
+ public httpAssetsDeleteAllFast(
208
+ observe?: 'response',
209
+ reportProgress?: boolean,
210
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
211
+ ): Observable<HttpResponse<AgravityInfoResponse>>;
212
+ public httpAssetsDeleteAllFast(
213
+ observe?: 'events',
214
+ reportProgress?: boolean,
215
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
216
+ ): Observable<HttpEvent<AgravityInfoResponse>>;
217
+ public httpAssetsDeleteAllFast(
218
+ observe: any = 'body',
219
+ reportProgress: boolean = false,
220
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
221
+ ): Observable<any> {
222
+ let localVarHeaders = this.defaultHeaders;
139
223
 
140
- let credential: string | undefined;
224
+ let localVarCredential: string | undefined;
141
225
  // authentication (msal_auth) required
142
- credential = this.configuration.lookupCredential('msal_auth');
143
- if (credential) {
144
- headers = headers.set('Authorization', 'Bearer ' + credential);
226
+ localVarCredential = this.configuration.lookupCredential('msal_auth');
227
+ if (localVarCredential) {
228
+ localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
145
229
  }
146
230
 
147
- let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
148
- if (httpHeaderAcceptSelected === undefined) {
231
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
232
+ if (localVarHttpHeaderAcceptSelected === undefined) {
149
233
  // to determine the Accept header
150
234
  const httpHeaderAccepts: string[] = ['application/json'];
151
- httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
235
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
236
+ }
237
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
238
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
152
239
  }
153
- if (httpHeaderAcceptSelected !== undefined) {
154
- headers = headers.set('Accept', httpHeaderAcceptSelected);
240
+
241
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
242
+ if (localVarHttpContext === undefined) {
243
+ localVarHttpContext = new HttpContext();
244
+ }
245
+
246
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
247
+ if (localVarTransferCache === undefined) {
248
+ localVarTransferCache = true;
155
249
  }
156
250
 
157
- let responseType_: 'text' | 'json' = 'json';
158
- if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
159
- responseType_ = 'text';
251
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
252
+ if (localVarHttpHeaderAcceptSelected) {
253
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
254
+ responseType_ = 'text';
255
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
256
+ responseType_ = 'json';
257
+ } else {
258
+ responseType_ = 'blob';
259
+ }
160
260
  }
161
261
 
162
- return this.httpClient.delete<AgravityInfoResponse>(`${this.configuration.basePath}/cosmosdb!!`, {
262
+ let localVarPath = `/cosmosdb!!`;
263
+ return this.httpClient.request<AgravityInfoResponse>('delete', `${this.configuration.basePath}${localVarPath}`, {
264
+ context: localVarHttpContext,
163
265
  responseType: <any>responseType_,
164
266
  withCredentials: this.configuration.withCredentials,
165
- headers: headers,
267
+ headers: localVarHeaders,
166
268
  observe: observe,
269
+ transferCache: localVarTransferCache,
167
270
  reportProgress: reportProgress
168
271
  });
169
272
  }
170
273
 
171
274
  /**
172
275
  * This endpoint queries all entities from which are marked as status \&quot;D\&quot; and cleans internal archive container from that assets
173
- * @param olderThanDays (Default 90 days) - How many days in the entity.
276
+ * @param requestParameters
174
277
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
175
278
  * @param reportProgress flag to report request and response progress.
176
279
  */
177
- public httpCleanup(olderThanDays?: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<AgravityInfoResponse>;
178
- public httpCleanup(olderThanDays?: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpResponse<AgravityInfoResponse>>;
179
- public httpCleanup(olderThanDays?: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpEvent<AgravityInfoResponse>>;
180
- public httpCleanup(olderThanDays?: number, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
181
- let queryParameters = new HttpParams({ encoder: this.encoder });
280
+ public httpCleanup(
281
+ requestParameters?: HttpCleanupRequestParams,
282
+ observe?: 'body',
283
+ reportProgress?: boolean,
284
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
285
+ ): Observable<AgravityInfoResponse>;
286
+ public httpCleanup(
287
+ requestParameters?: HttpCleanupRequestParams,
288
+ observe?: 'response',
289
+ reportProgress?: boolean,
290
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
291
+ ): Observable<HttpResponse<AgravityInfoResponse>>;
292
+ public httpCleanup(
293
+ requestParameters?: HttpCleanupRequestParams,
294
+ observe?: 'events',
295
+ reportProgress?: boolean,
296
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
297
+ ): Observable<HttpEvent<AgravityInfoResponse>>;
298
+ public httpCleanup(
299
+ requestParameters?: HttpCleanupRequestParams,
300
+ observe: any = 'body',
301
+ reportProgress: boolean = false,
302
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
303
+ ): Observable<any> {
304
+ const olderThanDays = requestParameters?.olderThanDays;
305
+
306
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
182
307
  if (olderThanDays !== undefined && olderThanDays !== null) {
183
- queryParameters = this.addToHttpParams(queryParameters, <any>olderThanDays, 'olderThanDays');
308
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>olderThanDays, 'olderThanDays');
184
309
  }
185
310
 
186
- let headers = this.defaultHeaders;
311
+ let localVarHeaders = this.defaultHeaders;
187
312
 
188
- let credential: string | undefined;
313
+ let localVarCredential: string | undefined;
189
314
  // authentication (msal_auth) required
190
- credential = this.configuration.lookupCredential('msal_auth');
191
- if (credential) {
192
- headers = headers.set('Authorization', 'Bearer ' + credential);
315
+ localVarCredential = this.configuration.lookupCredential('msal_auth');
316
+ if (localVarCredential) {
317
+ localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
193
318
  }
194
319
 
195
- let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
196
- if (httpHeaderAcceptSelected === undefined) {
320
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
321
+ if (localVarHttpHeaderAcceptSelected === undefined) {
197
322
  // to determine the Accept header
198
323
  const httpHeaderAccepts: string[] = ['application/json'];
199
- httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
324
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
200
325
  }
201
- if (httpHeaderAcceptSelected !== undefined) {
202
- headers = headers.set('Accept', httpHeaderAcceptSelected);
326
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
327
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
203
328
  }
204
329
 
205
- let responseType_: 'text' | 'json' = 'json';
206
- if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
207
- responseType_ = 'text';
330
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
331
+ if (localVarHttpContext === undefined) {
332
+ localVarHttpContext = new HttpContext();
333
+ }
334
+
335
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
336
+ if (localVarTransferCache === undefined) {
337
+ localVarTransferCache = true;
338
+ }
339
+
340
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
341
+ if (localVarHttpHeaderAcceptSelected) {
342
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
343
+ responseType_ = 'text';
344
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
345
+ responseType_ = 'json';
346
+ } else {
347
+ responseType_ = 'blob';
348
+ }
208
349
  }
209
350
 
210
- return this.httpClient.patch<AgravityInfoResponse>(`${this.configuration.basePath}/cleanup`, null, {
211
- params: queryParameters,
351
+ let localVarPath = `/cleanup`;
352
+ return this.httpClient.request<AgravityInfoResponse>('patch', `${this.configuration.basePath}${localVarPath}`, {
353
+ context: localVarHttpContext,
354
+ params: localVarQueryParameters,
212
355
  responseType: <any>responseType_,
213
356
  withCredentials: this.configuration.withCredentials,
214
- headers: headers,
357
+ headers: localVarHeaders,
215
358
  observe: observe,
359
+ transferCache: localVarTransferCache,
216
360
  reportProgress: reportProgress
217
361
  });
218
362
  }
@@ -222,207 +366,273 @@ export class GeneralManagementService {
222
366
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
223
367
  * @param reportProgress flag to report request and response progress.
224
368
  */
225
- public httpCleanupOrigAssets(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<AgravityInfoResponse>;
226
- public httpCleanupOrigAssets(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpResponse<AgravityInfoResponse>>;
227
- public httpCleanupOrigAssets(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpEvent<AgravityInfoResponse>>;
228
- public httpCleanupOrigAssets(observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
229
- let headers = this.defaultHeaders;
369
+ public httpCleanupOrigAssets(
370
+ observe?: 'body',
371
+ reportProgress?: boolean,
372
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
373
+ ): Observable<AgravityInfoResponse>;
374
+ public httpCleanupOrigAssets(
375
+ observe?: 'response',
376
+ reportProgress?: boolean,
377
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
378
+ ): Observable<HttpResponse<AgravityInfoResponse>>;
379
+ public httpCleanupOrigAssets(
380
+ observe?: 'events',
381
+ reportProgress?: boolean,
382
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
383
+ ): Observable<HttpEvent<AgravityInfoResponse>>;
384
+ public httpCleanupOrigAssets(
385
+ observe: any = 'body',
386
+ reportProgress: boolean = false,
387
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
388
+ ): Observable<any> {
389
+ let localVarHeaders = this.defaultHeaders;
230
390
 
231
- let credential: string | undefined;
391
+ let localVarCredential: string | undefined;
232
392
  // authentication (msal_auth) required
233
- credential = this.configuration.lookupCredential('msal_auth');
234
- if (credential) {
235
- headers = headers.set('Authorization', 'Bearer ' + credential);
393
+ localVarCredential = this.configuration.lookupCredential('msal_auth');
394
+ if (localVarCredential) {
395
+ localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
236
396
  }
237
397
 
238
- let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
239
- if (httpHeaderAcceptSelected === undefined) {
398
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
399
+ if (localVarHttpHeaderAcceptSelected === undefined) {
240
400
  // to determine the Accept header
241
401
  const httpHeaderAccepts: string[] = ['application/json'];
242
- httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
402
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
243
403
  }
244
- if (httpHeaderAcceptSelected !== undefined) {
245
- headers = headers.set('Accept', httpHeaderAcceptSelected);
404
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
405
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
246
406
  }
247
407
 
248
- let responseType_: 'text' | 'json' = 'json';
249
- if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
250
- responseType_ = 'text';
408
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
409
+ if (localVarHttpContext === undefined) {
410
+ localVarHttpContext = new HttpContext();
251
411
  }
252
412
 
253
- return this.httpClient.post<AgravityInfoResponse>(`${this.configuration.basePath}/cleanup`, null, {
413
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
414
+ if (localVarTransferCache === undefined) {
415
+ localVarTransferCache = true;
416
+ }
417
+
418
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
419
+ if (localVarHttpHeaderAcceptSelected) {
420
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
421
+ responseType_ = 'text';
422
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
423
+ responseType_ = 'json';
424
+ } else {
425
+ responseType_ = 'blob';
426
+ }
427
+ }
428
+
429
+ let localVarPath = `/cleanup`;
430
+ return this.httpClient.request<AgravityInfoResponse>('post', `${this.configuration.basePath}${localVarPath}`, {
431
+ context: localVarHttpContext,
254
432
  responseType: <any>responseType_,
255
433
  withCredentials: this.configuration.withCredentials,
256
- headers: headers,
434
+ headers: localVarHeaders,
257
435
  observe: observe,
436
+ transferCache: localVarTransferCache,
258
437
  reportProgress: reportProgress
259
438
  });
260
439
  }
261
440
 
262
441
  /**
263
442
  * This endpoint checks all deleted entities in the database until a specific date and returns the elements which are deleted.
264
- * @param entityType The type of the entity (e.g. \&#39;asset\&#39;, \&#39;collection_type\&#39;, \&#39;collection_type\&#39;. Admins are allowed to list the other types as well.
265
- * @param since The date in the past since the entities are marked as deleted in the database.
266
- * @param until The date in the past until the entities are marked as deleted in the database.
267
- * @param portalId If the request comes from portal this is the indicator.
443
+ * @param requestParameters
268
444
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
269
445
  * @param reportProgress flag to report request and response progress.
270
446
  */
271
447
  public httpGetDeletedEntities(
272
- entityType?: string,
273
- since?: string,
274
- until?: string,
275
- portalId?: string,
448
+ requestParameters?: HttpGetDeletedEntitiesRequestParams,
276
449
  observe?: 'body',
277
450
  reportProgress?: boolean,
278
- options?: { httpHeaderAccept?: 'application/json' }
451
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
279
452
  ): Observable<Array<DeletedEntities>>;
280
453
  public httpGetDeletedEntities(
281
- entityType?: string,
282
- since?: string,
283
- until?: string,
284
- portalId?: string,
454
+ requestParameters?: HttpGetDeletedEntitiesRequestParams,
285
455
  observe?: 'response',
286
456
  reportProgress?: boolean,
287
- options?: { httpHeaderAccept?: 'application/json' }
457
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
288
458
  ): Observable<HttpResponse<Array<DeletedEntities>>>;
289
459
  public httpGetDeletedEntities(
290
- entityType?: string,
291
- since?: string,
292
- until?: string,
293
- portalId?: string,
460
+ requestParameters?: HttpGetDeletedEntitiesRequestParams,
294
461
  observe?: 'events',
295
462
  reportProgress?: boolean,
296
- options?: { httpHeaderAccept?: 'application/json' }
463
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
297
464
  ): Observable<HttpEvent<Array<DeletedEntities>>>;
298
465
  public httpGetDeletedEntities(
299
- entityType?: string,
300
- since?: string,
301
- until?: string,
302
- portalId?: string,
466
+ requestParameters?: HttpGetDeletedEntitiesRequestParams,
303
467
  observe: any = 'body',
304
468
  reportProgress: boolean = false,
305
- options?: { httpHeaderAccept?: 'application/json' }
469
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
306
470
  ): Observable<any> {
307
- let queryParameters = new HttpParams({ encoder: this.encoder });
471
+ const entityType = requestParameters?.entityType;
472
+ const since = requestParameters?.since;
473
+ const until = requestParameters?.until;
474
+ const portalId = requestParameters?.portalId;
475
+
476
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
308
477
  if (entityType !== undefined && entityType !== null) {
309
- queryParameters = this.addToHttpParams(queryParameters, <any>entityType, 'entity_type');
478
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>entityType, 'entity_type');
310
479
  }
311
480
  if (since !== undefined && since !== null) {
312
- queryParameters = this.addToHttpParams(queryParameters, <any>since, 'since');
481
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>since, 'since');
313
482
  }
314
483
  if (until !== undefined && until !== null) {
315
- queryParameters = this.addToHttpParams(queryParameters, <any>until, 'until');
484
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>until, 'until');
316
485
  }
317
486
  if (portalId !== undefined && portalId !== null) {
318
- queryParameters = this.addToHttpParams(queryParameters, <any>portalId, 'portal_id');
487
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
319
488
  }
320
489
 
321
- let headers = this.defaultHeaders;
490
+ let localVarHeaders = this.defaultHeaders;
322
491
 
323
- let credential: string | undefined;
492
+ let localVarCredential: string | undefined;
324
493
  // authentication (msal_auth) required
325
- credential = this.configuration.lookupCredential('msal_auth');
326
- if (credential) {
327
- headers = headers.set('Authorization', 'Bearer ' + credential);
494
+ localVarCredential = this.configuration.lookupCredential('msal_auth');
495
+ if (localVarCredential) {
496
+ localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
328
497
  }
329
498
 
330
- let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
331
- if (httpHeaderAcceptSelected === undefined) {
499
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
500
+ if (localVarHttpHeaderAcceptSelected === undefined) {
332
501
  // to determine the Accept header
333
502
  const httpHeaderAccepts: string[] = ['application/json'];
334
- httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
503
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
504
+ }
505
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
506
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
335
507
  }
336
- if (httpHeaderAcceptSelected !== undefined) {
337
- headers = headers.set('Accept', httpHeaderAcceptSelected);
508
+
509
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
510
+ if (localVarHttpContext === undefined) {
511
+ localVarHttpContext = new HttpContext();
338
512
  }
339
513
 
340
- let responseType_: 'text' | 'json' = 'json';
341
- if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
342
- responseType_ = 'text';
514
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
515
+ if (localVarTransferCache === undefined) {
516
+ localVarTransferCache = true;
343
517
  }
344
518
 
345
- return this.httpClient.get<Array<DeletedEntities>>(`${this.configuration.basePath}/deleted`, {
346
- params: queryParameters,
519
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
520
+ if (localVarHttpHeaderAcceptSelected) {
521
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
522
+ responseType_ = 'text';
523
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
524
+ responseType_ = 'json';
525
+ } else {
526
+ responseType_ = 'blob';
527
+ }
528
+ }
529
+
530
+ let localVarPath = `/deleted`;
531
+ return this.httpClient.request<Array<DeletedEntities>>('get', `${this.configuration.basePath}${localVarPath}`, {
532
+ context: localVarHttpContext,
533
+ params: localVarQueryParameters,
347
534
  responseType: <any>responseType_,
348
535
  withCredentials: this.configuration.withCredentials,
349
- headers: headers,
536
+ headers: localVarHeaders,
350
537
  observe: observe,
538
+ transferCache: localVarTransferCache,
351
539
  reportProgress: reportProgress
352
540
  });
353
541
  }
354
542
 
355
543
  /**
356
544
  * This endpoint runs the initial setup of an environment.
357
- * @param createfolder (Default true) - Set to false if base collections (Folder) should not be created.
358
- * @param addconfigqueues Comma separated queue-names (have to start with \&#39;setup-\&#39;).
545
+ * @param requestParameters
359
546
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
360
547
  * @param reportProgress flag to report request and response progress.
361
548
  */
362
549
  public httpSetup(
363
- createfolder: boolean,
364
- addconfigqueues?: string,
550
+ requestParameters?: HttpSetupRequestParams,
365
551
  observe?: 'body',
366
552
  reportProgress?: boolean,
367
- options?: { httpHeaderAccept?: 'application/json' }
553
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
368
554
  ): Observable<AgravityInfoResponse>;
369
555
  public httpSetup(
370
- createfolder: boolean,
371
- addconfigqueues?: string,
556
+ requestParameters?: HttpSetupRequestParams,
372
557
  observe?: 'response',
373
558
  reportProgress?: boolean,
374
- options?: { httpHeaderAccept?: 'application/json' }
559
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
375
560
  ): Observable<HttpResponse<AgravityInfoResponse>>;
376
561
  public httpSetup(
377
- createfolder: boolean,
378
- addconfigqueues?: string,
562
+ requestParameters?: HttpSetupRequestParams,
379
563
  observe?: 'events',
380
564
  reportProgress?: boolean,
381
- options?: { httpHeaderAccept?: 'application/json' }
565
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
382
566
  ): Observable<HttpEvent<AgravityInfoResponse>>;
383
- public httpSetup(createfolder: boolean, addconfigqueues?: string, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
567
+ public httpSetup(
568
+ requestParameters?: HttpSetupRequestParams,
569
+ observe: any = 'body',
570
+ reportProgress: boolean = false,
571
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
572
+ ): Observable<any> {
573
+ const createfolder = requestParameters?.createfolder;
384
574
  if (createfolder === null || createfolder === undefined) {
385
575
  throw new Error('Required parameter createfolder was null or undefined when calling httpSetup.');
386
576
  }
577
+ const addconfigqueues = requestParameters?.addconfigqueues;
387
578
 
388
- let queryParameters = new HttpParams({ encoder: this.encoder });
579
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
389
580
  if (createfolder !== undefined && createfolder !== null) {
390
- queryParameters = this.addToHttpParams(queryParameters, <any>createfolder, 'createfolder');
581
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>createfolder, 'createfolder');
391
582
  }
392
583
  if (addconfigqueues !== undefined && addconfigqueues !== null) {
393
- queryParameters = this.addToHttpParams(queryParameters, <any>addconfigqueues, 'addconfigqueues');
584
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>addconfigqueues, 'addconfigqueues');
394
585
  }
395
586
 
396
- let headers = this.defaultHeaders;
587
+ let localVarHeaders = this.defaultHeaders;
397
588
 
398
- let credential: string | undefined;
589
+ let localVarCredential: string | undefined;
399
590
  // authentication (msal_auth) required
400
- credential = this.configuration.lookupCredential('msal_auth');
401
- if (credential) {
402
- headers = headers.set('Authorization', 'Bearer ' + credential);
591
+ localVarCredential = this.configuration.lookupCredential('msal_auth');
592
+ if (localVarCredential) {
593
+ localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
403
594
  }
404
595
 
405
- let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
406
- if (httpHeaderAcceptSelected === undefined) {
596
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
597
+ if (localVarHttpHeaderAcceptSelected === undefined) {
407
598
  // to determine the Accept header
408
599
  const httpHeaderAccepts: string[] = ['application/json'];
409
- httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
600
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
410
601
  }
411
- if (httpHeaderAcceptSelected !== undefined) {
412
- headers = headers.set('Accept', httpHeaderAcceptSelected);
602
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
603
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
413
604
  }
414
605
 
415
- let responseType_: 'text' | 'json' = 'json';
416
- if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
417
- responseType_ = 'text';
606
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
607
+ if (localVarHttpContext === undefined) {
608
+ localVarHttpContext = new HttpContext();
609
+ }
610
+
611
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
612
+ if (localVarTransferCache === undefined) {
613
+ localVarTransferCache = true;
614
+ }
615
+
616
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
617
+ if (localVarHttpHeaderAcceptSelected) {
618
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
619
+ responseType_ = 'text';
620
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
621
+ responseType_ = 'json';
622
+ } else {
623
+ responseType_ = 'blob';
624
+ }
418
625
  }
419
626
 
420
- return this.httpClient.post<AgravityInfoResponse>(`${this.configuration.basePath}/setup`, null, {
421
- params: queryParameters,
627
+ let localVarPath = `/setup`;
628
+ return this.httpClient.request<AgravityInfoResponse>('post', `${this.configuration.basePath}${localVarPath}`, {
629
+ context: localVarHttpContext,
630
+ params: localVarQueryParameters,
422
631
  responseType: <any>responseType_,
423
632
  withCredentials: this.configuration.withCredentials,
424
- headers: headers,
633
+ headers: localVarHeaders,
425
634
  observe: observe,
635
+ transferCache: localVarTransferCache,
426
636
  reportProgress: reportProgress
427
637
  });
428
638
  }