@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
|
@@ -26,6 +26,7 @@ import { Portal } from '../model/portal.agravity';
|
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
28
28
|
import { AgravityConfiguration } from '../configuration';
|
|
29
|
+
import { BaseService } from '../api.base.service';
|
|
29
30
|
|
|
30
31
|
export interface HttpPortalGetAllAssetIdsByIdRequestParams {
|
|
31
32
|
/** The ID of the portal. */
|
|
@@ -73,67 +74,13 @@ export interface HttpPortalsGetByIdRequestParams {
|
|
|
73
74
|
@Injectable({
|
|
74
75
|
providedIn: 'root'
|
|
75
76
|
})
|
|
76
|
-
export class PortalManagementService {
|
|
77
|
-
protected basePath = 'http://localhost:7071/api';
|
|
78
|
-
public defaultHeaders = new HttpHeaders();
|
|
79
|
-
public configuration = new AgravityConfiguration();
|
|
80
|
-
public encoder: HttpParameterCodec;
|
|
81
|
-
|
|
77
|
+
export class PortalManagementService extends BaseService {
|
|
82
78
|
constructor(
|
|
83
79
|
protected httpClient: HttpClient,
|
|
84
80
|
@Optional() @Inject(BASE_PATH) basePath: string | string[],
|
|
85
|
-
@Optional() configuration
|
|
81
|
+
@Optional() configuration?: AgravityConfiguration
|
|
86
82
|
) {
|
|
87
|
-
|
|
88
|
-
this.configuration = configuration;
|
|
89
|
-
}
|
|
90
|
-
if (typeof this.configuration.basePath !== 'string') {
|
|
91
|
-
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
92
|
-
if (firstBasePath != undefined) {
|
|
93
|
-
basePath = firstBasePath;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
if (typeof basePath !== 'string') {
|
|
97
|
-
basePath = this.basePath;
|
|
98
|
-
}
|
|
99
|
-
this.configuration.basePath = basePath;
|
|
100
|
-
}
|
|
101
|
-
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// @ts-ignore
|
|
105
|
-
private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
|
|
106
|
-
if (typeof value === 'object' && value instanceof Date === false) {
|
|
107
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
108
|
-
} else {
|
|
109
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
110
|
-
}
|
|
111
|
-
return httpParams;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
|
|
115
|
-
if (value == null) {
|
|
116
|
-
return httpParams;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
if (typeof value === 'object') {
|
|
120
|
-
if (Array.isArray(value)) {
|
|
121
|
-
(value as any[]).forEach((elem) => (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)));
|
|
122
|
-
} else if (value instanceof Date) {
|
|
123
|
-
if (key != null) {
|
|
124
|
-
httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10));
|
|
125
|
-
} else {
|
|
126
|
-
throw Error('key may not be null if value is Date');
|
|
127
|
-
}
|
|
128
|
-
} else {
|
|
129
|
-
Object.keys(value).forEach((k) => (httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k)));
|
|
130
|
-
}
|
|
131
|
-
} else if (key != null) {
|
|
132
|
-
httpParams = httpParams.append(key, value);
|
|
133
|
-
} else {
|
|
134
|
-
throw Error('key may not be null if value is not object or array');
|
|
135
|
-
}
|
|
136
|
-
return httpParams;
|
|
83
|
+
super(basePath, configuration);
|
|
137
84
|
}
|
|
138
85
|
|
|
139
86
|
/**
|
|
@@ -143,25 +90,25 @@ export class PortalManagementService {
|
|
|
143
90
|
* @param reportProgress flag to report request and response progress.
|
|
144
91
|
*/
|
|
145
92
|
public httpPortalGetAllAssetIdsById(
|
|
146
|
-
requestParameters
|
|
93
|
+
requestParameters: HttpPortalGetAllAssetIdsByIdRequestParams,
|
|
147
94
|
observe?: 'body',
|
|
148
95
|
reportProgress?: boolean,
|
|
149
96
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
150
97
|
): Observable<Array<string>>;
|
|
151
98
|
public httpPortalGetAllAssetIdsById(
|
|
152
|
-
requestParameters
|
|
99
|
+
requestParameters: HttpPortalGetAllAssetIdsByIdRequestParams,
|
|
153
100
|
observe?: 'response',
|
|
154
101
|
reportProgress?: boolean,
|
|
155
102
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
156
103
|
): Observable<HttpResponse<Array<string>>>;
|
|
157
104
|
public httpPortalGetAllAssetIdsById(
|
|
158
|
-
requestParameters
|
|
105
|
+
requestParameters: HttpPortalGetAllAssetIdsByIdRequestParams,
|
|
159
106
|
observe?: 'events',
|
|
160
107
|
reportProgress?: boolean,
|
|
161
108
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
162
109
|
): Observable<HttpEvent<Array<string>>>;
|
|
163
110
|
public httpPortalGetAllAssetIdsById(
|
|
164
|
-
requestParameters
|
|
111
|
+
requestParameters: HttpPortalGetAllAssetIdsByIdRequestParams,
|
|
165
112
|
observe: any = 'body',
|
|
166
113
|
reportProgress: boolean = false,
|
|
167
114
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
@@ -173,32 +120,17 @@ export class PortalManagementService {
|
|
|
173
120
|
|
|
174
121
|
let localVarHeaders = this.defaultHeaders;
|
|
175
122
|
|
|
176
|
-
let localVarCredential: string | undefined;
|
|
177
123
|
// authentication (msal_auth) required
|
|
178
|
-
|
|
179
|
-
if (localVarCredential) {
|
|
180
|
-
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
181
|
-
}
|
|
124
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
182
125
|
|
|
183
|
-
|
|
184
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
185
|
-
// to determine the Accept header
|
|
186
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
187
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
188
|
-
}
|
|
126
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
189
127
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
190
128
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
191
129
|
}
|
|
192
130
|
|
|
193
|
-
|
|
194
|
-
if (localVarHttpContext === undefined) {
|
|
195
|
-
localVarHttpContext = new HttpContext();
|
|
196
|
-
}
|
|
131
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
197
132
|
|
|
198
|
-
|
|
199
|
-
if (localVarTransferCache === undefined) {
|
|
200
|
-
localVarTransferCache = true;
|
|
201
|
-
}
|
|
133
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
202
134
|
|
|
203
135
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
204
136
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -212,10 +144,11 @@ export class PortalManagementService {
|
|
|
212
144
|
}
|
|
213
145
|
|
|
214
146
|
let localVarPath = `/portals/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/assetids`;
|
|
215
|
-
|
|
147
|
+
const { basePath, withCredentials } = this.configuration;
|
|
148
|
+
return this.httpClient.request<Array<string>>('get', `${basePath}${localVarPath}`, {
|
|
216
149
|
context: localVarHttpContext,
|
|
217
150
|
responseType: <any>responseType_,
|
|
218
|
-
withCredentials:
|
|
151
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
219
152
|
headers: localVarHeaders,
|
|
220
153
|
observe: observe,
|
|
221
154
|
transferCache: localVarTransferCache,
|
|
@@ -230,25 +163,25 @@ export class PortalManagementService {
|
|
|
230
163
|
* @param reportProgress flag to report request and response progress.
|
|
231
164
|
*/
|
|
232
165
|
public httpPortalGetStatusZipById(
|
|
233
|
-
requestParameters
|
|
166
|
+
requestParameters: HttpPortalGetStatusZipByIdRequestParams,
|
|
234
167
|
observe?: 'body',
|
|
235
168
|
reportProgress?: boolean,
|
|
236
169
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
237
170
|
): Observable<DownloadZipStatus>;
|
|
238
171
|
public httpPortalGetStatusZipById(
|
|
239
|
-
requestParameters
|
|
172
|
+
requestParameters: HttpPortalGetStatusZipByIdRequestParams,
|
|
240
173
|
observe?: 'response',
|
|
241
174
|
reportProgress?: boolean,
|
|
242
175
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
243
176
|
): Observable<HttpResponse<DownloadZipStatus>>;
|
|
244
177
|
public httpPortalGetStatusZipById(
|
|
245
|
-
requestParameters
|
|
178
|
+
requestParameters: HttpPortalGetStatusZipByIdRequestParams,
|
|
246
179
|
observe?: 'events',
|
|
247
180
|
reportProgress?: boolean,
|
|
248
181
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
249
182
|
): Observable<HttpEvent<DownloadZipStatus>>;
|
|
250
183
|
public httpPortalGetStatusZipById(
|
|
251
|
-
requestParameters
|
|
184
|
+
requestParameters: HttpPortalGetStatusZipByIdRequestParams,
|
|
252
185
|
observe: any = 'body',
|
|
253
186
|
reportProgress: boolean = false,
|
|
254
187
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
@@ -268,32 +201,17 @@ export class PortalManagementService {
|
|
|
268
201
|
localVarHeaders = localVarHeaders.set('ay-password', String(ayPassword));
|
|
269
202
|
}
|
|
270
203
|
|
|
271
|
-
let localVarCredential: string | undefined;
|
|
272
204
|
// authentication (msal_auth) required
|
|
273
|
-
|
|
274
|
-
if (localVarCredential) {
|
|
275
|
-
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
276
|
-
}
|
|
205
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
277
206
|
|
|
278
|
-
|
|
279
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
280
|
-
// to determine the Accept header
|
|
281
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
282
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
283
|
-
}
|
|
207
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
284
208
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
285
209
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
286
210
|
}
|
|
287
211
|
|
|
288
|
-
|
|
289
|
-
if (localVarHttpContext === undefined) {
|
|
290
|
-
localVarHttpContext = new HttpContext();
|
|
291
|
-
}
|
|
212
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
292
213
|
|
|
293
|
-
|
|
294
|
-
if (localVarTransferCache === undefined) {
|
|
295
|
-
localVarTransferCache = true;
|
|
296
|
-
}
|
|
214
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
297
215
|
|
|
298
216
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
299
217
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -307,10 +225,11 @@ export class PortalManagementService {
|
|
|
307
225
|
}
|
|
308
226
|
|
|
309
227
|
let localVarPath = `/portals/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/zip/${this.configuration.encodeParam({ name: 'zipId', value: zipId, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
|
|
310
|
-
|
|
228
|
+
const { basePath, withCredentials } = this.configuration;
|
|
229
|
+
return this.httpClient.request<DownloadZipStatus>('get', `${basePath}${localVarPath}`, {
|
|
311
230
|
context: localVarHttpContext,
|
|
312
231
|
responseType: <any>responseType_,
|
|
313
|
-
withCredentials:
|
|
232
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
314
233
|
headers: localVarHeaders,
|
|
315
234
|
observe: observe,
|
|
316
235
|
transferCache: localVarTransferCache,
|
|
@@ -325,25 +244,25 @@ export class PortalManagementService {
|
|
|
325
244
|
* @param reportProgress flag to report request and response progress.
|
|
326
245
|
*/
|
|
327
246
|
public httpPortalRequestZipById(
|
|
328
|
-
requestParameters
|
|
247
|
+
requestParameters: HttpPortalRequestZipByIdRequestParams,
|
|
329
248
|
observe?: 'body',
|
|
330
249
|
reportProgress?: boolean,
|
|
331
250
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
332
251
|
): Observable<DownloadZipRequest>;
|
|
333
252
|
public httpPortalRequestZipById(
|
|
334
|
-
requestParameters
|
|
253
|
+
requestParameters: HttpPortalRequestZipByIdRequestParams,
|
|
335
254
|
observe?: 'response',
|
|
336
255
|
reportProgress?: boolean,
|
|
337
256
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
338
257
|
): Observable<HttpResponse<DownloadZipRequest>>;
|
|
339
258
|
public httpPortalRequestZipById(
|
|
340
|
-
requestParameters
|
|
259
|
+
requestParameters: HttpPortalRequestZipByIdRequestParams,
|
|
341
260
|
observe?: 'events',
|
|
342
261
|
reportProgress?: boolean,
|
|
343
262
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
344
263
|
): Observable<HttpEvent<DownloadZipRequest>>;
|
|
345
264
|
public httpPortalRequestZipById(
|
|
346
|
-
requestParameters
|
|
265
|
+
requestParameters: HttpPortalRequestZipByIdRequestParams,
|
|
347
266
|
observe: any = 'body',
|
|
348
267
|
reportProgress: boolean = false,
|
|
349
268
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
@@ -363,32 +282,17 @@ export class PortalManagementService {
|
|
|
363
282
|
localVarHeaders = localVarHeaders.set('ay-password', String(ayPassword));
|
|
364
283
|
}
|
|
365
284
|
|
|
366
|
-
let localVarCredential: string | undefined;
|
|
367
285
|
// authentication (msal_auth) required
|
|
368
|
-
|
|
369
|
-
if (localVarCredential) {
|
|
370
|
-
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
371
|
-
}
|
|
286
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
372
287
|
|
|
373
|
-
|
|
374
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
375
|
-
// to determine the Accept header
|
|
376
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
377
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
378
|
-
}
|
|
288
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
379
289
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
380
290
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
381
291
|
}
|
|
382
292
|
|
|
383
|
-
|
|
384
|
-
if (localVarHttpContext === undefined) {
|
|
385
|
-
localVarHttpContext = new HttpContext();
|
|
386
|
-
}
|
|
293
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
387
294
|
|
|
388
|
-
|
|
389
|
-
if (localVarTransferCache === undefined) {
|
|
390
|
-
localVarTransferCache = true;
|
|
391
|
-
}
|
|
295
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
392
296
|
|
|
393
297
|
// to determine the Content-Type header
|
|
394
298
|
const consumes: string[] = ['application/json'];
|
|
@@ -409,11 +313,12 @@ export class PortalManagementService {
|
|
|
409
313
|
}
|
|
410
314
|
|
|
411
315
|
let localVarPath = `/portals/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/zip`;
|
|
412
|
-
|
|
316
|
+
const { basePath, withCredentials } = this.configuration;
|
|
317
|
+
return this.httpClient.request<DownloadZipRequest>('post', `${basePath}${localVarPath}`, {
|
|
413
318
|
context: localVarHttpContext,
|
|
414
319
|
body: downloadZipRequest,
|
|
415
320
|
responseType: <any>responseType_,
|
|
416
|
-
withCredentials:
|
|
321
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
417
322
|
headers: localVarHeaders,
|
|
418
323
|
observe: observe,
|
|
419
324
|
transferCache: localVarTransferCache,
|
|
@@ -428,25 +333,25 @@ export class PortalManagementService {
|
|
|
428
333
|
* @param reportProgress flag to report request and response progress.
|
|
429
334
|
*/
|
|
430
335
|
public httpPortalsConfigurationGetById(
|
|
431
|
-
requestParameters
|
|
336
|
+
requestParameters: HttpPortalsConfigurationGetByIdRequestParams,
|
|
432
337
|
observe?: 'body',
|
|
433
338
|
reportProgress?: boolean,
|
|
434
339
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
435
340
|
): Observable<Portal>;
|
|
436
341
|
public httpPortalsConfigurationGetById(
|
|
437
|
-
requestParameters
|
|
342
|
+
requestParameters: HttpPortalsConfigurationGetByIdRequestParams,
|
|
438
343
|
observe?: 'response',
|
|
439
344
|
reportProgress?: boolean,
|
|
440
345
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
441
346
|
): Observable<HttpResponse<Portal>>;
|
|
442
347
|
public httpPortalsConfigurationGetById(
|
|
443
|
-
requestParameters
|
|
348
|
+
requestParameters: HttpPortalsConfigurationGetByIdRequestParams,
|
|
444
349
|
observe?: 'events',
|
|
445
350
|
reportProgress?: boolean,
|
|
446
351
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
447
352
|
): Observable<HttpEvent<Portal>>;
|
|
448
353
|
public httpPortalsConfigurationGetById(
|
|
449
|
-
requestParameters
|
|
354
|
+
requestParameters: HttpPortalsConfigurationGetByIdRequestParams,
|
|
450
355
|
observe: any = 'body',
|
|
451
356
|
reportProgress: boolean = false,
|
|
452
357
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
@@ -458,32 +363,17 @@ export class PortalManagementService {
|
|
|
458
363
|
|
|
459
364
|
let localVarHeaders = this.defaultHeaders;
|
|
460
365
|
|
|
461
|
-
let localVarCredential: string | undefined;
|
|
462
366
|
// authentication (msal_auth) required
|
|
463
|
-
|
|
464
|
-
if (localVarCredential) {
|
|
465
|
-
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
466
|
-
}
|
|
367
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
467
368
|
|
|
468
|
-
|
|
469
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
470
|
-
// to determine the Accept header
|
|
471
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
472
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
473
|
-
}
|
|
369
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
474
370
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
475
371
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
476
372
|
}
|
|
477
373
|
|
|
478
|
-
|
|
479
|
-
if (localVarHttpContext === undefined) {
|
|
480
|
-
localVarHttpContext = new HttpContext();
|
|
481
|
-
}
|
|
374
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
482
375
|
|
|
483
|
-
|
|
484
|
-
if (localVarTransferCache === undefined) {
|
|
485
|
-
localVarTransferCache = true;
|
|
486
|
-
}
|
|
376
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
487
377
|
|
|
488
378
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
489
379
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -497,10 +387,11 @@ export class PortalManagementService {
|
|
|
497
387
|
}
|
|
498
388
|
|
|
499
389
|
let localVarPath = `/portals/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/config`;
|
|
500
|
-
|
|
390
|
+
const { basePath, withCredentials } = this.configuration;
|
|
391
|
+
return this.httpClient.request<Portal>('get', `${basePath}${localVarPath}`, {
|
|
501
392
|
context: localVarHttpContext,
|
|
502
393
|
responseType: <any>responseType_,
|
|
503
|
-
withCredentials:
|
|
394
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
504
395
|
headers: localVarHeaders,
|
|
505
396
|
observe: observe,
|
|
506
397
|
transferCache: localVarTransferCache,
|
|
@@ -515,25 +406,25 @@ export class PortalManagementService {
|
|
|
515
406
|
* @param reportProgress flag to report request and response progress.
|
|
516
407
|
*/
|
|
517
408
|
public httpPortalsCreate(
|
|
518
|
-
requestParameters
|
|
409
|
+
requestParameters: HttpPortalsCreateRequestParams,
|
|
519
410
|
observe?: 'body',
|
|
520
411
|
reportProgress?: boolean,
|
|
521
412
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
522
413
|
): Observable<Portal>;
|
|
523
414
|
public httpPortalsCreate(
|
|
524
|
-
requestParameters
|
|
415
|
+
requestParameters: HttpPortalsCreateRequestParams,
|
|
525
416
|
observe?: 'response',
|
|
526
417
|
reportProgress?: boolean,
|
|
527
418
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
528
419
|
): Observable<HttpResponse<Portal>>;
|
|
529
420
|
public httpPortalsCreate(
|
|
530
|
-
requestParameters
|
|
421
|
+
requestParameters: HttpPortalsCreateRequestParams,
|
|
531
422
|
observe?: 'events',
|
|
532
423
|
reportProgress?: boolean,
|
|
533
424
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
534
425
|
): Observable<HttpEvent<Portal>>;
|
|
535
426
|
public httpPortalsCreate(
|
|
536
|
-
requestParameters
|
|
427
|
+
requestParameters: HttpPortalsCreateRequestParams,
|
|
537
428
|
observe: any = 'body',
|
|
538
429
|
reportProgress: boolean = false,
|
|
539
430
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
@@ -545,32 +436,17 @@ export class PortalManagementService {
|
|
|
545
436
|
|
|
546
437
|
let localVarHeaders = this.defaultHeaders;
|
|
547
438
|
|
|
548
|
-
let localVarCredential: string | undefined;
|
|
549
439
|
// authentication (msal_auth) required
|
|
550
|
-
|
|
551
|
-
if (localVarCredential) {
|
|
552
|
-
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
553
|
-
}
|
|
440
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
554
441
|
|
|
555
|
-
|
|
556
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
557
|
-
// to determine the Accept header
|
|
558
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
559
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
560
|
-
}
|
|
442
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
561
443
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
562
444
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
563
445
|
}
|
|
564
446
|
|
|
565
|
-
|
|
566
|
-
if (localVarHttpContext === undefined) {
|
|
567
|
-
localVarHttpContext = new HttpContext();
|
|
568
|
-
}
|
|
447
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
569
448
|
|
|
570
|
-
|
|
571
|
-
if (localVarTransferCache === undefined) {
|
|
572
|
-
localVarTransferCache = true;
|
|
573
|
-
}
|
|
449
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
574
450
|
|
|
575
451
|
// to determine the Content-Type header
|
|
576
452
|
const consumes: string[] = ['application/json'];
|
|
@@ -591,11 +467,12 @@ export class PortalManagementService {
|
|
|
591
467
|
}
|
|
592
468
|
|
|
593
469
|
let localVarPath = `/portals`;
|
|
594
|
-
|
|
470
|
+
const { basePath, withCredentials } = this.configuration;
|
|
471
|
+
return this.httpClient.request<Portal>('post', `${basePath}${localVarPath}`, {
|
|
595
472
|
context: localVarHttpContext,
|
|
596
473
|
body: portal,
|
|
597
474
|
responseType: <any>responseType_,
|
|
598
|
-
withCredentials:
|
|
475
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
599
476
|
headers: localVarHeaders,
|
|
600
477
|
observe: observe,
|
|
601
478
|
transferCache: localVarTransferCache,
|
|
@@ -610,25 +487,25 @@ export class PortalManagementService {
|
|
|
610
487
|
* @param reportProgress flag to report request and response progress.
|
|
611
488
|
*/
|
|
612
489
|
public httpPortalsDeleteById(
|
|
613
|
-
requestParameters
|
|
490
|
+
requestParameters: HttpPortalsDeleteByIdRequestParams,
|
|
614
491
|
observe?: 'body',
|
|
615
492
|
reportProgress?: boolean,
|
|
616
493
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
617
494
|
): Observable<any>;
|
|
618
495
|
public httpPortalsDeleteById(
|
|
619
|
-
requestParameters
|
|
496
|
+
requestParameters: HttpPortalsDeleteByIdRequestParams,
|
|
620
497
|
observe?: 'response',
|
|
621
498
|
reportProgress?: boolean,
|
|
622
499
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
623
500
|
): Observable<HttpResponse<any>>;
|
|
624
501
|
public httpPortalsDeleteById(
|
|
625
|
-
requestParameters
|
|
502
|
+
requestParameters: HttpPortalsDeleteByIdRequestParams,
|
|
626
503
|
observe?: 'events',
|
|
627
504
|
reportProgress?: boolean,
|
|
628
505
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
629
506
|
): Observable<HttpEvent<any>>;
|
|
630
507
|
public httpPortalsDeleteById(
|
|
631
|
-
requestParameters
|
|
508
|
+
requestParameters: HttpPortalsDeleteByIdRequestParams,
|
|
632
509
|
observe: any = 'body',
|
|
633
510
|
reportProgress: boolean = false,
|
|
634
511
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
@@ -640,32 +517,17 @@ export class PortalManagementService {
|
|
|
640
517
|
|
|
641
518
|
let localVarHeaders = this.defaultHeaders;
|
|
642
519
|
|
|
643
|
-
let localVarCredential: string | undefined;
|
|
644
520
|
// authentication (msal_auth) required
|
|
645
|
-
|
|
646
|
-
if (localVarCredential) {
|
|
647
|
-
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
648
|
-
}
|
|
521
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
649
522
|
|
|
650
|
-
|
|
651
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
652
|
-
// to determine the Accept header
|
|
653
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
654
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
655
|
-
}
|
|
523
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
656
524
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
657
525
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
658
526
|
}
|
|
659
527
|
|
|
660
|
-
|
|
661
|
-
if (localVarHttpContext === undefined) {
|
|
662
|
-
localVarHttpContext = new HttpContext();
|
|
663
|
-
}
|
|
528
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
664
529
|
|
|
665
|
-
|
|
666
|
-
if (localVarTransferCache === undefined) {
|
|
667
|
-
localVarTransferCache = true;
|
|
668
|
-
}
|
|
530
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
669
531
|
|
|
670
532
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
671
533
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -679,10 +541,11 @@ export class PortalManagementService {
|
|
|
679
541
|
}
|
|
680
542
|
|
|
681
543
|
let localVarPath = `/portals/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
|
|
682
|
-
|
|
544
|
+
const { basePath, withCredentials } = this.configuration;
|
|
545
|
+
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`, {
|
|
683
546
|
context: localVarHttpContext,
|
|
684
547
|
responseType: <any>responseType_,
|
|
685
|
-
withCredentials:
|
|
548
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
686
549
|
headers: localVarHeaders,
|
|
687
550
|
observe: observe,
|
|
688
551
|
transferCache: localVarTransferCache,
|
|
@@ -717,32 +580,17 @@ export class PortalManagementService {
|
|
|
717
580
|
): Observable<any> {
|
|
718
581
|
let localVarHeaders = this.defaultHeaders;
|
|
719
582
|
|
|
720
|
-
let localVarCredential: string | undefined;
|
|
721
583
|
// authentication (msal_auth) required
|
|
722
|
-
|
|
723
|
-
if (localVarCredential) {
|
|
724
|
-
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
725
|
-
}
|
|
584
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
726
585
|
|
|
727
|
-
|
|
728
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
729
|
-
// to determine the Accept header
|
|
730
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
731
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
732
|
-
}
|
|
586
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
733
587
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
734
588
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
735
589
|
}
|
|
736
590
|
|
|
737
|
-
|
|
738
|
-
if (localVarHttpContext === undefined) {
|
|
739
|
-
localVarHttpContext = new HttpContext();
|
|
740
|
-
}
|
|
591
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
741
592
|
|
|
742
|
-
|
|
743
|
-
if (localVarTransferCache === undefined) {
|
|
744
|
-
localVarTransferCache = true;
|
|
745
|
-
}
|
|
593
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
746
594
|
|
|
747
595
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
748
596
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -756,10 +604,11 @@ export class PortalManagementService {
|
|
|
756
604
|
}
|
|
757
605
|
|
|
758
606
|
let localVarPath = `/portals`;
|
|
759
|
-
|
|
607
|
+
const { basePath, withCredentials } = this.configuration;
|
|
608
|
+
return this.httpClient.request<Array<Portal>>('get', `${basePath}${localVarPath}`, {
|
|
760
609
|
context: localVarHttpContext,
|
|
761
610
|
responseType: <any>responseType_,
|
|
762
|
-
withCredentials:
|
|
611
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
763
612
|
headers: localVarHeaders,
|
|
764
613
|
observe: observe,
|
|
765
614
|
transferCache: localVarTransferCache,
|
|
@@ -774,25 +623,25 @@ export class PortalManagementService {
|
|
|
774
623
|
* @param reportProgress flag to report request and response progress.
|
|
775
624
|
*/
|
|
776
625
|
public httpPortalsGetById(
|
|
777
|
-
requestParameters
|
|
626
|
+
requestParameters: HttpPortalsGetByIdRequestParams,
|
|
778
627
|
observe?: 'body',
|
|
779
628
|
reportProgress?: boolean,
|
|
780
629
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
781
630
|
): Observable<Portal>;
|
|
782
631
|
public httpPortalsGetById(
|
|
783
|
-
requestParameters
|
|
632
|
+
requestParameters: HttpPortalsGetByIdRequestParams,
|
|
784
633
|
observe?: 'response',
|
|
785
634
|
reportProgress?: boolean,
|
|
786
635
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
787
636
|
): Observable<HttpResponse<Portal>>;
|
|
788
637
|
public httpPortalsGetById(
|
|
789
|
-
requestParameters
|
|
638
|
+
requestParameters: HttpPortalsGetByIdRequestParams,
|
|
790
639
|
observe?: 'events',
|
|
791
640
|
reportProgress?: boolean,
|
|
792
641
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
793
642
|
): Observable<HttpEvent<Portal>>;
|
|
794
643
|
public httpPortalsGetById(
|
|
795
|
-
requestParameters
|
|
644
|
+
requestParameters: HttpPortalsGetByIdRequestParams,
|
|
796
645
|
observe: any = 'body',
|
|
797
646
|
reportProgress: boolean = false,
|
|
798
647
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
@@ -804,32 +653,17 @@ export class PortalManagementService {
|
|
|
804
653
|
|
|
805
654
|
let localVarHeaders = this.defaultHeaders;
|
|
806
655
|
|
|
807
|
-
let localVarCredential: string | undefined;
|
|
808
656
|
// authentication (msal_auth) required
|
|
809
|
-
|
|
810
|
-
if (localVarCredential) {
|
|
811
|
-
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
812
|
-
}
|
|
657
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
813
658
|
|
|
814
|
-
|
|
815
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
816
|
-
// to determine the Accept header
|
|
817
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
818
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
819
|
-
}
|
|
659
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
820
660
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
821
661
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
822
662
|
}
|
|
823
663
|
|
|
824
|
-
|
|
825
|
-
if (localVarHttpContext === undefined) {
|
|
826
|
-
localVarHttpContext = new HttpContext();
|
|
827
|
-
}
|
|
664
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
828
665
|
|
|
829
|
-
|
|
830
|
-
if (localVarTransferCache === undefined) {
|
|
831
|
-
localVarTransferCache = true;
|
|
832
|
-
}
|
|
666
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
833
667
|
|
|
834
668
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
835
669
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -843,10 +677,11 @@ export class PortalManagementService {
|
|
|
843
677
|
}
|
|
844
678
|
|
|
845
679
|
let localVarPath = `/portals/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
|
|
846
|
-
|
|
680
|
+
const { basePath, withCredentials } = this.configuration;
|
|
681
|
+
return this.httpClient.request<Portal>('get', `${basePath}${localVarPath}`, {
|
|
847
682
|
context: localVarHttpContext,
|
|
848
683
|
responseType: <any>responseType_,
|
|
849
|
-
withCredentials:
|
|
684
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
850
685
|
headers: localVarHeaders,
|
|
851
686
|
observe: observe,
|
|
852
687
|
transferCache: localVarTransferCache,
|