@gooddata/api-client-tiger 10.11.0-alpha.2 → 10.11.0-alpha.21
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.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/__version.js.map +1 -1
- package/esm/api-client-tiger.d.ts +3310 -794
- package/esm/client.d.ts +2 -1
- package/esm/client.d.ts.map +1 -1
- package/esm/client.js.map +1 -1
- package/esm/entitiesObjects.d.ts +2 -1
- package/esm/entitiesObjects.d.ts.map +1 -1
- package/esm/entitiesObjects.js +1 -1
- package/esm/entitiesObjects.js.map +1 -1
- package/esm/export.d.ts +2 -1
- package/esm/export.d.ts.map +1 -1
- package/esm/export.js +1 -1
- package/esm/export.js.map +1 -1
- package/esm/generated/afm-rest-api/api.d.ts +482 -186
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +170 -138
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/afm-rest-api/openapi-spec.json +367 -187
- package/esm/generated/metadata-json-api/api.d.ts +2862 -646
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +2361 -358
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +9337 -8391
- package/esm/index.d.ts +15 -8
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +4 -4
- package/esm/index.js.map +1 -1
- package/esm/labelElements.d.ts +2 -1
- package/esm/labelElements.d.ts.map +1 -1
- package/esm/labelElements.js +1 -1
- package/esm/labelElements.js.map +1 -1
- package/esm/result.d.ts +1 -1
- package/esm/result.d.ts.map +1 -1
- package/esm/scanModel.d.ts +2 -1
- package/esm/scanModel.d.ts.map +1 -1
- package/esm/scanModel.js +2 -2
- package/esm/scanModel.js.map +1 -1
- package/package.json +3 -3
|
@@ -297,6 +297,8 @@ export const DeclarativeSingleWorkspacePermissionNameEnum = {
|
|
|
297
297
|
EXPORT: "EXPORT",
|
|
298
298
|
EXPORT_TABULAR: "EXPORT_TABULAR",
|
|
299
299
|
EXPORT_PDF: "EXPORT_PDF",
|
|
300
|
+
CREATE_AUTOMATION: "CREATE_AUTOMATION",
|
|
301
|
+
CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
|
|
300
302
|
VIEW: "VIEW",
|
|
301
303
|
};
|
|
302
304
|
export const DeclarativeUserGroupIdentifierTypeEnum = {
|
|
@@ -335,6 +337,8 @@ export const DeclarativeWorkspaceHierarchyPermissionNameEnum = {
|
|
|
335
337
|
EXPORT: "EXPORT",
|
|
336
338
|
EXPORT_TABULAR: "EXPORT_TABULAR",
|
|
337
339
|
EXPORT_PDF: "EXPORT_PDF",
|
|
340
|
+
CREATE_AUTOMATION: "CREATE_AUTOMATION",
|
|
341
|
+
CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
|
|
338
342
|
VIEW: "VIEW",
|
|
339
343
|
};
|
|
340
344
|
export const DefaultSmtpTypeEnum = {
|
|
@@ -634,10 +638,6 @@ export const JsonApiDataSourceIdentifierOutAttributesTypeEnum = {
|
|
|
634
638
|
MOTHERDUCK: "MOTHERDUCK",
|
|
635
639
|
FLIGHTRPC: "FLIGHTRPC",
|
|
636
640
|
};
|
|
637
|
-
export const JsonApiDataSourceIdentifierOutMetaPermissionsEnum = {
|
|
638
|
-
MANAGE: "MANAGE",
|
|
639
|
-
USE: "USE",
|
|
640
|
-
};
|
|
641
641
|
export const JsonApiDataSourceIdentifierOutWithLinksTypeEnum = {
|
|
642
642
|
DATA_SOURCE_IDENTIFIER: "dataSourceIdentifier",
|
|
643
643
|
};
|
|
@@ -710,6 +710,10 @@ export const JsonApiDataSourceOutAttributesAuthenticationTypeEnum = {
|
|
|
710
710
|
TOKEN: "TOKEN",
|
|
711
711
|
KEY_PAIR: "KEY_PAIR",
|
|
712
712
|
};
|
|
713
|
+
export const JsonApiDataSourceOutMetaPermissionsEnum = {
|
|
714
|
+
MANAGE: "MANAGE",
|
|
715
|
+
USE: "USE",
|
|
716
|
+
};
|
|
713
717
|
export const JsonApiDataSourceOutWithLinksTypeEnum = {
|
|
714
718
|
DATA_SOURCE: "dataSource",
|
|
715
719
|
};
|
|
@@ -849,6 +853,18 @@ export const JsonApiFilterContextPatchTypeEnum = {
|
|
|
849
853
|
export const JsonApiFilterContextPostOptionalIdTypeEnum = {
|
|
850
854
|
FILTER_CONTEXT: "filterContext",
|
|
851
855
|
};
|
|
856
|
+
export const JsonApiFilterViewInTypeEnum = {
|
|
857
|
+
FILTER_VIEW: "filterView",
|
|
858
|
+
};
|
|
859
|
+
export const JsonApiFilterViewOutTypeEnum = {
|
|
860
|
+
FILTER_VIEW: "filterView",
|
|
861
|
+
};
|
|
862
|
+
export const JsonApiFilterViewOutWithLinksTypeEnum = {
|
|
863
|
+
FILTER_VIEW: "filterView",
|
|
864
|
+
};
|
|
865
|
+
export const JsonApiFilterViewPatchTypeEnum = {
|
|
866
|
+
FILTER_VIEW: "filterView",
|
|
867
|
+
};
|
|
852
868
|
export const JsonApiIdentityProviderInTypeEnum = {
|
|
853
869
|
IDENTITY_PROVIDER: "identityProvider",
|
|
854
870
|
};
|
|
@@ -955,21 +971,21 @@ export const JsonApiNotificationChannelLinkageTypeEnum = {
|
|
|
955
971
|
export const JsonApiNotificationChannelOutTypeEnum = {
|
|
956
972
|
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
957
973
|
};
|
|
958
|
-
export const
|
|
974
|
+
export const JsonApiNotificationChannelOutWithLinksTypeEnum = {
|
|
975
|
+
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
976
|
+
};
|
|
977
|
+
export const JsonApiNotificationChannelPatchTypeEnum = {
|
|
978
|
+
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
979
|
+
};
|
|
980
|
+
export const JsonApiNotificationChannelPatchAttributesDestinationTypeEnum = {
|
|
959
981
|
WEBHOOK: "WEBHOOK",
|
|
960
982
|
SMTP: "SMTP",
|
|
961
983
|
DEFAULT_SMTP: "DEFAULT_SMTP",
|
|
962
984
|
};
|
|
963
|
-
export const
|
|
985
|
+
export const JsonApiNotificationChannelPatchAttributesTriggersTypeEnum = {
|
|
964
986
|
SCHEDULE: "SCHEDULE",
|
|
965
987
|
ALERT: "ALERT",
|
|
966
988
|
};
|
|
967
|
-
export const JsonApiNotificationChannelOutWithLinksTypeEnum = {
|
|
968
|
-
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
969
|
-
};
|
|
970
|
-
export const JsonApiNotificationChannelPatchTypeEnum = {
|
|
971
|
-
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
972
|
-
};
|
|
973
989
|
export const JsonApiNotificationChannelPostOptionalIdTypeEnum = {
|
|
974
990
|
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
975
991
|
};
|
|
@@ -1002,6 +1018,23 @@ export const JsonApiOrganizationSettingOutWithLinksTypeEnum = {
|
|
|
1002
1018
|
export const JsonApiOrganizationSettingPatchTypeEnum = {
|
|
1003
1019
|
ORGANIZATION_SETTING: "organizationSetting",
|
|
1004
1020
|
};
|
|
1021
|
+
export const JsonApiOrganizationSettingPatchAttributesTypeEnum = {
|
|
1022
|
+
TIMEZONE: "TIMEZONE",
|
|
1023
|
+
ACTIVE_THEME: "ACTIVE_THEME",
|
|
1024
|
+
ACTIVE_COLOR_PALETTE: "ACTIVE_COLOR_PALETTE",
|
|
1025
|
+
WHITE_LABELING: "WHITE_LABELING",
|
|
1026
|
+
LOCALE: "LOCALE",
|
|
1027
|
+
METADATA_LOCALE: "METADATA_LOCALE",
|
|
1028
|
+
FORMAT_LOCALE: "FORMAT_LOCALE",
|
|
1029
|
+
MAPBOX_TOKEN: "MAPBOX_TOKEN",
|
|
1030
|
+
WEEK_START: "WEEK_START",
|
|
1031
|
+
SHOW_HIDDEN_CATALOG_ITEMS: "SHOW_HIDDEN_CATALOG_ITEMS",
|
|
1032
|
+
OPERATOR_OVERRIDES: "OPERATOR_OVERRIDES",
|
|
1033
|
+
TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
|
|
1034
|
+
OPENAI_CONFIG: "OPENAI_CONFIG",
|
|
1035
|
+
ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
|
|
1036
|
+
ALERT: "ALERT",
|
|
1037
|
+
};
|
|
1005
1038
|
export const JsonApiThemeInTypeEnum = {
|
|
1006
1039
|
THEME: "theme",
|
|
1007
1040
|
};
|
|
@@ -1140,6 +1173,8 @@ export const JsonApiWorkspaceOutMetaPermissionsEnum = {
|
|
|
1140
1173
|
EXPORT: "EXPORT",
|
|
1141
1174
|
EXPORT_TABULAR: "EXPORT_TABULAR",
|
|
1142
1175
|
EXPORT_PDF: "EXPORT_PDF",
|
|
1176
|
+
CREATE_AUTOMATION: "CREATE_AUTOMATION",
|
|
1177
|
+
CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
|
|
1143
1178
|
VIEW: "VIEW",
|
|
1144
1179
|
};
|
|
1145
1180
|
export const JsonApiWorkspaceOutWithLinksTypeEnum = {
|
|
@@ -1151,23 +1186,6 @@ export const JsonApiWorkspacePatchTypeEnum = {
|
|
|
1151
1186
|
export const JsonApiWorkspaceSettingInTypeEnum = {
|
|
1152
1187
|
WORKSPACE_SETTING: "workspaceSetting",
|
|
1153
1188
|
};
|
|
1154
|
-
export const JsonApiWorkspaceSettingInAttributesTypeEnum = {
|
|
1155
|
-
TIMEZONE: "TIMEZONE",
|
|
1156
|
-
ACTIVE_THEME: "ACTIVE_THEME",
|
|
1157
|
-
ACTIVE_COLOR_PALETTE: "ACTIVE_COLOR_PALETTE",
|
|
1158
|
-
WHITE_LABELING: "WHITE_LABELING",
|
|
1159
|
-
LOCALE: "LOCALE",
|
|
1160
|
-
METADATA_LOCALE: "METADATA_LOCALE",
|
|
1161
|
-
FORMAT_LOCALE: "FORMAT_LOCALE",
|
|
1162
|
-
MAPBOX_TOKEN: "MAPBOX_TOKEN",
|
|
1163
|
-
WEEK_START: "WEEK_START",
|
|
1164
|
-
SHOW_HIDDEN_CATALOG_ITEMS: "SHOW_HIDDEN_CATALOG_ITEMS",
|
|
1165
|
-
OPERATOR_OVERRIDES: "OPERATOR_OVERRIDES",
|
|
1166
|
-
TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
|
|
1167
|
-
OPENAI_CONFIG: "OPENAI_CONFIG",
|
|
1168
|
-
ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
|
|
1169
|
-
ALERT: "ALERT",
|
|
1170
|
-
};
|
|
1171
1189
|
export const JsonApiWorkspaceSettingOutTypeEnum = {
|
|
1172
1190
|
WORKSPACE_SETTING: "workspaceSetting",
|
|
1173
1191
|
};
|
|
@@ -1358,6 +1376,8 @@ export const UserManagementWorkspacePermissionAssignmentPermissionsEnum = {
|
|
|
1358
1376
|
EXPORT: "EXPORT",
|
|
1359
1377
|
EXPORT_TABULAR: "EXPORT_TABULAR",
|
|
1360
1378
|
EXPORT_PDF: "EXPORT_PDF",
|
|
1379
|
+
CREATE_AUTOMATION: "CREATE_AUTOMATION",
|
|
1380
|
+
CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
|
|
1361
1381
|
VIEW: "VIEW",
|
|
1362
1382
|
};
|
|
1363
1383
|
export const UserManagementWorkspacePermissionAssignmentHierarchyPermissionsEnum = {
|
|
@@ -1366,6 +1386,8 @@ export const UserManagementWorkspacePermissionAssignmentHierarchyPermissionsEnum
|
|
|
1366
1386
|
EXPORT: "EXPORT",
|
|
1367
1387
|
EXPORT_TABULAR: "EXPORT_TABULAR",
|
|
1368
1388
|
EXPORT_PDF: "EXPORT_PDF",
|
|
1389
|
+
CREATE_AUTOMATION: "CREATE_AUTOMATION",
|
|
1390
|
+
CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
|
|
1369
1391
|
VIEW: "VIEW",
|
|
1370
1392
|
};
|
|
1371
1393
|
export const WebhookTypeEnum = {
|
|
@@ -1383,6 +1405,8 @@ export const WorkspacePermissionAssignmentPermissionsEnum = {
|
|
|
1383
1405
|
EXPORT: "EXPORT",
|
|
1384
1406
|
EXPORT_TABULAR: "EXPORT_TABULAR",
|
|
1385
1407
|
EXPORT_PDF: "EXPORT_PDF",
|
|
1408
|
+
CREATE_AUTOMATION: "CREATE_AUTOMATION",
|
|
1409
|
+
CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
|
|
1386
1410
|
VIEW: "VIEW",
|
|
1387
1411
|
};
|
|
1388
1412
|
export const WorkspacePermissionAssignmentHierarchyPermissionsEnum = {
|
|
@@ -1391,6 +1415,8 @@ export const WorkspacePermissionAssignmentHierarchyPermissionsEnum = {
|
|
|
1391
1415
|
EXPORT: "EXPORT",
|
|
1392
1416
|
EXPORT_TABULAR: "EXPORT_TABULAR",
|
|
1393
1417
|
EXPORT_PDF: "EXPORT_PDF",
|
|
1418
|
+
CREATE_AUTOMATION: "CREATE_AUTOMATION",
|
|
1419
|
+
CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
|
|
1394
1420
|
VIEW: "VIEW",
|
|
1395
1421
|
};
|
|
1396
1422
|
/**
|
|
@@ -6290,6 +6316,42 @@ export const AutomationsApiAxiosParamCreator = function (configuration) {
|
|
|
6290
6316
|
options: localVarRequestOptions,
|
|
6291
6317
|
};
|
|
6292
6318
|
},
|
|
6319
|
+
/**
|
|
6320
|
+
* Retrieve automations for the specific workspace
|
|
6321
|
+
* @summary Get automations
|
|
6322
|
+
* @param {string} workspaceId
|
|
6323
|
+
* @param {Array<'ACTIVITY_INFO'>} [exclude]
|
|
6324
|
+
* @param {*} [options] Override http request option.
|
|
6325
|
+
* @throws {RequiredError}
|
|
6326
|
+
*/
|
|
6327
|
+
getAutomations: async (workspaceId, exclude, options = {}) => {
|
|
6328
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
6329
|
+
assertParamExists("getAutomations", "workspaceId", workspaceId);
|
|
6330
|
+
const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/automations`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
6331
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6332
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6333
|
+
let baseOptions;
|
|
6334
|
+
if (configuration) {
|
|
6335
|
+
baseOptions = configuration.baseOptions;
|
|
6336
|
+
}
|
|
6337
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
6338
|
+
const localVarHeaderParameter = {};
|
|
6339
|
+
const localVarQueryParameter = {};
|
|
6340
|
+
if (exclude) {
|
|
6341
|
+
localVarQueryParameter["exclude"] = exclude;
|
|
6342
|
+
}
|
|
6343
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6344
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6345
|
+
localVarRequestOptions.headers = {
|
|
6346
|
+
...localVarHeaderParameter,
|
|
6347
|
+
...headersFromBaseOptions,
|
|
6348
|
+
...options.headers,
|
|
6349
|
+
};
|
|
6350
|
+
return {
|
|
6351
|
+
url: toPathString(localVarUrlObj),
|
|
6352
|
+
options: localVarRequestOptions,
|
|
6353
|
+
};
|
|
6354
|
+
},
|
|
6293
6355
|
/**
|
|
6294
6356
|
*
|
|
6295
6357
|
* @summary Get an Automation
|
|
@@ -6397,6 +6459,47 @@ export const AutomationsApiAxiosParamCreator = function (configuration) {
|
|
|
6397
6459
|
options: localVarRequestOptions,
|
|
6398
6460
|
};
|
|
6399
6461
|
},
|
|
6462
|
+
/**
|
|
6463
|
+
* Set automations for the specific workspace.
|
|
6464
|
+
* @summary Set automations
|
|
6465
|
+
* @param {string} workspaceId
|
|
6466
|
+
* @param {Array<DeclarativeAutomation>} declarativeAutomation
|
|
6467
|
+
* @param {*} [options] Override http request option.
|
|
6468
|
+
* @throws {RequiredError}
|
|
6469
|
+
*/
|
|
6470
|
+
setAutomations: async (workspaceId, declarativeAutomation, options = {}) => {
|
|
6471
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
6472
|
+
assertParamExists("setAutomations", "workspaceId", workspaceId);
|
|
6473
|
+
// verify required parameter 'declarativeAutomation' is not null or undefined
|
|
6474
|
+
assertParamExists("setAutomations", "declarativeAutomation", declarativeAutomation);
|
|
6475
|
+
const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/automations`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
6476
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6477
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6478
|
+
let baseOptions;
|
|
6479
|
+
if (configuration) {
|
|
6480
|
+
baseOptions = configuration.baseOptions;
|
|
6481
|
+
}
|
|
6482
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
6483
|
+
const localVarHeaderParameter = {};
|
|
6484
|
+
const localVarQueryParameter = {};
|
|
6485
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
6486
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6487
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6488
|
+
localVarRequestOptions.headers = {
|
|
6489
|
+
...localVarHeaderParameter,
|
|
6490
|
+
...headersFromBaseOptions,
|
|
6491
|
+
...options.headers,
|
|
6492
|
+
};
|
|
6493
|
+
const needsSerialization = typeof declarativeAutomation !== "string" ||
|
|
6494
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
6495
|
+
localVarRequestOptions.data = needsSerialization
|
|
6496
|
+
? JSON.stringify(declarativeAutomation !== undefined ? declarativeAutomation : {})
|
|
6497
|
+
: declarativeAutomation || "";
|
|
6498
|
+
return {
|
|
6499
|
+
url: toPathString(localVarUrlObj),
|
|
6500
|
+
options: localVarRequestOptions,
|
|
6501
|
+
};
|
|
6502
|
+
},
|
|
6400
6503
|
/**
|
|
6401
6504
|
*
|
|
6402
6505
|
* @summary Put an Automation
|
|
@@ -6506,6 +6609,18 @@ export const AutomationsApiFp = function (configuration) {
|
|
|
6506
6609
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesAutomations(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
6507
6610
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6508
6611
|
},
|
|
6612
|
+
/**
|
|
6613
|
+
* Retrieve automations for the specific workspace
|
|
6614
|
+
* @summary Get automations
|
|
6615
|
+
* @param {string} workspaceId
|
|
6616
|
+
* @param {Array<'ACTIVITY_INFO'>} [exclude]
|
|
6617
|
+
* @param {*} [options] Override http request option.
|
|
6618
|
+
* @throws {RequiredError}
|
|
6619
|
+
*/
|
|
6620
|
+
async getAutomations(workspaceId, exclude, options) {
|
|
6621
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAutomations(workspaceId, exclude, options);
|
|
6622
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6623
|
+
},
|
|
6509
6624
|
/**
|
|
6510
6625
|
*
|
|
6511
6626
|
* @summary Get an Automation
|
|
@@ -6537,6 +6652,18 @@ export const AutomationsApiFp = function (configuration) {
|
|
|
6537
6652
|
const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityAutomations(workspaceId, objectId, jsonApiAutomationPatchDocument, filter, include, options);
|
|
6538
6653
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6539
6654
|
},
|
|
6655
|
+
/**
|
|
6656
|
+
* Set automations for the specific workspace.
|
|
6657
|
+
* @summary Set automations
|
|
6658
|
+
* @param {string} workspaceId
|
|
6659
|
+
* @param {Array<DeclarativeAutomation>} declarativeAutomation
|
|
6660
|
+
* @param {*} [options] Override http request option.
|
|
6661
|
+
* @throws {RequiredError}
|
|
6662
|
+
*/
|
|
6663
|
+
async setAutomations(workspaceId, declarativeAutomation, options) {
|
|
6664
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setAutomations(workspaceId, declarativeAutomation, options);
|
|
6665
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6666
|
+
},
|
|
6540
6667
|
/**
|
|
6541
6668
|
*
|
|
6542
6669
|
* @summary Put an Automation
|
|
@@ -6597,6 +6724,18 @@ export const AutomationsApiFactory = function (configuration, basePath, axios) {
|
|
|
6597
6724
|
.getAllEntitiesAutomations(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
6598
6725
|
.then((request) => request(axios, basePath));
|
|
6599
6726
|
},
|
|
6727
|
+
/**
|
|
6728
|
+
* Retrieve automations for the specific workspace
|
|
6729
|
+
* @summary Get automations
|
|
6730
|
+
* @param {AutomationsApiGetAutomationsRequest} requestParameters Request parameters.
|
|
6731
|
+
* @param {*} [options] Override http request option.
|
|
6732
|
+
* @throws {RequiredError}
|
|
6733
|
+
*/
|
|
6734
|
+
getAutomations(requestParameters, options) {
|
|
6735
|
+
return localVarFp
|
|
6736
|
+
.getAutomations(requestParameters.workspaceId, requestParameters.exclude, options)
|
|
6737
|
+
.then((request) => request(axios, basePath));
|
|
6738
|
+
},
|
|
6600
6739
|
/**
|
|
6601
6740
|
*
|
|
6602
6741
|
* @summary Get an Automation
|
|
@@ -6621,6 +6760,18 @@ export const AutomationsApiFactory = function (configuration, basePath, axios) {
|
|
|
6621
6760
|
.patchEntityAutomations(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiAutomationPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
6622
6761
|
.then((request) => request(axios, basePath));
|
|
6623
6762
|
},
|
|
6763
|
+
/**
|
|
6764
|
+
* Set automations for the specific workspace.
|
|
6765
|
+
* @summary Set automations
|
|
6766
|
+
* @param {AutomationsApiSetAutomationsRequest} requestParameters Request parameters.
|
|
6767
|
+
* @param {*} [options] Override http request option.
|
|
6768
|
+
* @throws {RequiredError}
|
|
6769
|
+
*/
|
|
6770
|
+
setAutomations(requestParameters, options) {
|
|
6771
|
+
return localVarFp
|
|
6772
|
+
.setAutomations(requestParameters.workspaceId, requestParameters.declarativeAutomation, options)
|
|
6773
|
+
.then((request) => request(axios, basePath));
|
|
6774
|
+
},
|
|
6624
6775
|
/**
|
|
6625
6776
|
*
|
|
6626
6777
|
* @summary Put an Automation
|
|
@@ -6681,6 +6832,19 @@ export class AutomationsApi extends BaseAPI {
|
|
|
6681
6832
|
.getAllEntitiesAutomations(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
6682
6833
|
.then((request) => request(this.axios, this.basePath));
|
|
6683
6834
|
}
|
|
6835
|
+
/**
|
|
6836
|
+
* Retrieve automations for the specific workspace
|
|
6837
|
+
* @summary Get automations
|
|
6838
|
+
* @param {AutomationsApiGetAutomationsRequest} requestParameters Request parameters.
|
|
6839
|
+
* @param {*} [options] Override http request option.
|
|
6840
|
+
* @throws {RequiredError}
|
|
6841
|
+
* @memberof AutomationsApi
|
|
6842
|
+
*/
|
|
6843
|
+
getAutomations(requestParameters, options) {
|
|
6844
|
+
return AutomationsApiFp(this.configuration)
|
|
6845
|
+
.getAutomations(requestParameters.workspaceId, requestParameters.exclude, options)
|
|
6846
|
+
.then((request) => request(this.axios, this.basePath));
|
|
6847
|
+
}
|
|
6684
6848
|
/**
|
|
6685
6849
|
*
|
|
6686
6850
|
* @summary Get an Automation
|
|
@@ -6707,6 +6871,19 @@ export class AutomationsApi extends BaseAPI {
|
|
|
6707
6871
|
.patchEntityAutomations(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiAutomationPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
6708
6872
|
.then((request) => request(this.axios, this.basePath));
|
|
6709
6873
|
}
|
|
6874
|
+
/**
|
|
6875
|
+
* Set automations for the specific workspace.
|
|
6876
|
+
* @summary Set automations
|
|
6877
|
+
* @param {AutomationsApiSetAutomationsRequest} requestParameters Request parameters.
|
|
6878
|
+
* @param {*} [options] Override http request option.
|
|
6879
|
+
* @throws {RequiredError}
|
|
6880
|
+
* @memberof AutomationsApi
|
|
6881
|
+
*/
|
|
6882
|
+
setAutomations(requestParameters, options) {
|
|
6883
|
+
return AutomationsApiFp(this.configuration)
|
|
6884
|
+
.setAutomations(requestParameters.workspaceId, requestParameters.declarativeAutomation, options)
|
|
6885
|
+
.then((request) => request(this.axios, this.basePath));
|
|
6886
|
+
}
|
|
6710
6887
|
/**
|
|
6711
6888
|
*
|
|
6712
6889
|
* @summary Put an Automation
|
|
@@ -12436,6 +12613,51 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
12436
12613
|
options: localVarRequestOptions,
|
|
12437
12614
|
};
|
|
12438
12615
|
},
|
|
12616
|
+
/**
|
|
12617
|
+
*
|
|
12618
|
+
* @summary Post Filter views
|
|
12619
|
+
* @param {string} workspaceId
|
|
12620
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
12621
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
12622
|
+
* @param {*} [options] Override http request option.
|
|
12623
|
+
* @throws {RequiredError}
|
|
12624
|
+
*/
|
|
12625
|
+
createEntityFilterViews: async (workspaceId, jsonApiFilterViewInDocument, include, options = {}) => {
|
|
12626
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
12627
|
+
assertParamExists("createEntityFilterViews", "workspaceId", workspaceId);
|
|
12628
|
+
// verify required parameter 'jsonApiFilterViewInDocument' is not null or undefined
|
|
12629
|
+
assertParamExists("createEntityFilterViews", "jsonApiFilterViewInDocument", jsonApiFilterViewInDocument);
|
|
12630
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
12631
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12632
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12633
|
+
let baseOptions;
|
|
12634
|
+
if (configuration) {
|
|
12635
|
+
baseOptions = configuration.baseOptions;
|
|
12636
|
+
}
|
|
12637
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
12638
|
+
const localVarHeaderParameter = {};
|
|
12639
|
+
const localVarQueryParameter = {};
|
|
12640
|
+
if (include) {
|
|
12641
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
12642
|
+
}
|
|
12643
|
+
localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
|
|
12644
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12645
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12646
|
+
localVarRequestOptions.headers = {
|
|
12647
|
+
...localVarHeaderParameter,
|
|
12648
|
+
...headersFromBaseOptions,
|
|
12649
|
+
...options.headers,
|
|
12650
|
+
};
|
|
12651
|
+
const needsSerialization = typeof jsonApiFilterViewInDocument !== "string" ||
|
|
12652
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
12653
|
+
localVarRequestOptions.data = needsSerialization
|
|
12654
|
+
? JSON.stringify(jsonApiFilterViewInDocument !== undefined ? jsonApiFilterViewInDocument : {})
|
|
12655
|
+
: jsonApiFilterViewInDocument || "";
|
|
12656
|
+
return {
|
|
12657
|
+
url: toPathString(localVarUrlObj),
|
|
12658
|
+
options: localVarRequestOptions,
|
|
12659
|
+
};
|
|
12660
|
+
},
|
|
12439
12661
|
/**
|
|
12440
12662
|
*
|
|
12441
12663
|
* @summary Post Identity Providers
|
|
@@ -13581,16 +13803,21 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
13581
13803
|
},
|
|
13582
13804
|
/**
|
|
13583
13805
|
*
|
|
13584
|
-
* @summary Delete
|
|
13585
|
-
* @param {string}
|
|
13806
|
+
* @summary Delete Filter view
|
|
13807
|
+
* @param {string} workspaceId
|
|
13808
|
+
* @param {string} objectId
|
|
13586
13809
|
* @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\').
|
|
13587
13810
|
* @param {*} [options] Override http request option.
|
|
13588
13811
|
* @throws {RequiredError}
|
|
13589
13812
|
*/
|
|
13590
|
-
|
|
13591
|
-
// verify required parameter '
|
|
13592
|
-
assertParamExists("
|
|
13593
|
-
|
|
13813
|
+
deleteEntityFilterViews: async (workspaceId, objectId, filter, options = {}) => {
|
|
13814
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
13815
|
+
assertParamExists("deleteEntityFilterViews", "workspaceId", workspaceId);
|
|
13816
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
13817
|
+
assertParamExists("deleteEntityFilterViews", "objectId", objectId);
|
|
13818
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
13819
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
13820
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
13594
13821
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13595
13822
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13596
13823
|
let baseOptions;
|
|
@@ -13616,17 +13843,17 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
13616
13843
|
};
|
|
13617
13844
|
},
|
|
13618
13845
|
/**
|
|
13619
|
-
*
|
|
13620
|
-
* @summary Delete
|
|
13846
|
+
*
|
|
13847
|
+
* @summary Delete Identity Provider
|
|
13621
13848
|
* @param {string} id
|
|
13622
13849
|
* @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\').
|
|
13623
13850
|
* @param {*} [options] Override http request option.
|
|
13624
13851
|
* @throws {RequiredError}
|
|
13625
13852
|
*/
|
|
13626
|
-
|
|
13853
|
+
deleteEntityIdentityProviders: async (id, filter, options = {}) => {
|
|
13627
13854
|
// verify required parameter 'id' is not null or undefined
|
|
13628
|
-
assertParamExists("
|
|
13629
|
-
const localVarPath = `/api/v1/entities/
|
|
13855
|
+
assertParamExists("deleteEntityIdentityProviders", "id", id);
|
|
13856
|
+
const localVarPath = `/api/v1/entities/identityProviders/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
13630
13857
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13631
13858
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13632
13859
|
let baseOptions;
|
|
@@ -13652,16 +13879,17 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
13652
13879
|
};
|
|
13653
13880
|
},
|
|
13654
13881
|
/**
|
|
13655
|
-
*
|
|
13882
|
+
* Deletes JSON web key - used to verify JSON web tokens (Jwts)
|
|
13883
|
+
* @summary Delete Jwk
|
|
13656
13884
|
* @param {string} id
|
|
13657
13885
|
* @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\').
|
|
13658
13886
|
* @param {*} [options] Override http request option.
|
|
13659
13887
|
* @throws {RequiredError}
|
|
13660
13888
|
*/
|
|
13661
|
-
|
|
13889
|
+
deleteEntityJwks: async (id, filter, options = {}) => {
|
|
13662
13890
|
// verify required parameter 'id' is not null or undefined
|
|
13663
|
-
assertParamExists("
|
|
13664
|
-
const localVarPath = `/api/v1/entities/
|
|
13891
|
+
assertParamExists("deleteEntityJwks", "id", id);
|
|
13892
|
+
const localVarPath = `/api/v1/entities/jwks/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
13665
13893
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13666
13894
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13667
13895
|
let baseOptions;
|
|
@@ -13688,21 +13916,15 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
13688
13916
|
},
|
|
13689
13917
|
/**
|
|
13690
13918
|
*
|
|
13691
|
-
* @
|
|
13692
|
-
* @param {string} workspaceId
|
|
13693
|
-
* @param {string} objectId
|
|
13919
|
+
* @param {string} id
|
|
13694
13920
|
* @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\').
|
|
13695
13921
|
* @param {*} [options] Override http request option.
|
|
13696
13922
|
* @throws {RequiredError}
|
|
13697
13923
|
*/
|
|
13698
|
-
|
|
13699
|
-
// verify required parameter '
|
|
13700
|
-
assertParamExists("
|
|
13701
|
-
|
|
13702
|
-
assertParamExists("deleteEntityMetrics", "objectId", objectId);
|
|
13703
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/metrics/{objectId}`
|
|
13704
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
13705
|
-
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
13924
|
+
deleteEntityLlmEndpoints: async (id, filter, options = {}) => {
|
|
13925
|
+
// verify required parameter 'id' is not null or undefined
|
|
13926
|
+
assertParamExists("deleteEntityLlmEndpoints", "id", id);
|
|
13927
|
+
const localVarPath = `/api/v1/entities/llmEndpoints/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
13706
13928
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13707
13929
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13708
13930
|
let baseOptions;
|
|
@@ -13729,16 +13951,57 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
13729
13951
|
},
|
|
13730
13952
|
/**
|
|
13731
13953
|
*
|
|
13732
|
-
* @summary Delete
|
|
13733
|
-
* @param {string}
|
|
13954
|
+
* @summary Delete a Metric
|
|
13955
|
+
* @param {string} workspaceId
|
|
13956
|
+
* @param {string} objectId
|
|
13734
13957
|
* @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\').
|
|
13735
13958
|
* @param {*} [options] Override http request option.
|
|
13736
13959
|
* @throws {RequiredError}
|
|
13737
13960
|
*/
|
|
13738
|
-
|
|
13739
|
-
// verify required parameter '
|
|
13740
|
-
assertParamExists("
|
|
13741
|
-
|
|
13961
|
+
deleteEntityMetrics: async (workspaceId, objectId, filter, options = {}) => {
|
|
13962
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
13963
|
+
assertParamExists("deleteEntityMetrics", "workspaceId", workspaceId);
|
|
13964
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
13965
|
+
assertParamExists("deleteEntityMetrics", "objectId", objectId);
|
|
13966
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/metrics/{objectId}`
|
|
13967
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
13968
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
13969
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13970
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13971
|
+
let baseOptions;
|
|
13972
|
+
if (configuration) {
|
|
13973
|
+
baseOptions = configuration.baseOptions;
|
|
13974
|
+
}
|
|
13975
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
13976
|
+
const localVarHeaderParameter = {};
|
|
13977
|
+
const localVarQueryParameter = {};
|
|
13978
|
+
if (filter !== undefined) {
|
|
13979
|
+
localVarQueryParameter["filter"] = filter;
|
|
13980
|
+
}
|
|
13981
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13982
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13983
|
+
localVarRequestOptions.headers = {
|
|
13984
|
+
...localVarHeaderParameter,
|
|
13985
|
+
...headersFromBaseOptions,
|
|
13986
|
+
...options.headers,
|
|
13987
|
+
};
|
|
13988
|
+
return {
|
|
13989
|
+
url: toPathString(localVarUrlObj),
|
|
13990
|
+
options: localVarRequestOptions,
|
|
13991
|
+
};
|
|
13992
|
+
},
|
|
13993
|
+
/**
|
|
13994
|
+
*
|
|
13995
|
+
* @summary Delete Notification Channel entity
|
|
13996
|
+
* @param {string} id
|
|
13997
|
+
* @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\').
|
|
13998
|
+
* @param {*} [options] Override http request option.
|
|
13999
|
+
* @throws {RequiredError}
|
|
14000
|
+
*/
|
|
14001
|
+
deleteEntityNotificationChannels: async (id, filter, options = {}) => {
|
|
14002
|
+
// verify required parameter 'id' is not null or undefined
|
|
14003
|
+
assertParamExists("deleteEntityNotificationChannels", "id", id);
|
|
14004
|
+
const localVarPath = `/api/v1/entities/notificationChannels/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
13742
14005
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13743
14006
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13744
14007
|
let baseOptions;
|
|
@@ -15124,17 +15387,23 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15124
15387
|
},
|
|
15125
15388
|
/**
|
|
15126
15389
|
*
|
|
15127
|
-
* @summary Get all
|
|
15390
|
+
* @summary Get all Filter views
|
|
15391
|
+
* @param {string} workspaceId
|
|
15392
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
15128
15393
|
* @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\').
|
|
15394
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
15129
15395
|
* @param {number} [page] Zero-based page index (0..N)
|
|
15130
15396
|
* @param {number} [size] The size of the page to be returned
|
|
15131
15397
|
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
15398
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
15132
15399
|
* @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
15133
15400
|
* @param {*} [options] Override http request option.
|
|
15134
15401
|
* @throws {RequiredError}
|
|
15135
15402
|
*/
|
|
15136
|
-
|
|
15137
|
-
|
|
15403
|
+
getAllEntitiesFilterViews: async (workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
|
|
15404
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
15405
|
+
assertParamExists("getAllEntitiesFilterViews", "workspaceId", workspaceId);
|
|
15406
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
15138
15407
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15139
15408
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15140
15409
|
let baseOptions;
|
|
@@ -15144,58 +15413,15 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15144
15413
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
15145
15414
|
const localVarHeaderParameter = {};
|
|
15146
15415
|
const localVarQueryParameter = {};
|
|
15147
|
-
if (
|
|
15148
|
-
localVarQueryParameter["
|
|
15149
|
-
}
|
|
15150
|
-
if (page !== undefined) {
|
|
15151
|
-
localVarQueryParameter["page"] = page;
|
|
15152
|
-
}
|
|
15153
|
-
if (size !== undefined) {
|
|
15154
|
-
localVarQueryParameter["size"] = size;
|
|
15155
|
-
}
|
|
15156
|
-
if (sort) {
|
|
15157
|
-
localVarQueryParameter["sort"] = sort;
|
|
15158
|
-
}
|
|
15159
|
-
if (metaInclude) {
|
|
15160
|
-
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
15161
|
-
}
|
|
15162
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15163
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15164
|
-
localVarRequestOptions.headers = {
|
|
15165
|
-
...localVarHeaderParameter,
|
|
15166
|
-
...headersFromBaseOptions,
|
|
15167
|
-
...options.headers,
|
|
15168
|
-
};
|
|
15169
|
-
return {
|
|
15170
|
-
url: toPathString(localVarUrlObj),
|
|
15171
|
-
options: localVarRequestOptions,
|
|
15172
|
-
};
|
|
15173
|
-
},
|
|
15174
|
-
/**
|
|
15175
|
-
* Returns all JSON web keys - used to verify JSON web tokens (Jwts)
|
|
15176
|
-
* @summary Get all Jwks
|
|
15177
|
-
* @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\').
|
|
15178
|
-
* @param {number} [page] Zero-based page index (0..N)
|
|
15179
|
-
* @param {number} [size] The size of the page to be returned
|
|
15180
|
-
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
15181
|
-
* @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
15182
|
-
* @param {*} [options] Override http request option.
|
|
15183
|
-
* @throws {RequiredError}
|
|
15184
|
-
*/
|
|
15185
|
-
getAllEntitiesJwks: async (filter, page, size, sort, metaInclude, options = {}) => {
|
|
15186
|
-
const localVarPath = `/api/v1/entities/jwks`;
|
|
15187
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15188
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15189
|
-
let baseOptions;
|
|
15190
|
-
if (configuration) {
|
|
15191
|
-
baseOptions = configuration.baseOptions;
|
|
15416
|
+
if (origin !== undefined) {
|
|
15417
|
+
localVarQueryParameter["origin"] = origin;
|
|
15192
15418
|
}
|
|
15193
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
15194
|
-
const localVarHeaderParameter = {};
|
|
15195
|
-
const localVarQueryParameter = {};
|
|
15196
15419
|
if (filter !== undefined) {
|
|
15197
15420
|
localVarQueryParameter["filter"] = filter;
|
|
15198
15421
|
}
|
|
15422
|
+
if (include) {
|
|
15423
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
15424
|
+
}
|
|
15199
15425
|
if (page !== undefined) {
|
|
15200
15426
|
localVarQueryParameter["page"] = page;
|
|
15201
15427
|
}
|
|
@@ -15208,6 +15434,9 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15208
15434
|
if (metaInclude) {
|
|
15209
15435
|
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
15210
15436
|
}
|
|
15437
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
15438
|
+
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
15439
|
+
}
|
|
15211
15440
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15212
15441
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15213
15442
|
localVarRequestOptions.headers = {
|
|
@@ -15222,23 +15451,17 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15222
15451
|
},
|
|
15223
15452
|
/**
|
|
15224
15453
|
*
|
|
15225
|
-
* @summary Get all
|
|
15226
|
-
* @param {string} workspaceId
|
|
15227
|
-
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
15454
|
+
* @summary Get all Identity Providers
|
|
15228
15455
|
* @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\').
|
|
15229
|
-
* @param {Array<'attributes' | 'attribute' | '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.
|
|
15230
15456
|
* @param {number} [page] Zero-based page index (0..N)
|
|
15231
15457
|
* @param {number} [size] The size of the page to be returned
|
|
15232
15458
|
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
15233
|
-
* @param {
|
|
15234
|
-
* @param {Array<'origin' | 'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
15459
|
+
* @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
15235
15460
|
* @param {*} [options] Override http request option.
|
|
15236
15461
|
* @throws {RequiredError}
|
|
15237
15462
|
*/
|
|
15238
|
-
|
|
15239
|
-
|
|
15240
|
-
assertParamExists("getAllEntitiesLabels", "workspaceId", workspaceId);
|
|
15241
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/labels`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
15463
|
+
getAllEntitiesIdentityProviders: async (filter, page, size, sort, metaInclude, options = {}) => {
|
|
15464
|
+
const localVarPath = `/api/v1/entities/identityProviders`;
|
|
15242
15465
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15243
15466
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15244
15467
|
let baseOptions;
|
|
@@ -15248,15 +15471,9 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15248
15471
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
15249
15472
|
const localVarHeaderParameter = {};
|
|
15250
15473
|
const localVarQueryParameter = {};
|
|
15251
|
-
if (origin !== undefined) {
|
|
15252
|
-
localVarQueryParameter["origin"] = origin;
|
|
15253
|
-
}
|
|
15254
15474
|
if (filter !== undefined) {
|
|
15255
15475
|
localVarQueryParameter["filter"] = filter;
|
|
15256
15476
|
}
|
|
15257
|
-
if (include) {
|
|
15258
|
-
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
15259
|
-
}
|
|
15260
15477
|
if (page !== undefined) {
|
|
15261
15478
|
localVarQueryParameter["page"] = page;
|
|
15262
15479
|
}
|
|
@@ -15269,9 +15486,6 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15269
15486
|
if (metaInclude) {
|
|
15270
15487
|
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
15271
15488
|
}
|
|
15272
|
-
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
15273
|
-
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
15274
|
-
}
|
|
15275
15489
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15276
15490
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15277
15491
|
localVarRequestOptions.headers = {
|
|
@@ -15285,8 +15499,8 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15285
15499
|
};
|
|
15286
15500
|
},
|
|
15287
15501
|
/**
|
|
15288
|
-
*
|
|
15289
|
-
* @summary Get all
|
|
15502
|
+
* Returns all JSON web keys - used to verify JSON web tokens (Jwts)
|
|
15503
|
+
* @summary Get all Jwks
|
|
15290
15504
|
* @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\').
|
|
15291
15505
|
* @param {number} [page] Zero-based page index (0..N)
|
|
15292
15506
|
* @param {number} [size] The size of the page to be returned
|
|
@@ -15295,8 +15509,8 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15295
15509
|
* @param {*} [options] Override http request option.
|
|
15296
15510
|
* @throws {RequiredError}
|
|
15297
15511
|
*/
|
|
15298
|
-
|
|
15299
|
-
const localVarPath = `/api/v1/entities/
|
|
15512
|
+
getAllEntitiesJwks: async (filter, page, size, sort, metaInclude, options = {}) => {
|
|
15513
|
+
const localVarPath = `/api/v1/entities/jwks`;
|
|
15300
15514
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15301
15515
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15302
15516
|
let baseOptions;
|
|
@@ -15335,11 +15549,11 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15335
15549
|
},
|
|
15336
15550
|
/**
|
|
15337
15551
|
*
|
|
15338
|
-
* @summary Get all
|
|
15552
|
+
* @summary Get all Labels
|
|
15339
15553
|
* @param {string} workspaceId
|
|
15340
15554
|
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
15341
15555
|
* @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\').
|
|
15342
|
-
* @param {Array<'
|
|
15556
|
+
* @param {Array<'attributes' | 'attribute' | '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.
|
|
15343
15557
|
* @param {number} [page] Zero-based page index (0..N)
|
|
15344
15558
|
* @param {number} [size] The size of the page to be returned
|
|
15345
15559
|
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
@@ -15348,10 +15562,10 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15348
15562
|
* @param {*} [options] Override http request option.
|
|
15349
15563
|
* @throws {RequiredError}
|
|
15350
15564
|
*/
|
|
15351
|
-
|
|
15565
|
+
getAllEntitiesLabels: async (workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
|
|
15352
15566
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
15353
|
-
assertParamExists("
|
|
15354
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
15567
|
+
assertParamExists("getAllEntitiesLabels", "workspaceId", workspaceId);
|
|
15568
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/labels`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
15355
15569
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15356
15570
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15357
15571
|
let baseOptions;
|
|
@@ -15399,7 +15613,7 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15399
15613
|
},
|
|
15400
15614
|
/**
|
|
15401
15615
|
*
|
|
15402
|
-
* @summary Get all
|
|
15616
|
+
* @summary Get all LLM endpoint entities
|
|
15403
15617
|
* @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\').
|
|
15404
15618
|
* @param {number} [page] Zero-based page index (0..N)
|
|
15405
15619
|
* @param {number} [size] The size of the page to be returned
|
|
@@ -15408,8 +15622,8 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15408
15622
|
* @param {*} [options] Override http request option.
|
|
15409
15623
|
* @throws {RequiredError}
|
|
15410
15624
|
*/
|
|
15411
|
-
|
|
15412
|
-
const localVarPath = `/api/v1/entities/
|
|
15625
|
+
getAllEntitiesLlmEndpoints: async (filter, page, size, sort, metaInclude, options = {}) => {
|
|
15626
|
+
const localVarPath = `/api/v1/entities/llmEndpoints`;
|
|
15413
15627
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15414
15628
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15415
15629
|
let baseOptions;
|
|
@@ -15448,17 +15662,23 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15448
15662
|
},
|
|
15449
15663
|
/**
|
|
15450
15664
|
*
|
|
15451
|
-
* @summary Get
|
|
15665
|
+
* @summary Get all Metrics
|
|
15666
|
+
* @param {string} workspaceId
|
|
15667
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
15452
15668
|
* @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\').
|
|
15669
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'createdBy' | 'modifiedBy' | '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.
|
|
15453
15670
|
* @param {number} [page] Zero-based page index (0..N)
|
|
15454
15671
|
* @param {number} [size] The size of the page to be returned
|
|
15455
15672
|
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
15456
|
-
* @param {
|
|
15673
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
15674
|
+
* @param {Array<'origin' | 'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
15457
15675
|
* @param {*} [options] Override http request option.
|
|
15458
15676
|
* @throws {RequiredError}
|
|
15459
15677
|
*/
|
|
15460
|
-
|
|
15461
|
-
|
|
15678
|
+
getAllEntitiesMetrics: async (workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
|
|
15679
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
15680
|
+
assertParamExists("getAllEntitiesMetrics", "workspaceId", workspaceId);
|
|
15681
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/metrics`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
15462
15682
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15463
15683
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15464
15684
|
let baseOptions;
|
|
@@ -15468,9 +15688,15 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15468
15688
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
15469
15689
|
const localVarHeaderParameter = {};
|
|
15470
15690
|
const localVarQueryParameter = {};
|
|
15691
|
+
if (origin !== undefined) {
|
|
15692
|
+
localVarQueryParameter["origin"] = origin;
|
|
15693
|
+
}
|
|
15471
15694
|
if (filter !== undefined) {
|
|
15472
15695
|
localVarQueryParameter["filter"] = filter;
|
|
15473
15696
|
}
|
|
15697
|
+
if (include) {
|
|
15698
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
15699
|
+
}
|
|
15474
15700
|
if (page !== undefined) {
|
|
15475
15701
|
localVarQueryParameter["page"] = page;
|
|
15476
15702
|
}
|
|
@@ -15483,6 +15709,9 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15483
15709
|
if (metaInclude) {
|
|
15484
15710
|
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
15485
15711
|
}
|
|
15712
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
15713
|
+
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
15714
|
+
}
|
|
15486
15715
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15487
15716
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15488
15717
|
localVarRequestOptions.headers = {
|
|
@@ -15497,7 +15726,7 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15497
15726
|
},
|
|
15498
15727
|
/**
|
|
15499
15728
|
*
|
|
15500
|
-
* @summary Get all
|
|
15729
|
+
* @summary Get all Notification Channel entities
|
|
15501
15730
|
* @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\').
|
|
15502
15731
|
* @param {number} [page] Zero-based page index (0..N)
|
|
15503
15732
|
* @param {number} [size] The size of the page to be returned
|
|
@@ -15506,8 +15735,8 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15506
15735
|
* @param {*} [options] Override http request option.
|
|
15507
15736
|
* @throws {RequiredError}
|
|
15508
15737
|
*/
|
|
15509
|
-
|
|
15510
|
-
const localVarPath = `/api/v1/entities/
|
|
15738
|
+
getAllEntitiesNotificationChannels: async (filter, page, size, sort, metaInclude, options = {}) => {
|
|
15739
|
+
const localVarPath = `/api/v1/entities/notificationChannels`;
|
|
15511
15740
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15512
15741
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15513
15742
|
let baseOptions;
|
|
@@ -15546,73 +15775,8 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15546
15775
|
},
|
|
15547
15776
|
/**
|
|
15548
15777
|
*
|
|
15549
|
-
* @summary Get
|
|
15550
|
-
* @param {string} workspaceId
|
|
15551
|
-
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
15552
|
-
* @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\').
|
|
15553
|
-
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | '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.
|
|
15554
|
-
* @param {number} [page] Zero-based page index (0..N)
|
|
15555
|
-
* @param {number} [size] The size of the page to be returned
|
|
15556
|
-
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
15557
|
-
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
15558
|
-
* @param {Array<'origin' | 'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
15559
|
-
* @param {*} [options] Override http request option.
|
|
15560
|
-
* @throws {RequiredError}
|
|
15561
|
-
*/
|
|
15562
|
-
getAllEntitiesUserDataFilters: async (workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
|
|
15563
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
15564
|
-
assertParamExists("getAllEntitiesUserDataFilters", "workspaceId", workspaceId);
|
|
15565
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/userDataFilters`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
15566
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15567
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15568
|
-
let baseOptions;
|
|
15569
|
-
if (configuration) {
|
|
15570
|
-
baseOptions = configuration.baseOptions;
|
|
15571
|
-
}
|
|
15572
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
15573
|
-
const localVarHeaderParameter = {};
|
|
15574
|
-
const localVarQueryParameter = {};
|
|
15575
|
-
if (origin !== undefined) {
|
|
15576
|
-
localVarQueryParameter["origin"] = origin;
|
|
15577
|
-
}
|
|
15578
|
-
if (filter !== undefined) {
|
|
15579
|
-
localVarQueryParameter["filter"] = filter;
|
|
15580
|
-
}
|
|
15581
|
-
if (include) {
|
|
15582
|
-
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
15583
|
-
}
|
|
15584
|
-
if (page !== undefined) {
|
|
15585
|
-
localVarQueryParameter["page"] = page;
|
|
15586
|
-
}
|
|
15587
|
-
if (size !== undefined) {
|
|
15588
|
-
localVarQueryParameter["size"] = size;
|
|
15589
|
-
}
|
|
15590
|
-
if (sort) {
|
|
15591
|
-
localVarQueryParameter["sort"] = sort;
|
|
15592
|
-
}
|
|
15593
|
-
if (metaInclude) {
|
|
15594
|
-
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
15595
|
-
}
|
|
15596
|
-
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
15597
|
-
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
15598
|
-
}
|
|
15599
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15600
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15601
|
-
localVarRequestOptions.headers = {
|
|
15602
|
-
...localVarHeaderParameter,
|
|
15603
|
-
...headersFromBaseOptions,
|
|
15604
|
-
...options.headers,
|
|
15605
|
-
};
|
|
15606
|
-
return {
|
|
15607
|
-
url: toPathString(localVarUrlObj),
|
|
15608
|
-
options: localVarRequestOptions,
|
|
15609
|
-
};
|
|
15610
|
-
},
|
|
15611
|
-
/**
|
|
15612
|
-
* User Group - creates tree-like structure for categorizing users
|
|
15613
|
-
* @summary Get UserGroup entities
|
|
15778
|
+
* @summary Get Organization entities
|
|
15614
15779
|
* @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\').
|
|
15615
|
-
* @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.
|
|
15616
15780
|
* @param {number} [page] Zero-based page index (0..N)
|
|
15617
15781
|
* @param {number} [size] The size of the page to be returned
|
|
15618
15782
|
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
@@ -15620,8 +15784,8 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15620
15784
|
* @param {*} [options] Override http request option.
|
|
15621
15785
|
* @throws {RequiredError}
|
|
15622
15786
|
*/
|
|
15623
|
-
|
|
15624
|
-
const localVarPath = `/api/v1/entities/
|
|
15787
|
+
getAllEntitiesOrganizationSettings: async (filter, page, size, sort, metaInclude, options = {}) => {
|
|
15788
|
+
const localVarPath = `/api/v1/entities/organizationSettings`;
|
|
15625
15789
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15626
15790
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15627
15791
|
let baseOptions;
|
|
@@ -15634,9 +15798,6 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15634
15798
|
if (filter !== undefined) {
|
|
15635
15799
|
localVarQueryParameter["filter"] = filter;
|
|
15636
15800
|
}
|
|
15637
|
-
if (include) {
|
|
15638
|
-
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
15639
|
-
}
|
|
15640
15801
|
if (page !== undefined) {
|
|
15641
15802
|
localVarQueryParameter["page"] = page;
|
|
15642
15803
|
}
|
|
@@ -15662,8 +15823,8 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15662
15823
|
};
|
|
15663
15824
|
},
|
|
15664
15825
|
/**
|
|
15665
|
-
*
|
|
15666
|
-
* @summary Get
|
|
15826
|
+
*
|
|
15827
|
+
* @summary Get all Theming entities
|
|
15667
15828
|
* @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\').
|
|
15668
15829
|
* @param {number} [page] Zero-based page index (0..N)
|
|
15669
15830
|
* @param {number} [size] The size of the page to be returned
|
|
@@ -15672,8 +15833,174 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15672
15833
|
* @param {*} [options] Override http request option.
|
|
15673
15834
|
* @throws {RequiredError}
|
|
15674
15835
|
*/
|
|
15675
|
-
|
|
15676
|
-
const localVarPath = `/api/v1/entities/
|
|
15836
|
+
getAllEntitiesThemes: async (filter, page, size, sort, metaInclude, options = {}) => {
|
|
15837
|
+
const localVarPath = `/api/v1/entities/themes`;
|
|
15838
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15839
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15840
|
+
let baseOptions;
|
|
15841
|
+
if (configuration) {
|
|
15842
|
+
baseOptions = configuration.baseOptions;
|
|
15843
|
+
}
|
|
15844
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
15845
|
+
const localVarHeaderParameter = {};
|
|
15846
|
+
const localVarQueryParameter = {};
|
|
15847
|
+
if (filter !== undefined) {
|
|
15848
|
+
localVarQueryParameter["filter"] = filter;
|
|
15849
|
+
}
|
|
15850
|
+
if (page !== undefined) {
|
|
15851
|
+
localVarQueryParameter["page"] = page;
|
|
15852
|
+
}
|
|
15853
|
+
if (size !== undefined) {
|
|
15854
|
+
localVarQueryParameter["size"] = size;
|
|
15855
|
+
}
|
|
15856
|
+
if (sort) {
|
|
15857
|
+
localVarQueryParameter["sort"] = sort;
|
|
15858
|
+
}
|
|
15859
|
+
if (metaInclude) {
|
|
15860
|
+
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
15861
|
+
}
|
|
15862
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15863
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15864
|
+
localVarRequestOptions.headers = {
|
|
15865
|
+
...localVarHeaderParameter,
|
|
15866
|
+
...headersFromBaseOptions,
|
|
15867
|
+
...options.headers,
|
|
15868
|
+
};
|
|
15869
|
+
return {
|
|
15870
|
+
url: toPathString(localVarUrlObj),
|
|
15871
|
+
options: localVarRequestOptions,
|
|
15872
|
+
};
|
|
15873
|
+
},
|
|
15874
|
+
/**
|
|
15875
|
+
*
|
|
15876
|
+
* @summary Get all User Data Filters
|
|
15877
|
+
* @param {string} workspaceId
|
|
15878
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
15879
|
+
* @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\').
|
|
15880
|
+
* @param {Array<'users' | 'userGroups' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | '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.
|
|
15881
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
15882
|
+
* @param {number} [size] The size of the page to be returned
|
|
15883
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
15884
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
15885
|
+
* @param {Array<'origin' | 'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
15886
|
+
* @param {*} [options] Override http request option.
|
|
15887
|
+
* @throws {RequiredError}
|
|
15888
|
+
*/
|
|
15889
|
+
getAllEntitiesUserDataFilters: async (workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
|
|
15890
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
15891
|
+
assertParamExists("getAllEntitiesUserDataFilters", "workspaceId", workspaceId);
|
|
15892
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/userDataFilters`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
15893
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15894
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15895
|
+
let baseOptions;
|
|
15896
|
+
if (configuration) {
|
|
15897
|
+
baseOptions = configuration.baseOptions;
|
|
15898
|
+
}
|
|
15899
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
15900
|
+
const localVarHeaderParameter = {};
|
|
15901
|
+
const localVarQueryParameter = {};
|
|
15902
|
+
if (origin !== undefined) {
|
|
15903
|
+
localVarQueryParameter["origin"] = origin;
|
|
15904
|
+
}
|
|
15905
|
+
if (filter !== undefined) {
|
|
15906
|
+
localVarQueryParameter["filter"] = filter;
|
|
15907
|
+
}
|
|
15908
|
+
if (include) {
|
|
15909
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
15910
|
+
}
|
|
15911
|
+
if (page !== undefined) {
|
|
15912
|
+
localVarQueryParameter["page"] = page;
|
|
15913
|
+
}
|
|
15914
|
+
if (size !== undefined) {
|
|
15915
|
+
localVarQueryParameter["size"] = size;
|
|
15916
|
+
}
|
|
15917
|
+
if (sort) {
|
|
15918
|
+
localVarQueryParameter["sort"] = sort;
|
|
15919
|
+
}
|
|
15920
|
+
if (metaInclude) {
|
|
15921
|
+
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
15922
|
+
}
|
|
15923
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
15924
|
+
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
15925
|
+
}
|
|
15926
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15927
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15928
|
+
localVarRequestOptions.headers = {
|
|
15929
|
+
...localVarHeaderParameter,
|
|
15930
|
+
...headersFromBaseOptions,
|
|
15931
|
+
...options.headers,
|
|
15932
|
+
};
|
|
15933
|
+
return {
|
|
15934
|
+
url: toPathString(localVarUrlObj),
|
|
15935
|
+
options: localVarRequestOptions,
|
|
15936
|
+
};
|
|
15937
|
+
},
|
|
15938
|
+
/**
|
|
15939
|
+
* User Group - creates tree-like structure for categorizing users
|
|
15940
|
+
* @summary Get UserGroup entities
|
|
15941
|
+
* @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\').
|
|
15942
|
+
* @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.
|
|
15943
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
15944
|
+
* @param {number} [size] The size of the page to be returned
|
|
15945
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
15946
|
+
* @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
15947
|
+
* @param {*} [options] Override http request option.
|
|
15948
|
+
* @throws {RequiredError}
|
|
15949
|
+
*/
|
|
15950
|
+
getAllEntitiesUserGroups: async (filter, include, page, size, sort, metaInclude, options = {}) => {
|
|
15951
|
+
const localVarPath = `/api/v1/entities/userGroups`;
|
|
15952
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15953
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15954
|
+
let baseOptions;
|
|
15955
|
+
if (configuration) {
|
|
15956
|
+
baseOptions = configuration.baseOptions;
|
|
15957
|
+
}
|
|
15958
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
15959
|
+
const localVarHeaderParameter = {};
|
|
15960
|
+
const localVarQueryParameter = {};
|
|
15961
|
+
if (filter !== undefined) {
|
|
15962
|
+
localVarQueryParameter["filter"] = filter;
|
|
15963
|
+
}
|
|
15964
|
+
if (include) {
|
|
15965
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
15966
|
+
}
|
|
15967
|
+
if (page !== undefined) {
|
|
15968
|
+
localVarQueryParameter["page"] = page;
|
|
15969
|
+
}
|
|
15970
|
+
if (size !== undefined) {
|
|
15971
|
+
localVarQueryParameter["size"] = size;
|
|
15972
|
+
}
|
|
15973
|
+
if (sort) {
|
|
15974
|
+
localVarQueryParameter["sort"] = sort;
|
|
15975
|
+
}
|
|
15976
|
+
if (metaInclude) {
|
|
15977
|
+
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
15978
|
+
}
|
|
15979
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15980
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15981
|
+
localVarRequestOptions.headers = {
|
|
15982
|
+
...localVarHeaderParameter,
|
|
15983
|
+
...headersFromBaseOptions,
|
|
15984
|
+
...options.headers,
|
|
15985
|
+
};
|
|
15986
|
+
return {
|
|
15987
|
+
url: toPathString(localVarUrlObj),
|
|
15988
|
+
options: localVarRequestOptions,
|
|
15989
|
+
};
|
|
15990
|
+
},
|
|
15991
|
+
/**
|
|
15992
|
+
* UserIdentifier - represents entity interacting with platform
|
|
15993
|
+
* @summary Get UserIdentifier entities
|
|
15994
|
+
* @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\').
|
|
15995
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
15996
|
+
* @param {number} [size] The size of the page to be returned
|
|
15997
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
15998
|
+
* @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
15999
|
+
* @param {*} [options] Override http request option.
|
|
16000
|
+
* @throws {RequiredError}
|
|
16001
|
+
*/
|
|
16002
|
+
getAllEntitiesUserIdentifiers: async (filter, page, size, sort, metaInclude, options = {}) => {
|
|
16003
|
+
const localVarPath = `/api/v1/entities/userIdentifiers`;
|
|
15677
16004
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15678
16005
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15679
16006
|
let baseOptions;
|
|
@@ -16971,16 +17298,23 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
16971
17298
|
},
|
|
16972
17299
|
/**
|
|
16973
17300
|
*
|
|
16974
|
-
* @summary Get
|
|
16975
|
-
* @param {string}
|
|
17301
|
+
* @summary Get Filter view
|
|
17302
|
+
* @param {string} workspaceId
|
|
17303
|
+
* @param {string} objectId
|
|
16976
17304
|
* @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\').
|
|
17305
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
17306
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
16977
17307
|
* @param {*} [options] Override http request option.
|
|
16978
17308
|
* @throws {RequiredError}
|
|
16979
17309
|
*/
|
|
16980
|
-
|
|
16981
|
-
// verify required parameter '
|
|
16982
|
-
assertParamExists("
|
|
16983
|
-
|
|
17310
|
+
getEntityFilterViews: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options = {}) => {
|
|
17311
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
17312
|
+
assertParamExists("getEntityFilterViews", "workspaceId", workspaceId);
|
|
17313
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
17314
|
+
assertParamExists("getEntityFilterViews", "objectId", objectId);
|
|
17315
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
17316
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
17317
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
16984
17318
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16985
17319
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16986
17320
|
let baseOptions;
|
|
@@ -16993,41 +17327,11 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
16993
17327
|
if (filter !== undefined) {
|
|
16994
17328
|
localVarQueryParameter["filter"] = filter;
|
|
16995
17329
|
}
|
|
16996
|
-
|
|
16997
|
-
|
|
16998
|
-
localVarRequestOptions.headers = {
|
|
16999
|
-
...localVarHeaderParameter,
|
|
17000
|
-
...headersFromBaseOptions,
|
|
17001
|
-
...options.headers,
|
|
17002
|
-
};
|
|
17003
|
-
return {
|
|
17004
|
-
url: toPathString(localVarUrlObj),
|
|
17005
|
-
options: localVarRequestOptions,
|
|
17006
|
-
};
|
|
17007
|
-
},
|
|
17008
|
-
/**
|
|
17009
|
-
* Returns JSON web key - used to verify JSON web tokens (Jwts)
|
|
17010
|
-
* @summary Get Jwk
|
|
17011
|
-
* @param {string} id
|
|
17012
|
-
* @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\').
|
|
17013
|
-
* @param {*} [options] Override http request option.
|
|
17014
|
-
* @throws {RequiredError}
|
|
17015
|
-
*/
|
|
17016
|
-
getEntityJwks: async (id, filter, options = {}) => {
|
|
17017
|
-
// verify required parameter 'id' is not null or undefined
|
|
17018
|
-
assertParamExists("getEntityJwks", "id", id);
|
|
17019
|
-
const localVarPath = `/api/v1/entities/jwks/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17020
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17021
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17022
|
-
let baseOptions;
|
|
17023
|
-
if (configuration) {
|
|
17024
|
-
baseOptions = configuration.baseOptions;
|
|
17330
|
+
if (include) {
|
|
17331
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
17025
17332
|
}
|
|
17026
|
-
|
|
17027
|
-
|
|
17028
|
-
const localVarQueryParameter = {};
|
|
17029
|
-
if (filter !== undefined) {
|
|
17030
|
-
localVarQueryParameter["filter"] = filter;
|
|
17333
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
17334
|
+
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
17031
17335
|
}
|
|
17032
17336
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17033
17337
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -17043,24 +17347,16 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
17043
17347
|
},
|
|
17044
17348
|
/**
|
|
17045
17349
|
*
|
|
17046
|
-
* @summary Get
|
|
17047
|
-
* @param {string}
|
|
17048
|
-
* @param {string} objectId
|
|
17350
|
+
* @summary Get Identity Provider
|
|
17351
|
+
* @param {string} id
|
|
17049
17352
|
* @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\').
|
|
17050
|
-
* @param {Array<'attributes' | 'attribute' | '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.
|
|
17051
|
-
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
17052
|
-
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
17053
17353
|
* @param {*} [options] Override http request option.
|
|
17054
17354
|
* @throws {RequiredError}
|
|
17055
17355
|
*/
|
|
17056
|
-
|
|
17057
|
-
// verify required parameter '
|
|
17058
|
-
assertParamExists("
|
|
17059
|
-
|
|
17060
|
-
assertParamExists("getEntityLabels", "objectId", objectId);
|
|
17061
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/labels/{objectId}`
|
|
17062
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
17063
|
-
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
17356
|
+
getEntityIdentityProviders: async (id, filter, options = {}) => {
|
|
17357
|
+
// verify required parameter 'id' is not null or undefined
|
|
17358
|
+
assertParamExists("getEntityIdentityProviders", "id", id);
|
|
17359
|
+
const localVarPath = `/api/v1/entities/identityProviders/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17064
17360
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17065
17361
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17066
17362
|
let baseOptions;
|
|
@@ -17073,15 +17369,6 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
17073
17369
|
if (filter !== undefined) {
|
|
17074
17370
|
localVarQueryParameter["filter"] = filter;
|
|
17075
17371
|
}
|
|
17076
|
-
if (include) {
|
|
17077
|
-
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
17078
|
-
}
|
|
17079
|
-
if (metaInclude) {
|
|
17080
|
-
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
17081
|
-
}
|
|
17082
|
-
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
17083
|
-
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
17084
|
-
}
|
|
17085
17372
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17086
17373
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17087
17374
|
localVarRequestOptions.headers = {
|
|
@@ -17095,17 +17382,17 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
17095
17382
|
};
|
|
17096
17383
|
},
|
|
17097
17384
|
/**
|
|
17098
|
-
*
|
|
17099
|
-
* @summary Get
|
|
17385
|
+
* Returns JSON web key - used to verify JSON web tokens (Jwts)
|
|
17386
|
+
* @summary Get Jwk
|
|
17100
17387
|
* @param {string} id
|
|
17101
17388
|
* @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\').
|
|
17102
17389
|
* @param {*} [options] Override http request option.
|
|
17103
17390
|
* @throws {RequiredError}
|
|
17104
17391
|
*/
|
|
17105
|
-
|
|
17392
|
+
getEntityJwks: async (id, filter, options = {}) => {
|
|
17106
17393
|
// verify required parameter 'id' is not null or undefined
|
|
17107
|
-
assertParamExists("
|
|
17108
|
-
const localVarPath = `/api/v1/entities/
|
|
17394
|
+
assertParamExists("getEntityJwks", "id", id);
|
|
17395
|
+
const localVarPath = `/api/v1/entities/jwks/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17109
17396
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17110
17397
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17111
17398
|
let baseOptions;
|
|
@@ -17132,22 +17419,111 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
17132
17419
|
},
|
|
17133
17420
|
/**
|
|
17134
17421
|
*
|
|
17135
|
-
* @summary Get a
|
|
17422
|
+
* @summary Get a Label
|
|
17136
17423
|
* @param {string} workspaceId
|
|
17137
17424
|
* @param {string} objectId
|
|
17138
17425
|
* @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\').
|
|
17139
|
-
* @param {Array<'
|
|
17426
|
+
* @param {Array<'attributes' | 'attribute' | '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.
|
|
17140
17427
|
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
17141
17428
|
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
17142
17429
|
* @param {*} [options] Override http request option.
|
|
17143
17430
|
* @throws {RequiredError}
|
|
17144
17431
|
*/
|
|
17145
|
-
|
|
17432
|
+
getEntityLabels: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
|
|
17146
17433
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
17147
|
-
assertParamExists("
|
|
17434
|
+
assertParamExists("getEntityLabels", "workspaceId", workspaceId);
|
|
17148
17435
|
// verify required parameter 'objectId' is not null or undefined
|
|
17149
|
-
assertParamExists("
|
|
17150
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
17436
|
+
assertParamExists("getEntityLabels", "objectId", objectId);
|
|
17437
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/labels/{objectId}`
|
|
17438
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
17439
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
17440
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17441
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17442
|
+
let baseOptions;
|
|
17443
|
+
if (configuration) {
|
|
17444
|
+
baseOptions = configuration.baseOptions;
|
|
17445
|
+
}
|
|
17446
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
17447
|
+
const localVarHeaderParameter = {};
|
|
17448
|
+
const localVarQueryParameter = {};
|
|
17449
|
+
if (filter !== undefined) {
|
|
17450
|
+
localVarQueryParameter["filter"] = filter;
|
|
17451
|
+
}
|
|
17452
|
+
if (include) {
|
|
17453
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
17454
|
+
}
|
|
17455
|
+
if (metaInclude) {
|
|
17456
|
+
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
17457
|
+
}
|
|
17458
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
17459
|
+
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
17460
|
+
}
|
|
17461
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17462
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17463
|
+
localVarRequestOptions.headers = {
|
|
17464
|
+
...localVarHeaderParameter,
|
|
17465
|
+
...headersFromBaseOptions,
|
|
17466
|
+
...options.headers,
|
|
17467
|
+
};
|
|
17468
|
+
return {
|
|
17469
|
+
url: toPathString(localVarUrlObj),
|
|
17470
|
+
options: localVarRequestOptions,
|
|
17471
|
+
};
|
|
17472
|
+
},
|
|
17473
|
+
/**
|
|
17474
|
+
*
|
|
17475
|
+
* @summary Get LLM endpoint entity
|
|
17476
|
+
* @param {string} id
|
|
17477
|
+
* @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\').
|
|
17478
|
+
* @param {*} [options] Override http request option.
|
|
17479
|
+
* @throws {RequiredError}
|
|
17480
|
+
*/
|
|
17481
|
+
getEntityLlmEndpoints: async (id, filter, options = {}) => {
|
|
17482
|
+
// verify required parameter 'id' is not null or undefined
|
|
17483
|
+
assertParamExists("getEntityLlmEndpoints", "id", id);
|
|
17484
|
+
const localVarPath = `/api/v1/entities/llmEndpoints/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17485
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17486
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17487
|
+
let baseOptions;
|
|
17488
|
+
if (configuration) {
|
|
17489
|
+
baseOptions = configuration.baseOptions;
|
|
17490
|
+
}
|
|
17491
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
17492
|
+
const localVarHeaderParameter = {};
|
|
17493
|
+
const localVarQueryParameter = {};
|
|
17494
|
+
if (filter !== undefined) {
|
|
17495
|
+
localVarQueryParameter["filter"] = filter;
|
|
17496
|
+
}
|
|
17497
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17498
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17499
|
+
localVarRequestOptions.headers = {
|
|
17500
|
+
...localVarHeaderParameter,
|
|
17501
|
+
...headersFromBaseOptions,
|
|
17502
|
+
...options.headers,
|
|
17503
|
+
};
|
|
17504
|
+
return {
|
|
17505
|
+
url: toPathString(localVarUrlObj),
|
|
17506
|
+
options: localVarRequestOptions,
|
|
17507
|
+
};
|
|
17508
|
+
},
|
|
17509
|
+
/**
|
|
17510
|
+
*
|
|
17511
|
+
* @summary Get a Metric
|
|
17512
|
+
* @param {string} workspaceId
|
|
17513
|
+
* @param {string} objectId
|
|
17514
|
+
* @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\').
|
|
17515
|
+
* @param {Array<'userIdentifiers' | 'facts' | 'attributes' | 'labels' | 'metrics' | 'datasets' | 'createdBy' | 'modifiedBy' | '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.
|
|
17516
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
17517
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
17518
|
+
* @param {*} [options] Override http request option.
|
|
17519
|
+
* @throws {RequiredError}
|
|
17520
|
+
*/
|
|
17521
|
+
getEntityMetrics: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
|
|
17522
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
17523
|
+
assertParamExists("getEntityMetrics", "workspaceId", workspaceId);
|
|
17524
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
17525
|
+
assertParamExists("getEntityMetrics", "objectId", objectId);
|
|
17526
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/metrics/{objectId}`
|
|
17151
17527
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
17152
17528
|
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
17153
17529
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -18398,6 +18774,60 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
18398
18774
|
options: localVarRequestOptions,
|
|
18399
18775
|
};
|
|
18400
18776
|
},
|
|
18777
|
+
/**
|
|
18778
|
+
*
|
|
18779
|
+
* @summary Patch Filter view
|
|
18780
|
+
* @param {string} workspaceId
|
|
18781
|
+
* @param {string} objectId
|
|
18782
|
+
* @param {JsonApiFilterViewPatchDocument} jsonApiFilterViewPatchDocument
|
|
18783
|
+
* @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\').
|
|
18784
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
18785
|
+
* @param {*} [options] Override http request option.
|
|
18786
|
+
* @throws {RequiredError}
|
|
18787
|
+
*/
|
|
18788
|
+
patchEntityFilterViews: async (workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options = {}) => {
|
|
18789
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
18790
|
+
assertParamExists("patchEntityFilterViews", "workspaceId", workspaceId);
|
|
18791
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
18792
|
+
assertParamExists("patchEntityFilterViews", "objectId", objectId);
|
|
18793
|
+
// verify required parameter 'jsonApiFilterViewPatchDocument' is not null or undefined
|
|
18794
|
+
assertParamExists("patchEntityFilterViews", "jsonApiFilterViewPatchDocument", jsonApiFilterViewPatchDocument);
|
|
18795
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
18796
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
18797
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
18798
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18799
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18800
|
+
let baseOptions;
|
|
18801
|
+
if (configuration) {
|
|
18802
|
+
baseOptions = configuration.baseOptions;
|
|
18803
|
+
}
|
|
18804
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
18805
|
+
const localVarHeaderParameter = {};
|
|
18806
|
+
const localVarQueryParameter = {};
|
|
18807
|
+
if (filter !== undefined) {
|
|
18808
|
+
localVarQueryParameter["filter"] = filter;
|
|
18809
|
+
}
|
|
18810
|
+
if (include) {
|
|
18811
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
18812
|
+
}
|
|
18813
|
+
localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
|
|
18814
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18815
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18816
|
+
localVarRequestOptions.headers = {
|
|
18817
|
+
...localVarHeaderParameter,
|
|
18818
|
+
...headersFromBaseOptions,
|
|
18819
|
+
...options.headers,
|
|
18820
|
+
};
|
|
18821
|
+
const needsSerialization = typeof jsonApiFilterViewPatchDocument !== "string" ||
|
|
18822
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
18823
|
+
localVarRequestOptions.data = needsSerialization
|
|
18824
|
+
? JSON.stringify(jsonApiFilterViewPatchDocument !== undefined ? jsonApiFilterViewPatchDocument : {})
|
|
18825
|
+
: jsonApiFilterViewPatchDocument || "";
|
|
18826
|
+
return {
|
|
18827
|
+
url: toPathString(localVarUrlObj),
|
|
18828
|
+
options: localVarRequestOptions,
|
|
18829
|
+
};
|
|
18830
|
+
},
|
|
18401
18831
|
/**
|
|
18402
18832
|
*
|
|
18403
18833
|
* @summary Patch Identity Provider
|
|
@@ -19764,6 +20194,60 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
19764
20194
|
options: localVarRequestOptions,
|
|
19765
20195
|
};
|
|
19766
20196
|
},
|
|
20197
|
+
/**
|
|
20198
|
+
*
|
|
20199
|
+
* @summary Put Filter views
|
|
20200
|
+
* @param {string} workspaceId
|
|
20201
|
+
* @param {string} objectId
|
|
20202
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
20203
|
+
* @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\').
|
|
20204
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
20205
|
+
* @param {*} [options] Override http request option.
|
|
20206
|
+
* @throws {RequiredError}
|
|
20207
|
+
*/
|
|
20208
|
+
updateEntityFilterViews: async (workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options = {}) => {
|
|
20209
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
20210
|
+
assertParamExists("updateEntityFilterViews", "workspaceId", workspaceId);
|
|
20211
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
20212
|
+
assertParamExists("updateEntityFilterViews", "objectId", objectId);
|
|
20213
|
+
// verify required parameter 'jsonApiFilterViewInDocument' is not null or undefined
|
|
20214
|
+
assertParamExists("updateEntityFilterViews", "jsonApiFilterViewInDocument", jsonApiFilterViewInDocument);
|
|
20215
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
20216
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
20217
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
20218
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20219
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20220
|
+
let baseOptions;
|
|
20221
|
+
if (configuration) {
|
|
20222
|
+
baseOptions = configuration.baseOptions;
|
|
20223
|
+
}
|
|
20224
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
20225
|
+
const localVarHeaderParameter = {};
|
|
20226
|
+
const localVarQueryParameter = {};
|
|
20227
|
+
if (filter !== undefined) {
|
|
20228
|
+
localVarQueryParameter["filter"] = filter;
|
|
20229
|
+
}
|
|
20230
|
+
if (include) {
|
|
20231
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
20232
|
+
}
|
|
20233
|
+
localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
|
|
20234
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20235
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20236
|
+
localVarRequestOptions.headers = {
|
|
20237
|
+
...localVarHeaderParameter,
|
|
20238
|
+
...headersFromBaseOptions,
|
|
20239
|
+
...options.headers,
|
|
20240
|
+
};
|
|
20241
|
+
const needsSerialization = typeof jsonApiFilterViewInDocument !== "string" ||
|
|
20242
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
20243
|
+
localVarRequestOptions.data = needsSerialization
|
|
20244
|
+
? JSON.stringify(jsonApiFilterViewInDocument !== undefined ? jsonApiFilterViewInDocument : {})
|
|
20245
|
+
: jsonApiFilterViewInDocument || "";
|
|
20246
|
+
return {
|
|
20247
|
+
url: toPathString(localVarUrlObj),
|
|
20248
|
+
options: localVarRequestOptions,
|
|
20249
|
+
};
|
|
20250
|
+
},
|
|
19767
20251
|
/**
|
|
19768
20252
|
*
|
|
19769
20253
|
* @summary Put Identity Provider
|
|
@@ -20766,6 +21250,19 @@ export const EntitiesApiFp = function (configuration) {
|
|
|
20766
21250
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createEntityFilterContexts(workspaceId, jsonApiFilterContextPostOptionalIdDocument, include, metaInclude, options);
|
|
20767
21251
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20768
21252
|
},
|
|
21253
|
+
/**
|
|
21254
|
+
*
|
|
21255
|
+
* @summary Post Filter views
|
|
21256
|
+
* @param {string} workspaceId
|
|
21257
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
21258
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
21259
|
+
* @param {*} [options] Override http request option.
|
|
21260
|
+
* @throws {RequiredError}
|
|
21261
|
+
*/
|
|
21262
|
+
async createEntityFilterViews(workspaceId, jsonApiFilterViewInDocument, include, options) {
|
|
21263
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createEntityFilterViews(workspaceId, jsonApiFilterViewInDocument, include, options);
|
|
21264
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21265
|
+
},
|
|
20769
21266
|
/**
|
|
20770
21267
|
*
|
|
20771
21268
|
* @summary Post Identity Providers
|
|
@@ -21104,6 +21601,19 @@ export const EntitiesApiFp = function (configuration) {
|
|
|
21104
21601
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEntityFilterContexts(workspaceId, objectId, filter, options);
|
|
21105
21602
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21106
21603
|
},
|
|
21604
|
+
/**
|
|
21605
|
+
*
|
|
21606
|
+
* @summary Delete Filter view
|
|
21607
|
+
* @param {string} workspaceId
|
|
21608
|
+
* @param {string} objectId
|
|
21609
|
+
* @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\').
|
|
21610
|
+
* @param {*} [options] Override http request option.
|
|
21611
|
+
* @throws {RequiredError}
|
|
21612
|
+
*/
|
|
21613
|
+
async deleteEntityFilterViews(workspaceId, objectId, filter, options) {
|
|
21614
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEntityFilterViews(workspaceId, objectId, filter, options);
|
|
21615
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21616
|
+
},
|
|
21107
21617
|
/**
|
|
21108
21618
|
*
|
|
21109
21619
|
* @summary Delete Identity Provider
|
|
@@ -21582,6 +22092,25 @@ export const EntitiesApiFp = function (configuration) {
|
|
|
21582
22092
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFilterContexts(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
21583
22093
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21584
22094
|
},
|
|
22095
|
+
/**
|
|
22096
|
+
*
|
|
22097
|
+
* @summary Get all Filter views
|
|
22098
|
+
* @param {string} workspaceId
|
|
22099
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
22100
|
+
* @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\').
|
|
22101
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
22102
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
22103
|
+
* @param {number} [size] The size of the page to be returned
|
|
22104
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
22105
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
22106
|
+
* @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
22107
|
+
* @param {*} [options] Override http request option.
|
|
22108
|
+
* @throws {RequiredError}
|
|
22109
|
+
*/
|
|
22110
|
+
async getAllEntitiesFilterViews(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options) {
|
|
22111
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFilterViews(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
22112
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22113
|
+
},
|
|
21585
22114
|
/**
|
|
21586
22115
|
*
|
|
21587
22116
|
* @summary Get all Identity Providers
|
|
@@ -22149,6 +22678,21 @@ export const EntitiesApiFp = function (configuration) {
|
|
|
22149
22678
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFilterContexts(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
22150
22679
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22151
22680
|
},
|
|
22681
|
+
/**
|
|
22682
|
+
*
|
|
22683
|
+
* @summary Get Filter view
|
|
22684
|
+
* @param {string} workspaceId
|
|
22685
|
+
* @param {string} objectId
|
|
22686
|
+
* @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\').
|
|
22687
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
22688
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
22689
|
+
* @param {*} [options] Override http request option.
|
|
22690
|
+
* @throws {RequiredError}
|
|
22691
|
+
*/
|
|
22692
|
+
async getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options) {
|
|
22693
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options);
|
|
22694
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22695
|
+
},
|
|
22152
22696
|
/**
|
|
22153
22697
|
*
|
|
22154
22698
|
* @summary Get Identity Provider
|
|
@@ -22578,6 +23122,21 @@ export const EntitiesApiFp = function (configuration) {
|
|
|
22578
23122
|
const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityFilterContexts(workspaceId, objectId, jsonApiFilterContextPatchDocument, filter, include, options);
|
|
22579
23123
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22580
23124
|
},
|
|
23125
|
+
/**
|
|
23126
|
+
*
|
|
23127
|
+
* @summary Patch Filter view
|
|
23128
|
+
* @param {string} workspaceId
|
|
23129
|
+
* @param {string} objectId
|
|
23130
|
+
* @param {JsonApiFilterViewPatchDocument} jsonApiFilterViewPatchDocument
|
|
23131
|
+
* @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\').
|
|
23132
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
23133
|
+
* @param {*} [options] Override http request option.
|
|
23134
|
+
* @throws {RequiredError}
|
|
23135
|
+
*/
|
|
23136
|
+
async patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options) {
|
|
23137
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options);
|
|
23138
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23139
|
+
},
|
|
22581
23140
|
/**
|
|
22582
23141
|
*
|
|
22583
23142
|
* @summary Patch Identity Provider
|
|
@@ -22957,6 +23516,21 @@ export const EntitiesApiFp = function (configuration) {
|
|
|
22957
23516
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateEntityFilterContexts(workspaceId, objectId, jsonApiFilterContextInDocument, filter, include, options);
|
|
22958
23517
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22959
23518
|
},
|
|
23519
|
+
/**
|
|
23520
|
+
*
|
|
23521
|
+
* @summary Put Filter views
|
|
23522
|
+
* @param {string} workspaceId
|
|
23523
|
+
* @param {string} objectId
|
|
23524
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
23525
|
+
* @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\').
|
|
23526
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
23527
|
+
* @param {*} [options] Override http request option.
|
|
23528
|
+
* @throws {RequiredError}
|
|
23529
|
+
*/
|
|
23530
|
+
async updateEntityFilterViews(workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options) {
|
|
23531
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateEntityFilterViews(workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options);
|
|
23532
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23533
|
+
},
|
|
22960
23534
|
/**
|
|
22961
23535
|
*
|
|
22962
23536
|
* @summary Put Identity Provider
|
|
@@ -23335,6 +23909,18 @@ export const EntitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
23335
23909
|
.createEntityFilterContexts(requestParameters.workspaceId, requestParameters.jsonApiFilterContextPostOptionalIdDocument, requestParameters.include, requestParameters.metaInclude, options)
|
|
23336
23910
|
.then((request) => request(axios, basePath));
|
|
23337
23911
|
},
|
|
23912
|
+
/**
|
|
23913
|
+
*
|
|
23914
|
+
* @summary Post Filter views
|
|
23915
|
+
* @param {EntitiesApiCreateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
23916
|
+
* @param {*} [options] Override http request option.
|
|
23917
|
+
* @throws {RequiredError}
|
|
23918
|
+
*/
|
|
23919
|
+
createEntityFilterViews(requestParameters, options) {
|
|
23920
|
+
return localVarFp
|
|
23921
|
+
.createEntityFilterViews(requestParameters.workspaceId, requestParameters.jsonApiFilterViewInDocument, requestParameters.include, options)
|
|
23922
|
+
.then((request) => request(axios, basePath));
|
|
23923
|
+
},
|
|
23338
23924
|
/**
|
|
23339
23925
|
*
|
|
23340
23926
|
* @summary Post Identity Providers
|
|
@@ -23659,6 +24245,18 @@ export const EntitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
23659
24245
|
.deleteEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
23660
24246
|
.then((request) => request(axios, basePath));
|
|
23661
24247
|
},
|
|
24248
|
+
/**
|
|
24249
|
+
*
|
|
24250
|
+
* @summary Delete Filter view
|
|
24251
|
+
* @param {EntitiesApiDeleteEntityFilterViewsRequest} requestParameters Request parameters.
|
|
24252
|
+
* @param {*} [options] Override http request option.
|
|
24253
|
+
* @throws {RequiredError}
|
|
24254
|
+
*/
|
|
24255
|
+
deleteEntityFilterViews(requestParameters, options) {
|
|
24256
|
+
return localVarFp
|
|
24257
|
+
.deleteEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
24258
|
+
.then((request) => request(axios, basePath));
|
|
24259
|
+
},
|
|
23662
24260
|
/**
|
|
23663
24261
|
*
|
|
23664
24262
|
* @summary Delete Identity Provider
|
|
@@ -24042,6 +24640,18 @@ export const EntitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
24042
24640
|
.getAllEntitiesFilterContexts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
24043
24641
|
.then((request) => request(axios, basePath));
|
|
24044
24642
|
},
|
|
24643
|
+
/**
|
|
24644
|
+
*
|
|
24645
|
+
* @summary Get all Filter views
|
|
24646
|
+
* @param {EntitiesApiGetAllEntitiesFilterViewsRequest} requestParameters Request parameters.
|
|
24647
|
+
* @param {*} [options] Override http request option.
|
|
24648
|
+
* @throws {RequiredError}
|
|
24649
|
+
*/
|
|
24650
|
+
getAllEntitiesFilterViews(requestParameters, options) {
|
|
24651
|
+
return localVarFp
|
|
24652
|
+
.getAllEntitiesFilterViews(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
24653
|
+
.then((request) => request(axios, basePath));
|
|
24654
|
+
},
|
|
24045
24655
|
/**
|
|
24046
24656
|
*
|
|
24047
24657
|
* @summary Get all Identity Providers
|
|
@@ -24480,6 +25090,18 @@ export const EntitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
24480
25090
|
.getEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
24481
25091
|
.then((request) => request(axios, basePath));
|
|
24482
25092
|
},
|
|
25093
|
+
/**
|
|
25094
|
+
*
|
|
25095
|
+
* @summary Get Filter view
|
|
25096
|
+
* @param {EntitiesApiGetEntityFilterViewsRequest} requestParameters Request parameters.
|
|
25097
|
+
* @param {*} [options] Override http request option.
|
|
25098
|
+
* @throws {RequiredError}
|
|
25099
|
+
*/
|
|
25100
|
+
getEntityFilterViews(requestParameters, options) {
|
|
25101
|
+
return localVarFp
|
|
25102
|
+
.getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
|
|
25103
|
+
.then((request) => request(axios, basePath));
|
|
25104
|
+
},
|
|
24483
25105
|
/**
|
|
24484
25106
|
*
|
|
24485
25107
|
* @summary Get Identity Provider
|
|
@@ -24852,6 +25474,18 @@ export const EntitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
24852
25474
|
.patchEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
24853
25475
|
.then((request) => request(axios, basePath));
|
|
24854
25476
|
},
|
|
25477
|
+
/**
|
|
25478
|
+
*
|
|
25479
|
+
* @summary Patch Filter view
|
|
25480
|
+
* @param {EntitiesApiPatchEntityFilterViewsRequest} requestParameters Request parameters.
|
|
25481
|
+
* @param {*} [options] Override http request option.
|
|
25482
|
+
* @throws {RequiredError}
|
|
25483
|
+
*/
|
|
25484
|
+
patchEntityFilterViews(requestParameters, options) {
|
|
25485
|
+
return localVarFp
|
|
25486
|
+
.patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
25487
|
+
.then((request) => request(axios, basePath));
|
|
25488
|
+
},
|
|
24855
25489
|
/**
|
|
24856
25490
|
*
|
|
24857
25491
|
* @summary Patch Identity Provider
|
|
@@ -25176,6 +25810,18 @@ export const EntitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
25176
25810
|
.updateEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextInDocument, requestParameters.filter, requestParameters.include, options)
|
|
25177
25811
|
.then((request) => request(axios, basePath));
|
|
25178
25812
|
},
|
|
25813
|
+
/**
|
|
25814
|
+
*
|
|
25815
|
+
* @summary Put Filter views
|
|
25816
|
+
* @param {EntitiesApiUpdateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
25817
|
+
* @param {*} [options] Override http request option.
|
|
25818
|
+
* @throws {RequiredError}
|
|
25819
|
+
*/
|
|
25820
|
+
updateEntityFilterViews(requestParameters, options) {
|
|
25821
|
+
return localVarFp
|
|
25822
|
+
.updateEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewInDocument, requestParameters.filter, requestParameters.include, options)
|
|
25823
|
+
.then((request) => request(axios, basePath));
|
|
25824
|
+
},
|
|
25179
25825
|
/**
|
|
25180
25826
|
*
|
|
25181
25827
|
* @summary Put Identity Provider
|
|
@@ -25532,6 +26178,19 @@ export class EntitiesApi extends BaseAPI {
|
|
|
25532
26178
|
.createEntityFilterContexts(requestParameters.workspaceId, requestParameters.jsonApiFilterContextPostOptionalIdDocument, requestParameters.include, requestParameters.metaInclude, options)
|
|
25533
26179
|
.then((request) => request(this.axios, this.basePath));
|
|
25534
26180
|
}
|
|
26181
|
+
/**
|
|
26182
|
+
*
|
|
26183
|
+
* @summary Post Filter views
|
|
26184
|
+
* @param {EntitiesApiCreateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
26185
|
+
* @param {*} [options] Override http request option.
|
|
26186
|
+
* @throws {RequiredError}
|
|
26187
|
+
* @memberof EntitiesApi
|
|
26188
|
+
*/
|
|
26189
|
+
createEntityFilterViews(requestParameters, options) {
|
|
26190
|
+
return EntitiesApiFp(this.configuration)
|
|
26191
|
+
.createEntityFilterViews(requestParameters.workspaceId, requestParameters.jsonApiFilterViewInDocument, requestParameters.include, options)
|
|
26192
|
+
.then((request) => request(this.axios, this.basePath));
|
|
26193
|
+
}
|
|
25535
26194
|
/**
|
|
25536
26195
|
*
|
|
25537
26196
|
* @summary Post Identity Providers
|
|
@@ -25883,6 +26542,19 @@ export class EntitiesApi extends BaseAPI {
|
|
|
25883
26542
|
.deleteEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
25884
26543
|
.then((request) => request(this.axios, this.basePath));
|
|
25885
26544
|
}
|
|
26545
|
+
/**
|
|
26546
|
+
*
|
|
26547
|
+
* @summary Delete Filter view
|
|
26548
|
+
* @param {EntitiesApiDeleteEntityFilterViewsRequest} requestParameters Request parameters.
|
|
26549
|
+
* @param {*} [options] Override http request option.
|
|
26550
|
+
* @throws {RequiredError}
|
|
26551
|
+
* @memberof EntitiesApi
|
|
26552
|
+
*/
|
|
26553
|
+
deleteEntityFilterViews(requestParameters, options) {
|
|
26554
|
+
return EntitiesApiFp(this.configuration)
|
|
26555
|
+
.deleteEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
26556
|
+
.then((request) => request(this.axios, this.basePath));
|
|
26557
|
+
}
|
|
25886
26558
|
/**
|
|
25887
26559
|
*
|
|
25888
26560
|
* @summary Delete Identity Provider
|
|
@@ -26298,6 +26970,19 @@ export class EntitiesApi extends BaseAPI {
|
|
|
26298
26970
|
.getAllEntitiesFilterContexts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
26299
26971
|
.then((request) => request(this.axios, this.basePath));
|
|
26300
26972
|
}
|
|
26973
|
+
/**
|
|
26974
|
+
*
|
|
26975
|
+
* @summary Get all Filter views
|
|
26976
|
+
* @param {EntitiesApiGetAllEntitiesFilterViewsRequest} requestParameters Request parameters.
|
|
26977
|
+
* @param {*} [options] Override http request option.
|
|
26978
|
+
* @throws {RequiredError}
|
|
26979
|
+
* @memberof EntitiesApi
|
|
26980
|
+
*/
|
|
26981
|
+
getAllEntitiesFilterViews(requestParameters, options) {
|
|
26982
|
+
return EntitiesApiFp(this.configuration)
|
|
26983
|
+
.getAllEntitiesFilterViews(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
26984
|
+
.then((request) => request(this.axios, this.basePath));
|
|
26985
|
+
}
|
|
26301
26986
|
/**
|
|
26302
26987
|
*
|
|
26303
26988
|
* @summary Get all Identity Providers
|
|
@@ -26777,6 +27462,19 @@ export class EntitiesApi extends BaseAPI {
|
|
|
26777
27462
|
.getEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
26778
27463
|
.then((request) => request(this.axios, this.basePath));
|
|
26779
27464
|
}
|
|
27465
|
+
/**
|
|
27466
|
+
*
|
|
27467
|
+
* @summary Get Filter view
|
|
27468
|
+
* @param {EntitiesApiGetEntityFilterViewsRequest} requestParameters Request parameters.
|
|
27469
|
+
* @param {*} [options] Override http request option.
|
|
27470
|
+
* @throws {RequiredError}
|
|
27471
|
+
* @memberof EntitiesApi
|
|
27472
|
+
*/
|
|
27473
|
+
getEntityFilterViews(requestParameters, options) {
|
|
27474
|
+
return EntitiesApiFp(this.configuration)
|
|
27475
|
+
.getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
|
|
27476
|
+
.then((request) => request(this.axios, this.basePath));
|
|
27477
|
+
}
|
|
26780
27478
|
/**
|
|
26781
27479
|
*
|
|
26782
27480
|
* @summary Get Identity Provider
|
|
@@ -27180,6 +27878,19 @@ export class EntitiesApi extends BaseAPI {
|
|
|
27180
27878
|
.patchEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
27181
27879
|
.then((request) => request(this.axios, this.basePath));
|
|
27182
27880
|
}
|
|
27881
|
+
/**
|
|
27882
|
+
*
|
|
27883
|
+
* @summary Patch Filter view
|
|
27884
|
+
* @param {EntitiesApiPatchEntityFilterViewsRequest} requestParameters Request parameters.
|
|
27885
|
+
* @param {*} [options] Override http request option.
|
|
27886
|
+
* @throws {RequiredError}
|
|
27887
|
+
* @memberof EntitiesApi
|
|
27888
|
+
*/
|
|
27889
|
+
patchEntityFilterViews(requestParameters, options) {
|
|
27890
|
+
return EntitiesApiFp(this.configuration)
|
|
27891
|
+
.patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
27892
|
+
.then((request) => request(this.axios, this.basePath));
|
|
27893
|
+
}
|
|
27183
27894
|
/**
|
|
27184
27895
|
*
|
|
27185
27896
|
* @summary Patch Identity Provider
|
|
@@ -27531,6 +28242,19 @@ export class EntitiesApi extends BaseAPI {
|
|
|
27531
28242
|
.updateEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextInDocument, requestParameters.filter, requestParameters.include, options)
|
|
27532
28243
|
.then((request) => request(this.axios, this.basePath));
|
|
27533
28244
|
}
|
|
28245
|
+
/**
|
|
28246
|
+
*
|
|
28247
|
+
* @summary Put Filter views
|
|
28248
|
+
* @param {EntitiesApiUpdateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
28249
|
+
* @param {*} [options] Override http request option.
|
|
28250
|
+
* @throws {RequiredError}
|
|
28251
|
+
* @memberof EntitiesApi
|
|
28252
|
+
*/
|
|
28253
|
+
updateEntityFilterViews(requestParameters, options) {
|
|
28254
|
+
return EntitiesApiFp(this.configuration)
|
|
28255
|
+
.updateEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewInDocument, requestParameters.filter, requestParameters.include, options)
|
|
28256
|
+
.then((request) => request(this.axios, this.basePath));
|
|
28257
|
+
}
|
|
27534
28258
|
/**
|
|
27535
28259
|
*
|
|
27536
28260
|
* @summary Put Identity Provider
|
|
@@ -28752,22 +29476,343 @@ export const FactsApiAxiosParamCreator = function (configuration) {
|
|
|
28752
29476
|
},
|
|
28753
29477
|
/**
|
|
28754
29478
|
*
|
|
28755
|
-
* @summary Get a Fact
|
|
29479
|
+
* @summary Get a Fact
|
|
29480
|
+
* @param {string} workspaceId
|
|
29481
|
+
* @param {string} objectId
|
|
29482
|
+
* @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\').
|
|
29483
|
+
* @param {Array<'datasets' | 'dataset' | '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.
|
|
29484
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
29485
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
29486
|
+
* @param {*} [options] Override http request option.
|
|
29487
|
+
* @throws {RequiredError}
|
|
29488
|
+
*/
|
|
29489
|
+
getEntityFacts: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
|
|
29490
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
29491
|
+
assertParamExists("getEntityFacts", "workspaceId", workspaceId);
|
|
29492
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
29493
|
+
assertParamExists("getEntityFacts", "objectId", objectId);
|
|
29494
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/facts/{objectId}`
|
|
29495
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
29496
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
29497
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29498
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29499
|
+
let baseOptions;
|
|
29500
|
+
if (configuration) {
|
|
29501
|
+
baseOptions = configuration.baseOptions;
|
|
29502
|
+
}
|
|
29503
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
29504
|
+
const localVarHeaderParameter = {};
|
|
29505
|
+
const localVarQueryParameter = {};
|
|
29506
|
+
if (filter !== undefined) {
|
|
29507
|
+
localVarQueryParameter["filter"] = filter;
|
|
29508
|
+
}
|
|
29509
|
+
if (include) {
|
|
29510
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
29511
|
+
}
|
|
29512
|
+
if (metaInclude) {
|
|
29513
|
+
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
29514
|
+
}
|
|
29515
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
29516
|
+
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
29517
|
+
}
|
|
29518
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29519
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29520
|
+
localVarRequestOptions.headers = {
|
|
29521
|
+
...localVarHeaderParameter,
|
|
29522
|
+
...headersFromBaseOptions,
|
|
29523
|
+
...options.headers,
|
|
29524
|
+
};
|
|
29525
|
+
return {
|
|
29526
|
+
url: toPathString(localVarUrlObj),
|
|
29527
|
+
options: localVarRequestOptions,
|
|
29528
|
+
};
|
|
29529
|
+
},
|
|
29530
|
+
};
|
|
29531
|
+
};
|
|
29532
|
+
/**
|
|
29533
|
+
* FactsApi - functional programming interface
|
|
29534
|
+
* @export
|
|
29535
|
+
*/
|
|
29536
|
+
export const FactsApiFp = function (configuration) {
|
|
29537
|
+
const localVarAxiosParamCreator = FactsApiAxiosParamCreator(configuration);
|
|
29538
|
+
return {
|
|
29539
|
+
/**
|
|
29540
|
+
*
|
|
29541
|
+
* @summary Get all Facts
|
|
29542
|
+
* @param {string} workspaceId
|
|
29543
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
29544
|
+
* @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\').
|
|
29545
|
+
* @param {Array<'datasets' | 'dataset' | '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.
|
|
29546
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
29547
|
+
* @param {number} [size] The size of the page to be returned
|
|
29548
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
29549
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
29550
|
+
* @param {Array<'origin' | 'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
29551
|
+
* @param {*} [options] Override http request option.
|
|
29552
|
+
* @throws {RequiredError}
|
|
29553
|
+
*/
|
|
29554
|
+
async getAllEntitiesFacts(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options) {
|
|
29555
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFacts(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
29556
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29557
|
+
},
|
|
29558
|
+
/**
|
|
29559
|
+
*
|
|
29560
|
+
* @summary Get a Fact
|
|
29561
|
+
* @param {string} workspaceId
|
|
29562
|
+
* @param {string} objectId
|
|
29563
|
+
* @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\').
|
|
29564
|
+
* @param {Array<'datasets' | 'dataset' | '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.
|
|
29565
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
29566
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
29567
|
+
* @param {*} [options] Override http request option.
|
|
29568
|
+
* @throws {RequiredError}
|
|
29569
|
+
*/
|
|
29570
|
+
async getEntityFacts(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options) {
|
|
29571
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFacts(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
29572
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29573
|
+
},
|
|
29574
|
+
};
|
|
29575
|
+
};
|
|
29576
|
+
/**
|
|
29577
|
+
* FactsApi - factory interface
|
|
29578
|
+
* @export
|
|
29579
|
+
*/
|
|
29580
|
+
export const FactsApiFactory = function (configuration, basePath, axios) {
|
|
29581
|
+
const localVarFp = FactsApiFp(configuration);
|
|
29582
|
+
return {
|
|
29583
|
+
/**
|
|
29584
|
+
*
|
|
29585
|
+
* @summary Get all Facts
|
|
29586
|
+
* @param {FactsApiGetAllEntitiesFactsRequest} requestParameters Request parameters.
|
|
29587
|
+
* @param {*} [options] Override http request option.
|
|
29588
|
+
* @throws {RequiredError}
|
|
29589
|
+
*/
|
|
29590
|
+
getAllEntitiesFacts(requestParameters, options) {
|
|
29591
|
+
return localVarFp
|
|
29592
|
+
.getAllEntitiesFacts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
29593
|
+
.then((request) => request(axios, basePath));
|
|
29594
|
+
},
|
|
29595
|
+
/**
|
|
29596
|
+
*
|
|
29597
|
+
* @summary Get a Fact
|
|
29598
|
+
* @param {FactsApiGetEntityFactsRequest} requestParameters Request parameters.
|
|
29599
|
+
* @param {*} [options] Override http request option.
|
|
29600
|
+
* @throws {RequiredError}
|
|
29601
|
+
*/
|
|
29602
|
+
getEntityFacts(requestParameters, options) {
|
|
29603
|
+
return localVarFp
|
|
29604
|
+
.getEntityFacts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
29605
|
+
.then((request) => request(axios, basePath));
|
|
29606
|
+
},
|
|
29607
|
+
};
|
|
29608
|
+
};
|
|
29609
|
+
/**
|
|
29610
|
+
* FactsApi - object-oriented interface
|
|
29611
|
+
* @export
|
|
29612
|
+
* @class FactsApi
|
|
29613
|
+
* @extends {BaseAPI}
|
|
29614
|
+
*/
|
|
29615
|
+
export class FactsApi extends BaseAPI {
|
|
29616
|
+
/**
|
|
29617
|
+
*
|
|
29618
|
+
* @summary Get all Facts
|
|
29619
|
+
* @param {FactsApiGetAllEntitiesFactsRequest} requestParameters Request parameters.
|
|
29620
|
+
* @param {*} [options] Override http request option.
|
|
29621
|
+
* @throws {RequiredError}
|
|
29622
|
+
* @memberof FactsApi
|
|
29623
|
+
*/
|
|
29624
|
+
getAllEntitiesFacts(requestParameters, options) {
|
|
29625
|
+
return FactsApiFp(this.configuration)
|
|
29626
|
+
.getAllEntitiesFacts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
29627
|
+
.then((request) => request(this.axios, this.basePath));
|
|
29628
|
+
}
|
|
29629
|
+
/**
|
|
29630
|
+
*
|
|
29631
|
+
* @summary Get a Fact
|
|
29632
|
+
* @param {FactsApiGetEntityFactsRequest} requestParameters Request parameters.
|
|
29633
|
+
* @param {*} [options] Override http request option.
|
|
29634
|
+
* @throws {RequiredError}
|
|
29635
|
+
* @memberof FactsApi
|
|
29636
|
+
*/
|
|
29637
|
+
getEntityFacts(requestParameters, options) {
|
|
29638
|
+
return FactsApiFp(this.configuration)
|
|
29639
|
+
.getEntityFacts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
29640
|
+
.then((request) => request(this.axios, this.basePath));
|
|
29641
|
+
}
|
|
29642
|
+
}
|
|
29643
|
+
/**
|
|
29644
|
+
* FilterViewsApi - axios parameter creator
|
|
29645
|
+
* @export
|
|
29646
|
+
*/
|
|
29647
|
+
export const FilterViewsApiAxiosParamCreator = function (configuration) {
|
|
29648
|
+
return {
|
|
29649
|
+
/**
|
|
29650
|
+
*
|
|
29651
|
+
* @summary Post Filter views
|
|
29652
|
+
* @param {string} workspaceId
|
|
29653
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
29654
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
29655
|
+
* @param {*} [options] Override http request option.
|
|
29656
|
+
* @throws {RequiredError}
|
|
29657
|
+
*/
|
|
29658
|
+
createEntityFilterViews: async (workspaceId, jsonApiFilterViewInDocument, include, options = {}) => {
|
|
29659
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
29660
|
+
assertParamExists("createEntityFilterViews", "workspaceId", workspaceId);
|
|
29661
|
+
// verify required parameter 'jsonApiFilterViewInDocument' is not null or undefined
|
|
29662
|
+
assertParamExists("createEntityFilterViews", "jsonApiFilterViewInDocument", jsonApiFilterViewInDocument);
|
|
29663
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
29664
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29665
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29666
|
+
let baseOptions;
|
|
29667
|
+
if (configuration) {
|
|
29668
|
+
baseOptions = configuration.baseOptions;
|
|
29669
|
+
}
|
|
29670
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
29671
|
+
const localVarHeaderParameter = {};
|
|
29672
|
+
const localVarQueryParameter = {};
|
|
29673
|
+
if (include) {
|
|
29674
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
29675
|
+
}
|
|
29676
|
+
localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
|
|
29677
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29678
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29679
|
+
localVarRequestOptions.headers = {
|
|
29680
|
+
...localVarHeaderParameter,
|
|
29681
|
+
...headersFromBaseOptions,
|
|
29682
|
+
...options.headers,
|
|
29683
|
+
};
|
|
29684
|
+
const needsSerialization = typeof jsonApiFilterViewInDocument !== "string" ||
|
|
29685
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
29686
|
+
localVarRequestOptions.data = needsSerialization
|
|
29687
|
+
? JSON.stringify(jsonApiFilterViewInDocument !== undefined ? jsonApiFilterViewInDocument : {})
|
|
29688
|
+
: jsonApiFilterViewInDocument || "";
|
|
29689
|
+
return {
|
|
29690
|
+
url: toPathString(localVarUrlObj),
|
|
29691
|
+
options: localVarRequestOptions,
|
|
29692
|
+
};
|
|
29693
|
+
},
|
|
29694
|
+
/**
|
|
29695
|
+
*
|
|
29696
|
+
* @summary Delete Filter view
|
|
29697
|
+
* @param {string} workspaceId
|
|
29698
|
+
* @param {string} objectId
|
|
29699
|
+
* @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\').
|
|
29700
|
+
* @param {*} [options] Override http request option.
|
|
29701
|
+
* @throws {RequiredError}
|
|
29702
|
+
*/
|
|
29703
|
+
deleteEntityFilterViews: async (workspaceId, objectId, filter, options = {}) => {
|
|
29704
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
29705
|
+
assertParamExists("deleteEntityFilterViews", "workspaceId", workspaceId);
|
|
29706
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
29707
|
+
assertParamExists("deleteEntityFilterViews", "objectId", objectId);
|
|
29708
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
29709
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
29710
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
29711
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29712
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29713
|
+
let baseOptions;
|
|
29714
|
+
if (configuration) {
|
|
29715
|
+
baseOptions = configuration.baseOptions;
|
|
29716
|
+
}
|
|
29717
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
29718
|
+
const localVarHeaderParameter = {};
|
|
29719
|
+
const localVarQueryParameter = {};
|
|
29720
|
+
if (filter !== undefined) {
|
|
29721
|
+
localVarQueryParameter["filter"] = filter;
|
|
29722
|
+
}
|
|
29723
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29724
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29725
|
+
localVarRequestOptions.headers = {
|
|
29726
|
+
...localVarHeaderParameter,
|
|
29727
|
+
...headersFromBaseOptions,
|
|
29728
|
+
...options.headers,
|
|
29729
|
+
};
|
|
29730
|
+
return {
|
|
29731
|
+
url: toPathString(localVarUrlObj),
|
|
29732
|
+
options: localVarRequestOptions,
|
|
29733
|
+
};
|
|
29734
|
+
},
|
|
29735
|
+
/**
|
|
29736
|
+
*
|
|
29737
|
+
* @summary Get all Filter views
|
|
29738
|
+
* @param {string} workspaceId
|
|
29739
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
29740
|
+
* @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\').
|
|
29741
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
29742
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
29743
|
+
* @param {number} [size] The size of the page to be returned
|
|
29744
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
29745
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
29746
|
+
* @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
29747
|
+
* @param {*} [options] Override http request option.
|
|
29748
|
+
* @throws {RequiredError}
|
|
29749
|
+
*/
|
|
29750
|
+
getAllEntitiesFilterViews: async (workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
|
|
29751
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
29752
|
+
assertParamExists("getAllEntitiesFilterViews", "workspaceId", workspaceId);
|
|
29753
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
29754
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29755
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29756
|
+
let baseOptions;
|
|
29757
|
+
if (configuration) {
|
|
29758
|
+
baseOptions = configuration.baseOptions;
|
|
29759
|
+
}
|
|
29760
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
29761
|
+
const localVarHeaderParameter = {};
|
|
29762
|
+
const localVarQueryParameter = {};
|
|
29763
|
+
if (origin !== undefined) {
|
|
29764
|
+
localVarQueryParameter["origin"] = origin;
|
|
29765
|
+
}
|
|
29766
|
+
if (filter !== undefined) {
|
|
29767
|
+
localVarQueryParameter["filter"] = filter;
|
|
29768
|
+
}
|
|
29769
|
+
if (include) {
|
|
29770
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
29771
|
+
}
|
|
29772
|
+
if (page !== undefined) {
|
|
29773
|
+
localVarQueryParameter["page"] = page;
|
|
29774
|
+
}
|
|
29775
|
+
if (size !== undefined) {
|
|
29776
|
+
localVarQueryParameter["size"] = size;
|
|
29777
|
+
}
|
|
29778
|
+
if (sort) {
|
|
29779
|
+
localVarQueryParameter["sort"] = sort;
|
|
29780
|
+
}
|
|
29781
|
+
if (metaInclude) {
|
|
29782
|
+
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
29783
|
+
}
|
|
29784
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
29785
|
+
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
29786
|
+
}
|
|
29787
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29788
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29789
|
+
localVarRequestOptions.headers = {
|
|
29790
|
+
...localVarHeaderParameter,
|
|
29791
|
+
...headersFromBaseOptions,
|
|
29792
|
+
...options.headers,
|
|
29793
|
+
};
|
|
29794
|
+
return {
|
|
29795
|
+
url: toPathString(localVarUrlObj),
|
|
29796
|
+
options: localVarRequestOptions,
|
|
29797
|
+
};
|
|
29798
|
+
},
|
|
29799
|
+
/**
|
|
29800
|
+
*
|
|
29801
|
+
* @summary Get Filter view
|
|
28756
29802
|
* @param {string} workspaceId
|
|
28757
29803
|
* @param {string} objectId
|
|
28758
29804
|
* @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\').
|
|
28759
|
-
* @param {Array<'
|
|
29805
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
28760
29806
|
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
28761
|
-
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
28762
29807
|
* @param {*} [options] Override http request option.
|
|
28763
29808
|
* @throws {RequiredError}
|
|
28764
29809
|
*/
|
|
28765
|
-
|
|
29810
|
+
getEntityFilterViews: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options = {}) => {
|
|
28766
29811
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
28767
|
-
assertParamExists("
|
|
29812
|
+
assertParamExists("getEntityFilterViews", "workspaceId", workspaceId);
|
|
28768
29813
|
// verify required parameter 'objectId' is not null or undefined
|
|
28769
|
-
assertParamExists("
|
|
28770
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
29814
|
+
assertParamExists("getEntityFilterViews", "objectId", objectId);
|
|
29815
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
28771
29816
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
28772
29817
|
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
28773
29818
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -28785,9 +29830,6 @@ export const FactsApiAxiosParamCreator = function (configuration) {
|
|
|
28785
29830
|
if (include) {
|
|
28786
29831
|
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
28787
29832
|
}
|
|
28788
|
-
if (metaInclude) {
|
|
28789
|
-
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
28790
|
-
}
|
|
28791
29833
|
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
28792
29834
|
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
28793
29835
|
}
|
|
@@ -28803,116 +29845,379 @@ export const FactsApiAxiosParamCreator = function (configuration) {
|
|
|
28803
29845
|
options: localVarRequestOptions,
|
|
28804
29846
|
};
|
|
28805
29847
|
},
|
|
29848
|
+
/**
|
|
29849
|
+
*
|
|
29850
|
+
* @summary Patch Filter view
|
|
29851
|
+
* @param {string} workspaceId
|
|
29852
|
+
* @param {string} objectId
|
|
29853
|
+
* @param {JsonApiFilterViewPatchDocument} jsonApiFilterViewPatchDocument
|
|
29854
|
+
* @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\').
|
|
29855
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
29856
|
+
* @param {*} [options] Override http request option.
|
|
29857
|
+
* @throws {RequiredError}
|
|
29858
|
+
*/
|
|
29859
|
+
patchEntityFilterViews: async (workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options = {}) => {
|
|
29860
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
29861
|
+
assertParamExists("patchEntityFilterViews", "workspaceId", workspaceId);
|
|
29862
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
29863
|
+
assertParamExists("patchEntityFilterViews", "objectId", objectId);
|
|
29864
|
+
// verify required parameter 'jsonApiFilterViewPatchDocument' is not null or undefined
|
|
29865
|
+
assertParamExists("patchEntityFilterViews", "jsonApiFilterViewPatchDocument", jsonApiFilterViewPatchDocument);
|
|
29866
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
29867
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
29868
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
29869
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29870
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29871
|
+
let baseOptions;
|
|
29872
|
+
if (configuration) {
|
|
29873
|
+
baseOptions = configuration.baseOptions;
|
|
29874
|
+
}
|
|
29875
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
29876
|
+
const localVarHeaderParameter = {};
|
|
29877
|
+
const localVarQueryParameter = {};
|
|
29878
|
+
if (filter !== undefined) {
|
|
29879
|
+
localVarQueryParameter["filter"] = filter;
|
|
29880
|
+
}
|
|
29881
|
+
if (include) {
|
|
29882
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
29883
|
+
}
|
|
29884
|
+
localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
|
|
29885
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29886
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29887
|
+
localVarRequestOptions.headers = {
|
|
29888
|
+
...localVarHeaderParameter,
|
|
29889
|
+
...headersFromBaseOptions,
|
|
29890
|
+
...options.headers,
|
|
29891
|
+
};
|
|
29892
|
+
const needsSerialization = typeof jsonApiFilterViewPatchDocument !== "string" ||
|
|
29893
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
29894
|
+
localVarRequestOptions.data = needsSerialization
|
|
29895
|
+
? JSON.stringify(jsonApiFilterViewPatchDocument !== undefined ? jsonApiFilterViewPatchDocument : {})
|
|
29896
|
+
: jsonApiFilterViewPatchDocument || "";
|
|
29897
|
+
return {
|
|
29898
|
+
url: toPathString(localVarUrlObj),
|
|
29899
|
+
options: localVarRequestOptions,
|
|
29900
|
+
};
|
|
29901
|
+
},
|
|
29902
|
+
/**
|
|
29903
|
+
*
|
|
29904
|
+
* @summary Put Filter views
|
|
29905
|
+
* @param {string} workspaceId
|
|
29906
|
+
* @param {string} objectId
|
|
29907
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
29908
|
+
* @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\').
|
|
29909
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
29910
|
+
* @param {*} [options] Override http request option.
|
|
29911
|
+
* @throws {RequiredError}
|
|
29912
|
+
*/
|
|
29913
|
+
updateEntityFilterViews: async (workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options = {}) => {
|
|
29914
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
29915
|
+
assertParamExists("updateEntityFilterViews", "workspaceId", workspaceId);
|
|
29916
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
29917
|
+
assertParamExists("updateEntityFilterViews", "objectId", objectId);
|
|
29918
|
+
// verify required parameter 'jsonApiFilterViewInDocument' is not null or undefined
|
|
29919
|
+
assertParamExists("updateEntityFilterViews", "jsonApiFilterViewInDocument", jsonApiFilterViewInDocument);
|
|
29920
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
29921
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
29922
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
29923
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29924
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29925
|
+
let baseOptions;
|
|
29926
|
+
if (configuration) {
|
|
29927
|
+
baseOptions = configuration.baseOptions;
|
|
29928
|
+
}
|
|
29929
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
29930
|
+
const localVarHeaderParameter = {};
|
|
29931
|
+
const localVarQueryParameter = {};
|
|
29932
|
+
if (filter !== undefined) {
|
|
29933
|
+
localVarQueryParameter["filter"] = filter;
|
|
29934
|
+
}
|
|
29935
|
+
if (include) {
|
|
29936
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
29937
|
+
}
|
|
29938
|
+
localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
|
|
29939
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29940
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29941
|
+
localVarRequestOptions.headers = {
|
|
29942
|
+
...localVarHeaderParameter,
|
|
29943
|
+
...headersFromBaseOptions,
|
|
29944
|
+
...options.headers,
|
|
29945
|
+
};
|
|
29946
|
+
const needsSerialization = typeof jsonApiFilterViewInDocument !== "string" ||
|
|
29947
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
29948
|
+
localVarRequestOptions.data = needsSerialization
|
|
29949
|
+
? JSON.stringify(jsonApiFilterViewInDocument !== undefined ? jsonApiFilterViewInDocument : {})
|
|
29950
|
+
: jsonApiFilterViewInDocument || "";
|
|
29951
|
+
return {
|
|
29952
|
+
url: toPathString(localVarUrlObj),
|
|
29953
|
+
options: localVarRequestOptions,
|
|
29954
|
+
};
|
|
29955
|
+
},
|
|
28806
29956
|
};
|
|
28807
29957
|
};
|
|
28808
29958
|
/**
|
|
28809
|
-
*
|
|
29959
|
+
* FilterViewsApi - functional programming interface
|
|
28810
29960
|
* @export
|
|
28811
29961
|
*/
|
|
28812
|
-
export const
|
|
28813
|
-
const localVarAxiosParamCreator =
|
|
29962
|
+
export const FilterViewsApiFp = function (configuration) {
|
|
29963
|
+
const localVarAxiosParamCreator = FilterViewsApiAxiosParamCreator(configuration);
|
|
28814
29964
|
return {
|
|
28815
29965
|
/**
|
|
28816
29966
|
*
|
|
28817
|
-
* @summary
|
|
29967
|
+
* @summary Post Filter views
|
|
29968
|
+
* @param {string} workspaceId
|
|
29969
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
29970
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
29971
|
+
* @param {*} [options] Override http request option.
|
|
29972
|
+
* @throws {RequiredError}
|
|
29973
|
+
*/
|
|
29974
|
+
async createEntityFilterViews(workspaceId, jsonApiFilterViewInDocument, include, options) {
|
|
29975
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createEntityFilterViews(workspaceId, jsonApiFilterViewInDocument, include, options);
|
|
29976
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29977
|
+
},
|
|
29978
|
+
/**
|
|
29979
|
+
*
|
|
29980
|
+
* @summary Delete Filter view
|
|
29981
|
+
* @param {string} workspaceId
|
|
29982
|
+
* @param {string} objectId
|
|
29983
|
+
* @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\').
|
|
29984
|
+
* @param {*} [options] Override http request option.
|
|
29985
|
+
* @throws {RequiredError}
|
|
29986
|
+
*/
|
|
29987
|
+
async deleteEntityFilterViews(workspaceId, objectId, filter, options) {
|
|
29988
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEntityFilterViews(workspaceId, objectId, filter, options);
|
|
29989
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29990
|
+
},
|
|
29991
|
+
/**
|
|
29992
|
+
*
|
|
29993
|
+
* @summary Get all Filter views
|
|
28818
29994
|
* @param {string} workspaceId
|
|
28819
29995
|
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
28820
29996
|
* @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\').
|
|
28821
|
-
* @param {Array<'
|
|
29997
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
28822
29998
|
* @param {number} [page] Zero-based page index (0..N)
|
|
28823
29999
|
* @param {number} [size] The size of the page to be returned
|
|
28824
30000
|
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
28825
30001
|
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
28826
|
-
* @param {Array<'
|
|
30002
|
+
* @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
28827
30003
|
* @param {*} [options] Override http request option.
|
|
28828
30004
|
* @throws {RequiredError}
|
|
28829
30005
|
*/
|
|
28830
|
-
async
|
|
28831
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
30006
|
+
async getAllEntitiesFilterViews(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options) {
|
|
30007
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFilterViews(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
28832
30008
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28833
30009
|
},
|
|
28834
30010
|
/**
|
|
28835
30011
|
*
|
|
28836
|
-
* @summary Get
|
|
30012
|
+
* @summary Get Filter view
|
|
28837
30013
|
* @param {string} workspaceId
|
|
28838
30014
|
* @param {string} objectId
|
|
28839
30015
|
* @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\').
|
|
28840
|
-
* @param {Array<'
|
|
30016
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
28841
30017
|
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
28842
|
-
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
28843
30018
|
* @param {*} [options] Override http request option.
|
|
28844
30019
|
* @throws {RequiredError}
|
|
28845
30020
|
*/
|
|
28846
|
-
async
|
|
28847
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
30021
|
+
async getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options) {
|
|
30022
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options);
|
|
30023
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30024
|
+
},
|
|
30025
|
+
/**
|
|
30026
|
+
*
|
|
30027
|
+
* @summary Patch Filter view
|
|
30028
|
+
* @param {string} workspaceId
|
|
30029
|
+
* @param {string} objectId
|
|
30030
|
+
* @param {JsonApiFilterViewPatchDocument} jsonApiFilterViewPatchDocument
|
|
30031
|
+
* @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\').
|
|
30032
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
30033
|
+
* @param {*} [options] Override http request option.
|
|
30034
|
+
* @throws {RequiredError}
|
|
30035
|
+
*/
|
|
30036
|
+
async patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options) {
|
|
30037
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options);
|
|
30038
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30039
|
+
},
|
|
30040
|
+
/**
|
|
30041
|
+
*
|
|
30042
|
+
* @summary Put Filter views
|
|
30043
|
+
* @param {string} workspaceId
|
|
30044
|
+
* @param {string} objectId
|
|
30045
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
30046
|
+
* @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\').
|
|
30047
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
30048
|
+
* @param {*} [options] Override http request option.
|
|
30049
|
+
* @throws {RequiredError}
|
|
30050
|
+
*/
|
|
30051
|
+
async updateEntityFilterViews(workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options) {
|
|
30052
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateEntityFilterViews(workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options);
|
|
28848
30053
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28849
30054
|
},
|
|
28850
30055
|
};
|
|
28851
30056
|
};
|
|
28852
30057
|
/**
|
|
28853
|
-
*
|
|
30058
|
+
* FilterViewsApi - factory interface
|
|
28854
30059
|
* @export
|
|
28855
30060
|
*/
|
|
28856
|
-
export const
|
|
28857
|
-
const localVarFp =
|
|
30061
|
+
export const FilterViewsApiFactory = function (configuration, basePath, axios) {
|
|
30062
|
+
const localVarFp = FilterViewsApiFp(configuration);
|
|
28858
30063
|
return {
|
|
28859
30064
|
/**
|
|
28860
30065
|
*
|
|
28861
|
-
* @summary
|
|
28862
|
-
* @param {
|
|
30066
|
+
* @summary Post Filter views
|
|
30067
|
+
* @param {FilterViewsApiCreateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
28863
30068
|
* @param {*} [options] Override http request option.
|
|
28864
30069
|
* @throws {RequiredError}
|
|
28865
30070
|
*/
|
|
28866
|
-
|
|
30071
|
+
createEntityFilterViews(requestParameters, options) {
|
|
28867
30072
|
return localVarFp
|
|
28868
|
-
.
|
|
30073
|
+
.createEntityFilterViews(requestParameters.workspaceId, requestParameters.jsonApiFilterViewInDocument, requestParameters.include, options)
|
|
28869
30074
|
.then((request) => request(axios, basePath));
|
|
28870
30075
|
},
|
|
28871
30076
|
/**
|
|
28872
30077
|
*
|
|
28873
|
-
* @summary
|
|
28874
|
-
* @param {
|
|
30078
|
+
* @summary Delete Filter view
|
|
30079
|
+
* @param {FilterViewsApiDeleteEntityFilterViewsRequest} requestParameters Request parameters.
|
|
28875
30080
|
* @param {*} [options] Override http request option.
|
|
28876
30081
|
* @throws {RequiredError}
|
|
28877
30082
|
*/
|
|
28878
|
-
|
|
30083
|
+
deleteEntityFilterViews(requestParameters, options) {
|
|
28879
30084
|
return localVarFp
|
|
28880
|
-
.
|
|
30085
|
+
.deleteEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
30086
|
+
.then((request) => request(axios, basePath));
|
|
30087
|
+
},
|
|
30088
|
+
/**
|
|
30089
|
+
*
|
|
30090
|
+
* @summary Get all Filter views
|
|
30091
|
+
* @param {FilterViewsApiGetAllEntitiesFilterViewsRequest} requestParameters Request parameters.
|
|
30092
|
+
* @param {*} [options] Override http request option.
|
|
30093
|
+
* @throws {RequiredError}
|
|
30094
|
+
*/
|
|
30095
|
+
getAllEntitiesFilterViews(requestParameters, options) {
|
|
30096
|
+
return localVarFp
|
|
30097
|
+
.getAllEntitiesFilterViews(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
30098
|
+
.then((request) => request(axios, basePath));
|
|
30099
|
+
},
|
|
30100
|
+
/**
|
|
30101
|
+
*
|
|
30102
|
+
* @summary Get Filter view
|
|
30103
|
+
* @param {FilterViewsApiGetEntityFilterViewsRequest} requestParameters Request parameters.
|
|
30104
|
+
* @param {*} [options] Override http request option.
|
|
30105
|
+
* @throws {RequiredError}
|
|
30106
|
+
*/
|
|
30107
|
+
getEntityFilterViews(requestParameters, options) {
|
|
30108
|
+
return localVarFp
|
|
30109
|
+
.getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
|
|
30110
|
+
.then((request) => request(axios, basePath));
|
|
30111
|
+
},
|
|
30112
|
+
/**
|
|
30113
|
+
*
|
|
30114
|
+
* @summary Patch Filter view
|
|
30115
|
+
* @param {FilterViewsApiPatchEntityFilterViewsRequest} requestParameters Request parameters.
|
|
30116
|
+
* @param {*} [options] Override http request option.
|
|
30117
|
+
* @throws {RequiredError}
|
|
30118
|
+
*/
|
|
30119
|
+
patchEntityFilterViews(requestParameters, options) {
|
|
30120
|
+
return localVarFp
|
|
30121
|
+
.patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
30122
|
+
.then((request) => request(axios, basePath));
|
|
30123
|
+
},
|
|
30124
|
+
/**
|
|
30125
|
+
*
|
|
30126
|
+
* @summary Put Filter views
|
|
30127
|
+
* @param {FilterViewsApiUpdateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
30128
|
+
* @param {*} [options] Override http request option.
|
|
30129
|
+
* @throws {RequiredError}
|
|
30130
|
+
*/
|
|
30131
|
+
updateEntityFilterViews(requestParameters, options) {
|
|
30132
|
+
return localVarFp
|
|
30133
|
+
.updateEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewInDocument, requestParameters.filter, requestParameters.include, options)
|
|
28881
30134
|
.then((request) => request(axios, basePath));
|
|
28882
30135
|
},
|
|
28883
30136
|
};
|
|
28884
30137
|
};
|
|
28885
30138
|
/**
|
|
28886
|
-
*
|
|
30139
|
+
* FilterViewsApi - object-oriented interface
|
|
28887
30140
|
* @export
|
|
28888
|
-
* @class
|
|
30141
|
+
* @class FilterViewsApi
|
|
28889
30142
|
* @extends {BaseAPI}
|
|
28890
30143
|
*/
|
|
28891
|
-
export class
|
|
30144
|
+
export class FilterViewsApi extends BaseAPI {
|
|
28892
30145
|
/**
|
|
28893
30146
|
*
|
|
28894
|
-
* @summary
|
|
28895
|
-
* @param {
|
|
30147
|
+
* @summary Post Filter views
|
|
30148
|
+
* @param {FilterViewsApiCreateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
28896
30149
|
* @param {*} [options] Override http request option.
|
|
28897
30150
|
* @throws {RequiredError}
|
|
28898
|
-
* @memberof
|
|
30151
|
+
* @memberof FilterViewsApi
|
|
28899
30152
|
*/
|
|
28900
|
-
|
|
28901
|
-
return
|
|
28902
|
-
.
|
|
30153
|
+
createEntityFilterViews(requestParameters, options) {
|
|
30154
|
+
return FilterViewsApiFp(this.configuration)
|
|
30155
|
+
.createEntityFilterViews(requestParameters.workspaceId, requestParameters.jsonApiFilterViewInDocument, requestParameters.include, options)
|
|
28903
30156
|
.then((request) => request(this.axios, this.basePath));
|
|
28904
30157
|
}
|
|
28905
30158
|
/**
|
|
28906
30159
|
*
|
|
28907
|
-
* @summary
|
|
28908
|
-
* @param {
|
|
30160
|
+
* @summary Delete Filter view
|
|
30161
|
+
* @param {FilterViewsApiDeleteEntityFilterViewsRequest} requestParameters Request parameters.
|
|
28909
30162
|
* @param {*} [options] Override http request option.
|
|
28910
30163
|
* @throws {RequiredError}
|
|
28911
|
-
* @memberof
|
|
30164
|
+
* @memberof FilterViewsApi
|
|
28912
30165
|
*/
|
|
28913
|
-
|
|
28914
|
-
return
|
|
28915
|
-
.
|
|
30166
|
+
deleteEntityFilterViews(requestParameters, options) {
|
|
30167
|
+
return FilterViewsApiFp(this.configuration)
|
|
30168
|
+
.deleteEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
30169
|
+
.then((request) => request(this.axios, this.basePath));
|
|
30170
|
+
}
|
|
30171
|
+
/**
|
|
30172
|
+
*
|
|
30173
|
+
* @summary Get all Filter views
|
|
30174
|
+
* @param {FilterViewsApiGetAllEntitiesFilterViewsRequest} requestParameters Request parameters.
|
|
30175
|
+
* @param {*} [options] Override http request option.
|
|
30176
|
+
* @throws {RequiredError}
|
|
30177
|
+
* @memberof FilterViewsApi
|
|
30178
|
+
*/
|
|
30179
|
+
getAllEntitiesFilterViews(requestParameters, options) {
|
|
30180
|
+
return FilterViewsApiFp(this.configuration)
|
|
30181
|
+
.getAllEntitiesFilterViews(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
30182
|
+
.then((request) => request(this.axios, this.basePath));
|
|
30183
|
+
}
|
|
30184
|
+
/**
|
|
30185
|
+
*
|
|
30186
|
+
* @summary Get Filter view
|
|
30187
|
+
* @param {FilterViewsApiGetEntityFilterViewsRequest} requestParameters Request parameters.
|
|
30188
|
+
* @param {*} [options] Override http request option.
|
|
30189
|
+
* @throws {RequiredError}
|
|
30190
|
+
* @memberof FilterViewsApi
|
|
30191
|
+
*/
|
|
30192
|
+
getEntityFilterViews(requestParameters, options) {
|
|
30193
|
+
return FilterViewsApiFp(this.configuration)
|
|
30194
|
+
.getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
|
|
30195
|
+
.then((request) => request(this.axios, this.basePath));
|
|
30196
|
+
}
|
|
30197
|
+
/**
|
|
30198
|
+
*
|
|
30199
|
+
* @summary Patch Filter view
|
|
30200
|
+
* @param {FilterViewsApiPatchEntityFilterViewsRequest} requestParameters Request parameters.
|
|
30201
|
+
* @param {*} [options] Override http request option.
|
|
30202
|
+
* @throws {RequiredError}
|
|
30203
|
+
* @memberof FilterViewsApi
|
|
30204
|
+
*/
|
|
30205
|
+
patchEntityFilterViews(requestParameters, options) {
|
|
30206
|
+
return FilterViewsApiFp(this.configuration)
|
|
30207
|
+
.patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
30208
|
+
.then((request) => request(this.axios, this.basePath));
|
|
30209
|
+
}
|
|
30210
|
+
/**
|
|
30211
|
+
*
|
|
30212
|
+
* @summary Put Filter views
|
|
30213
|
+
* @param {FilterViewsApiUpdateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
30214
|
+
* @param {*} [options] Override http request option.
|
|
30215
|
+
* @throws {RequiredError}
|
|
30216
|
+
* @memberof FilterViewsApi
|
|
30217
|
+
*/
|
|
30218
|
+
updateEntityFilterViews(requestParameters, options) {
|
|
30219
|
+
return FilterViewsApiFp(this.configuration)
|
|
30220
|
+
.updateEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewInDocument, requestParameters.filter, requestParameters.include, options)
|
|
28916
30221
|
.then((request) => request(this.axios, this.basePath));
|
|
28917
30222
|
}
|
|
28918
30223
|
}
|
|
@@ -31438,6 +32743,42 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
|
|
|
31438
32743
|
options: localVarRequestOptions,
|
|
31439
32744
|
};
|
|
31440
32745
|
},
|
|
32746
|
+
/**
|
|
32747
|
+
* Retrieve automations for the specific workspace
|
|
32748
|
+
* @summary Get automations
|
|
32749
|
+
* @param {string} workspaceId
|
|
32750
|
+
* @param {Array<'ACTIVITY_INFO'>} [exclude]
|
|
32751
|
+
* @param {*} [options] Override http request option.
|
|
32752
|
+
* @throws {RequiredError}
|
|
32753
|
+
*/
|
|
32754
|
+
getAutomations: async (workspaceId, exclude, options = {}) => {
|
|
32755
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
32756
|
+
assertParamExists("getAutomations", "workspaceId", workspaceId);
|
|
32757
|
+
const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/automations`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
32758
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32759
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32760
|
+
let baseOptions;
|
|
32761
|
+
if (configuration) {
|
|
32762
|
+
baseOptions = configuration.baseOptions;
|
|
32763
|
+
}
|
|
32764
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
32765
|
+
const localVarHeaderParameter = {};
|
|
32766
|
+
const localVarQueryParameter = {};
|
|
32767
|
+
if (exclude) {
|
|
32768
|
+
localVarQueryParameter["exclude"] = exclude;
|
|
32769
|
+
}
|
|
32770
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32771
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32772
|
+
localVarRequestOptions.headers = {
|
|
32773
|
+
...localVarHeaderParameter,
|
|
32774
|
+
...headersFromBaseOptions,
|
|
32775
|
+
...options.headers,
|
|
32776
|
+
};
|
|
32777
|
+
return {
|
|
32778
|
+
url: toPathString(localVarUrlObj),
|
|
32779
|
+
options: localVarRequestOptions,
|
|
32780
|
+
};
|
|
32781
|
+
},
|
|
31441
32782
|
/**
|
|
31442
32783
|
* Retrieve current set of permissions of the data source in a declarative form.
|
|
31443
32784
|
* @summary Get permissions for the data source
|
|
@@ -32173,6 +33514,47 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
|
|
|
32173
33514
|
options: localVarRequestOptions,
|
|
32174
33515
|
};
|
|
32175
33516
|
},
|
|
33517
|
+
/**
|
|
33518
|
+
* Set automations for the specific workspace.
|
|
33519
|
+
* @summary Set automations
|
|
33520
|
+
* @param {string} workspaceId
|
|
33521
|
+
* @param {Array<DeclarativeAutomation>} declarativeAutomation
|
|
33522
|
+
* @param {*} [options] Override http request option.
|
|
33523
|
+
* @throws {RequiredError}
|
|
33524
|
+
*/
|
|
33525
|
+
setAutomations: async (workspaceId, declarativeAutomation, options = {}) => {
|
|
33526
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
33527
|
+
assertParamExists("setAutomations", "workspaceId", workspaceId);
|
|
33528
|
+
// verify required parameter 'declarativeAutomation' is not null or undefined
|
|
33529
|
+
assertParamExists("setAutomations", "declarativeAutomation", declarativeAutomation);
|
|
33530
|
+
const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/automations`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
33531
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33532
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33533
|
+
let baseOptions;
|
|
33534
|
+
if (configuration) {
|
|
33535
|
+
baseOptions = configuration.baseOptions;
|
|
33536
|
+
}
|
|
33537
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
33538
|
+
const localVarHeaderParameter = {};
|
|
33539
|
+
const localVarQueryParameter = {};
|
|
33540
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
33541
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33542
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33543
|
+
localVarRequestOptions.headers = {
|
|
33544
|
+
...localVarHeaderParameter,
|
|
33545
|
+
...headersFromBaseOptions,
|
|
33546
|
+
...options.headers,
|
|
33547
|
+
};
|
|
33548
|
+
const needsSerialization = typeof declarativeAutomation !== "string" ||
|
|
33549
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
33550
|
+
localVarRequestOptions.data = needsSerialization
|
|
33551
|
+
? JSON.stringify(declarativeAutomation !== undefined ? declarativeAutomation : {})
|
|
33552
|
+
: declarativeAutomation || "";
|
|
33553
|
+
return {
|
|
33554
|
+
url: toPathString(localVarUrlObj),
|
|
33555
|
+
options: localVarRequestOptions,
|
|
33556
|
+
};
|
|
33557
|
+
},
|
|
32176
33558
|
/**
|
|
32177
33559
|
* et data source permissions.
|
|
32178
33560
|
* @summary Set data source permissions.
|
|
@@ -32632,6 +34014,18 @@ export const LayoutApiFp = function (configuration) {
|
|
|
32632
34014
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAnalyticsModel(workspaceId, exclude, options);
|
|
32633
34015
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32634
34016
|
},
|
|
34017
|
+
/**
|
|
34018
|
+
* Retrieve automations for the specific workspace
|
|
34019
|
+
* @summary Get automations
|
|
34020
|
+
* @param {string} workspaceId
|
|
34021
|
+
* @param {Array<'ACTIVITY_INFO'>} [exclude]
|
|
34022
|
+
* @param {*} [options] Override http request option.
|
|
34023
|
+
* @throws {RequiredError}
|
|
34024
|
+
*/
|
|
34025
|
+
async getAutomations(workspaceId, exclude, options) {
|
|
34026
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAutomations(workspaceId, exclude, options);
|
|
34027
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34028
|
+
},
|
|
32635
34029
|
/**
|
|
32636
34030
|
* Retrieve current set of permissions of the data source in a declarative form.
|
|
32637
34031
|
* @summary Get permissions for the data source
|
|
@@ -32871,6 +34265,18 @@ export const LayoutApiFp = function (configuration) {
|
|
|
32871
34265
|
const localVarAxiosArgs = await localVarAxiosParamCreator.setAnalyticsModel(workspaceId, declarativeAnalytics, options);
|
|
32872
34266
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32873
34267
|
},
|
|
34268
|
+
/**
|
|
34269
|
+
* Set automations for the specific workspace.
|
|
34270
|
+
* @summary Set automations
|
|
34271
|
+
* @param {string} workspaceId
|
|
34272
|
+
* @param {Array<DeclarativeAutomation>} declarativeAutomation
|
|
34273
|
+
* @param {*} [options] Override http request option.
|
|
34274
|
+
* @throws {RequiredError}
|
|
34275
|
+
*/
|
|
34276
|
+
async setAutomations(workspaceId, declarativeAutomation, options) {
|
|
34277
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setAutomations(workspaceId, declarativeAutomation, options);
|
|
34278
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34279
|
+
},
|
|
32874
34280
|
/**
|
|
32875
34281
|
* et data source permissions.
|
|
32876
34282
|
* @summary Set data source permissions.
|
|
@@ -33019,6 +34425,18 @@ export const LayoutApiFactory = function (configuration, basePath, axios) {
|
|
|
33019
34425
|
.getAnalyticsModel(requestParameters.workspaceId, requestParameters.exclude, options)
|
|
33020
34426
|
.then((request) => request(axios, basePath));
|
|
33021
34427
|
},
|
|
34428
|
+
/**
|
|
34429
|
+
* Retrieve automations for the specific workspace
|
|
34430
|
+
* @summary Get automations
|
|
34431
|
+
* @param {LayoutApiGetAutomationsRequest} requestParameters Request parameters.
|
|
34432
|
+
* @param {*} [options] Override http request option.
|
|
34433
|
+
* @throws {RequiredError}
|
|
34434
|
+
*/
|
|
34435
|
+
getAutomations(requestParameters, options) {
|
|
34436
|
+
return localVarFp
|
|
34437
|
+
.getAutomations(requestParameters.workspaceId, requestParameters.exclude, options)
|
|
34438
|
+
.then((request) => request(axios, basePath));
|
|
34439
|
+
},
|
|
33022
34440
|
/**
|
|
33023
34441
|
* Retrieve current set of permissions of the data source in a declarative form.
|
|
33024
34442
|
* @summary Get permissions for the data source
|
|
@@ -33266,6 +34684,18 @@ export const LayoutApiFactory = function (configuration, basePath, axios) {
|
|
|
33266
34684
|
.setAnalyticsModel(requestParameters.workspaceId, requestParameters.declarativeAnalytics, options)
|
|
33267
34685
|
.then((request) => request(axios, basePath));
|
|
33268
34686
|
},
|
|
34687
|
+
/**
|
|
34688
|
+
* Set automations for the specific workspace.
|
|
34689
|
+
* @summary Set automations
|
|
34690
|
+
* @param {LayoutApiSetAutomationsRequest} requestParameters Request parameters.
|
|
34691
|
+
* @param {*} [options] Override http request option.
|
|
34692
|
+
* @throws {RequiredError}
|
|
34693
|
+
*/
|
|
34694
|
+
setAutomations(requestParameters, options) {
|
|
34695
|
+
return localVarFp
|
|
34696
|
+
.setAutomations(requestParameters.workspaceId, requestParameters.declarativeAutomation, options)
|
|
34697
|
+
.then((request) => request(axios, basePath));
|
|
34698
|
+
},
|
|
33269
34699
|
/**
|
|
33270
34700
|
* et data source permissions.
|
|
33271
34701
|
* @summary Set data source permissions.
|
|
@@ -33420,6 +34850,19 @@ export class LayoutApi extends BaseAPI {
|
|
|
33420
34850
|
.getAnalyticsModel(requestParameters.workspaceId, requestParameters.exclude, options)
|
|
33421
34851
|
.then((request) => request(this.axios, this.basePath));
|
|
33422
34852
|
}
|
|
34853
|
+
/**
|
|
34854
|
+
* Retrieve automations for the specific workspace
|
|
34855
|
+
* @summary Get automations
|
|
34856
|
+
* @param {LayoutApiGetAutomationsRequest} requestParameters Request parameters.
|
|
34857
|
+
* @param {*} [options] Override http request option.
|
|
34858
|
+
* @throws {RequiredError}
|
|
34859
|
+
* @memberof LayoutApi
|
|
34860
|
+
*/
|
|
34861
|
+
getAutomations(requestParameters, options) {
|
|
34862
|
+
return LayoutApiFp(this.configuration)
|
|
34863
|
+
.getAutomations(requestParameters.workspaceId, requestParameters.exclude, options)
|
|
34864
|
+
.then((request) => request(this.axios, this.basePath));
|
|
34865
|
+
}
|
|
33423
34866
|
/**
|
|
33424
34867
|
* Retrieve current set of permissions of the data source in a declarative form.
|
|
33425
34868
|
* @summary Get permissions for the data source
|
|
@@ -33699,6 +35142,19 @@ export class LayoutApi extends BaseAPI {
|
|
|
33699
35142
|
.setAnalyticsModel(requestParameters.workspaceId, requestParameters.declarativeAnalytics, options)
|
|
33700
35143
|
.then((request) => request(this.axios, this.basePath));
|
|
33701
35144
|
}
|
|
35145
|
+
/**
|
|
35146
|
+
* Set automations for the specific workspace.
|
|
35147
|
+
* @summary Set automations
|
|
35148
|
+
* @param {LayoutApiSetAutomationsRequest} requestParameters Request parameters.
|
|
35149
|
+
* @param {*} [options] Override http request option.
|
|
35150
|
+
* @throws {RequiredError}
|
|
35151
|
+
* @memberof LayoutApi
|
|
35152
|
+
*/
|
|
35153
|
+
setAutomations(requestParameters, options) {
|
|
35154
|
+
return LayoutApiFp(this.configuration)
|
|
35155
|
+
.setAutomations(requestParameters.workspaceId, requestParameters.declarativeAutomation, options)
|
|
35156
|
+
.then((request) => request(this.axios, this.basePath));
|
|
35157
|
+
}
|
|
33702
35158
|
/**
|
|
33703
35159
|
* et data source permissions.
|
|
33704
35160
|
* @summary Set data source permissions.
|
|
@@ -50450,6 +51906,51 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
|
|
|
50450
51906
|
options: localVarRequestOptions,
|
|
50451
51907
|
};
|
|
50452
51908
|
},
|
|
51909
|
+
/**
|
|
51910
|
+
*
|
|
51911
|
+
* @summary Post Filter views
|
|
51912
|
+
* @param {string} workspaceId
|
|
51913
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
51914
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
51915
|
+
* @param {*} [options] Override http request option.
|
|
51916
|
+
* @throws {RequiredError}
|
|
51917
|
+
*/
|
|
51918
|
+
createEntityFilterViews: async (workspaceId, jsonApiFilterViewInDocument, include, options = {}) => {
|
|
51919
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
51920
|
+
assertParamExists("createEntityFilterViews", "workspaceId", workspaceId);
|
|
51921
|
+
// verify required parameter 'jsonApiFilterViewInDocument' is not null or undefined
|
|
51922
|
+
assertParamExists("createEntityFilterViews", "jsonApiFilterViewInDocument", jsonApiFilterViewInDocument);
|
|
51923
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
51924
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51925
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
51926
|
+
let baseOptions;
|
|
51927
|
+
if (configuration) {
|
|
51928
|
+
baseOptions = configuration.baseOptions;
|
|
51929
|
+
}
|
|
51930
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
51931
|
+
const localVarHeaderParameter = {};
|
|
51932
|
+
const localVarQueryParameter = {};
|
|
51933
|
+
if (include) {
|
|
51934
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
51935
|
+
}
|
|
51936
|
+
localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
|
|
51937
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
51938
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
51939
|
+
localVarRequestOptions.headers = {
|
|
51940
|
+
...localVarHeaderParameter,
|
|
51941
|
+
...headersFromBaseOptions,
|
|
51942
|
+
...options.headers,
|
|
51943
|
+
};
|
|
51944
|
+
const needsSerialization = typeof jsonApiFilterViewInDocument !== "string" ||
|
|
51945
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
51946
|
+
localVarRequestOptions.data = needsSerialization
|
|
51947
|
+
? JSON.stringify(jsonApiFilterViewInDocument !== undefined ? jsonApiFilterViewInDocument : {})
|
|
51948
|
+
: jsonApiFilterViewInDocument || "";
|
|
51949
|
+
return {
|
|
51950
|
+
url: toPathString(localVarUrlObj),
|
|
51951
|
+
options: localVarRequestOptions,
|
|
51952
|
+
};
|
|
51953
|
+
},
|
|
50453
51954
|
/**
|
|
50454
51955
|
*
|
|
50455
51956
|
* @summary Post Metrics
|
|
@@ -51039,6 +52540,47 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
|
|
|
51039
52540
|
options: localVarRequestOptions,
|
|
51040
52541
|
};
|
|
51041
52542
|
},
|
|
52543
|
+
/**
|
|
52544
|
+
*
|
|
52545
|
+
* @summary Delete Filter view
|
|
52546
|
+
* @param {string} workspaceId
|
|
52547
|
+
* @param {string} objectId
|
|
52548
|
+
* @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\').
|
|
52549
|
+
* @param {*} [options] Override http request option.
|
|
52550
|
+
* @throws {RequiredError}
|
|
52551
|
+
*/
|
|
52552
|
+
deleteEntityFilterViews: async (workspaceId, objectId, filter, options = {}) => {
|
|
52553
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
52554
|
+
assertParamExists("deleteEntityFilterViews", "workspaceId", workspaceId);
|
|
52555
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
52556
|
+
assertParamExists("deleteEntityFilterViews", "objectId", objectId);
|
|
52557
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
52558
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
52559
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
52560
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
52561
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
52562
|
+
let baseOptions;
|
|
52563
|
+
if (configuration) {
|
|
52564
|
+
baseOptions = configuration.baseOptions;
|
|
52565
|
+
}
|
|
52566
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
52567
|
+
const localVarHeaderParameter = {};
|
|
52568
|
+
const localVarQueryParameter = {};
|
|
52569
|
+
if (filter !== undefined) {
|
|
52570
|
+
localVarQueryParameter["filter"] = filter;
|
|
52571
|
+
}
|
|
52572
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
52573
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
52574
|
+
localVarRequestOptions.headers = {
|
|
52575
|
+
...localVarHeaderParameter,
|
|
52576
|
+
...headersFromBaseOptions,
|
|
52577
|
+
...options.headers,
|
|
52578
|
+
};
|
|
52579
|
+
return {
|
|
52580
|
+
url: toPathString(localVarUrlObj),
|
|
52581
|
+
options: localVarRequestOptions,
|
|
52582
|
+
};
|
|
52583
|
+
},
|
|
51042
52584
|
/**
|
|
51043
52585
|
*
|
|
51044
52586
|
* @summary Delete a Metric
|
|
@@ -51921,6 +53463,70 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
|
|
|
51921
53463
|
options: localVarRequestOptions,
|
|
51922
53464
|
};
|
|
51923
53465
|
},
|
|
53466
|
+
/**
|
|
53467
|
+
*
|
|
53468
|
+
* @summary Get all Filter views
|
|
53469
|
+
* @param {string} workspaceId
|
|
53470
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
53471
|
+
* @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\').
|
|
53472
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
53473
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
53474
|
+
* @param {number} [size] The size of the page to be returned
|
|
53475
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
53476
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
53477
|
+
* @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
53478
|
+
* @param {*} [options] Override http request option.
|
|
53479
|
+
* @throws {RequiredError}
|
|
53480
|
+
*/
|
|
53481
|
+
getAllEntitiesFilterViews: async (workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
|
|
53482
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
53483
|
+
assertParamExists("getAllEntitiesFilterViews", "workspaceId", workspaceId);
|
|
53484
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
53485
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53486
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53487
|
+
let baseOptions;
|
|
53488
|
+
if (configuration) {
|
|
53489
|
+
baseOptions = configuration.baseOptions;
|
|
53490
|
+
}
|
|
53491
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
53492
|
+
const localVarHeaderParameter = {};
|
|
53493
|
+
const localVarQueryParameter = {};
|
|
53494
|
+
if (origin !== undefined) {
|
|
53495
|
+
localVarQueryParameter["origin"] = origin;
|
|
53496
|
+
}
|
|
53497
|
+
if (filter !== undefined) {
|
|
53498
|
+
localVarQueryParameter["filter"] = filter;
|
|
53499
|
+
}
|
|
53500
|
+
if (include) {
|
|
53501
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
53502
|
+
}
|
|
53503
|
+
if (page !== undefined) {
|
|
53504
|
+
localVarQueryParameter["page"] = page;
|
|
53505
|
+
}
|
|
53506
|
+
if (size !== undefined) {
|
|
53507
|
+
localVarQueryParameter["size"] = size;
|
|
53508
|
+
}
|
|
53509
|
+
if (sort) {
|
|
53510
|
+
localVarQueryParameter["sort"] = sort;
|
|
53511
|
+
}
|
|
53512
|
+
if (metaInclude) {
|
|
53513
|
+
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
53514
|
+
}
|
|
53515
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
53516
|
+
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
53517
|
+
}
|
|
53518
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53519
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53520
|
+
localVarRequestOptions.headers = {
|
|
53521
|
+
...localVarHeaderParameter,
|
|
53522
|
+
...headersFromBaseOptions,
|
|
53523
|
+
...options.headers,
|
|
53524
|
+
};
|
|
53525
|
+
return {
|
|
53526
|
+
url: toPathString(localVarUrlObj),
|
|
53527
|
+
options: localVarRequestOptions,
|
|
53528
|
+
};
|
|
53529
|
+
},
|
|
51924
53530
|
/**
|
|
51925
53531
|
*
|
|
51926
53532
|
* @summary Get all Labels
|
|
@@ -52840,22 +54446,74 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
|
|
|
52840
54446
|
},
|
|
52841
54447
|
/**
|
|
52842
54448
|
*
|
|
52843
|
-
* @summary Get a Context Filter
|
|
54449
|
+
* @summary Get a Context Filter
|
|
54450
|
+
* @param {string} workspaceId
|
|
54451
|
+
* @param {string} objectId
|
|
54452
|
+
* @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\').
|
|
54453
|
+
* @param {Array<'attributes' | 'datasets' | 'labels' | '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.
|
|
54454
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
54455
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
54456
|
+
* @param {*} [options] Override http request option.
|
|
54457
|
+
* @throws {RequiredError}
|
|
54458
|
+
*/
|
|
54459
|
+
getEntityFilterContexts: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
|
|
54460
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
54461
|
+
assertParamExists("getEntityFilterContexts", "workspaceId", workspaceId);
|
|
54462
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
54463
|
+
assertParamExists("getEntityFilterContexts", "objectId", objectId);
|
|
54464
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId}`
|
|
54465
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
54466
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
54467
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54468
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
54469
|
+
let baseOptions;
|
|
54470
|
+
if (configuration) {
|
|
54471
|
+
baseOptions = configuration.baseOptions;
|
|
54472
|
+
}
|
|
54473
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
54474
|
+
const localVarHeaderParameter = {};
|
|
54475
|
+
const localVarQueryParameter = {};
|
|
54476
|
+
if (filter !== undefined) {
|
|
54477
|
+
localVarQueryParameter["filter"] = filter;
|
|
54478
|
+
}
|
|
54479
|
+
if (include) {
|
|
54480
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
54481
|
+
}
|
|
54482
|
+
if (metaInclude) {
|
|
54483
|
+
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
54484
|
+
}
|
|
54485
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
54486
|
+
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
54487
|
+
}
|
|
54488
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
54489
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
54490
|
+
localVarRequestOptions.headers = {
|
|
54491
|
+
...localVarHeaderParameter,
|
|
54492
|
+
...headersFromBaseOptions,
|
|
54493
|
+
...options.headers,
|
|
54494
|
+
};
|
|
54495
|
+
return {
|
|
54496
|
+
url: toPathString(localVarUrlObj),
|
|
54497
|
+
options: localVarRequestOptions,
|
|
54498
|
+
};
|
|
54499
|
+
},
|
|
54500
|
+
/**
|
|
54501
|
+
*
|
|
54502
|
+
* @summary Get Filter view
|
|
52844
54503
|
* @param {string} workspaceId
|
|
52845
54504
|
* @param {string} objectId
|
|
52846
54505
|
* @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\').
|
|
52847
|
-
* @param {Array<'
|
|
54506
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
52848
54507
|
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
52849
|
-
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
52850
54508
|
* @param {*} [options] Override http request option.
|
|
52851
54509
|
* @throws {RequiredError}
|
|
52852
54510
|
*/
|
|
52853
|
-
|
|
54511
|
+
getEntityFilterViews: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options = {}) => {
|
|
52854
54512
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
52855
|
-
assertParamExists("
|
|
54513
|
+
assertParamExists("getEntityFilterViews", "workspaceId", workspaceId);
|
|
52856
54514
|
// verify required parameter 'objectId' is not null or undefined
|
|
52857
|
-
assertParamExists("
|
|
52858
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
54515
|
+
assertParamExists("getEntityFilterViews", "objectId", objectId);
|
|
54516
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
52859
54517
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
52860
54518
|
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
52861
54519
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -52873,9 +54531,6 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
|
|
|
52873
54531
|
if (include) {
|
|
52874
54532
|
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
52875
54533
|
}
|
|
52876
|
-
if (metaInclude) {
|
|
52877
|
-
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
52878
|
-
}
|
|
52879
54534
|
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
52880
54535
|
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
52881
54536
|
}
|
|
@@ -53644,6 +55299,60 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
|
|
|
53644
55299
|
options: localVarRequestOptions,
|
|
53645
55300
|
};
|
|
53646
55301
|
},
|
|
55302
|
+
/**
|
|
55303
|
+
*
|
|
55304
|
+
* @summary Patch Filter view
|
|
55305
|
+
* @param {string} workspaceId
|
|
55306
|
+
* @param {string} objectId
|
|
55307
|
+
* @param {JsonApiFilterViewPatchDocument} jsonApiFilterViewPatchDocument
|
|
55308
|
+
* @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\').
|
|
55309
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
55310
|
+
* @param {*} [options] Override http request option.
|
|
55311
|
+
* @throws {RequiredError}
|
|
55312
|
+
*/
|
|
55313
|
+
patchEntityFilterViews: async (workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options = {}) => {
|
|
55314
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
55315
|
+
assertParamExists("patchEntityFilterViews", "workspaceId", workspaceId);
|
|
55316
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
55317
|
+
assertParamExists("patchEntityFilterViews", "objectId", objectId);
|
|
55318
|
+
// verify required parameter 'jsonApiFilterViewPatchDocument' is not null or undefined
|
|
55319
|
+
assertParamExists("patchEntityFilterViews", "jsonApiFilterViewPatchDocument", jsonApiFilterViewPatchDocument);
|
|
55320
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
55321
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
55322
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
55323
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
55324
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
55325
|
+
let baseOptions;
|
|
55326
|
+
if (configuration) {
|
|
55327
|
+
baseOptions = configuration.baseOptions;
|
|
55328
|
+
}
|
|
55329
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
55330
|
+
const localVarHeaderParameter = {};
|
|
55331
|
+
const localVarQueryParameter = {};
|
|
55332
|
+
if (filter !== undefined) {
|
|
55333
|
+
localVarQueryParameter["filter"] = filter;
|
|
55334
|
+
}
|
|
55335
|
+
if (include) {
|
|
55336
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
55337
|
+
}
|
|
55338
|
+
localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
|
|
55339
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
55340
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
55341
|
+
localVarRequestOptions.headers = {
|
|
55342
|
+
...localVarHeaderParameter,
|
|
55343
|
+
...headersFromBaseOptions,
|
|
55344
|
+
...options.headers,
|
|
55345
|
+
};
|
|
55346
|
+
const needsSerialization = typeof jsonApiFilterViewPatchDocument !== "string" ||
|
|
55347
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
55348
|
+
localVarRequestOptions.data = needsSerialization
|
|
55349
|
+
? JSON.stringify(jsonApiFilterViewPatchDocument !== undefined ? jsonApiFilterViewPatchDocument : {})
|
|
55350
|
+
: jsonApiFilterViewPatchDocument || "";
|
|
55351
|
+
return {
|
|
55352
|
+
url: toPathString(localVarUrlObj),
|
|
55353
|
+
options: localVarRequestOptions,
|
|
55354
|
+
};
|
|
55355
|
+
},
|
|
53647
55356
|
/**
|
|
53648
55357
|
*
|
|
53649
55358
|
* @summary Patch a Metric
|
|
@@ -54356,6 +56065,60 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
|
|
|
54356
56065
|
options: localVarRequestOptions,
|
|
54357
56066
|
};
|
|
54358
56067
|
},
|
|
56068
|
+
/**
|
|
56069
|
+
*
|
|
56070
|
+
* @summary Put Filter views
|
|
56071
|
+
* @param {string} workspaceId
|
|
56072
|
+
* @param {string} objectId
|
|
56073
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
56074
|
+
* @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\').
|
|
56075
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
56076
|
+
* @param {*} [options] Override http request option.
|
|
56077
|
+
* @throws {RequiredError}
|
|
56078
|
+
*/
|
|
56079
|
+
updateEntityFilterViews: async (workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options = {}) => {
|
|
56080
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
56081
|
+
assertParamExists("updateEntityFilterViews", "workspaceId", workspaceId);
|
|
56082
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
56083
|
+
assertParamExists("updateEntityFilterViews", "objectId", objectId);
|
|
56084
|
+
// verify required parameter 'jsonApiFilterViewInDocument' is not null or undefined
|
|
56085
|
+
assertParamExists("updateEntityFilterViews", "jsonApiFilterViewInDocument", jsonApiFilterViewInDocument);
|
|
56086
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
56087
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
56088
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
56089
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
56090
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
56091
|
+
let baseOptions;
|
|
56092
|
+
if (configuration) {
|
|
56093
|
+
baseOptions = configuration.baseOptions;
|
|
56094
|
+
}
|
|
56095
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
56096
|
+
const localVarHeaderParameter = {};
|
|
56097
|
+
const localVarQueryParameter = {};
|
|
56098
|
+
if (filter !== undefined) {
|
|
56099
|
+
localVarQueryParameter["filter"] = filter;
|
|
56100
|
+
}
|
|
56101
|
+
if (include) {
|
|
56102
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
56103
|
+
}
|
|
56104
|
+
localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
|
|
56105
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56106
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
56107
|
+
localVarRequestOptions.headers = {
|
|
56108
|
+
...localVarHeaderParameter,
|
|
56109
|
+
...headersFromBaseOptions,
|
|
56110
|
+
...options.headers,
|
|
56111
|
+
};
|
|
56112
|
+
const needsSerialization = typeof jsonApiFilterViewInDocument !== "string" ||
|
|
56113
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
56114
|
+
localVarRequestOptions.data = needsSerialization
|
|
56115
|
+
? JSON.stringify(jsonApiFilterViewInDocument !== undefined ? jsonApiFilterViewInDocument : {})
|
|
56116
|
+
: jsonApiFilterViewInDocument || "";
|
|
56117
|
+
return {
|
|
56118
|
+
url: toPathString(localVarUrlObj),
|
|
56119
|
+
options: localVarRequestOptions,
|
|
56120
|
+
};
|
|
56121
|
+
},
|
|
54359
56122
|
/**
|
|
54360
56123
|
*
|
|
54361
56124
|
* @summary Put a Metric
|
|
@@ -54790,6 +56553,19 @@ export const WorkspaceObjectControllerApiFp = function (configuration) {
|
|
|
54790
56553
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createEntityFilterContexts(workspaceId, jsonApiFilterContextPostOptionalIdDocument, include, metaInclude, options);
|
|
54791
56554
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
54792
56555
|
},
|
|
56556
|
+
/**
|
|
56557
|
+
*
|
|
56558
|
+
* @summary Post Filter views
|
|
56559
|
+
* @param {string} workspaceId
|
|
56560
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
56561
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
56562
|
+
* @param {*} [options] Override http request option.
|
|
56563
|
+
* @throws {RequiredError}
|
|
56564
|
+
*/
|
|
56565
|
+
async createEntityFilterViews(workspaceId, jsonApiFilterViewInDocument, include, options) {
|
|
56566
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createEntityFilterViews(workspaceId, jsonApiFilterViewInDocument, include, options);
|
|
56567
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
56568
|
+
},
|
|
54793
56569
|
/**
|
|
54794
56570
|
*
|
|
54795
56571
|
* @summary Post Metrics
|
|
@@ -54964,6 +56740,19 @@ export const WorkspaceObjectControllerApiFp = function (configuration) {
|
|
|
54964
56740
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEntityFilterContexts(workspaceId, objectId, filter, options);
|
|
54965
56741
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
54966
56742
|
},
|
|
56743
|
+
/**
|
|
56744
|
+
*
|
|
56745
|
+
* @summary Delete Filter view
|
|
56746
|
+
* @param {string} workspaceId
|
|
56747
|
+
* @param {string} objectId
|
|
56748
|
+
* @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\').
|
|
56749
|
+
* @param {*} [options] Override http request option.
|
|
56750
|
+
* @throws {RequiredError}
|
|
56751
|
+
*/
|
|
56752
|
+
async deleteEntityFilterViews(workspaceId, objectId, filter, options) {
|
|
56753
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEntityFilterViews(workspaceId, objectId, filter, options);
|
|
56754
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
56755
|
+
},
|
|
54967
56756
|
/**
|
|
54968
56757
|
*
|
|
54969
56758
|
* @summary Delete a Metric
|
|
@@ -55231,6 +57020,25 @@ export const WorkspaceObjectControllerApiFp = function (configuration) {
|
|
|
55231
57020
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFilterContexts(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
55232
57021
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
55233
57022
|
},
|
|
57023
|
+
/**
|
|
57024
|
+
*
|
|
57025
|
+
* @summary Get all Filter views
|
|
57026
|
+
* @param {string} workspaceId
|
|
57027
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
57028
|
+
* @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\').
|
|
57029
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
57030
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
57031
|
+
* @param {number} [size] The size of the page to be returned
|
|
57032
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
57033
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
57034
|
+
* @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
57035
|
+
* @param {*} [options] Override http request option.
|
|
57036
|
+
* @throws {RequiredError}
|
|
57037
|
+
*/
|
|
57038
|
+
async getAllEntitiesFilterViews(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options) {
|
|
57039
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFilterViews(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
57040
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
57041
|
+
},
|
|
55234
57042
|
/**
|
|
55235
57043
|
*
|
|
55236
57044
|
* @summary Get all Labels
|
|
@@ -55522,6 +57330,21 @@ export const WorkspaceObjectControllerApiFp = function (configuration) {
|
|
|
55522
57330
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFilterContexts(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
55523
57331
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
55524
57332
|
},
|
|
57333
|
+
/**
|
|
57334
|
+
*
|
|
57335
|
+
* @summary Get Filter view
|
|
57336
|
+
* @param {string} workspaceId
|
|
57337
|
+
* @param {string} objectId
|
|
57338
|
+
* @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\').
|
|
57339
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
57340
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
57341
|
+
* @param {*} [options] Override http request option.
|
|
57342
|
+
* @throws {RequiredError}
|
|
57343
|
+
*/
|
|
57344
|
+
async getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options) {
|
|
57345
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options);
|
|
57346
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
57347
|
+
},
|
|
55525
57348
|
/**
|
|
55526
57349
|
*
|
|
55527
57350
|
* @summary Get a Label
|
|
@@ -55737,6 +57560,21 @@ export const WorkspaceObjectControllerApiFp = function (configuration) {
|
|
|
55737
57560
|
const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityFilterContexts(workspaceId, objectId, jsonApiFilterContextPatchDocument, filter, include, options);
|
|
55738
57561
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
55739
57562
|
},
|
|
57563
|
+
/**
|
|
57564
|
+
*
|
|
57565
|
+
* @summary Patch Filter view
|
|
57566
|
+
* @param {string} workspaceId
|
|
57567
|
+
* @param {string} objectId
|
|
57568
|
+
* @param {JsonApiFilterViewPatchDocument} jsonApiFilterViewPatchDocument
|
|
57569
|
+
* @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\').
|
|
57570
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
57571
|
+
* @param {*} [options] Override http request option.
|
|
57572
|
+
* @throws {RequiredError}
|
|
57573
|
+
*/
|
|
57574
|
+
async patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options) {
|
|
57575
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options);
|
|
57576
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
57577
|
+
},
|
|
55740
57578
|
/**
|
|
55741
57579
|
*
|
|
55742
57580
|
* @summary Patch a Metric
|
|
@@ -55930,6 +57768,21 @@ export const WorkspaceObjectControllerApiFp = function (configuration) {
|
|
|
55930
57768
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateEntityFilterContexts(workspaceId, objectId, jsonApiFilterContextInDocument, filter, include, options);
|
|
55931
57769
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
55932
57770
|
},
|
|
57771
|
+
/**
|
|
57772
|
+
*
|
|
57773
|
+
* @summary Put Filter views
|
|
57774
|
+
* @param {string} workspaceId
|
|
57775
|
+
* @param {string} objectId
|
|
57776
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
57777
|
+
* @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\').
|
|
57778
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'filterContexts' | 'analyticalDashboard' | 'user' | 'filterContext' | '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.
|
|
57779
|
+
* @param {*} [options] Override http request option.
|
|
57780
|
+
* @throws {RequiredError}
|
|
57781
|
+
*/
|
|
57782
|
+
async updateEntityFilterViews(workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options) {
|
|
57783
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateEntityFilterViews(workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options);
|
|
57784
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
57785
|
+
},
|
|
55933
57786
|
/**
|
|
55934
57787
|
*
|
|
55935
57788
|
* @summary Put a Metric
|
|
@@ -56112,6 +57965,18 @@ export const WorkspaceObjectControllerApiFactory = function (configuration, base
|
|
|
56112
57965
|
.createEntityFilterContexts(requestParameters.workspaceId, requestParameters.jsonApiFilterContextPostOptionalIdDocument, requestParameters.include, requestParameters.metaInclude, options)
|
|
56113
57966
|
.then((request) => request(axios, basePath));
|
|
56114
57967
|
},
|
|
57968
|
+
/**
|
|
57969
|
+
*
|
|
57970
|
+
* @summary Post Filter views
|
|
57971
|
+
* @param {WorkspaceObjectControllerApiCreateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
57972
|
+
* @param {*} [options] Override http request option.
|
|
57973
|
+
* @throws {RequiredError}
|
|
57974
|
+
*/
|
|
57975
|
+
createEntityFilterViews(requestParameters, options) {
|
|
57976
|
+
return localVarFp
|
|
57977
|
+
.createEntityFilterViews(requestParameters.workspaceId, requestParameters.jsonApiFilterViewInDocument, requestParameters.include, options)
|
|
57978
|
+
.then((request) => request(axios, basePath));
|
|
57979
|
+
},
|
|
56115
57980
|
/**
|
|
56116
57981
|
*
|
|
56117
57982
|
* @summary Post Metrics
|
|
@@ -56268,6 +58133,18 @@ export const WorkspaceObjectControllerApiFactory = function (configuration, base
|
|
|
56268
58133
|
.deleteEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
56269
58134
|
.then((request) => request(axios, basePath));
|
|
56270
58135
|
},
|
|
58136
|
+
/**
|
|
58137
|
+
*
|
|
58138
|
+
* @summary Delete Filter view
|
|
58139
|
+
* @param {WorkspaceObjectControllerApiDeleteEntityFilterViewsRequest} requestParameters Request parameters.
|
|
58140
|
+
* @param {*} [options] Override http request option.
|
|
58141
|
+
* @throws {RequiredError}
|
|
58142
|
+
*/
|
|
58143
|
+
deleteEntityFilterViews(requestParameters, options) {
|
|
58144
|
+
return localVarFp
|
|
58145
|
+
.deleteEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
58146
|
+
.then((request) => request(axios, basePath));
|
|
58147
|
+
},
|
|
56271
58148
|
/**
|
|
56272
58149
|
*
|
|
56273
58150
|
* @summary Delete a Metric
|
|
@@ -56460,6 +58337,18 @@ export const WorkspaceObjectControllerApiFactory = function (configuration, base
|
|
|
56460
58337
|
.getAllEntitiesFilterContexts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
56461
58338
|
.then((request) => request(axios, basePath));
|
|
56462
58339
|
},
|
|
58340
|
+
/**
|
|
58341
|
+
*
|
|
58342
|
+
* @summary Get all Filter views
|
|
58343
|
+
* @param {WorkspaceObjectControllerApiGetAllEntitiesFilterViewsRequest} requestParameters Request parameters.
|
|
58344
|
+
* @param {*} [options] Override http request option.
|
|
58345
|
+
* @throws {RequiredError}
|
|
58346
|
+
*/
|
|
58347
|
+
getAllEntitiesFilterViews(requestParameters, options) {
|
|
58348
|
+
return localVarFp
|
|
58349
|
+
.getAllEntitiesFilterViews(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
58350
|
+
.then((request) => request(axios, basePath));
|
|
58351
|
+
},
|
|
56463
58352
|
/**
|
|
56464
58353
|
*
|
|
56465
58354
|
* @summary Get all Labels
|
|
@@ -56664,6 +58553,18 @@ export const WorkspaceObjectControllerApiFactory = function (configuration, base
|
|
|
56664
58553
|
.getEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
56665
58554
|
.then((request) => request(axios, basePath));
|
|
56666
58555
|
},
|
|
58556
|
+
/**
|
|
58557
|
+
*
|
|
58558
|
+
* @summary Get Filter view
|
|
58559
|
+
* @param {WorkspaceObjectControllerApiGetEntityFilterViewsRequest} requestParameters Request parameters.
|
|
58560
|
+
* @param {*} [options] Override http request option.
|
|
58561
|
+
* @throws {RequiredError}
|
|
58562
|
+
*/
|
|
58563
|
+
getEntityFilterViews(requestParameters, options) {
|
|
58564
|
+
return localVarFp
|
|
58565
|
+
.getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
|
|
58566
|
+
.then((request) => request(axios, basePath));
|
|
58567
|
+
},
|
|
56667
58568
|
/**
|
|
56668
58569
|
*
|
|
56669
58570
|
* @summary Get a Label
|
|
@@ -56832,6 +58733,18 @@ export const WorkspaceObjectControllerApiFactory = function (configuration, base
|
|
|
56832
58733
|
.patchEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
56833
58734
|
.then((request) => request(axios, basePath));
|
|
56834
58735
|
},
|
|
58736
|
+
/**
|
|
58737
|
+
*
|
|
58738
|
+
* @summary Patch Filter view
|
|
58739
|
+
* @param {WorkspaceObjectControllerApiPatchEntityFilterViewsRequest} requestParameters Request parameters.
|
|
58740
|
+
* @param {*} [options] Override http request option.
|
|
58741
|
+
* @throws {RequiredError}
|
|
58742
|
+
*/
|
|
58743
|
+
patchEntityFilterViews(requestParameters, options) {
|
|
58744
|
+
return localVarFp
|
|
58745
|
+
.patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
58746
|
+
.then((request) => request(axios, basePath));
|
|
58747
|
+
},
|
|
56835
58748
|
/**
|
|
56836
58749
|
*
|
|
56837
58750
|
* @summary Patch a Metric
|
|
@@ -56988,6 +58901,18 @@ export const WorkspaceObjectControllerApiFactory = function (configuration, base
|
|
|
56988
58901
|
.updateEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextInDocument, requestParameters.filter, requestParameters.include, options)
|
|
56989
58902
|
.then((request) => request(axios, basePath));
|
|
56990
58903
|
},
|
|
58904
|
+
/**
|
|
58905
|
+
*
|
|
58906
|
+
* @summary Put Filter views
|
|
58907
|
+
* @param {WorkspaceObjectControllerApiUpdateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
58908
|
+
* @param {*} [options] Override http request option.
|
|
58909
|
+
* @throws {RequiredError}
|
|
58910
|
+
*/
|
|
58911
|
+
updateEntityFilterViews(requestParameters, options) {
|
|
58912
|
+
return localVarFp
|
|
58913
|
+
.updateEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewInDocument, requestParameters.filter, requestParameters.include, options)
|
|
58914
|
+
.then((request) => request(axios, basePath));
|
|
58915
|
+
},
|
|
56991
58916
|
/**
|
|
56992
58917
|
*
|
|
56993
58918
|
* @summary Put a Metric
|
|
@@ -57160,6 +59085,19 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
|
|
|
57160
59085
|
.createEntityFilterContexts(requestParameters.workspaceId, requestParameters.jsonApiFilterContextPostOptionalIdDocument, requestParameters.include, requestParameters.metaInclude, options)
|
|
57161
59086
|
.then((request) => request(this.axios, this.basePath));
|
|
57162
59087
|
}
|
|
59088
|
+
/**
|
|
59089
|
+
*
|
|
59090
|
+
* @summary Post Filter views
|
|
59091
|
+
* @param {WorkspaceObjectControllerApiCreateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
59092
|
+
* @param {*} [options] Override http request option.
|
|
59093
|
+
* @throws {RequiredError}
|
|
59094
|
+
* @memberof WorkspaceObjectControllerApi
|
|
59095
|
+
*/
|
|
59096
|
+
createEntityFilterViews(requestParameters, options) {
|
|
59097
|
+
return WorkspaceObjectControllerApiFp(this.configuration)
|
|
59098
|
+
.createEntityFilterViews(requestParameters.workspaceId, requestParameters.jsonApiFilterViewInDocument, requestParameters.include, options)
|
|
59099
|
+
.then((request) => request(this.axios, this.basePath));
|
|
59100
|
+
}
|
|
57163
59101
|
/**
|
|
57164
59102
|
*
|
|
57165
59103
|
* @summary Post Metrics
|
|
@@ -57329,6 +59267,19 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
|
|
|
57329
59267
|
.deleteEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
57330
59268
|
.then((request) => request(this.axios, this.basePath));
|
|
57331
59269
|
}
|
|
59270
|
+
/**
|
|
59271
|
+
*
|
|
59272
|
+
* @summary Delete Filter view
|
|
59273
|
+
* @param {WorkspaceObjectControllerApiDeleteEntityFilterViewsRequest} requestParameters Request parameters.
|
|
59274
|
+
* @param {*} [options] Override http request option.
|
|
59275
|
+
* @throws {RequiredError}
|
|
59276
|
+
* @memberof WorkspaceObjectControllerApi
|
|
59277
|
+
*/
|
|
59278
|
+
deleteEntityFilterViews(requestParameters, options) {
|
|
59279
|
+
return WorkspaceObjectControllerApiFp(this.configuration)
|
|
59280
|
+
.deleteEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
59281
|
+
.then((request) => request(this.axios, this.basePath));
|
|
59282
|
+
}
|
|
57332
59283
|
/**
|
|
57333
59284
|
*
|
|
57334
59285
|
* @summary Delete a Metric
|
|
@@ -57537,6 +59488,19 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
|
|
|
57537
59488
|
.getAllEntitiesFilterContexts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
57538
59489
|
.then((request) => request(this.axios, this.basePath));
|
|
57539
59490
|
}
|
|
59491
|
+
/**
|
|
59492
|
+
*
|
|
59493
|
+
* @summary Get all Filter views
|
|
59494
|
+
* @param {WorkspaceObjectControllerApiGetAllEntitiesFilterViewsRequest} requestParameters Request parameters.
|
|
59495
|
+
* @param {*} [options] Override http request option.
|
|
59496
|
+
* @throws {RequiredError}
|
|
59497
|
+
* @memberof WorkspaceObjectControllerApi
|
|
59498
|
+
*/
|
|
59499
|
+
getAllEntitiesFilterViews(requestParameters, options) {
|
|
59500
|
+
return WorkspaceObjectControllerApiFp(this.configuration)
|
|
59501
|
+
.getAllEntitiesFilterViews(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
59502
|
+
.then((request) => request(this.axios, this.basePath));
|
|
59503
|
+
}
|
|
57540
59504
|
/**
|
|
57541
59505
|
*
|
|
57542
59506
|
* @summary Get all Labels
|
|
@@ -57758,6 +59722,19 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
|
|
|
57758
59722
|
.getEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
57759
59723
|
.then((request) => request(this.axios, this.basePath));
|
|
57760
59724
|
}
|
|
59725
|
+
/**
|
|
59726
|
+
*
|
|
59727
|
+
* @summary Get Filter view
|
|
59728
|
+
* @param {WorkspaceObjectControllerApiGetEntityFilterViewsRequest} requestParameters Request parameters.
|
|
59729
|
+
* @param {*} [options] Override http request option.
|
|
59730
|
+
* @throws {RequiredError}
|
|
59731
|
+
* @memberof WorkspaceObjectControllerApi
|
|
59732
|
+
*/
|
|
59733
|
+
getEntityFilterViews(requestParameters, options) {
|
|
59734
|
+
return WorkspaceObjectControllerApiFp(this.configuration)
|
|
59735
|
+
.getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
|
|
59736
|
+
.then((request) => request(this.axios, this.basePath));
|
|
59737
|
+
}
|
|
57761
59738
|
/**
|
|
57762
59739
|
*
|
|
57763
59740
|
* @summary Get a Label
|
|
@@ -57940,6 +59917,19 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
|
|
|
57940
59917
|
.patchEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
57941
59918
|
.then((request) => request(this.axios, this.basePath));
|
|
57942
59919
|
}
|
|
59920
|
+
/**
|
|
59921
|
+
*
|
|
59922
|
+
* @summary Patch Filter view
|
|
59923
|
+
* @param {WorkspaceObjectControllerApiPatchEntityFilterViewsRequest} requestParameters Request parameters.
|
|
59924
|
+
* @param {*} [options] Override http request option.
|
|
59925
|
+
* @throws {RequiredError}
|
|
59926
|
+
* @memberof WorkspaceObjectControllerApi
|
|
59927
|
+
*/
|
|
59928
|
+
patchEntityFilterViews(requestParameters, options) {
|
|
59929
|
+
return WorkspaceObjectControllerApiFp(this.configuration)
|
|
59930
|
+
.patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
59931
|
+
.then((request) => request(this.axios, this.basePath));
|
|
59932
|
+
}
|
|
57943
59933
|
/**
|
|
57944
59934
|
*
|
|
57945
59935
|
* @summary Patch a Metric
|
|
@@ -58109,6 +60099,19 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
|
|
|
58109
60099
|
.updateEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextInDocument, requestParameters.filter, requestParameters.include, options)
|
|
58110
60100
|
.then((request) => request(this.axios, this.basePath));
|
|
58111
60101
|
}
|
|
60102
|
+
/**
|
|
60103
|
+
*
|
|
60104
|
+
* @summary Put Filter views
|
|
60105
|
+
* @param {WorkspaceObjectControllerApiUpdateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
60106
|
+
* @param {*} [options] Override http request option.
|
|
60107
|
+
* @throws {RequiredError}
|
|
60108
|
+
* @memberof WorkspaceObjectControllerApi
|
|
60109
|
+
*/
|
|
60110
|
+
updateEntityFilterViews(requestParameters, options) {
|
|
60111
|
+
return WorkspaceObjectControllerApiFp(this.configuration)
|
|
60112
|
+
.updateEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewInDocument, requestParameters.filter, requestParameters.include, options)
|
|
60113
|
+
.then((request) => request(this.axios, this.basePath));
|
|
60114
|
+
}
|
|
58112
60115
|
/**
|
|
58113
60116
|
*
|
|
58114
60117
|
* @summary Put a Metric
|