@agravity/public 9.3.0 → 10.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 (55) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +97 -142
  4. package/api/api.ts +3 -0
  5. package/api/publicAIOperations.pub.agravity.ts +160 -0
  6. package/api/publicAssetManagement.pub.agravity.ts +67 -236
  7. package/api/publicAssetOperations.pub.agravity.ts +139 -380
  8. package/api/publicAssetPublishing.pub.agravity.ts +37 -132
  9. package/api/publicAssetRelationManagement.pub.agravity.ts +57 -192
  10. package/api/publicAssetVersioning.pub.agravity.ts +82 -249
  11. package/api/publicAuthenticationManagement.pub.agravity.ts +23 -106
  12. package/api/publicCollectionManagement.pub.agravity.ts +116 -321
  13. package/api/publicCollectionSecureUpload.pub.agravity.ts +29 -114
  14. package/api/publicCollectionTypeManagement.pub.agravity.ts +33 -136
  15. package/api/publicConfigurationManagement.pub.agravity.ts +11 -76
  16. package/api/publicDownloadFormatManagement.pub.agravity.ts +22 -101
  17. package/api/publicEndpoints.pub.agravity.ts +18 -89
  18. package/api/publicGeneralManagement.pub.agravity.ts +41 -146
  19. package/api/publicHelperTools.pub.agravity.ts +43 -174
  20. package/api/publicPortalManagement.pub.agravity.ts +74 -227
  21. package/api/publicPublishing.pub.agravity.ts +13 -84
  22. package/api/publicSavedSearch.pub.agravity.ts +13 -84
  23. package/api/publicSearchManagement.pub.agravity.ts +58 -203
  24. package/api/publicSharingManagement.pub.agravity.ts +50 -155
  25. package/api/publicSignalRConnectionManagement.pub.agravity.ts +11 -78
  26. package/api/publicStaticDefinedListManagement.pub.agravity.ts +37 -140
  27. package/api/publicTranslationManagement.pub.agravity.ts +48 -147
  28. package/api/publicWebAppData.pub.agravity.ts +26 -107
  29. package/api/publicWorkspaceManagement.pub.agravity.ts +24 -109
  30. package/api.base.service.ts +78 -0
  31. package/configuration.ts +33 -17
  32. package/index.ts +1 -0
  33. package/model/asset.pub.agravity.ts +6 -6
  34. package/model/assetBlob.pub.agravity.ts +15 -15
  35. package/model/assetIconRule.pub.agravity.ts +1 -1
  36. package/model/collTypeItem.pub.agravity.ts +1 -1
  37. package/model/collection.pub.agravity.ts +6 -6
  38. package/model/collectionType.pub.agravity.ts +6 -6
  39. package/model/collectionUDL.pub.agravity.ts +1 -1
  40. package/model/downloadFormat.pub.agravity.ts +1 -1
  41. package/model/downloadZipRequest.pub.agravity.ts +6 -6
  42. package/model/downloadZipStatus.pub.agravity.ts +6 -6
  43. package/model/entityIdName.pub.agravity.ts +1 -1
  44. package/model/groupAllAppData.pub.agravity.ts +1 -1
  45. package/model/permissionEntity.pub.agravity.ts +5 -5
  46. package/model/portalAuthentication.pub.agravity.ts +7 -7
  47. package/model/portalTheme.pub.agravity.ts +1 -1
  48. package/model/publishedAsset.pub.agravity.ts +1 -1
  49. package/model/savedSearch.pub.agravity.ts +1 -1
  50. package/model/staticDefinedList.pub.agravity.ts +1 -1
  51. package/model/whereParam.pub.agravity.ts +17 -17
  52. package/model/workspace.pub.agravity.ts +1 -1
  53. package/package.json +5 -4
  54. package/provide-api.ts +15 -0
  55. package/tsconfig.json +2 -0
@@ -1,8 +1,10 @@
1
1
  .gitignore
