@agravity/private 9.4.0 → 10.0.1
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 +11 -3
- package/.openapi-generator/VERSION +1 -1
- package/README.md +97 -142
- package/api/aIOperations.agravity.ts +878 -0
- package/api/api.ts +9 -3
- package/api/assetIconRuleManagement.agravity.ts +59 -190
- package/api/assetManagement.agravity.ts +118 -355
- package/api/assetOperations.agravity.ts +290 -917
- package/api/assetPublishing.agravity.ts +107 -288
- package/api/assetRelationManagement.agravity.ts +61 -196
- package/api/assetRelationTypeManagement.agravity.ts +70 -215
- package/api/assetVersioning.agravity.ts +105 -300
- package/api/authenticationManagement.agravity.ts +137 -392
- package/api/collectionManagement.agravity.ts +217 -376
- package/api/collectionShareManagement.agravity.ts +59 -190
- package/api/collectionTypeItemBlueprintManagement.agravity.ts +47 -162
- package/api/collectionTypeManagement.agravity.ts +91 -270
- package/api/commentsManagement.agravity.ts +48 -157
- package/api/configurationManagement.agravity.ts +53 -180
- package/api/dashboardWidgetManagement.agravity.ts +56 -181
- package/api/dataImportExportManagement.agravity.ts +58 -203
- package/api/downloadFormatManagement.agravity.ts +70 -215
- package/api/downloadZip.agravity.ts +37 -132
- package/api/generalManagement.agravity.ts +64 -229
- package/api/helperTools.agravity.ts +214 -404
- package/api/historyEntryManagement.agravity.ts +16 -85
- package/api/iccProfileManagement.agravity.ts +11 -78
- package/api/listBlobs.agravity.ts +18 -99
- package/api/listQueues.agravity.ts +11 -78
- package/api/listTables.agravity.ts +11 -78
- package/api/notificationManagement.agravity.ts +267 -0
- package/api/permissionsManagement.agravity.ts +44 -153
- package/api/portalManagement.agravity.ts +88 -253
- package/api/portalsUsersManagement.agravity.ts +55 -178
- package/api/publishing.agravity.ts +13 -84
- package/api/quickshareManagement.agravity.ts +67 -214
- package/api/savedSearchManagement.agravity.ts +37 -140
- package/api/searchManagement.agravity.ts +102 -327
- package/api/searchSettingsOperations.agravity.ts +187 -0
- package/api/secureUpload.agravity.ts +68 -209
- package/api/signalRConnectionManagement.agravity.ts +26 -109
- package/api/staticDefinedListManagement.agravity.ts +60 -193
- package/api/stockImport.agravity.ts +31 -122
- package/api/structureImport.agravity.ts +11 -78
- package/api/translationManagement.agravity.ts +86 -229
- package/api/webAppData.agravity.ts +48 -157
- package/api/widgetLayoutManagement.agravity.ts +22 -103
- package/api/wordpressManagement.agravity.ts +34 -131
- package/api/workspaceManagement.agravity.ts +77 -236
- package/api.base.service.ts +78 -0
- package/configuration.ts +33 -17
- package/index.ts +1 -0
- package/model/{aiGroupEntity.agravity.ts → aiAsset.agravity.ts} +2 -3
- package/model/aiFieldGeneration.agravity.ts +1 -5
- package/model/{aiGroup.agravity.ts → aiModelDeployment.agravity.ts} +6 -5
- package/model/aiSettings.agravity.ts +4 -3
- package/model/aiTypeSettings.agravity.ts +17 -0
- package/model/asset.agravity.ts +6 -6
- package/model/assetBlob.agravity.ts +15 -15
- package/model/assetIconRule.agravity.ts +1 -1
- package/model/assetRelationType.agravity.ts +1 -1
- package/model/azureIdentity.agravity.ts +7 -7
- package/model/collTypeItem.agravity.ts +1 -1
- package/model/collTypeItemBlueprint.agravity.ts +1 -1
- package/model/collection.agravity.ts +6 -6
- package/model/collectionType.agravity.ts +6 -6
- package/model/collectionUDL.agravity.ts +1 -1
- package/model/dashboardWidget.agravity.ts +1 -1
- package/model/downloadFormat.agravity.ts +1 -1
- package/model/downloadZipRequest.agravity.ts +6 -6
- package/model/downloadZipStatus.agravity.ts +6 -6
- package/model/entityIdName.agravity.ts +1 -1
- package/model/entityTranslations.agravity.ts +1 -1
- package/model/groupAllAppData.agravity.ts +1 -1
- package/model/historyEntry.agravity.ts +16 -30
- package/model/models.ts +5 -2
- package/model/notificationSettingDto.agravity.ts +18 -0
- package/model/permissionChange.agravity.ts +7 -7
- package/model/permissionEntity.agravity.ts +5 -5
- package/model/portalAuthentication.agravity.ts +7 -7
- package/model/portalTheme.agravity.ts +1 -1
- package/model/publishedAsset.agravity.ts +1 -1
- package/model/savedSearch.agravity.ts +1 -1
- package/model/searchSettings.agravity.ts +26 -0
- package/model/staticDefinedList.agravity.ts +1 -1
- package/model/uiTutorials.agravity.ts +4 -4
- package/model/whereParam.agravity.ts +17 -17
- package/model/workspace.agravity.ts +1 -1
- package/package.json +5 -4
- package/provide-api.ts +15 -0
- package/tsconfig.json +2 -0
- package/api/aISettingsManagement.agravity.ts +0 -264
|
@@ -22,6 +22,7 @@ import { SavedSearch } from '../model/savedSearch.agravity';
|
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
24
24
|
import { AgravityConfiguration } from '../configuration';
|
|
25
|
+
import { BaseService } from '../api.base.service';
|
|
25
26
|
|
|
26
27
|
export interface HttpSavedSearchesCreateRequestParams {
|
|
27
28
|
/** This endpoint creates an unique saved search ID and adds the information to the database. */
|
|
@@ -51,67 +52,13 @@ export interface HttpSavedSearchesGetAllRequestParams {
|
|
|
51
52
|
@Injectable({
|
|
52
53
|
providedIn: 'root'
|
|
53
54
|
})
|
|
54
|
-
export class SavedSearchManagementService {
|
|
55
|
-
protected basePath = 'http://localhost:7071/api';
|
|
56
|
-
public defaultHeaders = new HttpHeaders();
|
|
57
|
-
public configuration = new AgravityConfiguration();
|
|
58
|
-
public encoder: HttpParameterCodec;
|
|
59
|
-
|
|
55
|
+
export class SavedSearchManagementService extends BaseService {
|
|
60
56
|
constructor(
|
|
61
57
|
protected httpClient: HttpClient,
|
|
62
58
|
@Optional() @Inject(BASE_PATH) basePath: string | string[],
|
|
63
|
-
@Optional() configuration
|
|
59
|
+
@Optional() configuration?: AgravityConfiguration
|
|
64
60
|
) {
|
|
65
|
-
|
|
66
|
-
this.configuration = configuration;
|
|
67
|
-
}
|
|
68
|
-
if (typeof this.configuration.basePath !== 'string') {
|
|
69
|
-
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
70
|
-
if (firstBasePath != undefined) {
|
|
71
|
-
basePath = firstBasePath;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
if (typeof basePath !== 'string') {
|
|
75
|
-
basePath = this.basePath;
|
|
76
|
-
}
|
|
77
|
-
this.configuration.basePath = basePath;
|
|
78
|
-
}
|
|
79
|
-
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
// @ts-ignore
|
|
83
|
-
private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
|
|
84
|
-
if (typeof value === 'object' && value instanceof Date === false) {
|
|
85
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
86
|
-
} else {
|
|
87
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
88
|
-
}
|
|
89
|
-
return httpParams;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
|
|
93
|
-
if (value == null) {
|
|
94
|
-
return httpParams;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
if (typeof value === 'object') {
|
|
98
|
-
if (Array.isArray(value)) {
|
|
99
|
-
(value as any[]).forEach((elem) => (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)));
|
|
100
|
-
} else if (value instanceof Date) {
|
|
101
|
-
if (key != null) {
|
|
102
|
-
httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10));
|
|
103
|
-
} else {
|
|
104
|
-
throw Error('key may not be null if value is Date');
|
|
105
|
-
}
|
|
106
|
-
} else {
|
|
107
|
-
Object.keys(value).forEach((k) => (httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k)));
|
|
108
|
-
}
|
|
109
|
-
} else if (key != null) {
|
|
110
|
-
httpParams = httpParams.append(key, value);
|
|
111
|
-
} else {
|
|
112
|
-
throw Error('key may not be null if value is not object or array');
|
|
113
|
-
}
|
|
114
|
-
return httpParams;
|
|
61
|
+
super(basePath, configuration);
|
|
115
62
|
}
|
|
116
63
|
|
|
117
64
|
/**
|
|
@@ -121,25 +68,25 @@ export class SavedSearchManagementService {
|
|
|
121
68
|
* @param reportProgress flag to report request and response progress.
|
|
122
69
|
*/
|
|
123
70
|
public httpSavedSearchesCreate(
|
|
124
|
-
requestParameters
|
|
71
|
+
requestParameters: HttpSavedSearchesCreateRequestParams,
|
|
125
72
|
observe?: 'body',
|
|
126
73
|
reportProgress?: boolean,
|
|
127
74
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
128
75
|
): Observable<SavedSearch>;
|
|
129
76
|
public httpSavedSearchesCreate(
|
|
130
|
-
requestParameters
|
|
77
|
+
requestParameters: HttpSavedSearchesCreateRequestParams,
|
|
131
78
|
observe?: 'response',
|
|
132
79
|
reportProgress?: boolean,
|
|
133
80
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
134
81
|
): Observable<HttpResponse<SavedSearch>>;
|
|
135
82
|
public httpSavedSearchesCreate(
|
|
136
|
-
requestParameters
|
|
83
|
+
requestParameters: HttpSavedSearchesCreateRequestParams,
|
|
137
84
|
observe?: 'events',
|
|
138
85
|
reportProgress?: boolean,
|
|
139
86
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
140
87
|
): Observable<HttpEvent<SavedSearch>>;
|
|
141
88
|
public httpSavedSearchesCreate(
|
|
142
|
-
requestParameters
|
|
89
|
+
requestParameters: HttpSavedSearchesCreateRequestParams,
|
|
143
90
|
observe: any = 'body',
|
|
144
91
|
reportProgress: boolean = false,
|
|
145
92
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
@@ -153,44 +100,25 @@ export class SavedSearchManagementService {
|
|
|
153
100
|
const isglobal = requestParameters?.isglobal;
|
|
154
101
|
|
|
155
102
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
if (isglobal !== undefined && isglobal !== null) {
|
|
160
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>isglobal, 'isglobal');
|
|
161
|
-
}
|
|
103
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
|
|
104
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>isglobal, 'isglobal');
|
|
162
105
|
|
|
163
106
|
let localVarHeaders = this.defaultHeaders;
|
|
164
107
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
165
108
|
localVarHeaders = localVarHeaders.set('Accept-Language', String(acceptLanguage));
|
|
166
109
|
}
|
|
167
110
|
|
|
168
|
-
let localVarCredential: string | undefined;
|
|
169
111
|
// authentication (msal_auth) required
|
|
170
|
-
|
|
171
|
-
if (localVarCredential) {
|
|
172
|
-
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
173
|
-
}
|
|
112
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
174
113
|
|
|
175
|
-
|
|
176
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
177
|
-
// to determine the Accept header
|
|
178
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
179
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
180
|
-
}
|
|
114
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
181
115
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
182
116
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
183
117
|
}
|
|
184
118
|
|
|
185
|
-
|
|
186
|
-
if (localVarHttpContext === undefined) {
|
|
187
|
-
localVarHttpContext = new HttpContext();
|
|
188
|
-
}
|
|
119
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
189
120
|
|
|
190
|
-
|
|
191
|
-
if (localVarTransferCache === undefined) {
|
|
192
|
-
localVarTransferCache = true;
|
|
193
|
-
}
|
|
121
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
194
122
|
|
|
195
123
|
// to determine the Content-Type header
|
|
196
124
|
const consumes: string[] = ['application/json'];
|
|
@@ -211,12 +139,13 @@ export class SavedSearchManagementService {
|
|
|
211
139
|
}
|
|
212
140
|
|
|
213
141
|
let localVarPath = `/savedsearches`;
|
|
214
|
-
|
|
142
|
+
const { basePath, withCredentials } = this.configuration;
|
|
143
|
+
return this.httpClient.request<SavedSearch>('post', `${basePath}${localVarPath}`, {
|
|
215
144
|
context: localVarHttpContext,
|
|
216
145
|
body: savedSearch,
|
|
217
146
|
params: localVarQueryParameters,
|
|
218
147
|
responseType: <any>responseType_,
|
|
219
|
-
withCredentials:
|
|
148
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
220
149
|
headers: localVarHeaders,
|
|
221
150
|
observe: observe,
|
|
222
151
|
transferCache: localVarTransferCache,
|
|
@@ -231,25 +160,25 @@ export class SavedSearchManagementService {
|
|
|
231
160
|
* @param reportProgress flag to report request and response progress.
|
|
232
161
|
*/
|
|
233
162
|
public httpSavedSearchesDeleteById(
|
|
234
|
-
requestParameters
|
|
163
|
+
requestParameters: HttpSavedSearchesDeleteByIdRequestParams,
|
|
235
164
|
observe?: 'body',
|
|
236
165
|
reportProgress?: boolean,
|
|
237
166
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
238
167
|
): Observable<any>;
|
|
239
168
|
public httpSavedSearchesDeleteById(
|
|
240
|
-
requestParameters
|
|
169
|
+
requestParameters: HttpSavedSearchesDeleteByIdRequestParams,
|
|
241
170
|
observe?: 'response',
|
|
242
171
|
reportProgress?: boolean,
|
|
243
172
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
244
173
|
): Observable<HttpResponse<any>>;
|
|
245
174
|
public httpSavedSearchesDeleteById(
|
|
246
|
-
requestParameters
|
|
175
|
+
requestParameters: HttpSavedSearchesDeleteByIdRequestParams,
|
|
247
176
|
observe?: 'events',
|
|
248
177
|
reportProgress?: boolean,
|
|
249
178
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
250
179
|
): Observable<HttpEvent<any>>;
|
|
251
180
|
public httpSavedSearchesDeleteById(
|
|
252
|
-
requestParameters
|
|
181
|
+
requestParameters: HttpSavedSearchesDeleteByIdRequestParams,
|
|
253
182
|
observe: any = 'body',
|
|
254
183
|
reportProgress: boolean = false,
|
|
255
184
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
@@ -261,32 +190,17 @@ export class SavedSearchManagementService {
|
|
|
261
190
|
|
|
262
191
|
let localVarHeaders = this.defaultHeaders;
|
|
263
192
|
|
|
264
|
-
let localVarCredential: string | undefined;
|
|
265
193
|
// authentication (msal_auth) required
|
|
266
|
-
|
|
267
|
-
if (localVarCredential) {
|
|
268
|
-
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
269
|
-
}
|
|
194
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
270
195
|
|
|
271
|
-
|
|
272
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
273
|
-
// to determine the Accept header
|
|
274
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
275
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
276
|
-
}
|
|
196
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
277
197
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
278
198
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
279
199
|
}
|
|
280
200
|
|
|
281
|
-
|
|
282
|
-
if (localVarHttpContext === undefined) {
|
|
283
|
-
localVarHttpContext = new HttpContext();
|
|
284
|
-
}
|
|
201
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
285
202
|
|
|
286
|
-
|
|
287
|
-
if (localVarTransferCache === undefined) {
|
|
288
|
-
localVarTransferCache = true;
|
|
289
|
-
}
|
|
203
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
290
204
|
|
|
291
205
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
292
206
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -300,10 +214,11 @@ export class SavedSearchManagementService {
|
|
|
300
214
|
}
|
|
301
215
|
|
|
302
216
|
let localVarPath = `/savedsearches/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
|
|
303
|
-
|
|
217
|
+
const { basePath, withCredentials } = this.configuration;
|
|
218
|
+
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`, {
|
|
304
219
|
context: localVarHttpContext,
|
|
305
220
|
responseType: <any>responseType_,
|
|
306
|
-
withCredentials:
|
|
221
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
307
222
|
headers: localVarHeaders,
|
|
308
223
|
observe: observe,
|
|
309
224
|
transferCache: localVarTransferCache,
|
|
@@ -346,44 +261,25 @@ export class SavedSearchManagementService {
|
|
|
346
261
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
347
262
|
|
|
348
263
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
}
|
|
352
|
-
if (translations !== undefined && translations !== null) {
|
|
353
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
|
|
354
|
-
}
|
|
264
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>external, 'external');
|
|
265
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>translations, 'translations');
|
|
355
266
|
|
|
356
267
|
let localVarHeaders = this.defaultHeaders;
|
|
357
268
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
358
269
|
localVarHeaders = localVarHeaders.set('Accept-Language', String(acceptLanguage));
|
|
359
270
|
}
|
|
360
271
|
|
|
361
|
-
let localVarCredential: string | undefined;
|
|
362
272
|
// authentication (msal_auth) required
|
|
363
|
-
|
|
364
|
-
if (localVarCredential) {
|
|
365
|
-
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
366
|
-
}
|
|
273
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
367
274
|
|
|
368
|
-
|
|
369
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
370
|
-
// to determine the Accept header
|
|
371
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
372
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
373
|
-
}
|
|
275
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
374
276
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
375
277
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
376
278
|
}
|
|
377
279
|
|
|
378
|
-
|
|
379
|
-
if (localVarHttpContext === undefined) {
|
|
380
|
-
localVarHttpContext = new HttpContext();
|
|
381
|
-
}
|
|
280
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
382
281
|
|
|
383
|
-
|
|
384
|
-
if (localVarTransferCache === undefined) {
|
|
385
|
-
localVarTransferCache = true;
|
|
386
|
-
}
|
|
282
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
387
283
|
|
|
388
284
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
389
285
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -397,11 +293,12 @@ export class SavedSearchManagementService {
|
|
|
397
293
|
}
|
|
398
294
|
|
|
399
295
|
let localVarPath = `/savedsearches`;
|
|
400
|
-
|
|
296
|
+
const { basePath, withCredentials } = this.configuration;
|
|
297
|
+
return this.httpClient.request<Array<SavedSearch>>('get', `${basePath}${localVarPath}`, {
|
|
401
298
|
context: localVarHttpContext,
|
|
402
299
|
params: localVarQueryParameters,
|
|
403
300
|
responseType: <any>responseType_,
|
|
404
|
-
withCredentials:
|
|
301
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
405
302
|
headers: localVarHeaders,
|
|
406
303
|
observe: observe,
|
|
407
304
|
transferCache: localVarTransferCache,
|