@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.
- package/.openapi-generator/FILES +4 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +97 -142
- package/api/api.ts +3 -0
- package/api/publicAIOperations.pub.agravity.ts +160 -0
- package/api/publicAssetManagement.pub.agravity.ts +67 -236
- package/api/publicAssetOperations.pub.agravity.ts +139 -380
- package/api/publicAssetPublishing.pub.agravity.ts +37 -132
- package/api/publicAssetRelationManagement.pub.agravity.ts +57 -192
- package/api/publicAssetVersioning.pub.agravity.ts +82 -249
- package/api/publicAuthenticationManagement.pub.agravity.ts +23 -106
- package/api/publicCollectionManagement.pub.agravity.ts +116 -321
- package/api/publicCollectionSecureUpload.pub.agravity.ts +29 -114
- package/api/publicCollectionTypeManagement.pub.agravity.ts +33 -136
- package/api/publicConfigurationManagement.pub.agravity.ts +11 -76
- package/api/publicDownloadFormatManagement.pub.agravity.ts +22 -101
- package/api/publicEndpoints.pub.agravity.ts +18 -89
- package/api/publicGeneralManagement.pub.agravity.ts +41 -146
- package/api/publicHelperTools.pub.agravity.ts +43 -174
- package/api/publicPortalManagement.pub.agravity.ts +74 -227
- package/api/publicPublishing.pub.agravity.ts +13 -84
- package/api/publicSavedSearch.pub.agravity.ts +13 -84
- package/api/publicSearchManagement.pub.agravity.ts +58 -203
- package/api/publicSharingManagement.pub.agravity.ts +50 -155
- package/api/publicSignalRConnectionManagement.pub.agravity.ts +11 -78
- package/api/publicStaticDefinedListManagement.pub.agravity.ts +37 -140
- package/api/publicTranslationManagement.pub.agravity.ts +48 -147
- package/api/publicWebAppData.pub.agravity.ts +26 -107
- package/api/publicWorkspaceManagement.pub.agravity.ts +24 -109
- package/api.base.service.ts +78 -0
- package/configuration.ts +33 -17
- package/index.ts +1 -0
- package/model/asset.pub.agravity.ts +6 -6
- package/model/assetBlob.pub.agravity.ts +15 -15
- package/model/assetIconRule.pub.agravity.ts +1 -1
- package/model/collTypeItem.pub.agravity.ts +1 -1
- package/model/collection.pub.agravity.ts +6 -6
- package/model/collectionType.pub.agravity.ts +6 -6
- package/model/collectionUDL.pub.agravity.ts +1 -1
- package/model/downloadFormat.pub.agravity.ts +1 -1
- package/model/downloadZipRequest.pub.agravity.ts +6 -6
- package/model/downloadZipStatus.pub.agravity.ts +6 -6
- package/model/entityIdName.pub.agravity.ts +1 -1
- package/model/groupAllAppData.pub.agravity.ts +1 -1
- package/model/permissionEntity.pub.agravity.ts +5 -5
- package/model/portalAuthentication.pub.agravity.ts +7 -7
- package/model/portalTheme.pub.agravity.ts +1 -1
- package/model/publishedAsset.pub.agravity.ts +1 -1
- package/model/savedSearch.pub.agravity.ts +1 -1
- package/model/staticDefinedList.pub.agravity.ts +1 -1
- package/model/whereParam.pub.agravity.ts +17 -17
- package/model/workspace.pub.agravity.ts +1 -1
- package/package.json +5 -4
- package/provide-api.ts +15 -0
- package/tsconfig.json +2 -0
|
@@ -26,6 +26,7 @@ import { SearchableItem } from '../model/searchableItem.pub.agravity';
|
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
28
28
|
import { AgravityPublicConfiguration } from '../configuration';
|
|
29
|
+
import { BaseService } from '../api.base.service';
|
|
29
30
|
|
|
30
31
|
export interface HttpGetAllUserDefinedListsRequestParams {
|
|
31
32
|
/** When default language should be returned and the translation dictionary is delivered. (Ignores the \"Accept-Language\" header) */
|
|
@@ -52,67 +53,13 @@ export interface HttpGetAllowedSearchableItemsRequestParams {
|
|
|
52
53
|
@Injectable({
|
|
53
54
|
providedIn: 'root'
|
|
54
55
|
})
|
|
55
|
-
export class PublicHelperToolsService {
|
|
56
|
-
protected basePath = 'http://localhost:7072/api';
|
|
57
|
-
public defaultHeaders = new HttpHeaders();
|
|
58
|
-
public configuration = new AgravityPublicConfiguration();
|
|
59
|
-
public encoder: HttpParameterCodec;
|
|
60
|
-
|
|
56
|
+
export class PublicHelperToolsService extends BaseService {
|
|
61
57
|
constructor(
|
|
62
58
|
protected httpClient: HttpClient,
|
|
63
59
|
@Optional() @Inject(BASE_PATH) basePath: string | string[],
|
|
64
|
-
@Optional() configuration
|
|
60
|
+
@Optional() configuration?: AgravityPublicConfiguration
|
|
65
61
|
) {
|
|
66
|
-
|
|
67
|
-
this.configuration = configuration;
|
|
68
|
-
}
|
|
69
|
-
if (typeof this.configuration.basePath !== 'string') {
|
|
70
|
-
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
71
|
-
if (firstBasePath != undefined) {
|
|
72
|
-
basePath = firstBasePath;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
if (typeof basePath !== 'string') {
|
|
76
|
-
basePath = this.basePath;
|
|
77
|
-
}
|
|
78
|
-
this.configuration.basePath = basePath;
|
|
79
|
-
}
|
|
80
|
-
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
// @ts-ignore
|
|
84
|
-
private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
|
|
85
|
-
if (typeof value === 'object' && value instanceof Date === false) {
|
|
86
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
87
|
-
} else {
|
|
88
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
89
|
-
}
|
|
90
|
-
return httpParams;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
|
|
94
|
-
if (value == null) {
|
|
95
|
-
return httpParams;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
if (typeof value === 'object') {
|
|
99
|
-
if (Array.isArray(value)) {
|
|
100
|
-
(value as any[]).forEach((elem) => (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)));
|
|
101
|
-
} else if (value instanceof Date) {
|
|
102
|
-
if (key != null) {
|
|
103
|
-
httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10));
|
|
104
|
-
} else {
|
|
105
|
-
throw Error('key may not be null if value is Date');
|
|
106
|
-
}
|
|
107
|
-
} else {
|
|
108
|
-
Object.keys(value).forEach((k) => (httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k)));
|
|
109
|
-
}
|
|
110
|
-
} else if (key != null) {
|
|
111
|
-
httpParams = httpParams.append(key, value);
|
|
112
|
-
} else {
|
|
113
|
-
throw Error('key may not be null if value is not object or array');
|
|
114
|
-
}
|
|
115
|
-
return httpParams;
|
|
62
|
+
super(basePath, configuration);
|
|
116
63
|
}
|
|
117
64
|
|
|
118
65
|
/**
|
|
@@ -149,41 +96,24 @@ export class PublicHelperToolsService {
|
|
|
149
96
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
150
97
|
|
|
151
98
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
152
|
-
|
|
153
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
|
|
154
|
-
}
|
|
99
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
|
|
155
100
|
|
|
156
101
|
let localVarHeaders = this.defaultHeaders;
|
|
157
102
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
158
103
|
localVarHeaders = localVarHeaders.set('Accept-Language', String(acceptLanguage));
|
|
159
104
|
}
|
|
160
105
|
|
|
161
|
-
let localVarCredential: string | undefined;
|
|
162
106
|
// authentication (function_key) required
|
|
163
|
-
|
|
164
|
-
if (localVarCredential) {
|
|
165
|
-
localVarHeaders = localVarHeaders.set('x-functions-key', localVarCredential);
|
|
166
|
-
}
|
|
107
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('function_key', 'x-functions-key', localVarHeaders);
|
|
167
108
|
|
|
168
|
-
|
|
169
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
170
|
-
// to determine the Accept header
|
|
171
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
172
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
173
|
-
}
|
|
109
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
174
110
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
175
111
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
176
112
|
}
|
|
177
113
|
|
|
178
|
-
|
|
179
|
-
if (localVarHttpContext === undefined) {
|
|
180
|
-
localVarHttpContext = new HttpContext();
|
|
181
|
-
}
|
|
114
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
182
115
|
|
|
183
|
-
|
|
184
|
-
if (localVarTransferCache === undefined) {
|
|
185
|
-
localVarTransferCache = true;
|
|
186
|
-
}
|
|
116
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
187
117
|
|
|
188
118
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
189
119
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -197,11 +127,12 @@ export class PublicHelperToolsService {
|
|
|
197
127
|
}
|
|
198
128
|
|
|
199
129
|
let localVarPath = `/helper/userdefinedlists`;
|
|
200
|
-
|
|
130
|
+
const { basePath, withCredentials } = this.configuration;
|
|
131
|
+
return this.httpClient.request<Array<CollectionUDL>>('get', `${basePath}${localVarPath}`, {
|
|
201
132
|
context: localVarHttpContext,
|
|
202
133
|
params: localVarQueryParameters,
|
|
203
134
|
responseType: <any>responseType_,
|
|
204
|
-
withCredentials:
|
|
135
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
205
136
|
headers: localVarHeaders,
|
|
206
137
|
observe: observe,
|
|
207
138
|
transferCache: localVarTransferCache,
|
|
@@ -242,38 +173,21 @@ export class PublicHelperToolsService {
|
|
|
242
173
|
const portalId = requestParameters?.portalId;
|
|
243
174
|
|
|
244
175
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
245
|
-
|
|
246
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
|
|
247
|
-
}
|
|
176
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
|
|
248
177
|
|
|
249
178
|
let localVarHeaders = this.defaultHeaders;
|
|
250
179
|
|
|
251
|
-
let localVarCredential: string | undefined;
|
|
252
180
|
// authentication (function_key) required
|
|
253
|
-
|
|
254
|
-
if (localVarCredential) {
|
|
255
|
-
localVarHeaders = localVarHeaders.set('x-functions-key', localVarCredential);
|
|
256
|
-
}
|
|
181
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('function_key', 'x-functions-key', localVarHeaders);
|
|
257
182
|
|
|
258
|
-
|
|
259
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
260
|
-
// to determine the Accept header
|
|
261
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
262
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
263
|
-
}
|
|
183
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
264
184
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
265
185
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
266
186
|
}
|
|
267
187
|
|
|
268
|
-
|
|
269
|
-
if (localVarHttpContext === undefined) {
|
|
270
|
-
localVarHttpContext = new HttpContext();
|
|
271
|
-
}
|
|
188
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
272
189
|
|
|
273
|
-
|
|
274
|
-
if (localVarTransferCache === undefined) {
|
|
275
|
-
localVarTransferCache = true;
|
|
276
|
-
}
|
|
190
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
277
191
|
|
|
278
192
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
279
193
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -287,11 +201,12 @@ export class PublicHelperToolsService {
|
|
|
287
201
|
}
|
|
288
202
|
|
|
289
203
|
let localVarPath = `/helper/filterableitems`;
|
|
290
|
-
|
|
204
|
+
const { basePath, withCredentials } = this.configuration;
|
|
205
|
+
return this.httpClient.request<Array<string>>('get', `${basePath}${localVarPath}`, {
|
|
291
206
|
context: localVarHttpContext,
|
|
292
207
|
params: localVarQueryParameters,
|
|
293
208
|
responseType: <any>responseType_,
|
|
294
|
-
withCredentials:
|
|
209
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
295
210
|
headers: localVarHeaders,
|
|
296
211
|
observe: observe,
|
|
297
212
|
transferCache: localVarTransferCache,
|
|
@@ -332,38 +247,21 @@ export class PublicHelperToolsService {
|
|
|
332
247
|
const portalId = requestParameters?.portalId;
|
|
333
248
|
|
|
334
249
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
335
|
-
|
|
336
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
|
|
337
|
-
}
|
|
250
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
|
|
338
251
|
|
|
339
252
|
let localVarHeaders = this.defaultHeaders;
|
|
340
253
|
|
|
341
|
-
let localVarCredential: string | undefined;
|
|
342
254
|
// authentication (function_key) required
|
|
343
|
-
|
|
344
|
-
if (localVarCredential) {
|
|
345
|
-
localVarHeaders = localVarHeaders.set('x-functions-key', localVarCredential);
|
|
346
|
-
}
|
|
255
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('function_key', 'x-functions-key', localVarHeaders);
|
|
347
256
|
|
|
348
|
-
|
|
349
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
350
|
-
// to determine the Accept header
|
|
351
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
352
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
353
|
-
}
|
|
257
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
354
258
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
355
259
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
356
260
|
}
|
|
357
261
|
|
|
358
|
-
|
|
359
|
-
if (localVarHttpContext === undefined) {
|
|
360
|
-
localVarHttpContext = new HttpContext();
|
|
361
|
-
}
|
|
262
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
362
263
|
|
|
363
|
-
|
|
364
|
-
if (localVarTransferCache === undefined) {
|
|
365
|
-
localVarTransferCache = true;
|
|
366
|
-
}
|
|
264
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
367
265
|
|
|
368
266
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
369
267
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -377,11 +275,12 @@ export class PublicHelperToolsService {
|
|
|
377
275
|
}
|
|
378
276
|
|
|
379
277
|
let localVarPath = `/helper/searchableitemnames`;
|
|
380
|
-
|
|
278
|
+
const { basePath, withCredentials } = this.configuration;
|
|
279
|
+
return this.httpClient.request<Array<string>>('get', `${basePath}${localVarPath}`, {
|
|
381
280
|
context: localVarHttpContext,
|
|
382
281
|
params: localVarQueryParameters,
|
|
383
282
|
responseType: <any>responseType_,
|
|
384
|
-
withCredentials:
|
|
283
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
385
284
|
headers: localVarHeaders,
|
|
386
285
|
observe: observe,
|
|
387
286
|
transferCache: localVarTransferCache,
|
|
@@ -422,38 +321,21 @@ export class PublicHelperToolsService {
|
|
|
422
321
|
const portalId = requestParameters?.portalId;
|
|
423
322
|
|
|
424
323
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
425
|
-
|
|
426
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
|
|
427
|
-
}
|
|
324
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>portalId, 'portal_id');
|
|
428
325
|
|
|
429
326
|
let localVarHeaders = this.defaultHeaders;
|
|
430
327
|
|
|
431
|
-
let localVarCredential: string | undefined;
|
|
432
328
|
// authentication (function_key) required
|
|
433
|
-
|
|
434
|
-
if (localVarCredential) {
|
|
435
|
-
localVarHeaders = localVarHeaders.set('x-functions-key', localVarCredential);
|
|
436
|
-
}
|
|
329
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('function_key', 'x-functions-key', localVarHeaders);
|
|
437
330
|
|
|
438
|
-
|
|
439
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
440
|
-
// to determine the Accept header
|
|
441
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
442
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
443
|
-
}
|
|
331
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
444
332
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
445
333
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
446
334
|
}
|
|
447
335
|
|
|
448
|
-
|
|
449
|
-
if (localVarHttpContext === undefined) {
|
|
450
|
-
localVarHttpContext = new HttpContext();
|
|
451
|
-
}
|
|
336
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
452
337
|
|
|
453
|
-
|
|
454
|
-
if (localVarTransferCache === undefined) {
|
|
455
|
-
localVarTransferCache = true;
|
|
456
|
-
}
|
|
338
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
457
339
|
|
|
458
340
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
459
341
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -467,11 +349,12 @@ export class PublicHelperToolsService {
|
|
|
467
349
|
}
|
|
468
350
|
|
|
469
351
|
let localVarPath = `/helper/searchableitems`;
|
|
470
|
-
|
|
352
|
+
const { basePath, withCredentials } = this.configuration;
|
|
353
|
+
return this.httpClient.request<Array<SearchableItem>>('get', `${basePath}${localVarPath}`, {
|
|
471
354
|
context: localVarHttpContext,
|
|
472
355
|
params: localVarQueryParameters,
|
|
473
356
|
responseType: <any>responseType_,
|
|
474
|
-
withCredentials:
|
|
357
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
475
358
|
headers: localVarHeaders,
|
|
476
359
|
observe: observe,
|
|
477
360
|
transferCache: localVarTransferCache,
|
|
@@ -506,32 +389,17 @@ export class PublicHelperToolsService {
|
|
|
506
389
|
): Observable<any> {
|
|
507
390
|
let localVarHeaders = this.defaultHeaders;
|
|
508
391
|
|
|
509
|
-
let localVarCredential: string | undefined;
|
|
510
392
|
// authentication (function_key) required
|
|
511
|
-
|
|
512
|
-
if (localVarCredential) {
|
|
513
|
-
localVarHeaders = localVarHeaders.set('x-functions-key', localVarCredential);
|
|
514
|
-
}
|
|
393
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('function_key', 'x-functions-key', localVarHeaders);
|
|
515
394
|
|
|
516
|
-
|
|
517
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
518
|
-
// to determine the Accept header
|
|
519
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
520
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
521
|
-
}
|
|
395
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
522
396
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
523
397
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
524
398
|
}
|
|
525
399
|
|
|
526
|
-
|
|
527
|
-
if (localVarHttpContext === undefined) {
|
|
528
|
-
localVarHttpContext = new HttpContext();
|
|
529
|
-
}
|
|
400
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
530
401
|
|
|
531
|
-
|
|
532
|
-
if (localVarTransferCache === undefined) {
|
|
533
|
-
localVarTransferCache = true;
|
|
534
|
-
}
|
|
402
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
535
403
|
|
|
536
404
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
537
405
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -545,10 +413,11 @@ export class PublicHelperToolsService {
|
|
|
545
413
|
}
|
|
546
414
|
|
|
547
415
|
let localVarPath = `/helper/userdefinedlists`;
|
|
548
|
-
|
|
416
|
+
const { basePath, withCredentials } = this.configuration;
|
|
417
|
+
return this.httpClient.request<CollectionUDLListEntity>('patch', `${basePath}${localVarPath}`, {
|
|
549
418
|
context: localVarHttpContext,
|
|
550
419
|
responseType: <any>responseType_,
|
|
551
|
-
withCredentials:
|
|
420
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
552
421
|
headers: localVarHeaders,
|
|
553
422
|
observe: observe,
|
|
554
423
|
transferCache: localVarTransferCache,
|