2
2
  .openapi-generator-ignore
3
3
  README.md
4
+ api.base.service.ts
4
5
  api.module.ts
5
6
  api/api.ts
7
+ api/publicAIOperations.pub.agravity.ts
6
8
  api/publicAssetManagement.pub.agravity.ts
7
9
  api/publicAssetOperations.pub.agravity.ts
8
10
  api/publicAssetPublishing.pub.agravity.ts
@@ -110,5 +112,7 @@ model/workspace.pub.agravity.ts
110
112
  ng-package.json
111
113
  package.json
112
114
  param.ts
115
+ provide-api.ts
113
116
  tsconfig.json
114
117
  variables.ts
118
+
@@ -1 +1 @@
1
- 7.9.0
1
+ 7.15.0
package/README.md CHANGED
@@ -1,34 +1,35 @@
1
- ## @agravity/public@9.3.0
1
+ # @agravity/public@10.0.0
2
2
 
3
3
  <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2025. All Rights Reserved
4
4
 
5
- The version of the OpenAPI document: 9.3.0
5
+ The version of the OpenAPI document: 10.0.0
6
6
 
7
- ### Building
7
+ ## Building
8
8
 
9
9
  To install the required dependencies and to build the typescript sources run:
10
- ```
10
+
11
+ ```console
11
12
  npm install
12
13
  npm run build
13
14
  ```
14
15
 
15
- ### publishing
16
+ ## Publishing
16
17
 
17
- First build the package then run ```npm publish dist``` (don't forget to specify the `dist` folder!)
18
+ First build the package then run `npm publish dist` (don't forget to specify the `dist` folder!)
18
19
 
19
- ### consuming
20
+ ## Consuming
20
21
 
21
22
  Navigate to the folder of your consuming project and run one of next commands.
22
23
 
23
24
  _published:_
24
25
 
25
- ```
26
- npm install @agravity/public@9.3.0 --save
26
+ ```console
27
+ npm install @agravity/public@10.0.0 --save
27
28
  ```
28
29
 
29
30
  _without publishing (not recommended):_
30
31
 
31
- ```
32
+ ```console
32
33
  npm install PATH_TO_GENERATED_PACKAGE/dist.tgz --save
33
34
  ```
34
35
 
@@ -37,173 +38,126 @@ _It's important to take the tgz file, otherwise you'll get trouble with links on
37
38
  _using `npm link`:_
38
39
 
39
40
  In PATH_TO_GENERATED_PACKAGE/dist:
40
- ```
41
+
42
+ ```console
41
43
  npm link
42
44
  ```
43
45
 
44
46
  In your project:
45
- ```
47
+
48
+ ```console
46
49
  npm link @agravity/public
47
50
  ```
48
51
 
49
52
  __Note for Windows users:__ The Angular CLI has troubles to use linked npm packages.
50
- Please refer to this issue https://github.com/angular/angular-cli/issues/8284 for a solution / workaround.
53
+ Please refer to this issue <https://github.com/angular/angular-cli/issues/8284> for a solution / workaround.
51
54
  Published packages are not effected by this issue.
52
55
 
53
-
54
- #### General usage
56
+ ### General usage
55
57
 
56
58
  In your Angular project:
57
59
 
60
+ ```typescript
58
61
 
