@gooddata/api-client-tiger 11.55.0-alpha.1 → 11.55.0-alpha.3
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/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/api-client-tiger.d.ts +1004 -111
- package/esm/endpoints/genAI/index.d.ts +3 -3
- package/esm/endpoints/genAI/index.d.ts.map +1 -1
- package/esm/endpoints/genAI/index.js +4 -4
- package/esm/gd-tiger-model/typeGuards.js +1 -1
- package/esm/genAI.d.ts +2 -2
- package/esm/genAI.d.ts.map +1 -1
- package/esm/genAI.js +3 -2
- package/esm/generated/afm-rest-api/api.d.ts +226 -1427
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +216 -1118
- package/esm/generated/ai-json-api/api.d.ts +446 -3
- package/esm/generated/ai-json-api/api.d.ts.map +1 -1
- package/esm/generated/ai-json-api/api.js +271 -0
- package/esm/generated/automation-json-api/api.d.ts +1 -1
- package/esm/generated/automation-json-api/api.d.ts.map +1 -1
- package/esm/generated/export-json-api/api.d.ts +1 -1
- package/esm/generated/export-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.d.ts +1545 -1
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +1719 -257
- package/esm/index.d.ts +3 -2
- package/esm/index.d.ts.map +1 -1
- package/package.json +5 -7
|
@@ -24249,6 +24249,61 @@ export async function EntitiesApiAxiosParamCreator_CreateEntityParameters(worksp
|
|
|
24249
24249
|
};
|
|
24250
24250
|
}
|
|
24251
24251
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
24252
|
+
/**
|
|
24253
|
+
*
|
|
24254
|
+
* @summary Post Report Page Layout
|
|
24255
|
+
* @param {string} workspaceId
|
|
24256
|
+
* @param {JsonApiReportPageLayoutPostOptionalIdDocument} jsonApiReportPageLayoutPostOptionalIdDocument
|
|
24257
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
24258
|
+
* @param {*} [options] Override http request option.
|
|
24259
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
24260
|
+
* @throws {RequiredError}
|
|
24261
|
+
*/
|
|
24262
|
+
export async function EntitiesApiAxiosParamCreator_CreateEntityReportPageLayouts(workspaceId, jsonApiReportPageLayoutPostOptionalIdDocument, metaInclude, options = {}, configuration) {
|
|
24263
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
24264
|
+
assertParamExists('createEntityReportPageLayouts', 'workspaceId', workspaceId);
|
|
24265
|
+
// verify required parameter 'jsonApiReportPageLayoutPostOptionalIdDocument' is not null or undefined
|
|
24266
|
+
assertParamExists('createEntityReportPageLayouts', 'jsonApiReportPageLayoutPostOptionalIdDocument', jsonApiReportPageLayoutPostOptionalIdDocument);
|
|
24267
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/reportPageLayouts`
|
|
24268
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
24269
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24270
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24271
|
+
let baseOptions;
|
|
24272
|
+
if (configuration) {
|
|
24273
|
+
baseOptions = configuration.baseOptions;
|
|
24274
|
+
}
|
|
24275
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
24276
|
+
const localVarHeaderParameter = {};
|
|
24277
|
+
const localVarQueryParameter = {};
|
|
24278
|
+
if (metaInclude) {
|
|
24279
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
24280
|
+
}
|
|
24281
|
+
const consumes = [
|
|
24282
|
+
'application/vnd.gooddata.api+json',
|
|
24283
|
+
'application/json'
|
|
24284
|
+
];
|
|
24285
|
+
// use application/json if present, otherwise fallback to the first one
|
|
24286
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
24287
|
+
? 'application/json'
|
|
24288
|
+
: consumes[0];
|
|
24289
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24290
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
24291
|
+
localVarRequestOptions.headers = {
|
|
24292
|
+
...localVarHeaderParameter,
|
|
24293
|
+
...headersFromBaseOptions,
|
|
24294
|
+
...options.headers,
|
|
24295
|
+
};
|
|
24296
|
+
const needsSerialization = typeof jsonApiReportPageLayoutPostOptionalIdDocument !== "string" ||
|
|
24297
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
24298
|
+
localVarRequestOptions.data = needsSerialization
|
|
24299
|
+
? JSON.stringify(jsonApiReportPageLayoutPostOptionalIdDocument !== undefined ? jsonApiReportPageLayoutPostOptionalIdDocument : {})
|
|
24300
|
+
: jsonApiReportPageLayoutPostOptionalIdDocument || "";
|
|
24301
|
+
return {
|
|
24302
|
+
url: toPathString(localVarUrlObj),
|
|
24303
|
+
options: localVarRequestOptions,
|
|
24304
|
+
};
|
|
24305
|
+
}
|
|
24306
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
24252
24307
|
/**
|
|
24253
24308
|
*
|
|
24254
24309
|
* @summary Post Theming
|
|
@@ -26035,6 +26090,45 @@ export async function EntitiesApiAxiosParamCreator_DeleteEntityParameters(worksp
|
|
|
26035
26090
|
};
|
|
26036
26091
|
}
|
|
26037
26092
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
26093
|
+
/**
|
|
26094
|
+
*
|
|
26095
|
+
* @summary Delete a Report Page Layout
|
|
26096
|
+
* @param {string} workspaceId
|
|
26097
|
+
* @param {string} objectId
|
|
26098
|
+
* @param {*} [options] Override http request option.
|
|
26099
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
26100
|
+
* @throws {RequiredError}
|
|
26101
|
+
*/
|
|
26102
|
+
export async function EntitiesApiAxiosParamCreator_DeleteEntityReportPageLayouts(workspaceId, objectId, options = {}, configuration) {
|
|
26103
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
26104
|
+
assertParamExists('deleteEntityReportPageLayouts', 'workspaceId', workspaceId);
|
|
26105
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
26106
|
+
assertParamExists('deleteEntityReportPageLayouts', 'objectId', objectId);
|
|
26107
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/reportPageLayouts/{objectId}`
|
|
26108
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
26109
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
26110
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26111
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26112
|
+
let baseOptions;
|
|
26113
|
+
if (configuration) {
|
|
26114
|
+
baseOptions = configuration.baseOptions;
|
|
26115
|
+
}
|
|
26116
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
26117
|
+
const localVarHeaderParameter = {};
|
|
26118
|
+
const localVarQueryParameter = {};
|
|
26119
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26120
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
26121
|
+
localVarRequestOptions.headers = {
|
|
26122
|
+
...localVarHeaderParameter,
|
|
26123
|
+
...headersFromBaseOptions,
|
|
26124
|
+
...options.headers,
|
|
26125
|
+
};
|
|
26126
|
+
return {
|
|
26127
|
+
url: toPathString(localVarUrlObj),
|
|
26128
|
+
options: localVarRequestOptions,
|
|
26129
|
+
};
|
|
26130
|
+
}
|
|
26131
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
26038
26132
|
/**
|
|
26039
26133
|
*
|
|
26040
26134
|
* @summary Delete Theming
|
|
@@ -28815,6 +28909,69 @@ export async function EntitiesApiAxiosParamCreator_GetAllEntitiesParameters(work
|
|
|
28815
28909
|
};
|
|
28816
28910
|
}
|
|
28817
28911
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
28912
|
+
/**
|
|
28913
|
+
*
|
|
28914
|
+
* @summary Get all Report Page Layouts
|
|
28915
|
+
* @param {string} workspaceId
|
|
28916
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
28917
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
28918
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
28919
|
+
* @param {number} [size] The size of the page to be returned
|
|
28920
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
28921
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
28922
|
+
* @param {Array<'origin' | 'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
28923
|
+
* @param {*} [options] Override http request option.
|
|
28924
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
28925
|
+
* @throws {RequiredError}
|
|
28926
|
+
*/
|
|
28927
|
+
export async function EntitiesApiAxiosParamCreator_GetAllEntitiesReportPageLayouts(workspaceId, origin, filter, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}, configuration) {
|
|
28928
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
28929
|
+
assertParamExists('getAllEntitiesReportPageLayouts', 'workspaceId', workspaceId);
|
|
28930
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/reportPageLayouts`
|
|
28931
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
28932
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28933
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28934
|
+
let baseOptions;
|
|
28935
|
+
if (configuration) {
|
|
28936
|
+
baseOptions = configuration.baseOptions;
|
|
28937
|
+
}
|
|
28938
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
28939
|
+
const localVarHeaderParameter = {};
|
|
28940
|
+
const localVarQueryParameter = {};
|
|
28941
|
+
if (origin !== undefined) {
|
|
28942
|
+
localVarQueryParameter['origin'] = origin;
|
|
28943
|
+
}
|
|
28944
|
+
if (filter !== undefined) {
|
|
28945
|
+
localVarQueryParameter['filter'] = filter;
|
|
28946
|
+
}
|
|
28947
|
+
if (page !== undefined) {
|
|
28948
|
+
localVarQueryParameter['page'] = page;
|
|
28949
|
+
}
|
|
28950
|
+
if (size !== undefined) {
|
|
28951
|
+
localVarQueryParameter['size'] = size;
|
|
28952
|
+
}
|
|
28953
|
+
if (sort) {
|
|
28954
|
+
localVarQueryParameter['sort'] = sort;
|
|
28955
|
+
}
|
|
28956
|
+
if (metaInclude) {
|
|
28957
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
28958
|
+
}
|
|
28959
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
28960
|
+
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
28961
|
+
}
|
|
28962
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28963
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
28964
|
+
localVarRequestOptions.headers = {
|
|
28965
|
+
...localVarHeaderParameter,
|
|
28966
|
+
...headersFromBaseOptions,
|
|
28967
|
+
...options.headers,
|
|
28968
|
+
};
|
|
28969
|
+
return {
|
|
28970
|
+
url: toPathString(localVarUrlObj),
|
|
28971
|
+
options: localVarRequestOptions,
|
|
28972
|
+
};
|
|
28973
|
+
}
|
|
28974
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
28818
28975
|
/**
|
|
28819
28976
|
*
|
|
28820
28977
|
* @summary Get all Theming entities
|
|
@@ -31599,6 +31756,57 @@ export async function EntitiesApiAxiosParamCreator_GetEntityParameters(workspace
|
|
|
31599
31756
|
};
|
|
31600
31757
|
}
|
|
31601
31758
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
31759
|
+
/**
|
|
31760
|
+
*
|
|
31761
|
+
* @summary Get a Report Page Layout
|
|
31762
|
+
* @param {string} workspaceId
|
|
31763
|
+
* @param {string} objectId
|
|
31764
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
31765
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
31766
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
31767
|
+
* @param {*} [options] Override http request option.
|
|
31768
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
31769
|
+
* @throws {RequiredError}
|
|
31770
|
+
*/
|
|
31771
|
+
export async function EntitiesApiAxiosParamCreator_GetEntityReportPageLayouts(workspaceId, objectId, filter, xGDCVALIDATERELATIONS, metaInclude, options = {}, configuration) {
|
|
31772
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
31773
|
+
assertParamExists('getEntityReportPageLayouts', 'workspaceId', workspaceId);
|
|
31774
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
31775
|
+
assertParamExists('getEntityReportPageLayouts', 'objectId', objectId);
|
|
31776
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/reportPageLayouts/{objectId}`
|
|
31777
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
31778
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
31779
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31780
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31781
|
+
let baseOptions;
|
|
31782
|
+
if (configuration) {
|
|
31783
|
+
baseOptions = configuration.baseOptions;
|
|
31784
|
+
}
|
|
31785
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
31786
|
+
const localVarHeaderParameter = {};
|
|
31787
|
+
const localVarQueryParameter = {};
|
|
31788
|
+
if (filter !== undefined) {
|
|
31789
|
+
localVarQueryParameter['filter'] = filter;
|
|
31790
|
+
}
|
|
31791
|
+
if (metaInclude) {
|
|
31792
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
31793
|
+
}
|
|
31794
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
31795
|
+
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
31796
|
+
}
|
|
31797
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31798
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
31799
|
+
localVarRequestOptions.headers = {
|
|
31800
|
+
...localVarHeaderParameter,
|
|
31801
|
+
...headersFromBaseOptions,
|
|
31802
|
+
...options.headers,
|
|
31803
|
+
};
|
|
31804
|
+
return {
|
|
31805
|
+
url: toPathString(localVarUrlObj),
|
|
31806
|
+
options: localVarRequestOptions,
|
|
31807
|
+
};
|
|
31808
|
+
}
|
|
31809
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
31602
31810
|
/**
|
|
31603
31811
|
*
|
|
31604
31812
|
* @summary Get Theming
|
|
@@ -34198,21 +34406,25 @@ export async function EntitiesApiAxiosParamCreator_PatchEntityParameters(workspa
|
|
|
34198
34406
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
34199
34407
|
/**
|
|
34200
34408
|
*
|
|
34201
|
-
* @summary Patch
|
|
34202
|
-
* @param {string}
|
|
34203
|
-
* @param {
|
|
34409
|
+
* @summary Patch a Report Page Layout
|
|
34410
|
+
* @param {string} workspaceId
|
|
34411
|
+
* @param {string} objectId
|
|
34412
|
+
* @param {JsonApiReportPageLayoutPatchDocument} jsonApiReportPageLayoutPatchDocument
|
|
34204
34413
|
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
34205
34414
|
* @param {*} [options] Override http request option.
|
|
34206
34415
|
* @param {Configuration} [configuration] Optional configuration.
|
|
34207
34416
|
* @throws {RequiredError}
|
|
34208
34417
|
*/
|
|
34209
|
-
export async function
|
|
34210
|
-
// verify required parameter '
|
|
34211
|
-
assertParamExists('
|
|
34212
|
-
// verify required parameter '
|
|
34213
|
-
assertParamExists('
|
|
34214
|
-
|
|
34215
|
-
|
|
34418
|
+
export async function EntitiesApiAxiosParamCreator_PatchEntityReportPageLayouts(workspaceId, objectId, jsonApiReportPageLayoutPatchDocument, filter, options = {}, configuration) {
|
|
34419
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
34420
|
+
assertParamExists('patchEntityReportPageLayouts', 'workspaceId', workspaceId);
|
|
34421
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
34422
|
+
assertParamExists('patchEntityReportPageLayouts', 'objectId', objectId);
|
|
34423
|
+
// verify required parameter 'jsonApiReportPageLayoutPatchDocument' is not null or undefined
|
|
34424
|
+
assertParamExists('patchEntityReportPageLayouts', 'jsonApiReportPageLayoutPatchDocument', jsonApiReportPageLayoutPatchDocument);
|
|
34425
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/reportPageLayouts/{objectId}`
|
|
34426
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
34427
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
34216
34428
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34217
34429
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34218
34430
|
let baseOptions;
|
|
@@ -34240,11 +34452,11 @@ export async function EntitiesApiAxiosParamCreator_PatchEntityThemes(id, jsonApi
|
|
|
34240
34452
|
...headersFromBaseOptions,
|
|
34241
34453
|
...options.headers,
|
|
34242
34454
|
};
|
|
34243
|
-
const needsSerialization = typeof
|
|
34455
|
+
const needsSerialization = typeof jsonApiReportPageLayoutPatchDocument !== "string" ||
|
|
34244
34456
|
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
34245
34457
|
localVarRequestOptions.data = needsSerialization
|
|
34246
|
-
? JSON.stringify(
|
|
34247
|
-
:
|
|
34458
|
+
? JSON.stringify(jsonApiReportPageLayoutPatchDocument !== undefined ? jsonApiReportPageLayoutPatchDocument : {})
|
|
34459
|
+
: jsonApiReportPageLayoutPatchDocument || "";
|
|
34248
34460
|
return {
|
|
34249
34461
|
url: toPathString(localVarUrlObj),
|
|
34250
34462
|
options: localVarRequestOptions,
|
|
@@ -34253,26 +34465,21 @@ export async function EntitiesApiAxiosParamCreator_PatchEntityThemes(id, jsonApi
|
|
|
34253
34465
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
34254
34466
|
/**
|
|
34255
34467
|
*
|
|
34256
|
-
* @summary Patch
|
|
34257
|
-
* @param {string}
|
|
34258
|
-
* @param {
|
|
34259
|
-
* @param {JsonApiUserDataFilterPatchDocument} jsonApiUserDataFilterPatchDocument
|
|
34468
|
+
* @summary Patch Theming
|
|
34469
|
+
* @param {string} id
|
|
34470
|
+
* @param {JsonApiThemePatchDocument} jsonApiThemePatchDocument
|
|
34260
34471
|
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
34261
|
-
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
34262
34472
|
* @param {*} [options] Override http request option.
|
|
34263
34473
|
* @param {Configuration} [configuration] Optional configuration.
|
|
34264
34474
|
* @throws {RequiredError}
|
|
34265
34475
|
*/
|
|
34266
|
-
export async function
|
|
34267
|
-
// verify required parameter '
|
|
34268
|
-
assertParamExists('
|
|
34269
|
-
// verify required parameter '
|
|
34270
|
-
assertParamExists('
|
|
34271
|
-
|
|
34272
|
-
|
|
34273
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId}`
|
|
34274
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
34275
|
-
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
34476
|
+
export async function EntitiesApiAxiosParamCreator_PatchEntityThemes(id, jsonApiThemePatchDocument, filter, options = {}, configuration) {
|
|
34477
|
+
// verify required parameter 'id' is not null or undefined
|
|
34478
|
+
assertParamExists('patchEntityThemes', 'id', id);
|
|
34479
|
+
// verify required parameter 'jsonApiThemePatchDocument' is not null or undefined
|
|
34480
|
+
assertParamExists('patchEntityThemes', 'jsonApiThemePatchDocument', jsonApiThemePatchDocument);
|
|
34481
|
+
const localVarPath = `/api/v1/entities/themes/{id}`
|
|
34482
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
34276
34483
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34277
34484
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34278
34485
|
let baseOptions;
|
|
@@ -34285,9 +34492,6 @@ export async function EntitiesApiAxiosParamCreator_PatchEntityUserDataFilters(wo
|
|
|
34285
34492
|
if (filter !== undefined) {
|
|
34286
34493
|
localVarQueryParameter['filter'] = filter;
|
|
34287
34494
|
}
|
|
34288
|
-
if (include) {
|
|
34289
|
-
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
34290
|
-
}
|
|
34291
34495
|
const consumes = [
|
|
34292
34496
|
'application/vnd.gooddata.api+json',
|
|
34293
34497
|
'application/json'
|
|
@@ -34303,11 +34507,11 @@ export async function EntitiesApiAxiosParamCreator_PatchEntityUserDataFilters(wo
|
|
|
34303
34507
|
...headersFromBaseOptions,
|
|
34304
34508
|
...options.headers,
|
|
34305
34509
|
};
|
|
34306
|
-
const needsSerialization = typeof
|
|
34510
|
+
const needsSerialization = typeof jsonApiThemePatchDocument !== "string" ||
|
|
34307
34511
|
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
34308
34512
|
localVarRequestOptions.data = needsSerialization
|
|
34309
|
-
? JSON.stringify(
|
|
34310
|
-
:
|
|
34513
|
+
? JSON.stringify(jsonApiThemePatchDocument !== undefined ? jsonApiThemePatchDocument : {})
|
|
34514
|
+
: jsonApiThemePatchDocument || "";
|
|
34311
34515
|
return {
|
|
34312
34516
|
url: toPathString(localVarUrlObj),
|
|
34313
34517
|
options: localVarRequestOptions,
|
|
@@ -34315,23 +34519,86 @@ export async function EntitiesApiAxiosParamCreator_PatchEntityUserDataFilters(wo
|
|
|
34315
34519
|
}
|
|
34316
34520
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
34317
34521
|
/**
|
|
34318
|
-
*
|
|
34319
|
-
* @summary Patch
|
|
34320
|
-
* @param {string}
|
|
34321
|
-
* @param {
|
|
34522
|
+
*
|
|
34523
|
+
* @summary Patch a User Data Filter
|
|
34524
|
+
* @param {string} workspaceId
|
|
34525
|
+
* @param {string} objectId
|
|
34526
|
+
* @param {JsonApiUserDataFilterPatchDocument} jsonApiUserDataFilterPatchDocument
|
|
34322
34527
|
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
34323
|
-
* @param {Array<'userGroups' | '
|
|
34528
|
+
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
34324
34529
|
* @param {*} [options] Override http request option.
|
|
34325
34530
|
* @param {Configuration} [configuration] Optional configuration.
|
|
34326
34531
|
* @throws {RequiredError}
|
|
34327
34532
|
*/
|
|
34328
|
-
export async function
|
|
34329
|
-
// verify required parameter '
|
|
34330
|
-
assertParamExists('
|
|
34331
|
-
// verify required parameter '
|
|
34332
|
-
assertParamExists('
|
|
34333
|
-
|
|
34334
|
-
|
|
34533
|
+
export async function EntitiesApiAxiosParamCreator_PatchEntityUserDataFilters(workspaceId, objectId, jsonApiUserDataFilterPatchDocument, filter, include, options = {}, configuration) {
|
|
34534
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
34535
|
+
assertParamExists('patchEntityUserDataFilters', 'workspaceId', workspaceId);
|
|
34536
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
34537
|
+
assertParamExists('patchEntityUserDataFilters', 'objectId', objectId);
|
|
34538
|
+
// verify required parameter 'jsonApiUserDataFilterPatchDocument' is not null or undefined
|
|
34539
|
+
assertParamExists('patchEntityUserDataFilters', 'jsonApiUserDataFilterPatchDocument', jsonApiUserDataFilterPatchDocument);
|
|
34540
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId}`
|
|
34541
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
34542
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
34543
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34544
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34545
|
+
let baseOptions;
|
|
34546
|
+
if (configuration) {
|
|
34547
|
+
baseOptions = configuration.baseOptions;
|
|
34548
|
+
}
|
|
34549
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
34550
|
+
const localVarHeaderParameter = {};
|
|
34551
|
+
const localVarQueryParameter = {};
|
|
34552
|
+
if (filter !== undefined) {
|
|
34553
|
+
localVarQueryParameter['filter'] = filter;
|
|
34554
|
+
}
|
|
34555
|
+
if (include) {
|
|
34556
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
34557
|
+
}
|
|
34558
|
+
const consumes = [
|
|
34559
|
+
'application/vnd.gooddata.api+json',
|
|
34560
|
+
'application/json'
|
|
34561
|
+
];
|
|
34562
|
+
// use application/json if present, otherwise fallback to the first one
|
|
34563
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
34564
|
+
? 'application/json'
|
|
34565
|
+
: consumes[0];
|
|
34566
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34567
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
34568
|
+
localVarRequestOptions.headers = {
|
|
34569
|
+
...localVarHeaderParameter,
|
|
34570
|
+
...headersFromBaseOptions,
|
|
34571
|
+
...options.headers,
|
|
34572
|
+
};
|
|
34573
|
+
const needsSerialization = typeof jsonApiUserDataFilterPatchDocument !== "string" ||
|
|
34574
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
34575
|
+
localVarRequestOptions.data = needsSerialization
|
|
34576
|
+
? JSON.stringify(jsonApiUserDataFilterPatchDocument !== undefined ? jsonApiUserDataFilterPatchDocument : {})
|
|
34577
|
+
: jsonApiUserDataFilterPatchDocument || "";
|
|
34578
|
+
return {
|
|
34579
|
+
url: toPathString(localVarUrlObj),
|
|
34580
|
+
options: localVarRequestOptions,
|
|
34581
|
+
};
|
|
34582
|
+
}
|
|
34583
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
34584
|
+
/**
|
|
34585
|
+
* User Group - creates tree-like structure for categorizing users
|
|
34586
|
+
* @summary Patch UserGroup entity
|
|
34587
|
+
* @param {string} id
|
|
34588
|
+
* @param {JsonApiUserGroupPatchDocument} jsonApiUserGroupPatchDocument
|
|
34589
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
34590
|
+
* @param {Array<'userGroups' | 'parents' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
34591
|
+
* @param {*} [options] Override http request option.
|
|
34592
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
34593
|
+
* @throws {RequiredError}
|
|
34594
|
+
*/
|
|
34595
|
+
export async function EntitiesApiAxiosParamCreator_PatchEntityUserGroups(id, jsonApiUserGroupPatchDocument, filter, include, options = {}, configuration) {
|
|
34596
|
+
// verify required parameter 'id' is not null or undefined
|
|
34597
|
+
assertParamExists('patchEntityUserGroups', 'id', id);
|
|
34598
|
+
// verify required parameter 'jsonApiUserGroupPatchDocument' is not null or undefined
|
|
34599
|
+
assertParamExists('patchEntityUserGroups', 'jsonApiUserGroupPatchDocument', jsonApiUserGroupPatchDocument);
|
|
34600
|
+
const localVarPath = `/api/v1/entities/userGroups/{id}`
|
|
34601
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
34335
34602
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34336
34603
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34337
34604
|
let baseOptions;
|
|
@@ -38060,79 +38327,23 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityParameters(worksp
|
|
|
38060
38327
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
38061
38328
|
/**
|
|
38062
38329
|
*
|
|
38063
|
-
* @summary Put
|
|
38064
|
-
* @param {string} id
|
|
38065
|
-
* @param {JsonApiThemeInDocument} jsonApiThemeInDocument
|
|
38066
|
-
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
38067
|
-
* @param {*} [options] Override http request option.
|
|
38068
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
38069
|
-
* @throws {RequiredError}
|
|
38070
|
-
*/
|
|
38071
|
-
export async function EntitiesApiAxiosParamCreator_UpdateEntityThemes(id, jsonApiThemeInDocument, filter, options = {}, configuration) {
|
|
38072
|
-
// verify required parameter 'id' is not null or undefined
|
|
38073
|
-
assertParamExists('updateEntityThemes', 'id', id);
|
|
38074
|
-
// verify required parameter 'jsonApiThemeInDocument' is not null or undefined
|
|
38075
|
-
assertParamExists('updateEntityThemes', 'jsonApiThemeInDocument', jsonApiThemeInDocument);
|
|
38076
|
-
const localVarPath = `/api/v1/entities/themes/{id}`
|
|
38077
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
38078
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38079
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38080
|
-
let baseOptions;
|
|
38081
|
-
if (configuration) {
|
|
38082
|
-
baseOptions = configuration.baseOptions;
|
|
38083
|
-
}
|
|
38084
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
38085
|
-
const localVarHeaderParameter = {};
|
|
38086
|
-
const localVarQueryParameter = {};
|
|
38087
|
-
if (filter !== undefined) {
|
|
38088
|
-
localVarQueryParameter['filter'] = filter;
|
|
38089
|
-
}
|
|
38090
|
-
const consumes = [
|
|
38091
|
-
'application/vnd.gooddata.api+json',
|
|
38092
|
-
'application/json'
|
|
38093
|
-
];
|
|
38094
|
-
// use application/json if present, otherwise fallback to the first one
|
|
38095
|
-
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
38096
|
-
? 'application/json'
|
|
38097
|
-
: consumes[0];
|
|
38098
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38099
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
38100
|
-
localVarRequestOptions.headers = {
|
|
38101
|
-
...localVarHeaderParameter,
|
|
38102
|
-
...headersFromBaseOptions,
|
|
38103
|
-
...options.headers,
|
|
38104
|
-
};
|
|
38105
|
-
const needsSerialization = typeof jsonApiThemeInDocument !== "string" ||
|
|
38106
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
38107
|
-
localVarRequestOptions.data = needsSerialization
|
|
38108
|
-
? JSON.stringify(jsonApiThemeInDocument !== undefined ? jsonApiThemeInDocument : {})
|
|
38109
|
-
: jsonApiThemeInDocument || "";
|
|
38110
|
-
return {
|
|
38111
|
-
url: toPathString(localVarUrlObj),
|
|
38112
|
-
options: localVarRequestOptions,
|
|
38113
|
-
};
|
|
38114
|
-
}
|
|
38115
|
-
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
38116
|
-
/**
|
|
38117
|
-
*
|
|
38118
|
-
* @summary Put a User Data Filter
|
|
38330
|
+
* @summary Put a Report Page Layout
|
|
38119
38331
|
* @param {string} workspaceId
|
|
38120
38332
|
* @param {string} objectId
|
|
38121
|
-
* @param {
|
|
38333
|
+
* @param {JsonApiReportPageLayoutInDocument} jsonApiReportPageLayoutInDocument
|
|
38122
38334
|
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
38123
|
-
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
38124
38335
|
* @param {*} [options] Override http request option.
|
|
38125
38336
|
* @param {Configuration} [configuration] Optional configuration.
|
|
38126
38337
|
* @throws {RequiredError}
|
|
38127
38338
|
*/
|
|
38128
|
-
export async function
|
|
38339
|
+
export async function EntitiesApiAxiosParamCreator_UpdateEntityReportPageLayouts(workspaceId, objectId, jsonApiReportPageLayoutInDocument, filter, options = {}, configuration) {
|
|
38129
38340
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
38130
|
-
assertParamExists('
|
|
38341
|
+
assertParamExists('updateEntityReportPageLayouts', 'workspaceId', workspaceId);
|
|
38131
38342
|
// verify required parameter 'objectId' is not null or undefined
|
|
38132
|
-
assertParamExists('
|
|
38133
|
-
// verify required parameter '
|
|
38134
|
-
assertParamExists('
|
|
38135
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
38343
|
+
assertParamExists('updateEntityReportPageLayouts', 'objectId', objectId);
|
|
38344
|
+
// verify required parameter 'jsonApiReportPageLayoutInDocument' is not null or undefined
|
|
38345
|
+
assertParamExists('updateEntityReportPageLayouts', 'jsonApiReportPageLayoutInDocument', jsonApiReportPageLayoutInDocument);
|
|
38346
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/reportPageLayouts/{objectId}`
|
|
38136
38347
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
38137
38348
|
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
38138
38349
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -38147,9 +38358,6 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityUserDataFilters(w
|
|
|
38147
38358
|
if (filter !== undefined) {
|
|
38148
38359
|
localVarQueryParameter['filter'] = filter;
|
|
38149
38360
|
}
|
|
38150
|
-
if (include) {
|
|
38151
|
-
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
38152
|
-
}
|
|
38153
38361
|
const consumes = [
|
|
38154
38362
|
'application/vnd.gooddata.api+json',
|
|
38155
38363
|
'application/json'
|
|
@@ -38165,70 +38373,11 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityUserDataFilters(w
|
|
|
38165
38373
|
...headersFromBaseOptions,
|
|
38166
38374
|
...options.headers,
|
|
38167
38375
|
};
|
|
38168
|
-
const needsSerialization = typeof
|
|
38376
|
+
const needsSerialization = typeof jsonApiReportPageLayoutInDocument !== "string" ||
|
|
38169
38377
|
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
38170
38378
|
localVarRequestOptions.data = needsSerialization
|
|
38171
|
-
? JSON.stringify(
|
|
38172
|
-
:
|
|
38173
|
-
return {
|
|
38174
|
-
url: toPathString(localVarUrlObj),
|
|
38175
|
-
options: localVarRequestOptions,
|
|
38176
|
-
};
|
|
38177
|
-
}
|
|
38178
|
-
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
38179
|
-
/**
|
|
38180
|
-
* User Group - creates tree-like structure for categorizing users
|
|
38181
|
-
* @summary Put UserGroup entity
|
|
38182
|
-
* @param {string} id
|
|
38183
|
-
* @param {JsonApiUserGroupInDocument} jsonApiUserGroupInDocument
|
|
38184
|
-
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
38185
|
-
* @param {Array<'userGroups' | 'parents' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
38186
|
-
* @param {*} [options] Override http request option.
|
|
38187
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
38188
|
-
* @throws {RequiredError}
|
|
38189
|
-
*/
|
|
38190
|
-
export async function EntitiesApiAxiosParamCreator_UpdateEntityUserGroups(id, jsonApiUserGroupInDocument, filter, include, options = {}, configuration) {
|
|
38191
|
-
// verify required parameter 'id' is not null or undefined
|
|
38192
|
-
assertParamExists('updateEntityUserGroups', 'id', id);
|
|
38193
|
-
// verify required parameter 'jsonApiUserGroupInDocument' is not null or undefined
|
|
38194
|
-
assertParamExists('updateEntityUserGroups', 'jsonApiUserGroupInDocument', jsonApiUserGroupInDocument);
|
|
38195
|
-
const localVarPath = `/api/v1/entities/userGroups/{id}`
|
|
38196
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
38197
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38198
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38199
|
-
let baseOptions;
|
|
38200
|
-
if (configuration) {
|
|
38201
|
-
baseOptions = configuration.baseOptions;
|
|
38202
|
-
}
|
|
38203
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
38204
|
-
const localVarHeaderParameter = {};
|
|
38205
|
-
const localVarQueryParameter = {};
|
|
38206
|
-
if (filter !== undefined) {
|
|
38207
|
-
localVarQueryParameter['filter'] = filter;
|
|
38208
|
-
}
|
|
38209
|
-
if (include) {
|
|
38210
|
-
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
38211
|
-
}
|
|
38212
|
-
const consumes = [
|
|
38213
|
-
'application/vnd.gooddata.api+json',
|
|
38214
|
-
'application/json'
|
|
38215
|
-
];
|
|
38216
|
-
// use application/json if present, otherwise fallback to the first one
|
|
38217
|
-
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
38218
|
-
? 'application/json'
|
|
38219
|
-
: consumes[0];
|
|
38220
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38221
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
38222
|
-
localVarRequestOptions.headers = {
|
|
38223
|
-
...localVarHeaderParameter,
|
|
38224
|
-
...headersFromBaseOptions,
|
|
38225
|
-
...options.headers,
|
|
38226
|
-
};
|
|
38227
|
-
const needsSerialization = typeof jsonApiUserGroupInDocument !== "string" ||
|
|
38228
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
38229
|
-
localVarRequestOptions.data = needsSerialization
|
|
38230
|
-
? JSON.stringify(jsonApiUserGroupInDocument !== undefined ? jsonApiUserGroupInDocument : {})
|
|
38231
|
-
: jsonApiUserGroupInDocument || "";
|
|
38379
|
+
? JSON.stringify(jsonApiReportPageLayoutInDocument !== undefined ? jsonApiReportPageLayoutInDocument : {})
|
|
38380
|
+
: jsonApiReportPageLayoutInDocument || "";
|
|
38232
38381
|
return {
|
|
38233
38382
|
url: toPathString(localVarUrlObj),
|
|
38234
38383
|
options: localVarRequestOptions,
|
|
@@ -38237,80 +38386,20 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityUserGroups(id, js
|
|
|
38237
38386
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
38238
38387
|
/**
|
|
38239
38388
|
*
|
|
38240
|
-
* @summary Put
|
|
38241
|
-
* @param {string} userId
|
|
38242
|
-
* @param {string} id
|
|
38243
|
-
* @param {JsonApiUserSettingInDocument} jsonApiUserSettingInDocument
|
|
38244
|
-
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
38245
|
-
* @param {*} [options] Override http request option.
|
|
38246
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
38247
|
-
* @throws {RequiredError}
|
|
38248
|
-
*/
|
|
38249
|
-
export async function EntitiesApiAxiosParamCreator_UpdateEntityUserSettings(userId, id, jsonApiUserSettingInDocument, filter, options = {}, configuration) {
|
|
38250
|
-
// verify required parameter 'userId' is not null or undefined
|
|
38251
|
-
assertParamExists('updateEntityUserSettings', 'userId', userId);
|
|
38252
|
-
// verify required parameter 'id' is not null or undefined
|
|
38253
|
-
assertParamExists('updateEntityUserSettings', 'id', id);
|
|
38254
|
-
// verify required parameter 'jsonApiUserSettingInDocument' is not null or undefined
|
|
38255
|
-
assertParamExists('updateEntityUserSettings', 'jsonApiUserSettingInDocument', jsonApiUserSettingInDocument);
|
|
38256
|
-
const localVarPath = `/api/v1/entities/users/{userId}/userSettings/{id}`
|
|
38257
|
-
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
|
|
38258
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
38259
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38260
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38261
|
-
let baseOptions;
|
|
38262
|
-
if (configuration) {
|
|
38263
|
-
baseOptions = configuration.baseOptions;
|
|
38264
|
-
}
|
|
38265
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
38266
|
-
const localVarHeaderParameter = {};
|
|
38267
|
-
const localVarQueryParameter = {};
|
|
38268
|
-
if (filter !== undefined) {
|
|
38269
|
-
localVarQueryParameter['filter'] = filter;
|
|
38270
|
-
}
|
|
38271
|
-
const consumes = [
|
|
38272
|
-
'application/vnd.gooddata.api+json',
|
|
38273
|
-
'application/json'
|
|
38274
|
-
];
|
|
38275
|
-
// use application/json if present, otherwise fallback to the first one
|
|
38276
|
-
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
38277
|
-
? 'application/json'
|
|
38278
|
-
: consumes[0];
|
|
38279
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38280
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
38281
|
-
localVarRequestOptions.headers = {
|
|
38282
|
-
...localVarHeaderParameter,
|
|
38283
|
-
...headersFromBaseOptions,
|
|
38284
|
-
...options.headers,
|
|
38285
|
-
};
|
|
38286
|
-
const needsSerialization = typeof jsonApiUserSettingInDocument !== "string" ||
|
|
38287
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
38288
|
-
localVarRequestOptions.data = needsSerialization
|
|
38289
|
-
? JSON.stringify(jsonApiUserSettingInDocument !== undefined ? jsonApiUserSettingInDocument : {})
|
|
38290
|
-
: jsonApiUserSettingInDocument || "";
|
|
38291
|
-
return {
|
|
38292
|
-
url: toPathString(localVarUrlObj),
|
|
38293
|
-
options: localVarRequestOptions,
|
|
38294
|
-
};
|
|
38295
|
-
}
|
|
38296
|
-
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
38297
|
-
/**
|
|
38298
|
-
* User - represents entity interacting with platform
|
|
38299
|
-
* @summary Put User entity
|
|
38389
|
+
* @summary Put Theming
|
|
38300
38390
|
* @param {string} id
|
|
38301
|
-
* @param {
|
|
38391
|
+
* @param {JsonApiThemeInDocument} jsonApiThemeInDocument
|
|
38302
38392
|
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
38303
|
-
* @param {Array<'userGroups' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
38304
38393
|
* @param {*} [options] Override http request option.
|
|
38305
38394
|
* @param {Configuration} [configuration] Optional configuration.
|
|
38306
38395
|
* @throws {RequiredError}
|
|
38307
38396
|
*/
|
|
38308
|
-
export async function
|
|
38397
|
+
export async function EntitiesApiAxiosParamCreator_UpdateEntityThemes(id, jsonApiThemeInDocument, filter, options = {}, configuration) {
|
|
38309
38398
|
// verify required parameter 'id' is not null or undefined
|
|
38310
|
-
assertParamExists('
|
|
38311
|
-
// verify required parameter '
|
|
38312
|
-
assertParamExists('
|
|
38313
|
-
const localVarPath = `/api/v1/entities/
|
|
38399
|
+
assertParamExists('updateEntityThemes', 'id', id);
|
|
38400
|
+
// verify required parameter 'jsonApiThemeInDocument' is not null or undefined
|
|
38401
|
+
assertParamExists('updateEntityThemes', 'jsonApiThemeInDocument', jsonApiThemeInDocument);
|
|
38402
|
+
const localVarPath = `/api/v1/entities/themes/{id}`
|
|
38314
38403
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
38315
38404
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38316
38405
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -38324,9 +38413,6 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityUsers(id, jsonApi
|
|
|
38324
38413
|
if (filter !== undefined) {
|
|
38325
38414
|
localVarQueryParameter['filter'] = filter;
|
|
38326
38415
|
}
|
|
38327
|
-
if (include) {
|
|
38328
|
-
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
38329
|
-
}
|
|
38330
38416
|
const consumes = [
|
|
38331
38417
|
'application/vnd.gooddata.api+json',
|
|
38332
38418
|
'application/json'
|
|
@@ -38342,11 +38428,11 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityUsers(id, jsonApi
|
|
|
38342
38428
|
...headersFromBaseOptions,
|
|
38343
38429
|
...options.headers,
|
|
38344
38430
|
};
|
|
38345
|
-
const needsSerialization = typeof
|
|
38431
|
+
const needsSerialization = typeof jsonApiThemeInDocument !== "string" ||
|
|
38346
38432
|
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
38347
38433
|
localVarRequestOptions.data = needsSerialization
|
|
38348
|
-
? JSON.stringify(
|
|
38349
|
-
:
|
|
38434
|
+
? JSON.stringify(jsonApiThemeInDocument !== undefined ? jsonApiThemeInDocument : {})
|
|
38435
|
+
: jsonApiThemeInDocument || "";
|
|
38350
38436
|
return {
|
|
38351
38437
|
url: toPathString(localVarUrlObj),
|
|
38352
38438
|
options: localVarRequestOptions,
|
|
@@ -38355,24 +38441,264 @@ export async function EntitiesApiAxiosParamCreator_UpdateEntityUsers(id, jsonApi
|
|
|
38355
38441
|
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
38356
38442
|
/**
|
|
38357
38443
|
*
|
|
38358
|
-
* @summary Put a
|
|
38444
|
+
* @summary Put a User Data Filter
|
|
38359
38445
|
* @param {string} workspaceId
|
|
38360
38446
|
* @param {string} objectId
|
|
38361
|
-
* @param {
|
|
38447
|
+
* @param {JsonApiUserDataFilterInDocument} jsonApiUserDataFilterInDocument
|
|
38362
38448
|
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
38363
|
-
* @param {Array<'
|
|
38449
|
+
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'computedAttributes' | 'metrics' | 'datasets' | 'parameters' | 'user' | 'userGroup' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
38364
38450
|
* @param {*} [options] Override http request option.
|
|
38365
38451
|
* @param {Configuration} [configuration] Optional configuration.
|
|
38366
38452
|
* @throws {RequiredError}
|
|
38367
38453
|
*/
|
|
38368
|
-
export async function
|
|
38454
|
+
export async function EntitiesApiAxiosParamCreator_UpdateEntityUserDataFilters(workspaceId, objectId, jsonApiUserDataFilterInDocument, filter, include, options = {}, configuration) {
|
|
38369
38455
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
38370
|
-
assertParamExists('
|
|
38456
|
+
assertParamExists('updateEntityUserDataFilters', 'workspaceId', workspaceId);
|
|
38371
38457
|
// verify required parameter 'objectId' is not null or undefined
|
|
38372
|
-
assertParamExists('
|
|
38373
|
-
// verify required parameter '
|
|
38374
|
-
assertParamExists('
|
|
38375
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
38458
|
+
assertParamExists('updateEntityUserDataFilters', 'objectId', objectId);
|
|
38459
|
+
// verify required parameter 'jsonApiUserDataFilterInDocument' is not null or undefined
|
|
38460
|
+
assertParamExists('updateEntityUserDataFilters', 'jsonApiUserDataFilterInDocument', jsonApiUserDataFilterInDocument);
|
|
38461
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId}`
|
|
38462
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
38463
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
38464
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38465
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38466
|
+
let baseOptions;
|
|
38467
|
+
if (configuration) {
|
|
38468
|
+
baseOptions = configuration.baseOptions;
|
|
38469
|
+
}
|
|
38470
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
38471
|
+
const localVarHeaderParameter = {};
|
|
38472
|
+
const localVarQueryParameter = {};
|
|
38473
|
+
if (filter !== undefined) {
|
|
38474
|
+
localVarQueryParameter['filter'] = filter;
|
|
38475
|
+
}
|
|
38476
|
+
if (include) {
|
|
38477
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
38478
|
+
}
|
|
38479
|
+
const consumes = [
|
|
38480
|
+
'application/vnd.gooddata.api+json',
|
|
38481
|
+
'application/json'
|
|
38482
|
+
];
|
|
38483
|
+
// use application/json if present, otherwise fallback to the first one
|
|
38484
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
38485
|
+
? 'application/json'
|
|
38486
|
+
: consumes[0];
|
|
38487
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38488
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
38489
|
+
localVarRequestOptions.headers = {
|
|
38490
|
+
...localVarHeaderParameter,
|
|
38491
|
+
...headersFromBaseOptions,
|
|
38492
|
+
...options.headers,
|
|
38493
|
+
};
|
|
38494
|
+
const needsSerialization = typeof jsonApiUserDataFilterInDocument !== "string" ||
|
|
38495
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
38496
|
+
localVarRequestOptions.data = needsSerialization
|
|
38497
|
+
? JSON.stringify(jsonApiUserDataFilterInDocument !== undefined ? jsonApiUserDataFilterInDocument : {})
|
|
38498
|
+
: jsonApiUserDataFilterInDocument || "";
|
|
38499
|
+
return {
|
|
38500
|
+
url: toPathString(localVarUrlObj),
|
|
38501
|
+
options: localVarRequestOptions,
|
|
38502
|
+
};
|
|
38503
|
+
}
|
|
38504
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
38505
|
+
/**
|
|
38506
|
+
* User Group - creates tree-like structure for categorizing users
|
|
38507
|
+
* @summary Put UserGroup entity
|
|
38508
|
+
* @param {string} id
|
|
38509
|
+
* @param {JsonApiUserGroupInDocument} jsonApiUserGroupInDocument
|
|
38510
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
38511
|
+
* @param {Array<'userGroups' | 'parents' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
38512
|
+
* @param {*} [options] Override http request option.
|
|
38513
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
38514
|
+
* @throws {RequiredError}
|
|
38515
|
+
*/
|
|
38516
|
+
export async function EntitiesApiAxiosParamCreator_UpdateEntityUserGroups(id, jsonApiUserGroupInDocument, filter, include, options = {}, configuration) {
|
|
38517
|
+
// verify required parameter 'id' is not null or undefined
|
|
38518
|
+
assertParamExists('updateEntityUserGroups', 'id', id);
|
|
38519
|
+
// verify required parameter 'jsonApiUserGroupInDocument' is not null or undefined
|
|
38520
|
+
assertParamExists('updateEntityUserGroups', 'jsonApiUserGroupInDocument', jsonApiUserGroupInDocument);
|
|
38521
|
+
const localVarPath = `/api/v1/entities/userGroups/{id}`
|
|
38522
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
38523
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38524
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38525
|
+
let baseOptions;
|
|
38526
|
+
if (configuration) {
|
|
38527
|
+
baseOptions = configuration.baseOptions;
|
|
38528
|
+
}
|
|
38529
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
38530
|
+
const localVarHeaderParameter = {};
|
|
38531
|
+
const localVarQueryParameter = {};
|
|
38532
|
+
if (filter !== undefined) {
|
|
38533
|
+
localVarQueryParameter['filter'] = filter;
|
|
38534
|
+
}
|
|
38535
|
+
if (include) {
|
|
38536
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
38537
|
+
}
|
|
38538
|
+
const consumes = [
|
|
38539
|
+
'application/vnd.gooddata.api+json',
|
|
38540
|
+
'application/json'
|
|
38541
|
+
];
|
|
38542
|
+
// use application/json if present, otherwise fallback to the first one
|
|
38543
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
38544
|
+
? 'application/json'
|
|
38545
|
+
: consumes[0];
|
|
38546
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38547
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
38548
|
+
localVarRequestOptions.headers = {
|
|
38549
|
+
...localVarHeaderParameter,
|
|
38550
|
+
...headersFromBaseOptions,
|
|
38551
|
+
...options.headers,
|
|
38552
|
+
};
|
|
38553
|
+
const needsSerialization = typeof jsonApiUserGroupInDocument !== "string" ||
|
|
38554
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
38555
|
+
localVarRequestOptions.data = needsSerialization
|
|
38556
|
+
? JSON.stringify(jsonApiUserGroupInDocument !== undefined ? jsonApiUserGroupInDocument : {})
|
|
38557
|
+
: jsonApiUserGroupInDocument || "";
|
|
38558
|
+
return {
|
|
38559
|
+
url: toPathString(localVarUrlObj),
|
|
38560
|
+
options: localVarRequestOptions,
|
|
38561
|
+
};
|
|
38562
|
+
}
|
|
38563
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
38564
|
+
/**
|
|
38565
|
+
*
|
|
38566
|
+
* @summary Put new user settings for the user
|
|
38567
|
+
* @param {string} userId
|
|
38568
|
+
* @param {string} id
|
|
38569
|
+
* @param {JsonApiUserSettingInDocument} jsonApiUserSettingInDocument
|
|
38570
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
38571
|
+
* @param {*} [options] Override http request option.
|
|
38572
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
38573
|
+
* @throws {RequiredError}
|
|
38574
|
+
*/
|
|
38575
|
+
export async function EntitiesApiAxiosParamCreator_UpdateEntityUserSettings(userId, id, jsonApiUserSettingInDocument, filter, options = {}, configuration) {
|
|
38576
|
+
// verify required parameter 'userId' is not null or undefined
|
|
38577
|
+
assertParamExists('updateEntityUserSettings', 'userId', userId);
|
|
38578
|
+
// verify required parameter 'id' is not null or undefined
|
|
38579
|
+
assertParamExists('updateEntityUserSettings', 'id', id);
|
|
38580
|
+
// verify required parameter 'jsonApiUserSettingInDocument' is not null or undefined
|
|
38581
|
+
assertParamExists('updateEntityUserSettings', 'jsonApiUserSettingInDocument', jsonApiUserSettingInDocument);
|
|
38582
|
+
const localVarPath = `/api/v1/entities/users/{userId}/userSettings/{id}`
|
|
38583
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
|
|
38584
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
38585
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38586
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38587
|
+
let baseOptions;
|
|
38588
|
+
if (configuration) {
|
|
38589
|
+
baseOptions = configuration.baseOptions;
|
|
38590
|
+
}
|
|
38591
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
38592
|
+
const localVarHeaderParameter = {};
|
|
38593
|
+
const localVarQueryParameter = {};
|
|
38594
|
+
if (filter !== undefined) {
|
|
38595
|
+
localVarQueryParameter['filter'] = filter;
|
|
38596
|
+
}
|
|
38597
|
+
const consumes = [
|
|
38598
|
+
'application/vnd.gooddata.api+json',
|
|
38599
|
+
'application/json'
|
|
38600
|
+
];
|
|
38601
|
+
// use application/json if present, otherwise fallback to the first one
|
|
38602
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
38603
|
+
? 'application/json'
|
|
38604
|
+
: consumes[0];
|
|
38605
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38606
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
38607
|
+
localVarRequestOptions.headers = {
|
|
38608
|
+
...localVarHeaderParameter,
|
|
38609
|
+
...headersFromBaseOptions,
|
|
38610
|
+
...options.headers,
|
|
38611
|
+
};
|
|
38612
|
+
const needsSerialization = typeof jsonApiUserSettingInDocument !== "string" ||
|
|
38613
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
38614
|
+
localVarRequestOptions.data = needsSerialization
|
|
38615
|
+
? JSON.stringify(jsonApiUserSettingInDocument !== undefined ? jsonApiUserSettingInDocument : {})
|
|
38616
|
+
: jsonApiUserSettingInDocument || "";
|
|
38617
|
+
return {
|
|
38618
|
+
url: toPathString(localVarUrlObj),
|
|
38619
|
+
options: localVarRequestOptions,
|
|
38620
|
+
};
|
|
38621
|
+
}
|
|
38622
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
38623
|
+
/**
|
|
38624
|
+
* User - represents entity interacting with platform
|
|
38625
|
+
* @summary Put User entity
|
|
38626
|
+
* @param {string} id
|
|
38627
|
+
* @param {JsonApiUserInDocument} jsonApiUserInDocument
|
|
38628
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
38629
|
+
* @param {Array<'userGroups' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
38630
|
+
* @param {*} [options] Override http request option.
|
|
38631
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
38632
|
+
* @throws {RequiredError}
|
|
38633
|
+
*/
|
|
38634
|
+
export async function EntitiesApiAxiosParamCreator_UpdateEntityUsers(id, jsonApiUserInDocument, filter, include, options = {}, configuration) {
|
|
38635
|
+
// verify required parameter 'id' is not null or undefined
|
|
38636
|
+
assertParamExists('updateEntityUsers', 'id', id);
|
|
38637
|
+
// verify required parameter 'jsonApiUserInDocument' is not null or undefined
|
|
38638
|
+
assertParamExists('updateEntityUsers', 'jsonApiUserInDocument', jsonApiUserInDocument);
|
|
38639
|
+
const localVarPath = `/api/v1/entities/users/{id}`
|
|
38640
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
38641
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38642
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38643
|
+
let baseOptions;
|
|
38644
|
+
if (configuration) {
|
|
38645
|
+
baseOptions = configuration.baseOptions;
|
|
38646
|
+
}
|
|
38647
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
38648
|
+
const localVarHeaderParameter = {};
|
|
38649
|
+
const localVarQueryParameter = {};
|
|
38650
|
+
if (filter !== undefined) {
|
|
38651
|
+
localVarQueryParameter['filter'] = filter;
|
|
38652
|
+
}
|
|
38653
|
+
if (include) {
|
|
38654
|
+
localVarQueryParameter['include'] = include.join(COLLECTION_FORMATS.csv);
|
|
38655
|
+
}
|
|
38656
|
+
const consumes = [
|
|
38657
|
+
'application/vnd.gooddata.api+json',
|
|
38658
|
+
'application/json'
|
|
38659
|
+
];
|
|
38660
|
+
// use application/json if present, otherwise fallback to the first one
|
|
38661
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
38662
|
+
? 'application/json'
|
|
38663
|
+
: consumes[0];
|
|
38664
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38665
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
38666
|
+
localVarRequestOptions.headers = {
|
|
38667
|
+
...localVarHeaderParameter,
|
|
38668
|
+
...headersFromBaseOptions,
|
|
38669
|
+
...options.headers,
|
|
38670
|
+
};
|
|
38671
|
+
const needsSerialization = typeof jsonApiUserInDocument !== "string" ||
|
|
38672
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
38673
|
+
localVarRequestOptions.data = needsSerialization
|
|
38674
|
+
? JSON.stringify(jsonApiUserInDocument !== undefined ? jsonApiUserInDocument : {})
|
|
38675
|
+
: jsonApiUserInDocument || "";
|
|
38676
|
+
return {
|
|
38677
|
+
url: toPathString(localVarUrlObj),
|
|
38678
|
+
options: localVarRequestOptions,
|
|
38679
|
+
};
|
|
38680
|
+
}
|
|
38681
|
+
// EntitiesApi FP - EntitiesApiAxiosParamCreator
|
|
38682
|
+
/**
|
|
38683
|
+
*
|
|
38684
|
+
* @summary Put a Visualization Object
|
|
38685
|
+
* @param {string} workspaceId
|
|
38686
|
+
* @param {string} objectId
|
|
38687
|
+
* @param {JsonApiVisualizationObjectInDocument} jsonApiVisualizationObjectInDocument
|
|
38688
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
38689
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'parameters' | 'computedAttributes' | 'datasets' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
38690
|
+
* @param {*} [options] Override http request option.
|
|
38691
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
38692
|
+
* @throws {RequiredError}
|
|
38693
|
+
*/
|
|
38694
|
+
export async function EntitiesApiAxiosParamCreator_UpdateEntityVisualizationObjects(workspaceId, objectId, jsonApiVisualizationObjectInDocument, filter, include, options = {}, configuration) {
|
|
38695
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
38696
|
+
assertParamExists('updateEntityVisualizationObjects', 'workspaceId', workspaceId);
|
|
38697
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
38698
|
+
assertParamExists('updateEntityVisualizationObjects', 'objectId', objectId);
|
|
38699
|
+
// verify required parameter 'jsonApiVisualizationObjectInDocument' is not null or undefined
|
|
38700
|
+
assertParamExists('updateEntityVisualizationObjects', 'jsonApiVisualizationObjectInDocument', jsonApiVisualizationObjectInDocument);
|
|
38701
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId}`
|
|
38376
38702
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
38377
38703
|
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
38378
38704
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -39271,6 +39597,21 @@ export async function EntitiesApi_CreateEntityParameters(axios, basePath, reques
|
|
|
39271
39597
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
39272
39598
|
}
|
|
39273
39599
|
// EntitiesApi Api FP
|
|
39600
|
+
/**
|
|
39601
|
+
*
|
|
39602
|
+
* @summary Post Report Page Layout
|
|
39603
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
39604
|
+
* @param {string} basePath Base path.
|
|
39605
|
+
* @param {EntitiesApiCreateEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
39606
|
+
* @param {*} [options] Override http request option.
|
|
39607
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
39608
|
+
* @throws {RequiredError}
|
|
39609
|
+
*/
|
|
39610
|
+
export async function EntitiesApi_CreateEntityReportPageLayouts(axios, basePath, requestParameters, options, configuration) {
|
|
39611
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_CreateEntityReportPageLayouts(requestParameters.workspaceId, requestParameters.jsonApiReportPageLayoutPostOptionalIdDocument, requestParameters.metaInclude, options || {}, configuration);
|
|
39612
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
39613
|
+
}
|
|
39614
|
+
// EntitiesApi Api FP
|
|
39274
39615
|
/**
|
|
39275
39616
|
*
|
|
39276
39617
|
* @summary Post Theming
|
|
@@ -39901,6 +40242,21 @@ export async function EntitiesApi_DeleteEntityParameters(axios, basePath, reques
|
|
|
39901
40242
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
39902
40243
|
}
|
|
39903
40244
|
// EntitiesApi Api FP
|
|
40245
|
+
/**
|
|
40246
|
+
*
|
|
40247
|
+
* @summary Delete a Report Page Layout
|
|
40248
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
40249
|
+
* @param {string} basePath Base path.
|
|
40250
|
+
* @param {EntitiesApiDeleteEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
40251
|
+
* @param {*} [options] Override http request option.
|
|
40252
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
40253
|
+
* @throws {RequiredError}
|
|
40254
|
+
*/
|
|
40255
|
+
export async function EntitiesApi_DeleteEntityReportPageLayouts(axios, basePath, requestParameters, options, configuration) {
|
|
40256
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_DeleteEntityReportPageLayouts(requestParameters.workspaceId, requestParameters.objectId, options || {}, configuration);
|
|
40257
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
40258
|
+
}
|
|
40259
|
+
// EntitiesApi Api FP
|
|
39904
40260
|
/**
|
|
39905
40261
|
*
|
|
39906
40262
|
* @summary Delete Theming
|
|
@@ -40680,6 +41036,21 @@ export async function EntitiesApi_GetAllEntitiesParameters(axios, basePath, requ
|
|
|
40680
41036
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
40681
41037
|
}
|
|
40682
41038
|
// EntitiesApi Api FP
|
|
41039
|
+
/**
|
|
41040
|
+
*
|
|
41041
|
+
* @summary Get all Report Page Layouts
|
|
41042
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
41043
|
+
* @param {string} basePath Base path.
|
|
41044
|
+
* @param {EntitiesApiGetAllEntitiesReportPageLayoutsRequest} requestParameters Request parameters.
|
|
41045
|
+
* @param {*} [options] Override http request option.
|
|
41046
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
41047
|
+
* @throws {RequiredError}
|
|
41048
|
+
*/
|
|
41049
|
+
export async function EntitiesApi_GetAllEntitiesReportPageLayouts(axios, basePath, requestParameters, options, configuration) {
|
|
41050
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_GetAllEntitiesReportPageLayouts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration);
|
|
41051
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
41052
|
+
}
|
|
41053
|
+
// EntitiesApi Api FP
|
|
40683
41054
|
/**
|
|
40684
41055
|
*
|
|
40685
41056
|
* @summary Get all Theming entities
|
|
@@ -41518,6 +41889,21 @@ export async function EntitiesApi_GetEntityParameters(axios, basePath, requestPa
|
|
|
41518
41889
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
41519
41890
|
}
|
|
41520
41891
|
// EntitiesApi Api FP
|
|
41892
|
+
/**
|
|
41893
|
+
*
|
|
41894
|
+
* @summary Get a Report Page Layout
|
|
41895
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
41896
|
+
* @param {string} basePath Base path.
|
|
41897
|
+
* @param {EntitiesApiGetEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
41898
|
+
* @param {*} [options] Override http request option.
|
|
41899
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
41900
|
+
* @throws {RequiredError}
|
|
41901
|
+
*/
|
|
41902
|
+
export async function EntitiesApi_GetEntityReportPageLayouts(axios, basePath, requestParameters, options, configuration) {
|
|
41903
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_GetEntityReportPageLayouts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration);
|
|
41904
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
41905
|
+
}
|
|
41906
|
+
// EntitiesApi Api FP
|
|
41521
41907
|
/**
|
|
41522
41908
|
*
|
|
41523
41909
|
* @summary Get Theming
|
|
@@ -42223,6 +42609,21 @@ export async function EntitiesApi_PatchEntityParameters(axios, basePath, request
|
|
|
42223
42609
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
42224
42610
|
}
|
|
42225
42611
|
// EntitiesApi Api FP
|
|
42612
|
+
/**
|
|
42613
|
+
*
|
|
42614
|
+
* @summary Patch a Report Page Layout
|
|
42615
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
42616
|
+
* @param {string} basePath Base path.
|
|
42617
|
+
* @param {EntitiesApiPatchEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
42618
|
+
* @param {*} [options] Override http request option.
|
|
42619
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
42620
|
+
* @throws {RequiredError}
|
|
42621
|
+
*/
|
|
42622
|
+
export async function EntitiesApi_PatchEntityReportPageLayouts(axios, basePath, requestParameters, options, configuration) {
|
|
42623
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_PatchEntityReportPageLayouts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiReportPageLayoutPatchDocument, requestParameters.filter, options || {}, configuration);
|
|
42624
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
42625
|
+
}
|
|
42626
|
+
// EntitiesApi Api FP
|
|
42226
42627
|
/**
|
|
42227
42628
|
*
|
|
42228
42629
|
* @summary Patch Theming
|
|
@@ -43213,6 +43614,21 @@ export async function EntitiesApi_UpdateEntityParameters(axios, basePath, reques
|
|
|
43213
43614
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
43214
43615
|
}
|
|
43215
43616
|
// EntitiesApi Api FP
|
|
43617
|
+
/**
|
|
43618
|
+
*
|
|
43619
|
+
* @summary Put a Report Page Layout
|
|
43620
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
43621
|
+
* @param {string} basePath Base path.
|
|
43622
|
+
* @param {EntitiesApiUpdateEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
43623
|
+
* @param {*} [options] Override http request option.
|
|
43624
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
43625
|
+
* @throws {RequiredError}
|
|
43626
|
+
*/
|
|
43627
|
+
export async function EntitiesApi_UpdateEntityReportPageLayouts(axios, basePath, requestParameters, options, configuration) {
|
|
43628
|
+
const localVarAxiosArgs = await EntitiesApiAxiosParamCreator_UpdateEntityReportPageLayouts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiReportPageLayoutInDocument, requestParameters.filter, options || {}, configuration);
|
|
43629
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
43630
|
+
}
|
|
43631
|
+
// EntitiesApi Api FP
|
|
43216
43632
|
/**
|
|
43217
43633
|
*
|
|
43218
43634
|
* @summary Put Theming
|
|
@@ -43733,6 +44149,17 @@ export class EntitiesApi extends BaseAPI {
|
|
|
43733
44149
|
createEntityParameters(requestParameters, options) {
|
|
43734
44150
|
return EntitiesApi_CreateEntityParameters(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
43735
44151
|
}
|
|
44152
|
+
/**
|
|
44153
|
+
*
|
|
44154
|
+
* @summary Post Report Page Layout
|
|
44155
|
+
* @param {EntitiesApiCreateEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
44156
|
+
* @param {*} [options] Override http request option.
|
|
44157
|
+
* @throws {RequiredError}
|
|
44158
|
+
* @memberof EntitiesApi
|
|
44159
|
+
*/
|
|
44160
|
+
createEntityReportPageLayouts(requestParameters, options) {
|
|
44161
|
+
return EntitiesApi_CreateEntityReportPageLayouts(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
44162
|
+
}
|
|
43736
44163
|
/**
|
|
43737
44164
|
*
|
|
43738
44165
|
* @summary Post Theming
|
|
@@ -44196,6 +44623,17 @@ export class EntitiesApi extends BaseAPI {
|
|
|
44196
44623
|
deleteEntityParameters(requestParameters, options) {
|
|
44197
44624
|
return EntitiesApi_DeleteEntityParameters(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
44198
44625
|
}
|
|
44626
|
+
/**
|
|
44627
|
+
*
|
|
44628
|
+
* @summary Delete a Report Page Layout
|
|
44629
|
+
* @param {EntitiesApiDeleteEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
44630
|
+
* @param {*} [options] Override http request option.
|
|
44631
|
+
* @throws {RequiredError}
|
|
44632
|
+
* @memberof EntitiesApi
|
|
44633
|
+
*/
|
|
44634
|
+
deleteEntityReportPageLayouts(requestParameters, options) {
|
|
44635
|
+
return EntitiesApi_DeleteEntityReportPageLayouts(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
44636
|
+
}
|
|
44199
44637
|
/**
|
|
44200
44638
|
*
|
|
44201
44639
|
* @summary Delete Theming
|
|
@@ -44768,6 +45206,17 @@ export class EntitiesApi extends BaseAPI {
|
|
|
44768
45206
|
getAllEntitiesParameters(requestParameters, options) {
|
|
44769
45207
|
return EntitiesApi_GetAllEntitiesParameters(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
44770
45208
|
}
|
|
45209
|
+
/**
|
|
45210
|
+
*
|
|
45211
|
+
* @summary Get all Report Page Layouts
|
|
45212
|
+
* @param {EntitiesApiGetAllEntitiesReportPageLayoutsRequest} requestParameters Request parameters.
|
|
45213
|
+
* @param {*} [options] Override http request option.
|
|
45214
|
+
* @throws {RequiredError}
|
|
45215
|
+
* @memberof EntitiesApi
|
|
45216
|
+
*/
|
|
45217
|
+
getAllEntitiesReportPageLayouts(requestParameters, options) {
|
|
45218
|
+
return EntitiesApi_GetAllEntitiesReportPageLayouts(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
45219
|
+
}
|
|
44771
45220
|
/**
|
|
44772
45221
|
*
|
|
44773
45222
|
* @summary Get all Theming entities
|
|
@@ -45383,6 +45832,17 @@ export class EntitiesApi extends BaseAPI {
|
|
|
45383
45832
|
getEntityParameters(requestParameters, options) {
|
|
45384
45833
|
return EntitiesApi_GetEntityParameters(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
45385
45834
|
}
|
|
45835
|
+
/**
|
|
45836
|
+
*
|
|
45837
|
+
* @summary Get a Report Page Layout
|
|
45838
|
+
* @param {EntitiesApiGetEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
45839
|
+
* @param {*} [options] Override http request option.
|
|
45840
|
+
* @throws {RequiredError}
|
|
45841
|
+
* @memberof EntitiesApi
|
|
45842
|
+
*/
|
|
45843
|
+
getEntityReportPageLayouts(requestParameters, options) {
|
|
45844
|
+
return EntitiesApi_GetEntityReportPageLayouts(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
45845
|
+
}
|
|
45386
45846
|
/**
|
|
45387
45847
|
*
|
|
45388
45848
|
* @summary Get Theming
|
|
@@ -45901,6 +46361,17 @@ export class EntitiesApi extends BaseAPI {
|
|
|
45901
46361
|
patchEntityParameters(requestParameters, options) {
|
|
45902
46362
|
return EntitiesApi_PatchEntityParameters(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
45903
46363
|
}
|
|
46364
|
+
/**
|
|
46365
|
+
*
|
|
46366
|
+
* @summary Patch a Report Page Layout
|
|
46367
|
+
* @param {EntitiesApiPatchEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
46368
|
+
* @param {*} [options] Override http request option.
|
|
46369
|
+
* @throws {RequiredError}
|
|
46370
|
+
* @memberof EntitiesApi
|
|
46371
|
+
*/
|
|
46372
|
+
patchEntityReportPageLayouts(requestParameters, options) {
|
|
46373
|
+
return EntitiesApi_PatchEntityReportPageLayouts(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
46374
|
+
}
|
|
45904
46375
|
/**
|
|
45905
46376
|
*
|
|
45906
46377
|
* @summary Patch Theming
|
|
@@ -46628,6 +47099,17 @@ export class EntitiesApi extends BaseAPI {
|
|
|
46628
47099
|
updateEntityParameters(requestParameters, options) {
|
|
46629
47100
|
return EntitiesApi_UpdateEntityParameters(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
46630
47101
|
}
|
|
47102
|
+
/**
|
|
47103
|
+
*
|
|
47104
|
+
* @summary Put a Report Page Layout
|
|
47105
|
+
* @param {EntitiesApiUpdateEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
47106
|
+
* @param {*} [options] Override http request option.
|
|
47107
|
+
* @throws {RequiredError}
|
|
47108
|
+
* @memberof EntitiesApi
|
|
47109
|
+
*/
|
|
47110
|
+
updateEntityReportPageLayouts(requestParameters, options) {
|
|
47111
|
+
return EntitiesApi_UpdateEntityReportPageLayouts(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
47112
|
+
}
|
|
46631
47113
|
/**
|
|
46632
47114
|
*
|
|
46633
47115
|
* @summary Put Theming
|
|
@@ -74292,6 +74774,496 @@ export class PluginsApi extends BaseAPI {
|
|
|
74292
74774
|
return PluginsApi_UpdateEntityDashboardPlugins(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
74293
74775
|
}
|
|
74294
74776
|
}
|
|
74777
|
+
// ReportPageLayoutControllerApi FP - ReportPageLayoutControllerApiAxiosParamCreator
|
|
74778
|
+
/**
|
|
74779
|
+
*
|
|
74780
|
+
* @summary Post Report Page Layout
|
|
74781
|
+
* @param {string} workspaceId
|
|
74782
|
+
* @param {JsonApiReportPageLayoutPostOptionalIdDocument} jsonApiReportPageLayoutPostOptionalIdDocument
|
|
74783
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
74784
|
+
* @param {*} [options] Override http request option.
|
|
74785
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
74786
|
+
* @throws {RequiredError}
|
|
74787
|
+
*/
|
|
74788
|
+
export async function ReportPageLayoutControllerApiAxiosParamCreator_CreateEntityReportPageLayouts(workspaceId, jsonApiReportPageLayoutPostOptionalIdDocument, metaInclude, options = {}, configuration) {
|
|
74789
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
74790
|
+
assertParamExists('createEntityReportPageLayouts', 'workspaceId', workspaceId);
|
|
74791
|
+
// verify required parameter 'jsonApiReportPageLayoutPostOptionalIdDocument' is not null or undefined
|
|
74792
|
+
assertParamExists('createEntityReportPageLayouts', 'jsonApiReportPageLayoutPostOptionalIdDocument', jsonApiReportPageLayoutPostOptionalIdDocument);
|
|
74793
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/reportPageLayouts`
|
|
74794
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
74795
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74796
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
74797
|
+
let baseOptions;
|
|
74798
|
+
if (configuration) {
|
|
74799
|
+
baseOptions = configuration.baseOptions;
|
|
74800
|
+
}
|
|
74801
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
74802
|
+
const localVarHeaderParameter = {};
|
|
74803
|
+
const localVarQueryParameter = {};
|
|
74804
|
+
if (metaInclude) {
|
|
74805
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
74806
|
+
}
|
|
74807
|
+
const consumes = [
|
|
74808
|
+
'application/vnd.gooddata.api+json',
|
|
74809
|
+
'application/json'
|
|
74810
|
+
];
|
|
74811
|
+
// use application/json if present, otherwise fallback to the first one
|
|
74812
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
74813
|
+
? 'application/json'
|
|
74814
|
+
: consumes[0];
|
|
74815
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74816
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
74817
|
+
localVarRequestOptions.headers = {
|
|
74818
|
+
...localVarHeaderParameter,
|
|
74819
|
+
...headersFromBaseOptions,
|
|
74820
|
+
...options.headers,
|
|
74821
|
+
};
|
|
74822
|
+
const needsSerialization = typeof jsonApiReportPageLayoutPostOptionalIdDocument !== "string" ||
|
|
74823
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
74824
|
+
localVarRequestOptions.data = needsSerialization
|
|
74825
|
+
? JSON.stringify(jsonApiReportPageLayoutPostOptionalIdDocument !== undefined ? jsonApiReportPageLayoutPostOptionalIdDocument : {})
|
|
74826
|
+
: jsonApiReportPageLayoutPostOptionalIdDocument || "";
|
|
74827
|
+
return {
|
|
74828
|
+
url: toPathString(localVarUrlObj),
|
|
74829
|
+
options: localVarRequestOptions,
|
|
74830
|
+
};
|
|
74831
|
+
}
|
|
74832
|
+
// ReportPageLayoutControllerApi FP - ReportPageLayoutControllerApiAxiosParamCreator
|
|
74833
|
+
/**
|
|
74834
|
+
*
|
|
74835
|
+
* @summary Delete a Report Page Layout
|
|
74836
|
+
* @param {string} workspaceId
|
|
74837
|
+
* @param {string} objectId
|
|
74838
|
+
* @param {*} [options] Override http request option.
|
|
74839
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
74840
|
+
* @throws {RequiredError}
|
|
74841
|
+
*/
|
|
74842
|
+
export async function ReportPageLayoutControllerApiAxiosParamCreator_DeleteEntityReportPageLayouts(workspaceId, objectId, options = {}, configuration) {
|
|
74843
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
74844
|
+
assertParamExists('deleteEntityReportPageLayouts', 'workspaceId', workspaceId);
|
|
74845
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
74846
|
+
assertParamExists('deleteEntityReportPageLayouts', 'objectId', objectId);
|
|
74847
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/reportPageLayouts/{objectId}`
|
|
74848
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
74849
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
74850
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74851
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
74852
|
+
let baseOptions;
|
|
74853
|
+
if (configuration) {
|
|
74854
|
+
baseOptions = configuration.baseOptions;
|
|
74855
|
+
}
|
|
74856
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
74857
|
+
const localVarHeaderParameter = {};
|
|
74858
|
+
const localVarQueryParameter = {};
|
|
74859
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74860
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
74861
|
+
localVarRequestOptions.headers = {
|
|
74862
|
+
...localVarHeaderParameter,
|
|
74863
|
+
...headersFromBaseOptions,
|
|
74864
|
+
...options.headers,
|
|
74865
|
+
};
|
|
74866
|
+
return {
|
|
74867
|
+
url: toPathString(localVarUrlObj),
|
|
74868
|
+
options: localVarRequestOptions,
|
|
74869
|
+
};
|
|
74870
|
+
}
|
|
74871
|
+
// ReportPageLayoutControllerApi FP - ReportPageLayoutControllerApiAxiosParamCreator
|
|
74872
|
+
/**
|
|
74873
|
+
*
|
|
74874
|
+
* @summary Get all Report Page Layouts
|
|
74875
|
+
* @param {string} workspaceId
|
|
74876
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
74877
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
74878
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
74879
|
+
* @param {number} [size] The size of the page to be returned
|
|
74880
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
74881
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
74882
|
+
* @param {Array<'origin' | 'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
74883
|
+
* @param {*} [options] Override http request option.
|
|
74884
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
74885
|
+
* @throws {RequiredError}
|
|
74886
|
+
*/
|
|
74887
|
+
export async function ReportPageLayoutControllerApiAxiosParamCreator_GetAllEntitiesReportPageLayouts(workspaceId, origin, filter, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}, configuration) {
|
|
74888
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
74889
|
+
assertParamExists('getAllEntitiesReportPageLayouts', 'workspaceId', workspaceId);
|
|
74890
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/reportPageLayouts`
|
|
74891
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
74892
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74893
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
74894
|
+
let baseOptions;
|
|
74895
|
+
if (configuration) {
|
|
74896
|
+
baseOptions = configuration.baseOptions;
|
|
74897
|
+
}
|
|
74898
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
74899
|
+
const localVarHeaderParameter = {};
|
|
74900
|
+
const localVarQueryParameter = {};
|
|
74901
|
+
if (origin !== undefined) {
|
|
74902
|
+
localVarQueryParameter['origin'] = origin;
|
|
74903
|
+
}
|
|
74904
|
+
if (filter !== undefined) {
|
|
74905
|
+
localVarQueryParameter['filter'] = filter;
|
|
74906
|
+
}
|
|
74907
|
+
if (page !== undefined) {
|
|
74908
|
+
localVarQueryParameter['page'] = page;
|
|
74909
|
+
}
|
|
74910
|
+
if (size !== undefined) {
|
|
74911
|
+
localVarQueryParameter['size'] = size;
|
|
74912
|
+
}
|
|
74913
|
+
if (sort) {
|
|
74914
|
+
localVarQueryParameter['sort'] = sort;
|
|
74915
|
+
}
|
|
74916
|
+
if (metaInclude) {
|
|
74917
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
74918
|
+
}
|
|
74919
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
74920
|
+
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
74921
|
+
}
|
|
74922
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74923
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
74924
|
+
localVarRequestOptions.headers = {
|
|
74925
|
+
...localVarHeaderParameter,
|
|
74926
|
+
...headersFromBaseOptions,
|
|
74927
|
+
...options.headers,
|
|
74928
|
+
};
|
|
74929
|
+
return {
|
|
74930
|
+
url: toPathString(localVarUrlObj),
|
|
74931
|
+
options: localVarRequestOptions,
|
|
74932
|
+
};
|
|
74933
|
+
}
|
|
74934
|
+
// ReportPageLayoutControllerApi FP - ReportPageLayoutControllerApiAxiosParamCreator
|
|
74935
|
+
/**
|
|
74936
|
+
*
|
|
74937
|
+
* @summary Get a Report Page Layout
|
|
74938
|
+
* @param {string} workspaceId
|
|
74939
|
+
* @param {string} objectId
|
|
74940
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
74941
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
74942
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
74943
|
+
* @param {*} [options] Override http request option.
|
|
74944
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
74945
|
+
* @throws {RequiredError}
|
|
74946
|
+
*/
|
|
74947
|
+
export async function ReportPageLayoutControllerApiAxiosParamCreator_GetEntityReportPageLayouts(workspaceId, objectId, filter, xGDCVALIDATERELATIONS, metaInclude, options = {}, configuration) {
|
|
74948
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
74949
|
+
assertParamExists('getEntityReportPageLayouts', 'workspaceId', workspaceId);
|
|
74950
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
74951
|
+
assertParamExists('getEntityReportPageLayouts', 'objectId', objectId);
|
|
74952
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/reportPageLayouts/{objectId}`
|
|
74953
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
74954
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
74955
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74956
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
74957
|
+
let baseOptions;
|
|
74958
|
+
if (configuration) {
|
|
74959
|
+
baseOptions = configuration.baseOptions;
|
|
74960
|
+
}
|
|
74961
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
74962
|
+
const localVarHeaderParameter = {};
|
|
74963
|
+
const localVarQueryParameter = {};
|
|
74964
|
+
if (filter !== undefined) {
|
|
74965
|
+
localVarQueryParameter['filter'] = filter;
|
|
74966
|
+
}
|
|
74967
|
+
if (metaInclude) {
|
|
74968
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
74969
|
+
}
|
|
74970
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
74971
|
+
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
74972
|
+
}
|
|
74973
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74974
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
74975
|
+
localVarRequestOptions.headers = {
|
|
74976
|
+
...localVarHeaderParameter,
|
|
74977
|
+
...headersFromBaseOptions,
|
|
74978
|
+
...options.headers,
|
|
74979
|
+
};
|
|
74980
|
+
return {
|
|
74981
|
+
url: toPathString(localVarUrlObj),
|
|
74982
|
+
options: localVarRequestOptions,
|
|
74983
|
+
};
|
|
74984
|
+
}
|
|
74985
|
+
// ReportPageLayoutControllerApi FP - ReportPageLayoutControllerApiAxiosParamCreator
|
|
74986
|
+
/**
|
|
74987
|
+
*
|
|
74988
|
+
* @summary Patch a Report Page Layout
|
|
74989
|
+
* @param {string} workspaceId
|
|
74990
|
+
* @param {string} objectId
|
|
74991
|
+
* @param {JsonApiReportPageLayoutPatchDocument} jsonApiReportPageLayoutPatchDocument
|
|
74992
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
74993
|
+
* @param {*} [options] Override http request option.
|
|
74994
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
74995
|
+
* @throws {RequiredError}
|
|
74996
|
+
*/
|
|
74997
|
+
export async function ReportPageLayoutControllerApiAxiosParamCreator_PatchEntityReportPageLayouts(workspaceId, objectId, jsonApiReportPageLayoutPatchDocument, filter, options = {}, configuration) {
|
|
74998
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
74999
|
+
assertParamExists('patchEntityReportPageLayouts', 'workspaceId', workspaceId);
|
|
75000
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
75001
|
+
assertParamExists('patchEntityReportPageLayouts', 'objectId', objectId);
|
|
75002
|
+
// verify required parameter 'jsonApiReportPageLayoutPatchDocument' is not null or undefined
|
|
75003
|
+
assertParamExists('patchEntityReportPageLayouts', 'jsonApiReportPageLayoutPatchDocument', jsonApiReportPageLayoutPatchDocument);
|
|
75004
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/reportPageLayouts/{objectId}`
|
|
75005
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
75006
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
75007
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
75008
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75009
|
+
let baseOptions;
|
|
75010
|
+
if (configuration) {
|
|
75011
|
+
baseOptions = configuration.baseOptions;
|
|
75012
|
+
}
|
|
75013
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
75014
|
+
const localVarHeaderParameter = {};
|
|
75015
|
+
const localVarQueryParameter = {};
|
|
75016
|
+
if (filter !== undefined) {
|
|
75017
|
+
localVarQueryParameter['filter'] = filter;
|
|
75018
|
+
}
|
|
75019
|
+
const consumes = [
|
|
75020
|
+
'application/vnd.gooddata.api+json',
|
|
75021
|
+
'application/json'
|
|
75022
|
+
];
|
|
75023
|
+
// use application/json if present, otherwise fallback to the first one
|
|
75024
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
75025
|
+
? 'application/json'
|
|
75026
|
+
: consumes[0];
|
|
75027
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
75028
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
75029
|
+
localVarRequestOptions.headers = {
|
|
75030
|
+
...localVarHeaderParameter,
|
|
75031
|
+
...headersFromBaseOptions,
|
|
75032
|
+
...options.headers,
|
|
75033
|
+
};
|
|
75034
|
+
const needsSerialization = typeof jsonApiReportPageLayoutPatchDocument !== "string" ||
|
|
75035
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
75036
|
+
localVarRequestOptions.data = needsSerialization
|
|
75037
|
+
? JSON.stringify(jsonApiReportPageLayoutPatchDocument !== undefined ? jsonApiReportPageLayoutPatchDocument : {})
|
|
75038
|
+
: jsonApiReportPageLayoutPatchDocument || "";
|
|
75039
|
+
return {
|
|
75040
|
+
url: toPathString(localVarUrlObj),
|
|
75041
|
+
options: localVarRequestOptions,
|
|
75042
|
+
};
|
|
75043
|
+
}
|
|
75044
|
+
// ReportPageLayoutControllerApi FP - ReportPageLayoutControllerApiAxiosParamCreator
|
|
75045
|
+
/**
|
|
75046
|
+
*
|
|
75047
|
+
* @summary Put a Report Page Layout
|
|
75048
|
+
* @param {string} workspaceId
|
|
75049
|
+
* @param {string} objectId
|
|
75050
|
+
* @param {JsonApiReportPageLayoutInDocument} jsonApiReportPageLayoutInDocument
|
|
75051
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
75052
|
+
* @param {*} [options] Override http request option.
|
|
75053
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75054
|
+
* @throws {RequiredError}
|
|
75055
|
+
*/
|
|
75056
|
+
export async function ReportPageLayoutControllerApiAxiosParamCreator_UpdateEntityReportPageLayouts(workspaceId, objectId, jsonApiReportPageLayoutInDocument, filter, options = {}, configuration) {
|
|
75057
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
75058
|
+
assertParamExists('updateEntityReportPageLayouts', 'workspaceId', workspaceId);
|
|
75059
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
75060
|
+
assertParamExists('updateEntityReportPageLayouts', 'objectId', objectId);
|
|
75061
|
+
// verify required parameter 'jsonApiReportPageLayoutInDocument' is not null or undefined
|
|
75062
|
+
assertParamExists('updateEntityReportPageLayouts', 'jsonApiReportPageLayoutInDocument', jsonApiReportPageLayoutInDocument);
|
|
75063
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/reportPageLayouts/{objectId}`
|
|
75064
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
75065
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
75066
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
75067
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75068
|
+
let baseOptions;
|
|
75069
|
+
if (configuration) {
|
|
75070
|
+
baseOptions = configuration.baseOptions;
|
|
75071
|
+
}
|
|
75072
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
75073
|
+
const localVarHeaderParameter = {};
|
|
75074
|
+
const localVarQueryParameter = {};
|
|
75075
|
+
if (filter !== undefined) {
|
|
75076
|
+
localVarQueryParameter['filter'] = filter;
|
|
75077
|
+
}
|
|
75078
|
+
const consumes = [
|
|
75079
|
+
'application/vnd.gooddata.api+json',
|
|
75080
|
+
'application/json'
|
|
75081
|
+
];
|
|
75082
|
+
// use application/json if present, otherwise fallback to the first one
|
|
75083
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
75084
|
+
? 'application/json'
|
|
75085
|
+
: consumes[0];
|
|
75086
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
75087
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
75088
|
+
localVarRequestOptions.headers = {
|
|
75089
|
+
...localVarHeaderParameter,
|
|
75090
|
+
...headersFromBaseOptions,
|
|
75091
|
+
...options.headers,
|
|
75092
|
+
};
|
|
75093
|
+
const needsSerialization = typeof jsonApiReportPageLayoutInDocument !== "string" ||
|
|
75094
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
75095
|
+
localVarRequestOptions.data = needsSerialization
|
|
75096
|
+
? JSON.stringify(jsonApiReportPageLayoutInDocument !== undefined ? jsonApiReportPageLayoutInDocument : {})
|
|
75097
|
+
: jsonApiReportPageLayoutInDocument || "";
|
|
75098
|
+
return {
|
|
75099
|
+
url: toPathString(localVarUrlObj),
|
|
75100
|
+
options: localVarRequestOptions,
|
|
75101
|
+
};
|
|
75102
|
+
}
|
|
75103
|
+
// ReportPageLayoutControllerApi Api FP
|
|
75104
|
+
/**
|
|
75105
|
+
*
|
|
75106
|
+
* @summary Post Report Page Layout
|
|
75107
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
75108
|
+
* @param {string} basePath Base path.
|
|
75109
|
+
* @param {ReportPageLayoutControllerApiCreateEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75110
|
+
* @param {*} [options] Override http request option.
|
|
75111
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75112
|
+
* @throws {RequiredError}
|
|
75113
|
+
*/
|
|
75114
|
+
export async function ReportPageLayoutControllerApi_CreateEntityReportPageLayouts(axios, basePath, requestParameters, options, configuration) {
|
|
75115
|
+
const localVarAxiosArgs = await ReportPageLayoutControllerApiAxiosParamCreator_CreateEntityReportPageLayouts(requestParameters.workspaceId, requestParameters.jsonApiReportPageLayoutPostOptionalIdDocument, requestParameters.metaInclude, options || {}, configuration);
|
|
75116
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
75117
|
+
}
|
|
75118
|
+
// ReportPageLayoutControllerApi Api FP
|
|
75119
|
+
/**
|
|
75120
|
+
*
|
|
75121
|
+
* @summary Delete a Report Page Layout
|
|
75122
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
75123
|
+
* @param {string} basePath Base path.
|
|
75124
|
+
* @param {ReportPageLayoutControllerApiDeleteEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75125
|
+
* @param {*} [options] Override http request option.
|
|
75126
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75127
|
+
* @throws {RequiredError}
|
|
75128
|
+
*/
|
|
75129
|
+
export async function ReportPageLayoutControllerApi_DeleteEntityReportPageLayouts(axios, basePath, requestParameters, options, configuration) {
|
|
75130
|
+
const localVarAxiosArgs = await ReportPageLayoutControllerApiAxiosParamCreator_DeleteEntityReportPageLayouts(requestParameters.workspaceId, requestParameters.objectId, options || {}, configuration);
|
|
75131
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
75132
|
+
}
|
|
75133
|
+
// ReportPageLayoutControllerApi Api FP
|
|
75134
|
+
/**
|
|
75135
|
+
*
|
|
75136
|
+
* @summary Get all Report Page Layouts
|
|
75137
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
75138
|
+
* @param {string} basePath Base path.
|
|
75139
|
+
* @param {ReportPageLayoutControllerApiGetAllEntitiesReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75140
|
+
* @param {*} [options] Override http request option.
|
|
75141
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75142
|
+
* @throws {RequiredError}
|
|
75143
|
+
*/
|
|
75144
|
+
export async function ReportPageLayoutControllerApi_GetAllEntitiesReportPageLayouts(axios, basePath, requestParameters, options, configuration) {
|
|
75145
|
+
const localVarAxiosArgs = await ReportPageLayoutControllerApiAxiosParamCreator_GetAllEntitiesReportPageLayouts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration);
|
|
75146
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
75147
|
+
}
|
|
75148
|
+
// ReportPageLayoutControllerApi Api FP
|
|
75149
|
+
/**
|
|
75150
|
+
*
|
|
75151
|
+
* @summary Get a Report Page Layout
|
|
75152
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
75153
|
+
* @param {string} basePath Base path.
|
|
75154
|
+
* @param {ReportPageLayoutControllerApiGetEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75155
|
+
* @param {*} [options] Override http request option.
|
|
75156
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75157
|
+
* @throws {RequiredError}
|
|
75158
|
+
*/
|
|
75159
|
+
export async function ReportPageLayoutControllerApi_GetEntityReportPageLayouts(axios, basePath, requestParameters, options, configuration) {
|
|
75160
|
+
const localVarAxiosArgs = await ReportPageLayoutControllerApiAxiosParamCreator_GetEntityReportPageLayouts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration);
|
|
75161
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
75162
|
+
}
|
|
75163
|
+
// ReportPageLayoutControllerApi Api FP
|
|
75164
|
+
/**
|
|
75165
|
+
*
|
|
75166
|
+
* @summary Patch a Report Page Layout
|
|
75167
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
75168
|
+
* @param {string} basePath Base path.
|
|
75169
|
+
* @param {ReportPageLayoutControllerApiPatchEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75170
|
+
* @param {*} [options] Override http request option.
|
|
75171
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75172
|
+
* @throws {RequiredError}
|
|
75173
|
+
*/
|
|
75174
|
+
export async function ReportPageLayoutControllerApi_PatchEntityReportPageLayouts(axios, basePath, requestParameters, options, configuration) {
|
|
75175
|
+
const localVarAxiosArgs = await ReportPageLayoutControllerApiAxiosParamCreator_PatchEntityReportPageLayouts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiReportPageLayoutPatchDocument, requestParameters.filter, options || {}, configuration);
|
|
75176
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
75177
|
+
}
|
|
75178
|
+
// ReportPageLayoutControllerApi Api FP
|
|
75179
|
+
/**
|
|
75180
|
+
*
|
|
75181
|
+
* @summary Put a Report Page Layout
|
|
75182
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
75183
|
+
* @param {string} basePath Base path.
|
|
75184
|
+
* @param {ReportPageLayoutControllerApiUpdateEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75185
|
+
* @param {*} [options] Override http request option.
|
|
75186
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75187
|
+
* @throws {RequiredError}
|
|
75188
|
+
*/
|
|
75189
|
+
export async function ReportPageLayoutControllerApi_UpdateEntityReportPageLayouts(axios, basePath, requestParameters, options, configuration) {
|
|
75190
|
+
const localVarAxiosArgs = await ReportPageLayoutControllerApiAxiosParamCreator_UpdateEntityReportPageLayouts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiReportPageLayoutInDocument, requestParameters.filter, options || {}, configuration);
|
|
75191
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
75192
|
+
}
|
|
75193
|
+
/**
|
|
75194
|
+
* ReportPageLayoutControllerApi - object-oriented interface
|
|
75195
|
+
* @export
|
|
75196
|
+
* @class ReportPageLayoutControllerApi
|
|
75197
|
+
* @extends {BaseAPI}
|
|
75198
|
+
*/
|
|
75199
|
+
export class ReportPageLayoutControllerApi extends BaseAPI {
|
|
75200
|
+
/**
|
|
75201
|
+
*
|
|
75202
|
+
* @summary Post Report Page Layout
|
|
75203
|
+
* @param {ReportPageLayoutControllerApiCreateEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75204
|
+
* @param {*} [options] Override http request option.
|
|
75205
|
+
* @throws {RequiredError}
|
|
75206
|
+
* @memberof ReportPageLayoutControllerApi
|
|
75207
|
+
*/
|
|
75208
|
+
createEntityReportPageLayouts(requestParameters, options) {
|
|
75209
|
+
return ReportPageLayoutControllerApi_CreateEntityReportPageLayouts(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
75210
|
+
}
|
|
75211
|
+
/**
|
|
75212
|
+
*
|
|
75213
|
+
* @summary Delete a Report Page Layout
|
|
75214
|
+
* @param {ReportPageLayoutControllerApiDeleteEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75215
|
+
* @param {*} [options] Override http request option.
|
|
75216
|
+
* @throws {RequiredError}
|
|
75217
|
+
* @memberof ReportPageLayoutControllerApi
|
|
75218
|
+
*/
|
|
75219
|
+
deleteEntityReportPageLayouts(requestParameters, options) {
|
|
75220
|
+
return ReportPageLayoutControllerApi_DeleteEntityReportPageLayouts(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
75221
|
+
}
|
|
75222
|
+
/**
|
|
75223
|
+
*
|
|
75224
|
+
* @summary Get all Report Page Layouts
|
|
75225
|
+
* @param {ReportPageLayoutControllerApiGetAllEntitiesReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75226
|
+
* @param {*} [options] Override http request option.
|
|
75227
|
+
* @throws {RequiredError}
|
|
75228
|
+
* @memberof ReportPageLayoutControllerApi
|
|
75229
|
+
*/
|
|
75230
|
+
getAllEntitiesReportPageLayouts(requestParameters, options) {
|
|
75231
|
+
return ReportPageLayoutControllerApi_GetAllEntitiesReportPageLayouts(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
75232
|
+
}
|
|
75233
|
+
/**
|
|
75234
|
+
*
|
|
75235
|
+
* @summary Get a Report Page Layout
|
|
75236
|
+
* @param {ReportPageLayoutControllerApiGetEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75237
|
+
* @param {*} [options] Override http request option.
|
|
75238
|
+
* @throws {RequiredError}
|
|
75239
|
+
* @memberof ReportPageLayoutControllerApi
|
|
75240
|
+
*/
|
|
75241
|
+
getEntityReportPageLayouts(requestParameters, options) {
|
|
75242
|
+
return ReportPageLayoutControllerApi_GetEntityReportPageLayouts(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
75243
|
+
}
|
|
75244
|
+
/**
|
|
75245
|
+
*
|
|
75246
|
+
* @summary Patch a Report Page Layout
|
|
75247
|
+
* @param {ReportPageLayoutControllerApiPatchEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75248
|
+
* @param {*} [options] Override http request option.
|
|
75249
|
+
* @throws {RequiredError}
|
|
75250
|
+
* @memberof ReportPageLayoutControllerApi
|
|
75251
|
+
*/
|
|
75252
|
+
patchEntityReportPageLayouts(requestParameters, options) {
|
|
75253
|
+
return ReportPageLayoutControllerApi_PatchEntityReportPageLayouts(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
75254
|
+
}
|
|
75255
|
+
/**
|
|
75256
|
+
*
|
|
75257
|
+
* @summary Put a Report Page Layout
|
|
75258
|
+
* @param {ReportPageLayoutControllerApiUpdateEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75259
|
+
* @param {*} [options] Override http request option.
|
|
75260
|
+
* @throws {RequiredError}
|
|
75261
|
+
* @memberof ReportPageLayoutControllerApi
|
|
75262
|
+
*/
|
|
75263
|
+
updateEntityReportPageLayouts(requestParameters, options) {
|
|
75264
|
+
return ReportPageLayoutControllerApi_UpdateEntityReportPageLayouts(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
75265
|
+
}
|
|
75266
|
+
}
|
|
74295
75267
|
// ReportingSettingsApi FP - ReportingSettingsApiAxiosParamCreator
|
|
74296
75268
|
/**
|
|
74297
75269
|
* Resolves values for all settings without workspace by current user, organization, or default settings.
|
|
@@ -74437,6 +75409,496 @@ export class ReportingSettingsApi extends BaseAPI {
|
|
|
74437
75409
|
return ReportingSettingsApi_ResolveSettingsWithoutWorkspace(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
74438
75410
|
}
|
|
74439
75411
|
}
|
|
75412
|
+
// ReportsApi FP - ReportsApiAxiosParamCreator
|
|
75413
|
+
/**
|
|
75414
|
+
*
|
|
75415
|
+
* @summary Post Report Page Layout
|
|
75416
|
+
* @param {string} workspaceId
|
|
75417
|
+
* @param {JsonApiReportPageLayoutPostOptionalIdDocument} jsonApiReportPageLayoutPostOptionalIdDocument
|
|
75418
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
75419
|
+
* @param {*} [options] Override http request option.
|
|
75420
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75421
|
+
* @throws {RequiredError}
|
|
75422
|
+
*/
|
|
75423
|
+
export async function ReportsApiAxiosParamCreator_CreateEntityReportPageLayouts(workspaceId, jsonApiReportPageLayoutPostOptionalIdDocument, metaInclude, options = {}, configuration) {
|
|
75424
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
75425
|
+
assertParamExists('createEntityReportPageLayouts', 'workspaceId', workspaceId);
|
|
75426
|
+
// verify required parameter 'jsonApiReportPageLayoutPostOptionalIdDocument' is not null or undefined
|
|
75427
|
+
assertParamExists('createEntityReportPageLayouts', 'jsonApiReportPageLayoutPostOptionalIdDocument', jsonApiReportPageLayoutPostOptionalIdDocument);
|
|
75428
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/reportPageLayouts`
|
|
75429
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
75430
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
75431
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75432
|
+
let baseOptions;
|
|
75433
|
+
if (configuration) {
|
|
75434
|
+
baseOptions = configuration.baseOptions;
|
|
75435
|
+
}
|
|
75436
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
75437
|
+
const localVarHeaderParameter = {};
|
|
75438
|
+
const localVarQueryParameter = {};
|
|
75439
|
+
if (metaInclude) {
|
|
75440
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
75441
|
+
}
|
|
75442
|
+
const consumes = [
|
|
75443
|
+
'application/vnd.gooddata.api+json',
|
|
75444
|
+
'application/json'
|
|
75445
|
+
];
|
|
75446
|
+
// use application/json if present, otherwise fallback to the first one
|
|
75447
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
75448
|
+
? 'application/json'
|
|
75449
|
+
: consumes[0];
|
|
75450
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
75451
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
75452
|
+
localVarRequestOptions.headers = {
|
|
75453
|
+
...localVarHeaderParameter,
|
|
75454
|
+
...headersFromBaseOptions,
|
|
75455
|
+
...options.headers,
|
|
75456
|
+
};
|
|
75457
|
+
const needsSerialization = typeof jsonApiReportPageLayoutPostOptionalIdDocument !== "string" ||
|
|
75458
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
75459
|
+
localVarRequestOptions.data = needsSerialization
|
|
75460
|
+
? JSON.stringify(jsonApiReportPageLayoutPostOptionalIdDocument !== undefined ? jsonApiReportPageLayoutPostOptionalIdDocument : {})
|
|
75461
|
+
: jsonApiReportPageLayoutPostOptionalIdDocument || "";
|
|
75462
|
+
return {
|
|
75463
|
+
url: toPathString(localVarUrlObj),
|
|
75464
|
+
options: localVarRequestOptions,
|
|
75465
|
+
};
|
|
75466
|
+
}
|
|
75467
|
+
// ReportsApi FP - ReportsApiAxiosParamCreator
|
|
75468
|
+
/**
|
|
75469
|
+
*
|
|
75470
|
+
* @summary Delete a Report Page Layout
|
|
75471
|
+
* @param {string} workspaceId
|
|
75472
|
+
* @param {string} objectId
|
|
75473
|
+
* @param {*} [options] Override http request option.
|
|
75474
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75475
|
+
* @throws {RequiredError}
|
|
75476
|
+
*/
|
|
75477
|
+
export async function ReportsApiAxiosParamCreator_DeleteEntityReportPageLayouts(workspaceId, objectId, options = {}, configuration) {
|
|
75478
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
75479
|
+
assertParamExists('deleteEntityReportPageLayouts', 'workspaceId', workspaceId);
|
|
75480
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
75481
|
+
assertParamExists('deleteEntityReportPageLayouts', 'objectId', objectId);
|
|
75482
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/reportPageLayouts/{objectId}`
|
|
75483
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
75484
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
75485
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
75486
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75487
|
+
let baseOptions;
|
|
75488
|
+
if (configuration) {
|
|
75489
|
+
baseOptions = configuration.baseOptions;
|
|
75490
|
+
}
|
|
75491
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
75492
|
+
const localVarHeaderParameter = {};
|
|
75493
|
+
const localVarQueryParameter = {};
|
|
75494
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
75495
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
75496
|
+
localVarRequestOptions.headers = {
|
|
75497
|
+
...localVarHeaderParameter,
|
|
75498
|
+
...headersFromBaseOptions,
|
|
75499
|
+
...options.headers,
|
|
75500
|
+
};
|
|
75501
|
+
return {
|
|
75502
|
+
url: toPathString(localVarUrlObj),
|
|
75503
|
+
options: localVarRequestOptions,
|
|
75504
|
+
};
|
|
75505
|
+
}
|
|
75506
|
+
// ReportsApi FP - ReportsApiAxiosParamCreator
|
|
75507
|
+
/**
|
|
75508
|
+
*
|
|
75509
|
+
* @summary Get all Report Page Layouts
|
|
75510
|
+
* @param {string} workspaceId
|
|
75511
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
75512
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
75513
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
75514
|
+
* @param {number} [size] The size of the page to be returned
|
|
75515
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
75516
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
75517
|
+
* @param {Array<'origin' | 'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
75518
|
+
* @param {*} [options] Override http request option.
|
|
75519
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75520
|
+
* @throws {RequiredError}
|
|
75521
|
+
*/
|
|
75522
|
+
export async function ReportsApiAxiosParamCreator_GetAllEntitiesReportPageLayouts(workspaceId, origin, filter, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}, configuration) {
|
|
75523
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
75524
|
+
assertParamExists('getAllEntitiesReportPageLayouts', 'workspaceId', workspaceId);
|
|
75525
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/reportPageLayouts`
|
|
75526
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
75527
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
75528
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75529
|
+
let baseOptions;
|
|
75530
|
+
if (configuration) {
|
|
75531
|
+
baseOptions = configuration.baseOptions;
|
|
75532
|
+
}
|
|
75533
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
75534
|
+
const localVarHeaderParameter = {};
|
|
75535
|
+
const localVarQueryParameter = {};
|
|
75536
|
+
if (origin !== undefined) {
|
|
75537
|
+
localVarQueryParameter['origin'] = origin;
|
|
75538
|
+
}
|
|
75539
|
+
if (filter !== undefined) {
|
|
75540
|
+
localVarQueryParameter['filter'] = filter;
|
|
75541
|
+
}
|
|
75542
|
+
if (page !== undefined) {
|
|
75543
|
+
localVarQueryParameter['page'] = page;
|
|
75544
|
+
}
|
|
75545
|
+
if (size !== undefined) {
|
|
75546
|
+
localVarQueryParameter['size'] = size;
|
|
75547
|
+
}
|
|
75548
|
+
if (sort) {
|
|
75549
|
+
localVarQueryParameter['sort'] = sort;
|
|
75550
|
+
}
|
|
75551
|
+
if (metaInclude) {
|
|
75552
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
75553
|
+
}
|
|
75554
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
75555
|
+
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
75556
|
+
}
|
|
75557
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
75558
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
75559
|
+
localVarRequestOptions.headers = {
|
|
75560
|
+
...localVarHeaderParameter,
|
|
75561
|
+
...headersFromBaseOptions,
|
|
75562
|
+
...options.headers,
|
|
75563
|
+
};
|
|
75564
|
+
return {
|
|
75565
|
+
url: toPathString(localVarUrlObj),
|
|
75566
|
+
options: localVarRequestOptions,
|
|
75567
|
+
};
|
|
75568
|
+
}
|
|
75569
|
+
// ReportsApi FP - ReportsApiAxiosParamCreator
|
|
75570
|
+
/**
|
|
75571
|
+
*
|
|
75572
|
+
* @summary Get a Report Page Layout
|
|
75573
|
+
* @param {string} workspaceId
|
|
75574
|
+
* @param {string} objectId
|
|
75575
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
75576
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
75577
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
75578
|
+
* @param {*} [options] Override http request option.
|
|
75579
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75580
|
+
* @throws {RequiredError}
|
|
75581
|
+
*/
|
|
75582
|
+
export async function ReportsApiAxiosParamCreator_GetEntityReportPageLayouts(workspaceId, objectId, filter, xGDCVALIDATERELATIONS, metaInclude, options = {}, configuration) {
|
|
75583
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
75584
|
+
assertParamExists('getEntityReportPageLayouts', 'workspaceId', workspaceId);
|
|
75585
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
75586
|
+
assertParamExists('getEntityReportPageLayouts', 'objectId', objectId);
|
|
75587
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/reportPageLayouts/{objectId}`
|
|
75588
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
75589
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
75590
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
75591
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75592
|
+
let baseOptions;
|
|
75593
|
+
if (configuration) {
|
|
75594
|
+
baseOptions = configuration.baseOptions;
|
|
75595
|
+
}
|
|
75596
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
75597
|
+
const localVarHeaderParameter = {};
|
|
75598
|
+
const localVarQueryParameter = {};
|
|
75599
|
+
if (filter !== undefined) {
|
|
75600
|
+
localVarQueryParameter['filter'] = filter;
|
|
75601
|
+
}
|
|
75602
|
+
if (metaInclude) {
|
|
75603
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
75604
|
+
}
|
|
75605
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
75606
|
+
localVarHeaderParameter['X-GDC-VALIDATE-RELATIONS'] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
75607
|
+
}
|
|
75608
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
75609
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
75610
|
+
localVarRequestOptions.headers = {
|
|
75611
|
+
...localVarHeaderParameter,
|
|
75612
|
+
...headersFromBaseOptions,
|
|
75613
|
+
...options.headers,
|
|
75614
|
+
};
|
|
75615
|
+
return {
|
|
75616
|
+
url: toPathString(localVarUrlObj),
|
|
75617
|
+
options: localVarRequestOptions,
|
|
75618
|
+
};
|
|
75619
|
+
}
|
|
75620
|
+
// ReportsApi FP - ReportsApiAxiosParamCreator
|
|
75621
|
+
/**
|
|
75622
|
+
*
|
|
75623
|
+
* @summary Patch a Report Page Layout
|
|
75624
|
+
* @param {string} workspaceId
|
|
75625
|
+
* @param {string} objectId
|
|
75626
|
+
* @param {JsonApiReportPageLayoutPatchDocument} jsonApiReportPageLayoutPatchDocument
|
|
75627
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
75628
|
+
* @param {*} [options] Override http request option.
|
|
75629
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75630
|
+
* @throws {RequiredError}
|
|
75631
|
+
*/
|
|
75632
|
+
export async function ReportsApiAxiosParamCreator_PatchEntityReportPageLayouts(workspaceId, objectId, jsonApiReportPageLayoutPatchDocument, filter, options = {}, configuration) {
|
|
75633
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
75634
|
+
assertParamExists('patchEntityReportPageLayouts', 'workspaceId', workspaceId);
|
|
75635
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
75636
|
+
assertParamExists('patchEntityReportPageLayouts', 'objectId', objectId);
|
|
75637
|
+
// verify required parameter 'jsonApiReportPageLayoutPatchDocument' is not null or undefined
|
|
75638
|
+
assertParamExists('patchEntityReportPageLayouts', 'jsonApiReportPageLayoutPatchDocument', jsonApiReportPageLayoutPatchDocument);
|
|
75639
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/reportPageLayouts/{objectId}`
|
|
75640
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
75641
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
75642
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
75643
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75644
|
+
let baseOptions;
|
|
75645
|
+
if (configuration) {
|
|
75646
|
+
baseOptions = configuration.baseOptions;
|
|
75647
|
+
}
|
|
75648
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
75649
|
+
const localVarHeaderParameter = {};
|
|
75650
|
+
const localVarQueryParameter = {};
|
|
75651
|
+
if (filter !== undefined) {
|
|
75652
|
+
localVarQueryParameter['filter'] = filter;
|
|
75653
|
+
}
|
|
75654
|
+
const consumes = [
|
|
75655
|
+
'application/vnd.gooddata.api+json',
|
|
75656
|
+
'application/json'
|
|
75657
|
+
];
|
|
75658
|
+
// use application/json if present, otherwise fallback to the first one
|
|
75659
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
75660
|
+
? 'application/json'
|
|
75661
|
+
: consumes[0];
|
|
75662
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
75663
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
75664
|
+
localVarRequestOptions.headers = {
|
|
75665
|
+
...localVarHeaderParameter,
|
|
75666
|
+
...headersFromBaseOptions,
|
|
75667
|
+
...options.headers,
|
|
75668
|
+
};
|
|
75669
|
+
const needsSerialization = typeof jsonApiReportPageLayoutPatchDocument !== "string" ||
|
|
75670
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
75671
|
+
localVarRequestOptions.data = needsSerialization
|
|
75672
|
+
? JSON.stringify(jsonApiReportPageLayoutPatchDocument !== undefined ? jsonApiReportPageLayoutPatchDocument : {})
|
|
75673
|
+
: jsonApiReportPageLayoutPatchDocument || "";
|
|
75674
|
+
return {
|
|
75675
|
+
url: toPathString(localVarUrlObj),
|
|
75676
|
+
options: localVarRequestOptions,
|
|
75677
|
+
};
|
|
75678
|
+
}
|
|
75679
|
+
// ReportsApi FP - ReportsApiAxiosParamCreator
|
|
75680
|
+
/**
|
|
75681
|
+
*
|
|
75682
|
+
* @summary Put a Report Page Layout
|
|
75683
|
+
* @param {string} workspaceId
|
|
75684
|
+
* @param {string} objectId
|
|
75685
|
+
* @param {JsonApiReportPageLayoutInDocument} jsonApiReportPageLayoutInDocument
|
|
75686
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
75687
|
+
* @param {*} [options] Override http request option.
|
|
75688
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75689
|
+
* @throws {RequiredError}
|
|
75690
|
+
*/
|
|
75691
|
+
export async function ReportsApiAxiosParamCreator_UpdateEntityReportPageLayouts(workspaceId, objectId, jsonApiReportPageLayoutInDocument, filter, options = {}, configuration) {
|
|
75692
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
75693
|
+
assertParamExists('updateEntityReportPageLayouts', 'workspaceId', workspaceId);
|
|
75694
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
75695
|
+
assertParamExists('updateEntityReportPageLayouts', 'objectId', objectId);
|
|
75696
|
+
// verify required parameter 'jsonApiReportPageLayoutInDocument' is not null or undefined
|
|
75697
|
+
assertParamExists('updateEntityReportPageLayouts', 'jsonApiReportPageLayoutInDocument', jsonApiReportPageLayoutInDocument);
|
|
75698
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/reportPageLayouts/{objectId}`
|
|
75699
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
75700
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
75701
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
75702
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75703
|
+
let baseOptions;
|
|
75704
|
+
if (configuration) {
|
|
75705
|
+
baseOptions = configuration.baseOptions;
|
|
75706
|
+
}
|
|
75707
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
75708
|
+
const localVarHeaderParameter = {};
|
|
75709
|
+
const localVarQueryParameter = {};
|
|
75710
|
+
if (filter !== undefined) {
|
|
75711
|
+
localVarQueryParameter['filter'] = filter;
|
|
75712
|
+
}
|
|
75713
|
+
const consumes = [
|
|
75714
|
+
'application/vnd.gooddata.api+json',
|
|
75715
|
+
'application/json'
|
|
75716
|
+
];
|
|
75717
|
+
// use application/json if present, otherwise fallback to the first one
|
|
75718
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
75719
|
+
? 'application/json'
|
|
75720
|
+
: consumes[0];
|
|
75721
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
75722
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
75723
|
+
localVarRequestOptions.headers = {
|
|
75724
|
+
...localVarHeaderParameter,
|
|
75725
|
+
...headersFromBaseOptions,
|
|
75726
|
+
...options.headers,
|
|
75727
|
+
};
|
|
75728
|
+
const needsSerialization = typeof jsonApiReportPageLayoutInDocument !== "string" ||
|
|
75729
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
75730
|
+
localVarRequestOptions.data = needsSerialization
|
|
75731
|
+
? JSON.stringify(jsonApiReportPageLayoutInDocument !== undefined ? jsonApiReportPageLayoutInDocument : {})
|
|
75732
|
+
: jsonApiReportPageLayoutInDocument || "";
|
|
75733
|
+
return {
|
|
75734
|
+
url: toPathString(localVarUrlObj),
|
|
75735
|
+
options: localVarRequestOptions,
|
|
75736
|
+
};
|
|
75737
|
+
}
|
|
75738
|
+
// ReportsApi Api FP
|
|
75739
|
+
/**
|
|
75740
|
+
*
|
|
75741
|
+
* @summary Post Report Page Layout
|
|
75742
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
75743
|
+
* @param {string} basePath Base path.
|
|
75744
|
+
* @param {ReportsApiCreateEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75745
|
+
* @param {*} [options] Override http request option.
|
|
75746
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75747
|
+
* @throws {RequiredError}
|
|
75748
|
+
*/
|
|
75749
|
+
export async function ReportsApi_CreateEntityReportPageLayouts(axios, basePath, requestParameters, options, configuration) {
|
|
75750
|
+
const localVarAxiosArgs = await ReportsApiAxiosParamCreator_CreateEntityReportPageLayouts(requestParameters.workspaceId, requestParameters.jsonApiReportPageLayoutPostOptionalIdDocument, requestParameters.metaInclude, options || {}, configuration);
|
|
75751
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
75752
|
+
}
|
|
75753
|
+
// ReportsApi Api FP
|
|
75754
|
+
/**
|
|
75755
|
+
*
|
|
75756
|
+
* @summary Delete a Report Page Layout
|
|
75757
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
75758
|
+
* @param {string} basePath Base path.
|
|
75759
|
+
* @param {ReportsApiDeleteEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75760
|
+
* @param {*} [options] Override http request option.
|
|
75761
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75762
|
+
* @throws {RequiredError}
|
|
75763
|
+
*/
|
|
75764
|
+
export async function ReportsApi_DeleteEntityReportPageLayouts(axios, basePath, requestParameters, options, configuration) {
|
|
75765
|
+
const localVarAxiosArgs = await ReportsApiAxiosParamCreator_DeleteEntityReportPageLayouts(requestParameters.workspaceId, requestParameters.objectId, options || {}, configuration);
|
|
75766
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
75767
|
+
}
|
|
75768
|
+
// ReportsApi Api FP
|
|
75769
|
+
/**
|
|
75770
|
+
*
|
|
75771
|
+
* @summary Get all Report Page Layouts
|
|
75772
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
75773
|
+
* @param {string} basePath Base path.
|
|
75774
|
+
* @param {ReportsApiGetAllEntitiesReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75775
|
+
* @param {*} [options] Override http request option.
|
|
75776
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75777
|
+
* @throws {RequiredError}
|
|
75778
|
+
*/
|
|
75779
|
+
export async function ReportsApi_GetAllEntitiesReportPageLayouts(axios, basePath, requestParameters, options, configuration) {
|
|
75780
|
+
const localVarAxiosArgs = await ReportsApiAxiosParamCreator_GetAllEntitiesReportPageLayouts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration);
|
|
75781
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
75782
|
+
}
|
|
75783
|
+
// ReportsApi Api FP
|
|
75784
|
+
/**
|
|
75785
|
+
*
|
|
75786
|
+
* @summary Get a Report Page Layout
|
|
75787
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
75788
|
+
* @param {string} basePath Base path.
|
|
75789
|
+
* @param {ReportsApiGetEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75790
|
+
* @param {*} [options] Override http request option.
|
|
75791
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75792
|
+
* @throws {RequiredError}
|
|
75793
|
+
*/
|
|
75794
|
+
export async function ReportsApi_GetEntityReportPageLayouts(axios, basePath, requestParameters, options, configuration) {
|
|
75795
|
+
const localVarAxiosArgs = await ReportsApiAxiosParamCreator_GetEntityReportPageLayouts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration);
|
|
75796
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
75797
|
+
}
|
|
75798
|
+
// ReportsApi Api FP
|
|
75799
|
+
/**
|
|
75800
|
+
*
|
|
75801
|
+
* @summary Patch a Report Page Layout
|
|
75802
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
75803
|
+
* @param {string} basePath Base path.
|
|
75804
|
+
* @param {ReportsApiPatchEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75805
|
+
* @param {*} [options] Override http request option.
|
|
75806
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75807
|
+
* @throws {RequiredError}
|
|
75808
|
+
*/
|
|
75809
|
+
export async function ReportsApi_PatchEntityReportPageLayouts(axios, basePath, requestParameters, options, configuration) {
|
|
75810
|
+
const localVarAxiosArgs = await ReportsApiAxiosParamCreator_PatchEntityReportPageLayouts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiReportPageLayoutPatchDocument, requestParameters.filter, options || {}, configuration);
|
|
75811
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
75812
|
+
}
|
|
75813
|
+
// ReportsApi Api FP
|
|
75814
|
+
/**
|
|
75815
|
+
*
|
|
75816
|
+
* @summary Put a Report Page Layout
|
|
75817
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
75818
|
+
* @param {string} basePath Base path.
|
|
75819
|
+
* @param {ReportsApiUpdateEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75820
|
+
* @param {*} [options] Override http request option.
|
|
75821
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
75822
|
+
* @throws {RequiredError}
|
|
75823
|
+
*/
|
|
75824
|
+
export async function ReportsApi_UpdateEntityReportPageLayouts(axios, basePath, requestParameters, options, configuration) {
|
|
75825
|
+
const localVarAxiosArgs = await ReportsApiAxiosParamCreator_UpdateEntityReportPageLayouts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiReportPageLayoutInDocument, requestParameters.filter, options || {}, configuration);
|
|
75826
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
75827
|
+
}
|
|
75828
|
+
/**
|
|
75829
|
+
* ReportsApi - object-oriented interface
|
|
75830
|
+
* @export
|
|
75831
|
+
* @class ReportsApi
|
|
75832
|
+
* @extends {BaseAPI}
|
|
75833
|
+
*/
|
|
75834
|
+
export class ReportsApi extends BaseAPI {
|
|
75835
|
+
/**
|
|
75836
|
+
*
|
|
75837
|
+
* @summary Post Report Page Layout
|
|
75838
|
+
* @param {ReportsApiCreateEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75839
|
+
* @param {*} [options] Override http request option.
|
|
75840
|
+
* @throws {RequiredError}
|
|
75841
|
+
* @memberof ReportsApi
|
|
75842
|
+
*/
|
|
75843
|
+
createEntityReportPageLayouts(requestParameters, options) {
|
|
75844
|
+
return ReportsApi_CreateEntityReportPageLayouts(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
75845
|
+
}
|
|
75846
|
+
/**
|
|
75847
|
+
*
|
|
75848
|
+
* @summary Delete a Report Page Layout
|
|
75849
|
+
* @param {ReportsApiDeleteEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75850
|
+
* @param {*} [options] Override http request option.
|
|
75851
|
+
* @throws {RequiredError}
|
|
75852
|
+
* @memberof ReportsApi
|
|
75853
|
+
*/
|
|
75854
|
+
deleteEntityReportPageLayouts(requestParameters, options) {
|
|
75855
|
+
return ReportsApi_DeleteEntityReportPageLayouts(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
75856
|
+
}
|
|
75857
|
+
/**
|
|
75858
|
+
*
|
|
75859
|
+
* @summary Get all Report Page Layouts
|
|
75860
|
+
* @param {ReportsApiGetAllEntitiesReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75861
|
+
* @param {*} [options] Override http request option.
|
|
75862
|
+
* @throws {RequiredError}
|
|
75863
|
+
* @memberof ReportsApi
|
|
75864
|
+
*/
|
|
75865
|
+
getAllEntitiesReportPageLayouts(requestParameters, options) {
|
|
75866
|
+
return ReportsApi_GetAllEntitiesReportPageLayouts(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
75867
|
+
}
|
|
75868
|
+
/**
|
|
75869
|
+
*
|
|
75870
|
+
* @summary Get a Report Page Layout
|
|
75871
|
+
* @param {ReportsApiGetEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75872
|
+
* @param {*} [options] Override http request option.
|
|
75873
|
+
* @throws {RequiredError}
|
|
75874
|
+
* @memberof ReportsApi
|
|
75875
|
+
*/
|
|
75876
|
+
getEntityReportPageLayouts(requestParameters, options) {
|
|
75877
|
+
return ReportsApi_GetEntityReportPageLayouts(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
75878
|
+
}
|
|
75879
|
+
/**
|
|
75880
|
+
*
|
|
75881
|
+
* @summary Patch a Report Page Layout
|
|
75882
|
+
* @param {ReportsApiPatchEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75883
|
+
* @param {*} [options] Override http request option.
|
|
75884
|
+
* @throws {RequiredError}
|
|
75885
|
+
* @memberof ReportsApi
|
|
75886
|
+
*/
|
|
75887
|
+
patchEntityReportPageLayouts(requestParameters, options) {
|
|
75888
|
+
return ReportsApi_PatchEntityReportPageLayouts(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
75889
|
+
}
|
|
75890
|
+
/**
|
|
75891
|
+
*
|
|
75892
|
+
* @summary Put a Report Page Layout
|
|
75893
|
+
* @param {ReportsApiUpdateEntityReportPageLayoutsRequest} requestParameters Request parameters.
|
|
75894
|
+
* @param {*} [options] Override http request option.
|
|
75895
|
+
* @throws {RequiredError}
|
|
75896
|
+
* @memberof ReportsApi
|
|
75897
|
+
*/
|
|
75898
|
+
updateEntityReportPageLayouts(requestParameters, options) {
|
|
75899
|
+
return ReportsApi_UpdateEntityReportPageLayouts(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
75900
|
+
}
|
|
75901
|
+
}
|
|
74440
75902
|
// SmartFunctionsApi FP - SmartFunctionsApiAxiosParamCreator
|
|
74441
75903
|
/**
|
|
74442
75904
|
* Returns a list of Users who created any object for this workspace
|