59
- ```
60
- // without configuring providers
61
- import { AgravityPublicApiModule } from '@agravity/public';
62
- import { HttpClientModule } from '@angular/common/http';
63
-
64
- @NgModule({
65
- imports: [
66
- AgravityPublicApiModule,
67
- // make sure to import the HttpClientModule in the AppModule only,
68
- // see https://github.com/angular/angular/issues/20575
69
- HttpClientModule
70
- ],
71
- declarations: [ AppComponent ],
72
- providers: [],
73
- bootstrap: [ AppComponent ]
74
- })
75
- export class AppModule {}
76
- ```
77
-
78
- ```
79
- // configuring providers
80
- import { AgravityPublicApiModule, AgravityPublicConfiguration, AgravityPublicConfigurationParameters } from '@agravity/public';
81
-
82
- export function apiConfigFactory (): AgravityPublicConfiguration {
83
- const params: AgravityPublicConfigurationParameters = {
84
- // set configuration parameters here.
85
- }
86
- return new AgravityPublicConfiguration(params);
87
- }
88
-
89
- @NgModule({
90
- imports: [ AgravityPublicApiModule.forRoot(apiConfigFactory) ],
91
- declarations: [ AppComponent ],
92
- providers: [],
93
- bootstrap: [ AppComponent ]
94
- })
95
- export class AppModule {}
96
- ```
97
-
98
- ```
99
- // configuring providers with an authentication service that manages your access tokens
100
- import { AgravityPublicApiModule, AgravityPublicConfiguration } from '@agravity/public';
62
+ import { ApplicationConfig } from '@angular/core';
63
+ import { provideHttpClient } from '@angular/common/http';
64
+ import { provideApi } from '@agravity/public';
101
65
 
102
- @NgModule({
103
- imports: [ AgravityPublicApiModule ],
104
- declarations: [ AppComponent ],
66
+ export const appConfig: ApplicationConfig = {
105
67
  providers: [
106
- {
107
- provide: AgravityPublicConfiguration,
108
- useFactory: (authService: AuthService) => new AgravityPublicConfiguration(
109
- {
110
- basePath: environment.apiUrl,
111
- accessToken: authService.getAccessToken.bind(authService)
112
- }
113
- ),
114
- deps: [AuthService],
115
- multi: false
116
- }
68
+ // ...
69
+ provideHttpClient(),
70
+ provideApi()
117
71
  ],
118
- bootstrap: [ AppComponent ]
119
- })
120
- export class AppModule {}
121
- ```
122
-
72
+ };
123
73
  ```
124
- import { DefaultApi } from '@agravity/public';
125
74
 
126
- export class AppComponent {
127
- constructor(private apiGateway: DefaultApi) { }
128
- }
75
+ **NOTE**
76
+ If you're still using `AppModule` and haven't [migrated](https://angular.dev/reference/migrations/standalone) yet, you can still import an Angular module:
77
+ ```typescript
78
+ import { AgravityPublicApiModule } from '@agravity/public';
129
79
  ```
130
80
 
131
- Note: The AgravityPublicApiModule is restricted to being instantiated once app wide.
132
- This is to ensure that all services are treated as singletons.
133
-
134
- #### Using multiple OpenAPI files / APIs / AgravityPublicApiModules
135
- In order to use multiple `AgravityPublicApiModules` generated from different OpenAPI files,
136
- you can create an alias name when importing the modules
137
- in order to avoid naming conflicts:
138
- ```
139
- import { AgravityPublicApiModule } from 'my-api-path';
140
- import { AgravityPublicApiModule as OtherApiModule } from 'my-other-api-path';
141
- import { HttpClientModule } from '@angular/common/http';
81
+ If different from the generated base path, during app bootstrap, you can provide the base path to your service.
142
82
 
143
- @NgModule({
144
- imports: [
145
- AgravityPublicApiModule,
146
- OtherApiModule,
147
- // make sure to import the HttpClientModule in the AppModule only,
148
- // see https://github.com/angular/angular/issues/20575
149
- HttpClientModule
150
- ]
151
- })
152
- export class AppModule {
83
+ ```typescript
84
+ import { ApplicationConfig } from '@angular/core';
85
+ import { provideHttpClient } from '@angular/common/http';
86
+ import { provideApi } from '@agravity/public';
153
87
 
154
- }
88
+ export const appConfig: ApplicationConfig = {
89
+ providers: [
90
+ // ...
91
+ provideHttpClient(),
92
+ provideApi('http://localhost:9999')
93
+ ],
94
+ };
155
95
  ```
156
96
 
97
+ ```typescript
98
+ // with a custom configuration
99
+ import { ApplicationConfig } from '@angular/core';
100
+ import { provideHttpClient } from '@angular/common/http';
101
+ import { provideApi } from '@agravity/public';
157
102
 
158
- ### Set service base path
159
- If different than the generated base path, during app bootstrap, you can provide the base path to your service.
160
-
161
- ```
162
- import { BASE_PATH } from '@agravity/public';
163
-
164
- bootstrap(AppComponent, [
165
- { provide: BASE_PATH, useValue: 'https://your-web-service.com' },
166
- ]);
103
+ export const appConfig: ApplicationConfig = {
104
+ providers: [
105
+ // ...
106
+ provideHttpClient(),
107
+ provideApi({
108
+ withCredentials: true,
109
+ username: 'user',
110
+ password: 'password'
111
+ })
112
+ ],
113
+ };
167
114
  ```
168
- or
169
115
 
170
- ```
171
- import { BASE_PATH } from '@agravity/public';
116
+ ```typescript
117
+ // with factory building a custom configuration
118
+ import { ApplicationConfig } from '@angular/core';
119
+ import { provideHttpClient } from '@angular/common/http';
120
+ import { provideApi, AgravityPublicConfiguration } from '@agravity/public';
172
121
 
173
- @NgModule({
174
- imports: [],
175
- declarations: [ AppComponent ],
176
- providers: [ provide: BASE_PATH, useValue: 'https://your-web-service.com' ],
177
- bootstrap: [ AppComponent ]
178
- })
179
- export class AppModule {}
122
+ export const appConfig: ApplicationConfig = {
123
+ providers: [
124
+ // ...
125
+ provideHttpClient(),
126
+ {
127
+ provide: AgravityPublicConfiguration,
128
+ useFactory: (authService: AuthService) => new AgravityPublicConfiguration({
129
+ basePath: 'http://localhost:9999',
130
+ withCredentials: true,
131
+ username: authService.getUsername(),
132
+ password: authService.getPassword(),
133
+ }),
134
+ deps: [AuthService],
135
+ multi: false
136
+ }
137
+ ],
138
+ };
180
139
  ```
181
140
 
141
+ ### Using multiple OpenAPI files / APIs
182
142
 
183
- #### Using @angular/cli
184
- First extend your `src/environments/*.ts` files by adding the corresponding base path:
185
-
186
- ```
187
- export const environment = {
188
- production: false,
189
- API_BASE_PATH: 'http://127.0.0.1:8080'
190
- };
191
- ```
143
+ In order to use multiple APIs generated from different OpenAPI files,
144
+ you can create an alias name when importing the modules
145
+ in order to avoid naming conflicts:
192
146
 
193
- In the src/app/app.module.ts:
194
- ```
195
- import { BASE_PATH } from '@agravity/public';
147
+ ```typescript
148
+ import { provideApi as provideUserApi } from 'my-user-api-path';
149
+ import { provideApi as provideAdminApi } from 'my-admin-api-path';
150
+ import { HttpClientModule } from '@angular/common/http';
196
151
  import { environment } from '../environments/environment';
197
152
 
198
- @NgModule({
199
- declarations: [
200
- AppComponent
201
- ],
202
- imports: [ ],
203
- providers: [{ provide: BASE_PATH, useValue: environment.API_BASE_PATH }],
204
- bootstrap: [ AppComponent ]
205
- })
206
- export class AppModule { }
153
+ export const appConfig: ApplicationConfig = {
154
+ providers: [
155
+ // ...
156
+ provideHttpClient(),
157
+ provideUserApi(environment.basePath),
158
+ provideAdminApi(environment.basePath),
159
+ ],
160
+ };
207
161
  ```
208
162
 
209
163
  ### Customizing path parameter encoding
@@ -219,6 +173,7 @@ pass an arrow-function or method-reference to the `encodeParam` property of the
219
173
  (see [General Usage](#general-usage) above).
220
174
 
221
175
  Example value for use in your Configuration-Provider:
176
+
222
177
  ```typescript
223
178
  new Configuration({
224
179
  encodeParam: (param: Param) => myFancyParamEncoder(param),
package/api/api.ts CHANGED
@@ -1,3 +1,5 @@
1
+ export * from './publicAIOperations.pub.agravity';
2
+ import { PublicAIOperationsService } from './publicAIOperations.pub.agravity';
1
3
  export * from './publicAssetManagement.pub.agravity';
2
4
  import { PublicAssetManagementService } from './publicAssetManagement.pub.agravity';
3
5
  export * from './publicAssetOperations.pub.agravity';
@@ -47,6 +49,7 @@ import { PublicWebAppDataService } from './publicWebAppData.pub.agravity';
47
49
  export * from './publicWorkspaceManagement.pub.agravity';
48
50
  import { PublicWorkspaceManagementService } from './publicWorkspaceManagement.pub.agravity';
49
51
  export const APIS = [
52
+ PublicAIOperationsService,
50
53
  PublicAssetManagementService,
51
54
  PublicAssetOperationsService,
52
55
  PublicAssetPublishingService,
@@ -0,0 +1,160 @@
1
+ /**
2
+ * Agravity OpenAPI Documentation - Public Functions
3
+ *
4
+ * Contact: office@agravity.io
5
+ *
6
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7
+ * https://openapi-generator.tech
8
+ * Do not edit the class manually.
9
+ */
10
+ /* tslint:disable:no-unused-variable member-ordering */
11
+
12
+ import { Inject, Injectable, Optional } from '@angular/core';
13
+ import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
14
+ import { CustomHttpParameterCodec } from '../encoder';
15
+ import { Observable } from 'rxjs';
16
+
17
+ // @ts-ignore
18
+ import { AgravityErrorResponse } from '../model/agravityErrorResponse.pub.agravity';
19
+ // @ts-ignore
20
+ import { SearchResult } from '../model/searchResult.pub.agravity';
21
+
22
+ // @ts-ignore
23
+ import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
24
+ import { AgravityPublicConfiguration } from '../configuration';
25
+ import { BaseService } from '../api.base.service';
26
+
27
+ export interface HttpReverseAssetSearchRequestParams {
28
+ /** The requested language of the response. If not matching it falls back to default language. */
29
+ acceptLanguage?: string;
30
+ name?: string;
31
+ collectionid?: string;
32
+ file?: Blob;
33
+ filename?: string;
34
+ previewof?: string;
35
+ }
36
+
37
+ @Injectable({
38
+ providedIn: 'root'
39
+ })
40
+ export class PublicAIOperationsService extends BaseService {
41
+ constructor(
42
+ protected httpClient: HttpClient,
43
+ @Optional() @Inject(BASE_PATH) basePath: string | string[],
44
+ @Optional() configuration?: AgravityPublicConfiguration
45
+ ) {
46
+ super(basePath, configuration);
47
+ }
48
+
49
+ /**
50
+ * This endpoint allows to use one asset which is used for searching similar assets.
51
+ * @param requestParameters
52
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
53
+ * @param reportProgress flag to report request and response progress.
54
+ */
55
+ public httpReverseAssetSearch(
56
+ requestParameters?: HttpReverseAssetSearchRequestParams,
57
+ observe?: 'body',
58
+ reportProgress?: boolean,
59
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
60
+ ): Observable<SearchResult>;
61
+ public httpReverseAssetSearch(
62
+ requestParameters?: HttpReverseAssetSearchRequestParams,
63
+ observe?: 'response',
64
+ reportProgress?: boolean,
65
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
66
+ ): Observable<HttpResponse<SearchResult>>;
67
+ public httpReverseAssetSearch(
68
+ requestParameters?: HttpReverseAssetSearchRequestParams,
69
+ observe?: 'events',
70
+ reportProgress?: boolean,
71
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
72
+ ): Observable<HttpEvent<SearchResult>>;
73
+ public httpReverseAssetSearch(
74
+ requestParameters?: HttpReverseAssetSearchRequestParams,
75
+ observe: any = 'body',
76
+ reportProgress: boolean = false,
77
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
78
+ ): Observable<any> {
79
+ const acceptLanguage = requestParameters?.acceptLanguage;
80
+ const name = requestParameters?.name;
81
+ const collectionid = requestParameters?.collectionid;
82
+ const file = requestParameters?.file;
83
+ const filename = requestParameters?.filename;
84
+ const previewof = requestParameters?.previewof;
85
+
86
+ let localVarHeaders = this.defaultHeaders;
87
+ if (acceptLanguage !== undefined && acceptLanguage !== null) {
88
+ localVarHeaders = localVarHeaders.set('Accept-Language', String(acceptLanguage));
89
+ }
90
+
91
+ // authentication (function_key) required
92
+ localVarHeaders = this.configuration.addCredentialToHeaders('function_key', 'x-functions-key', localVarHeaders);
93
+
94
+ const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
95
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
96
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
97
+ }
98
+
99
+ const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
100
+
101
+ const localVarTransferCache: boolean = options?.transferCache ?? true;
102
+
103
+ // to determine the Content-Type header
104
+ const consumes: string[] = ['multipart/form-data'];
105
+
106
+ const canConsumeForm = this.canConsumeForm(consumes);
107
+
108
+ let localVarFormParams: { append(param: string, value: any): any };
109
+ let localVarUseForm = false;
110
+ let localVarConvertFormParamsToString = false;
111
+ // use FormData to transmit files using content-type "multipart/form-data"
112
+ // see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
113
+ localVarUseForm = canConsumeForm;
114
+ if (localVarUseForm) {
115
+ localVarFormParams = new FormData();
116
+ } else {
117
+ localVarFormParams = new HttpParams({ encoder: this.encoder });
118
+ }
119
+
120
+ if (name !== undefined) {
121
+ localVarFormParams = (localVarFormParams.append('name', <any>name) as any) || localVarFormParams;
122
+ }
123
+ if (collectionid !== undefined) {
124
+ localVarFormParams = (localVarFormParams.append('collectionid', <any>collectionid) as any) || localVarFormParams;
125
+ }
126
+ if (file !== undefined) {
127
+ localVarFormParams = (localVarFormParams.append('file', <any>file) as any) || localVarFormParams;
128
+ }
129
+ if (filename !== undefined) {
130
+ localVarFormParams = (localVarFormParams.append('filename', <any>filename) as any) || localVarFormParams;
131
+ }
132
+ if (previewof !== undefined) {
133
+ localVarFormParams = (localVarFormParams.append('previewof', <any>previewof) as any) || localVarFormParams;
134
+ }
135
+
136
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
137
+ if (localVarHttpHeaderAcceptSelected) {
138
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
139
+ responseType_ = 'text';
140
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
141
+ responseType_ = 'json';
142
+ } else {
143
+ responseType_ = 'blob';
144
+ }
145
+ }
146
+
147
+ let localVarPath = `/ai/reverseassetsearch`;
148
+ const { basePath, withCredentials } = this.configuration;
149
+ return this.httpClient.request<SearchResult>('post', `${basePath}${localVarPath}`, {
150
+ context: localVarHttpContext,
151
+ body: localVarConvertFormParamsToString ? localVarFormParams.toString() : localVarFormParams,
152
+ responseType: <any>responseType_,
153
+ ...(withCredentials ? { withCredentials } : {}),
154
+ headers: localVarHeaders,
155
+ observe: observe,
156
+ transferCache: localVarTransferCache,
157
+ reportProgress: reportProgress
158
+ });
159
+ }
160
+ }