@gooddata/api-client-tiger 10.11.0-alpha.9 → 10.11.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +4050 -1154
- 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 +3765 -1178
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +2529 -84
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +8914 -7884
- 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 = {
|
|
@@ -519,14 +523,6 @@ export const JsonApiAttributeOutWithLinksTypeEnum = {
|
|
|
519
523
|
export const JsonApiAutomationInTypeEnum = {
|
|
520
524
|
AUTOMATION: "automation",
|
|
521
525
|
};
|
|
522
|
-
export const JsonApiAutomationInAttributesStateEnum = {
|
|
523
|
-
ACTIVE: "ACTIVE",
|
|
524
|
-
PAUSED: "PAUSED",
|
|
525
|
-
};
|
|
526
|
-
export const JsonApiAutomationInAttributesAlertTriggerEnum = {
|
|
527
|
-
ALWAYS: "ALWAYS",
|
|
528
|
-
ONCE: "ONCE",
|
|
529
|
-
};
|
|
530
526
|
export const JsonApiAutomationOutTypeEnum = {
|
|
531
527
|
AUTOMATION: "automation",
|
|
532
528
|
};
|
|
@@ -540,6 +536,14 @@ export const JsonApiAutomationOutWithLinksTypeEnum = {
|
|
|
540
536
|
export const JsonApiAutomationPatchTypeEnum = {
|
|
541
537
|
AUTOMATION: "automation",
|
|
542
538
|
};
|
|
539
|
+
export const JsonApiAutomationPatchAttributesStateEnum = {
|
|
540
|
+
ACTIVE: "ACTIVE",
|
|
541
|
+
PAUSED: "PAUSED",
|
|
542
|
+
};
|
|
543
|
+
export const JsonApiAutomationPatchAttributesAlertTriggerEnum = {
|
|
544
|
+
ALWAYS: "ALWAYS",
|
|
545
|
+
ONCE: "ONCE",
|
|
546
|
+
};
|
|
543
547
|
export const JsonApiColorPaletteInTypeEnum = {
|
|
544
548
|
COLOR_PALETTE: "colorPalette",
|
|
545
549
|
};
|
|
@@ -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
|
};
|
|
@@ -960,6 +976,10 @@ export const JsonApiNotificationChannelOutAttributesDestinationTypeEnum = {
|
|
|
960
976
|
SMTP: "SMTP",
|
|
961
977
|
DEFAULT_SMTP: "DEFAULT_SMTP",
|
|
962
978
|
};
|
|
979
|
+
export const JsonApiNotificationChannelOutAttributesAllowedRecipientsEnum = {
|
|
980
|
+
CREATOR: "CREATOR",
|
|
981
|
+
INTERNAL: "INTERNAL",
|
|
982
|
+
};
|
|
963
983
|
export const JsonApiNotificationChannelOutAttributesTriggersTypeEnum = {
|
|
964
984
|
SCHEDULE: "SCHEDULE",
|
|
965
985
|
ALERT: "ALERT",
|
|
@@ -996,6 +1016,23 @@ export const JsonApiOrganizationSettingInTypeEnum = {
|
|
|
996
1016
|
export const JsonApiOrganizationSettingOutTypeEnum = {
|
|
997
1017
|
ORGANIZATION_SETTING: "organizationSetting",
|
|
998
1018
|
};
|
|
1019
|
+
export const JsonApiOrganizationSettingOutAttributesTypeEnum = {
|
|
1020
|
+
TIMEZONE: "TIMEZONE",
|
|
1021
|
+
ACTIVE_THEME: "ACTIVE_THEME",
|
|
1022
|
+
ACTIVE_COLOR_PALETTE: "ACTIVE_COLOR_PALETTE",
|
|
1023
|
+
WHITE_LABELING: "WHITE_LABELING",
|
|
1024
|
+
LOCALE: "LOCALE",
|
|
1025
|
+
METADATA_LOCALE: "METADATA_LOCALE",
|
|
1026
|
+
FORMAT_LOCALE: "FORMAT_LOCALE",
|
|
1027
|
+
MAPBOX_TOKEN: "MAPBOX_TOKEN",
|
|
1028
|
+
WEEK_START: "WEEK_START",
|
|
1029
|
+
SHOW_HIDDEN_CATALOG_ITEMS: "SHOW_HIDDEN_CATALOG_ITEMS",
|
|
1030
|
+
OPERATOR_OVERRIDES: "OPERATOR_OVERRIDES",
|
|
1031
|
+
TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
|
|
1032
|
+
OPENAI_CONFIG: "OPENAI_CONFIG",
|
|
1033
|
+
ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
|
|
1034
|
+
ALERT: "ALERT",
|
|
1035
|
+
};
|
|
999
1036
|
export const JsonApiOrganizationSettingOutWithLinksTypeEnum = {
|
|
1000
1037
|
ORGANIZATION_SETTING: "organizationSetting",
|
|
1001
1038
|
};
|
|
@@ -1140,6 +1177,8 @@ export const JsonApiWorkspaceOutMetaPermissionsEnum = {
|
|
|
1140
1177
|
EXPORT: "EXPORT",
|
|
1141
1178
|
EXPORT_TABULAR: "EXPORT_TABULAR",
|
|
1142
1179
|
EXPORT_PDF: "EXPORT_PDF",
|
|
1180
|
+
CREATE_AUTOMATION: "CREATE_AUTOMATION",
|
|
1181
|
+
CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
|
|
1143
1182
|
VIEW: "VIEW",
|
|
1144
1183
|
};
|
|
1145
1184
|
export const JsonApiWorkspaceOutWithLinksTypeEnum = {
|
|
@@ -1151,23 +1190,6 @@ export const JsonApiWorkspacePatchTypeEnum = {
|
|
|
1151
1190
|
export const JsonApiWorkspaceSettingInTypeEnum = {
|
|
1152
1191
|
WORKSPACE_SETTING: "workspaceSetting",
|
|
1153
1192
|
};
|
|
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
1193
|
export const JsonApiWorkspaceSettingOutTypeEnum = {
|
|
1172
1194
|
WORKSPACE_SETTING: "workspaceSetting",
|
|
1173
1195
|
};
|
|
@@ -1358,6 +1380,8 @@ export const UserManagementWorkspacePermissionAssignmentPermissionsEnum = {
|
|
|
1358
1380
|
EXPORT: "EXPORT",
|
|
1359
1381
|
EXPORT_TABULAR: "EXPORT_TABULAR",
|
|
1360
1382
|
EXPORT_PDF: "EXPORT_PDF",
|
|
1383
|
+
CREATE_AUTOMATION: "CREATE_AUTOMATION",
|
|
1384
|
+
CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
|
|
1361
1385
|
VIEW: "VIEW",
|
|
1362
1386
|
};
|
|
1363
1387
|
export const UserManagementWorkspacePermissionAssignmentHierarchyPermissionsEnum = {
|
|
@@ -1366,6 +1390,8 @@ export const UserManagementWorkspacePermissionAssignmentHierarchyPermissionsEnum
|
|
|
1366
1390
|
EXPORT: "EXPORT",
|
|
1367
1391
|
EXPORT_TABULAR: "EXPORT_TABULAR",
|
|
1368
1392
|
EXPORT_PDF: "EXPORT_PDF",
|
|
1393
|
+
CREATE_AUTOMATION: "CREATE_AUTOMATION",
|
|
1394
|
+
CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
|
|
1369
1395
|
VIEW: "VIEW",
|
|
1370
1396
|
};
|
|
1371
1397
|
export const WebhookTypeEnum = {
|
|
@@ -1383,6 +1409,8 @@ export const WorkspacePermissionAssignmentPermissionsEnum = {
|
|
|
1383
1409
|
EXPORT: "EXPORT",
|
|
1384
1410
|
EXPORT_TABULAR: "EXPORT_TABULAR",
|
|
1385
1411
|
EXPORT_PDF: "EXPORT_PDF",
|
|
1412
|
+
CREATE_AUTOMATION: "CREATE_AUTOMATION",
|
|
1413
|
+
CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
|
|
1386
1414
|
VIEW: "VIEW",
|
|
1387
1415
|
};
|
|
1388
1416
|
export const WorkspacePermissionAssignmentHierarchyPermissionsEnum = {
|
|
@@ -1391,6 +1419,8 @@ export const WorkspacePermissionAssignmentHierarchyPermissionsEnum = {
|
|
|
1391
1419
|
EXPORT: "EXPORT",
|
|
1392
1420
|
EXPORT_TABULAR: "EXPORT_TABULAR",
|
|
1393
1421
|
EXPORT_PDF: "EXPORT_PDF",
|
|
1422
|
+
CREATE_AUTOMATION: "CREATE_AUTOMATION",
|
|
1423
|
+
CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW",
|
|
1394
1424
|
VIEW: "VIEW",
|
|
1395
1425
|
};
|
|
1396
1426
|
/**
|
|
@@ -2952,6 +2982,104 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
2952
2982
|
options: localVarRequestOptions,
|
|
2953
2983
|
};
|
|
2954
2984
|
},
|
|
2985
|
+
/**
|
|
2986
|
+
*
|
|
2987
|
+
* @summary Unsubscribe from all automations in all workspaces
|
|
2988
|
+
* @param {*} [options] Override http request option.
|
|
2989
|
+
* @throws {RequiredError}
|
|
2990
|
+
*/
|
|
2991
|
+
unsubscribeAllAutomations: async (options = {}) => {
|
|
2992
|
+
const localVarPath = `/api/v1/actions/organization/automations/unsubscribe`;
|
|
2993
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2994
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2995
|
+
let baseOptions;
|
|
2996
|
+
if (configuration) {
|
|
2997
|
+
baseOptions = configuration.baseOptions;
|
|
2998
|
+
}
|
|
2999
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3000
|
+
const localVarHeaderParameter = {};
|
|
3001
|
+
const localVarQueryParameter = {};
|
|
3002
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3003
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3004
|
+
localVarRequestOptions.headers = {
|
|
3005
|
+
...localVarHeaderParameter,
|
|
3006
|
+
...headersFromBaseOptions,
|
|
3007
|
+
...options.headers,
|
|
3008
|
+
};
|
|
3009
|
+
return {
|
|
3010
|
+
url: toPathString(localVarUrlObj),
|
|
3011
|
+
options: localVarRequestOptions,
|
|
3012
|
+
};
|
|
3013
|
+
},
|
|
3014
|
+
/**
|
|
3015
|
+
*
|
|
3016
|
+
* @summary Unsubscribe from an automation
|
|
3017
|
+
* @param {string} workspaceId
|
|
3018
|
+
* @param {string} automationId
|
|
3019
|
+
* @param {*} [options] Override http request option.
|
|
3020
|
+
* @throws {RequiredError}
|
|
3021
|
+
*/
|
|
3022
|
+
unsubscribeAutomation: async (workspaceId, automationId, options = {}) => {
|
|
3023
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
3024
|
+
assertParamExists("unsubscribeAutomation", "workspaceId", workspaceId);
|
|
3025
|
+
// verify required parameter 'automationId' is not null or undefined
|
|
3026
|
+
assertParamExists("unsubscribeAutomation", "automationId", automationId);
|
|
3027
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/automations/{automationId}/unsubscribe`
|
|
3028
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
3029
|
+
.replace(`{${"automationId"}}`, encodeURIComponent(String(automationId)));
|
|
3030
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3031
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3032
|
+
let baseOptions;
|
|
3033
|
+
if (configuration) {
|
|
3034
|
+
baseOptions = configuration.baseOptions;
|
|
3035
|
+
}
|
|
3036
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3037
|
+
const localVarHeaderParameter = {};
|
|
3038
|
+
const localVarQueryParameter = {};
|
|
3039
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3040
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3041
|
+
localVarRequestOptions.headers = {
|
|
3042
|
+
...localVarHeaderParameter,
|
|
3043
|
+
...headersFromBaseOptions,
|
|
3044
|
+
...options.headers,
|
|
3045
|
+
};
|
|
3046
|
+
return {
|
|
3047
|
+
url: toPathString(localVarUrlObj),
|
|
3048
|
+
options: localVarRequestOptions,
|
|
3049
|
+
};
|
|
3050
|
+
},
|
|
3051
|
+
/**
|
|
3052
|
+
*
|
|
3053
|
+
* @summary Unsubscribe from all automations in the workspace
|
|
3054
|
+
* @param {string} workspaceId
|
|
3055
|
+
* @param {*} [options] Override http request option.
|
|
3056
|
+
* @throws {RequiredError}
|
|
3057
|
+
*/
|
|
3058
|
+
unsubscribeWorkspaceAutomations: async (workspaceId, options = {}) => {
|
|
3059
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
3060
|
+
assertParamExists("unsubscribeWorkspaceAutomations", "workspaceId", workspaceId);
|
|
3061
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/automations/unsubscribe`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
3062
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3063
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3064
|
+
let baseOptions;
|
|
3065
|
+
if (configuration) {
|
|
3066
|
+
baseOptions = configuration.baseOptions;
|
|
3067
|
+
}
|
|
3068
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3069
|
+
const localVarHeaderParameter = {};
|
|
3070
|
+
const localVarQueryParameter = {};
|
|
3071
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3072
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3073
|
+
localVarRequestOptions.headers = {
|
|
3074
|
+
...localVarHeaderParameter,
|
|
3075
|
+
...headersFromBaseOptions,
|
|
3076
|
+
...options.headers,
|
|
3077
|
+
};
|
|
3078
|
+
return {
|
|
3079
|
+
url: toPathString(localVarUrlObj),
|
|
3080
|
+
options: localVarRequestOptions,
|
|
3081
|
+
};
|
|
3082
|
+
},
|
|
2955
3083
|
/**
|
|
2956
3084
|
* Resolves values for all settings in a workspace by current user, workspace, organization, or default settings.
|
|
2957
3085
|
* @summary Values for all settings.
|
|
@@ -3354,6 +3482,39 @@ export const ActionsApiFp = function (configuration) {
|
|
|
3354
3482
|
const localVarAxiosArgs = await localVarAxiosParamCreator.setTranslations(workspaceId, xliff, options);
|
|
3355
3483
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3356
3484
|
},
|
|
3485
|
+
/**
|
|
3486
|
+
*
|
|
3487
|
+
* @summary Unsubscribe from all automations in all workspaces
|
|
3488
|
+
* @param {*} [options] Override http request option.
|
|
3489
|
+
* @throws {RequiredError}
|
|
3490
|
+
*/
|
|
3491
|
+
async unsubscribeAllAutomations(options) {
|
|
3492
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unsubscribeAllAutomations(options);
|
|
3493
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3494
|
+
},
|
|
3495
|
+
/**
|
|
3496
|
+
*
|
|
3497
|
+
* @summary Unsubscribe from an automation
|
|
3498
|
+
* @param {string} workspaceId
|
|
3499
|
+
* @param {string} automationId
|
|
3500
|
+
* @param {*} [options] Override http request option.
|
|
3501
|
+
* @throws {RequiredError}
|
|
3502
|
+
*/
|
|
3503
|
+
async unsubscribeAutomation(workspaceId, automationId, options) {
|
|
3504
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unsubscribeAutomation(workspaceId, automationId, options);
|
|
3505
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3506
|
+
},
|
|
3507
|
+
/**
|
|
3508
|
+
*
|
|
3509
|
+
* @summary Unsubscribe from all automations in the workspace
|
|
3510
|
+
* @param {string} workspaceId
|
|
3511
|
+
* @param {*} [options] Override http request option.
|
|
3512
|
+
* @throws {RequiredError}
|
|
3513
|
+
*/
|
|
3514
|
+
async unsubscribeWorkspaceAutomations(workspaceId, options) {
|
|
3515
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unsubscribeWorkspaceAutomations(workspaceId, options);
|
|
3516
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3517
|
+
},
|
|
3357
3518
|
/**
|
|
3358
3519
|
* Resolves values for all settings in a workspace by current user, workspace, organization, or default settings.
|
|
3359
3520
|
* @summary Values for all settings.
|
|
@@ -3710,6 +3871,39 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
3710
3871
|
.setTranslations(requestParameters.workspaceId, requestParameters.xliff, options)
|
|
3711
3872
|
.then((request) => request(axios, basePath));
|
|
3712
3873
|
},
|
|
3874
|
+
/**
|
|
3875
|
+
*
|
|
3876
|
+
* @summary Unsubscribe from all automations in all workspaces
|
|
3877
|
+
* @param {*} [options] Override http request option.
|
|
3878
|
+
* @throws {RequiredError}
|
|
3879
|
+
*/
|
|
3880
|
+
unsubscribeAllAutomations(options) {
|
|
3881
|
+
return localVarFp.unsubscribeAllAutomations(options).then((request) => request(axios, basePath));
|
|
3882
|
+
},
|
|
3883
|
+
/**
|
|
3884
|
+
*
|
|
3885
|
+
* @summary Unsubscribe from an automation
|
|
3886
|
+
* @param {ActionsApiUnsubscribeAutomationRequest} requestParameters Request parameters.
|
|
3887
|
+
* @param {*} [options] Override http request option.
|
|
3888
|
+
* @throws {RequiredError}
|
|
3889
|
+
*/
|
|
3890
|
+
unsubscribeAutomation(requestParameters, options) {
|
|
3891
|
+
return localVarFp
|
|
3892
|
+
.unsubscribeAutomation(requestParameters.workspaceId, requestParameters.automationId, options)
|
|
3893
|
+
.then((request) => request(axios, basePath));
|
|
3894
|
+
},
|
|
3895
|
+
/**
|
|
3896
|
+
*
|
|
3897
|
+
* @summary Unsubscribe from all automations in the workspace
|
|
3898
|
+
* @param {ActionsApiUnsubscribeWorkspaceAutomationsRequest} requestParameters Request parameters.
|
|
3899
|
+
* @param {*} [options] Override http request option.
|
|
3900
|
+
* @throws {RequiredError}
|
|
3901
|
+
*/
|
|
3902
|
+
unsubscribeWorkspaceAutomations(requestParameters, options) {
|
|
3903
|
+
return localVarFp
|
|
3904
|
+
.unsubscribeWorkspaceAutomations(requestParameters.workspaceId, options)
|
|
3905
|
+
.then((request) => request(axios, basePath));
|
|
3906
|
+
},
|
|
3713
3907
|
/**
|
|
3714
3908
|
* Resolves values for all settings in a workspace by current user, workspace, organization, or default settings.
|
|
3715
3909
|
* @summary Values for all settings.
|
|
@@ -4101,6 +4295,44 @@ export class ActionsApi extends BaseAPI {
|
|
|
4101
4295
|
.setTranslations(requestParameters.workspaceId, requestParameters.xliff, options)
|
|
4102
4296
|
.then((request) => request(this.axios, this.basePath));
|
|
4103
4297
|
}
|
|
4298
|
+
/**
|
|
4299
|
+
*
|
|
4300
|
+
* @summary Unsubscribe from all automations in all workspaces
|
|
4301
|
+
* @param {*} [options] Override http request option.
|
|
4302
|
+
* @throws {RequiredError}
|
|
4303
|
+
* @memberof ActionsApi
|
|
4304
|
+
*/
|
|
4305
|
+
unsubscribeAllAutomations(options) {
|
|
4306
|
+
return ActionsApiFp(this.configuration)
|
|
4307
|
+
.unsubscribeAllAutomations(options)
|
|
4308
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4309
|
+
}
|
|
4310
|
+
/**
|
|
4311
|
+
*
|
|
4312
|
+
* @summary Unsubscribe from an automation
|
|
4313
|
+
* @param {ActionsApiUnsubscribeAutomationRequest} requestParameters Request parameters.
|
|
4314
|
+
* @param {*} [options] Override http request option.
|
|
4315
|
+
* @throws {RequiredError}
|
|
4316
|
+
* @memberof ActionsApi
|
|
4317
|
+
*/
|
|
4318
|
+
unsubscribeAutomation(requestParameters, options) {
|
|
4319
|
+
return ActionsApiFp(this.configuration)
|
|
4320
|
+
.unsubscribeAutomation(requestParameters.workspaceId, requestParameters.automationId, options)
|
|
4321
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4322
|
+
}
|
|
4323
|
+
/**
|
|
4324
|
+
*
|
|
4325
|
+
* @summary Unsubscribe from all automations in the workspace
|
|
4326
|
+
* @param {ActionsApiUnsubscribeWorkspaceAutomationsRequest} requestParameters Request parameters.
|
|
4327
|
+
* @param {*} [options] Override http request option.
|
|
4328
|
+
* @throws {RequiredError}
|
|
4329
|
+
* @memberof ActionsApi
|
|
4330
|
+
*/
|
|
4331
|
+
unsubscribeWorkspaceAutomations(requestParameters, options) {
|
|
4332
|
+
return ActionsApiFp(this.configuration)
|
|
4333
|
+
.unsubscribeWorkspaceAutomations(requestParameters.workspaceId, options)
|
|
4334
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4335
|
+
}
|
|
4104
4336
|
/**
|
|
4105
4337
|
* Resolves values for all settings in a workspace by current user, workspace, organization, or default settings.
|
|
4106
4338
|
* @summary Values for all settings.
|
|
@@ -6290,6 +6522,42 @@ export const AutomationsApiAxiosParamCreator = function (configuration) {
|
|
|
6290
6522
|
options: localVarRequestOptions,
|
|
6291
6523
|
};
|
|
6292
6524
|
},
|
|
6525
|
+
/**
|
|
6526
|
+
* Retrieve automations for the specific workspace
|
|
6527
|
+
* @summary Get automations
|
|
6528
|
+
* @param {string} workspaceId
|
|
6529
|
+
* @param {Array<'ACTIVITY_INFO'>} [exclude]
|
|
6530
|
+
* @param {*} [options] Override http request option.
|
|
6531
|
+
* @throws {RequiredError}
|
|
6532
|
+
*/
|
|
6533
|
+
getAutomations: async (workspaceId, exclude, options = {}) => {
|
|
6534
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
6535
|
+
assertParamExists("getAutomations", "workspaceId", workspaceId);
|
|
6536
|
+
const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/automations`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
6537
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6538
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6539
|
+
let baseOptions;
|
|
6540
|
+
if (configuration) {
|
|
6541
|
+
baseOptions = configuration.baseOptions;
|
|
6542
|
+
}
|
|
6543
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
6544
|
+
const localVarHeaderParameter = {};
|
|
6545
|
+
const localVarQueryParameter = {};
|
|
6546
|
+
if (exclude) {
|
|
6547
|
+
localVarQueryParameter["exclude"] = exclude;
|
|
6548
|
+
}
|
|
6549
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6550
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6551
|
+
localVarRequestOptions.headers = {
|
|
6552
|
+
...localVarHeaderParameter,
|
|
6553
|
+
...headersFromBaseOptions,
|
|
6554
|
+
...options.headers,
|
|
6555
|
+
};
|
|
6556
|
+
return {
|
|
6557
|
+
url: toPathString(localVarUrlObj),
|
|
6558
|
+
options: localVarRequestOptions,
|
|
6559
|
+
};
|
|
6560
|
+
},
|
|
6293
6561
|
/**
|
|
6294
6562
|
*
|
|
6295
6563
|
* @summary Get an Automation
|
|
@@ -6397,6 +6665,47 @@ export const AutomationsApiAxiosParamCreator = function (configuration) {
|
|
|
6397
6665
|
options: localVarRequestOptions,
|
|
6398
6666
|
};
|
|
6399
6667
|
},
|
|
6668
|
+
/**
|
|
6669
|
+
* Set automations for the specific workspace.
|
|
6670
|
+
* @summary Set automations
|
|
6671
|
+
* @param {string} workspaceId
|
|
6672
|
+
* @param {Array<DeclarativeAutomation>} declarativeAutomation
|
|
6673
|
+
* @param {*} [options] Override http request option.
|
|
6674
|
+
* @throws {RequiredError}
|
|
6675
|
+
*/
|
|
6676
|
+
setAutomations: async (workspaceId, declarativeAutomation, options = {}) => {
|
|
6677
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
6678
|
+
assertParamExists("setAutomations", "workspaceId", workspaceId);
|
|
6679
|
+
// verify required parameter 'declarativeAutomation' is not null or undefined
|
|
6680
|
+
assertParamExists("setAutomations", "declarativeAutomation", declarativeAutomation);
|
|
6681
|
+
const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/automations`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
6682
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6683
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6684
|
+
let baseOptions;
|
|
6685
|
+
if (configuration) {
|
|
6686
|
+
baseOptions = configuration.baseOptions;
|
|
6687
|
+
}
|
|
6688
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
6689
|
+
const localVarHeaderParameter = {};
|
|
6690
|
+
const localVarQueryParameter = {};
|
|
6691
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
6692
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6693
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6694
|
+
localVarRequestOptions.headers = {
|
|
6695
|
+
...localVarHeaderParameter,
|
|
6696
|
+
...headersFromBaseOptions,
|
|
6697
|
+
...options.headers,
|
|
6698
|
+
};
|
|
6699
|
+
const needsSerialization = typeof declarativeAutomation !== "string" ||
|
|
6700
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
6701
|
+
localVarRequestOptions.data = needsSerialization
|
|
6702
|
+
? JSON.stringify(declarativeAutomation !== undefined ? declarativeAutomation : {})
|
|
6703
|
+
: declarativeAutomation || "";
|
|
6704
|
+
return {
|
|
6705
|
+
url: toPathString(localVarUrlObj),
|
|
6706
|
+
options: localVarRequestOptions,
|
|
6707
|
+
};
|
|
6708
|
+
},
|
|
6400
6709
|
/**
|
|
6401
6710
|
*
|
|
6402
6711
|
* @summary Put an Automation
|
|
@@ -6506,6 +6815,18 @@ export const AutomationsApiFp = function (configuration) {
|
|
|
6506
6815
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesAutomations(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
6507
6816
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6508
6817
|
},
|
|
6818
|
+
/**
|
|
6819
|
+
* Retrieve automations for the specific workspace
|
|
6820
|
+
* @summary Get automations
|
|
6821
|
+
* @param {string} workspaceId
|
|
6822
|
+
* @param {Array<'ACTIVITY_INFO'>} [exclude]
|
|
6823
|
+
* @param {*} [options] Override http request option.
|
|
6824
|
+
* @throws {RequiredError}
|
|
6825
|
+
*/
|
|
6826
|
+
async getAutomations(workspaceId, exclude, options) {
|
|
6827
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAutomations(workspaceId, exclude, options);
|
|
6828
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6829
|
+
},
|
|
6509
6830
|
/**
|
|
6510
6831
|
*
|
|
6511
6832
|
* @summary Get an Automation
|
|
@@ -6537,6 +6858,18 @@ export const AutomationsApiFp = function (configuration) {
|
|
|
6537
6858
|
const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityAutomations(workspaceId, objectId, jsonApiAutomationPatchDocument, filter, include, options);
|
|
6538
6859
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6539
6860
|
},
|
|
6861
|
+
/**
|
|
6862
|
+
* Set automations for the specific workspace.
|
|
6863
|
+
* @summary Set automations
|
|
6864
|
+
* @param {string} workspaceId
|
|
6865
|
+
* @param {Array<DeclarativeAutomation>} declarativeAutomation
|
|
6866
|
+
* @param {*} [options] Override http request option.
|
|
6867
|
+
* @throws {RequiredError}
|
|
6868
|
+
*/
|
|
6869
|
+
async setAutomations(workspaceId, declarativeAutomation, options) {
|
|
6870
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setAutomations(workspaceId, declarativeAutomation, options);
|
|
6871
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6872
|
+
},
|
|
6540
6873
|
/**
|
|
6541
6874
|
*
|
|
6542
6875
|
* @summary Put an Automation
|
|
@@ -6597,6 +6930,18 @@ export const AutomationsApiFactory = function (configuration, basePath, axios) {
|
|
|
6597
6930
|
.getAllEntitiesAutomations(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
6598
6931
|
.then((request) => request(axios, basePath));
|
|
6599
6932
|
},
|
|
6933
|
+
/**
|
|
6934
|
+
* Retrieve automations for the specific workspace
|
|
6935
|
+
* @summary Get automations
|
|
6936
|
+
* @param {AutomationsApiGetAutomationsRequest} requestParameters Request parameters.
|
|
6937
|
+
* @param {*} [options] Override http request option.
|
|
6938
|
+
* @throws {RequiredError}
|
|
6939
|
+
*/
|
|
6940
|
+
getAutomations(requestParameters, options) {
|
|
6941
|
+
return localVarFp
|
|
6942
|
+
.getAutomations(requestParameters.workspaceId, requestParameters.exclude, options)
|
|
6943
|
+
.then((request) => request(axios, basePath));
|
|
6944
|
+
},
|
|
6600
6945
|
/**
|
|
6601
6946
|
*
|
|
6602
6947
|
* @summary Get an Automation
|
|
@@ -6621,6 +6966,18 @@ export const AutomationsApiFactory = function (configuration, basePath, axios) {
|
|
|
6621
6966
|
.patchEntityAutomations(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiAutomationPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
6622
6967
|
.then((request) => request(axios, basePath));
|
|
6623
6968
|
},
|
|
6969
|
+
/**
|
|
6970
|
+
* Set automations for the specific workspace.
|
|
6971
|
+
* @summary Set automations
|
|
6972
|
+
* @param {AutomationsApiSetAutomationsRequest} requestParameters Request parameters.
|
|
6973
|
+
* @param {*} [options] Override http request option.
|
|
6974
|
+
* @throws {RequiredError}
|
|
6975
|
+
*/
|
|
6976
|
+
setAutomations(requestParameters, options) {
|
|
6977
|
+
return localVarFp
|
|
6978
|
+
.setAutomations(requestParameters.workspaceId, requestParameters.declarativeAutomation, options)
|
|
6979
|
+
.then((request) => request(axios, basePath));
|
|
6980
|
+
},
|
|
6624
6981
|
/**
|
|
6625
6982
|
*
|
|
6626
6983
|
* @summary Put an Automation
|
|
@@ -6681,6 +7038,19 @@ export class AutomationsApi extends BaseAPI {
|
|
|
6681
7038
|
.getAllEntitiesAutomations(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
6682
7039
|
.then((request) => request(this.axios, this.basePath));
|
|
6683
7040
|
}
|
|
7041
|
+
/**
|
|
7042
|
+
* Retrieve automations for the specific workspace
|
|
7043
|
+
* @summary Get automations
|
|
7044
|
+
* @param {AutomationsApiGetAutomationsRequest} requestParameters Request parameters.
|
|
7045
|
+
* @param {*} [options] Override http request option.
|
|
7046
|
+
* @throws {RequiredError}
|
|
7047
|
+
* @memberof AutomationsApi
|
|
7048
|
+
*/
|
|
7049
|
+
getAutomations(requestParameters, options) {
|
|
7050
|
+
return AutomationsApiFp(this.configuration)
|
|
7051
|
+
.getAutomations(requestParameters.workspaceId, requestParameters.exclude, options)
|
|
7052
|
+
.then((request) => request(this.axios, this.basePath));
|
|
7053
|
+
}
|
|
6684
7054
|
/**
|
|
6685
7055
|
*
|
|
6686
7056
|
* @summary Get an Automation
|
|
@@ -6707,6 +7077,19 @@ export class AutomationsApi extends BaseAPI {
|
|
|
6707
7077
|
.patchEntityAutomations(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiAutomationPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
6708
7078
|
.then((request) => request(this.axios, this.basePath));
|
|
6709
7079
|
}
|
|
7080
|
+
/**
|
|
7081
|
+
* Set automations for the specific workspace.
|
|
7082
|
+
* @summary Set automations
|
|
7083
|
+
* @param {AutomationsApiSetAutomationsRequest} requestParameters Request parameters.
|
|
7084
|
+
* @param {*} [options] Override http request option.
|
|
7085
|
+
* @throws {RequiredError}
|
|
7086
|
+
* @memberof AutomationsApi
|
|
7087
|
+
*/
|
|
7088
|
+
setAutomations(requestParameters, options) {
|
|
7089
|
+
return AutomationsApiFp(this.configuration)
|
|
7090
|
+
.setAutomations(requestParameters.workspaceId, requestParameters.declarativeAutomation, options)
|
|
7091
|
+
.then((request) => request(this.axios, this.basePath));
|
|
7092
|
+
}
|
|
6710
7093
|
/**
|
|
6711
7094
|
*
|
|
6712
7095
|
* @summary Put an Automation
|
|
@@ -12436,6 +12819,51 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
12436
12819
|
options: localVarRequestOptions,
|
|
12437
12820
|
};
|
|
12438
12821
|
},
|
|
12822
|
+
/**
|
|
12823
|
+
*
|
|
12824
|
+
* @summary Post Filter views
|
|
12825
|
+
* @param {string} workspaceId
|
|
12826
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
12827
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
12828
|
+
* @param {*} [options] Override http request option.
|
|
12829
|
+
* @throws {RequiredError}
|
|
12830
|
+
*/
|
|
12831
|
+
createEntityFilterViews: async (workspaceId, jsonApiFilterViewInDocument, include, options = {}) => {
|
|
12832
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
12833
|
+
assertParamExists("createEntityFilterViews", "workspaceId", workspaceId);
|
|
12834
|
+
// verify required parameter 'jsonApiFilterViewInDocument' is not null or undefined
|
|
12835
|
+
assertParamExists("createEntityFilterViews", "jsonApiFilterViewInDocument", jsonApiFilterViewInDocument);
|
|
12836
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
12837
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12838
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12839
|
+
let baseOptions;
|
|
12840
|
+
if (configuration) {
|
|
12841
|
+
baseOptions = configuration.baseOptions;
|
|
12842
|
+
}
|
|
12843
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
12844
|
+
const localVarHeaderParameter = {};
|
|
12845
|
+
const localVarQueryParameter = {};
|
|
12846
|
+
if (include) {
|
|
12847
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
12848
|
+
}
|
|
12849
|
+
localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
|
|
12850
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12851
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12852
|
+
localVarRequestOptions.headers = {
|
|
12853
|
+
...localVarHeaderParameter,
|
|
12854
|
+
...headersFromBaseOptions,
|
|
12855
|
+
...options.headers,
|
|
12856
|
+
};
|
|
12857
|
+
const needsSerialization = typeof jsonApiFilterViewInDocument !== "string" ||
|
|
12858
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
12859
|
+
localVarRequestOptions.data = needsSerialization
|
|
12860
|
+
? JSON.stringify(jsonApiFilterViewInDocument !== undefined ? jsonApiFilterViewInDocument : {})
|
|
12861
|
+
: jsonApiFilterViewInDocument || "";
|
|
12862
|
+
return {
|
|
12863
|
+
url: toPathString(localVarUrlObj),
|
|
12864
|
+
options: localVarRequestOptions,
|
|
12865
|
+
};
|
|
12866
|
+
},
|
|
12439
12867
|
/**
|
|
12440
12868
|
*
|
|
12441
12869
|
* @summary Post Identity Providers
|
|
@@ -13579,6 +14007,47 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
13579
14007
|
options: localVarRequestOptions,
|
|
13580
14008
|
};
|
|
13581
14009
|
},
|
|
14010
|
+
/**
|
|
14011
|
+
*
|
|
14012
|
+
* @summary Delete Filter view
|
|
14013
|
+
* @param {string} workspaceId
|
|
14014
|
+
* @param {string} objectId
|
|
14015
|
+
* @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\').
|
|
14016
|
+
* @param {*} [options] Override http request option.
|
|
14017
|
+
* @throws {RequiredError}
|
|
14018
|
+
*/
|
|
14019
|
+
deleteEntityFilterViews: async (workspaceId, objectId, filter, options = {}) => {
|
|
14020
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
14021
|
+
assertParamExists("deleteEntityFilterViews", "workspaceId", workspaceId);
|
|
14022
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
14023
|
+
assertParamExists("deleteEntityFilterViews", "objectId", objectId);
|
|
14024
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
14025
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
14026
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
14027
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14028
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14029
|
+
let baseOptions;
|
|
14030
|
+
if (configuration) {
|
|
14031
|
+
baseOptions = configuration.baseOptions;
|
|
14032
|
+
}
|
|
14033
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
14034
|
+
const localVarHeaderParameter = {};
|
|
14035
|
+
const localVarQueryParameter = {};
|
|
14036
|
+
if (filter !== undefined) {
|
|
14037
|
+
localVarQueryParameter["filter"] = filter;
|
|
14038
|
+
}
|
|
14039
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14040
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14041
|
+
localVarRequestOptions.headers = {
|
|
14042
|
+
...localVarHeaderParameter,
|
|
14043
|
+
...headersFromBaseOptions,
|
|
14044
|
+
...options.headers,
|
|
14045
|
+
};
|
|
14046
|
+
return {
|
|
14047
|
+
url: toPathString(localVarUrlObj),
|
|
14048
|
+
options: localVarRequestOptions,
|
|
14049
|
+
};
|
|
14050
|
+
},
|
|
13582
14051
|
/**
|
|
13583
14052
|
*
|
|
13584
14053
|
* @summary Delete Identity Provider
|
|
@@ -15122,6 +15591,70 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
15122
15591
|
options: localVarRequestOptions,
|
|
15123
15592
|
};
|
|
15124
15593
|
},
|
|
15594
|
+
/**
|
|
15595
|
+
*
|
|
15596
|
+
* @summary Get all Filter views
|
|
15597
|
+
* @param {string} workspaceId
|
|
15598
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
15599
|
+
* @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\').
|
|
15600
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
15601
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
15602
|
+
* @param {number} [size] The size of the page to be returned
|
|
15603
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
15604
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
15605
|
+
* @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
15606
|
+
* @param {*} [options] Override http request option.
|
|
15607
|
+
* @throws {RequiredError}
|
|
15608
|
+
*/
|
|
15609
|
+
getAllEntitiesFilterViews: async (workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
|
|
15610
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
15611
|
+
assertParamExists("getAllEntitiesFilterViews", "workspaceId", workspaceId);
|
|
15612
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
15613
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15614
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15615
|
+
let baseOptions;
|
|
15616
|
+
if (configuration) {
|
|
15617
|
+
baseOptions = configuration.baseOptions;
|
|
15618
|
+
}
|
|
15619
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
15620
|
+
const localVarHeaderParameter = {};
|
|
15621
|
+
const localVarQueryParameter = {};
|
|
15622
|
+
if (origin !== undefined) {
|
|
15623
|
+
localVarQueryParameter["origin"] = origin;
|
|
15624
|
+
}
|
|
15625
|
+
if (filter !== undefined) {
|
|
15626
|
+
localVarQueryParameter["filter"] = filter;
|
|
15627
|
+
}
|
|
15628
|
+
if (include) {
|
|
15629
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
15630
|
+
}
|
|
15631
|
+
if (page !== undefined) {
|
|
15632
|
+
localVarQueryParameter["page"] = page;
|
|
15633
|
+
}
|
|
15634
|
+
if (size !== undefined) {
|
|
15635
|
+
localVarQueryParameter["size"] = size;
|
|
15636
|
+
}
|
|
15637
|
+
if (sort) {
|
|
15638
|
+
localVarQueryParameter["sort"] = sort;
|
|
15639
|
+
}
|
|
15640
|
+
if (metaInclude) {
|
|
15641
|
+
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
15642
|
+
}
|
|
15643
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
15644
|
+
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
15645
|
+
}
|
|
15646
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15647
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15648
|
+
localVarRequestOptions.headers = {
|
|
15649
|
+
...localVarHeaderParameter,
|
|
15650
|
+
...headersFromBaseOptions,
|
|
15651
|
+
...options.headers,
|
|
15652
|
+
};
|
|
15653
|
+
return {
|
|
15654
|
+
url: toPathString(localVarUrlObj),
|
|
15655
|
+
options: localVarRequestOptions,
|
|
15656
|
+
};
|
|
15657
|
+
},
|
|
15125
15658
|
/**
|
|
15126
15659
|
*
|
|
15127
15660
|
* @summary Get all Identity Providers
|
|
@@ -16969,6 +17502,55 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
16969
17502
|
options: localVarRequestOptions,
|
|
16970
17503
|
};
|
|
16971
17504
|
},
|
|
17505
|
+
/**
|
|
17506
|
+
*
|
|
17507
|
+
* @summary Get Filter view
|
|
17508
|
+
* @param {string} workspaceId
|
|
17509
|
+
* @param {string} objectId
|
|
17510
|
+
* @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\').
|
|
17511
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
17512
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
17513
|
+
* @param {*} [options] Override http request option.
|
|
17514
|
+
* @throws {RequiredError}
|
|
17515
|
+
*/
|
|
17516
|
+
getEntityFilterViews: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options = {}) => {
|
|
17517
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
17518
|
+
assertParamExists("getEntityFilterViews", "workspaceId", workspaceId);
|
|
17519
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
17520
|
+
assertParamExists("getEntityFilterViews", "objectId", objectId);
|
|
17521
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
17522
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
17523
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
17524
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17525
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17526
|
+
let baseOptions;
|
|
17527
|
+
if (configuration) {
|
|
17528
|
+
baseOptions = configuration.baseOptions;
|
|
17529
|
+
}
|
|
17530
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
17531
|
+
const localVarHeaderParameter = {};
|
|
17532
|
+
const localVarQueryParameter = {};
|
|
17533
|
+
if (filter !== undefined) {
|
|
17534
|
+
localVarQueryParameter["filter"] = filter;
|
|
17535
|
+
}
|
|
17536
|
+
if (include) {
|
|
17537
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
17538
|
+
}
|
|
17539
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
17540
|
+
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
17541
|
+
}
|
|
17542
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17543
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17544
|
+
localVarRequestOptions.headers = {
|
|
17545
|
+
...localVarHeaderParameter,
|
|
17546
|
+
...headersFromBaseOptions,
|
|
17547
|
+
...options.headers,
|
|
17548
|
+
};
|
|
17549
|
+
return {
|
|
17550
|
+
url: toPathString(localVarUrlObj),
|
|
17551
|
+
options: localVarRequestOptions,
|
|
17552
|
+
};
|
|
17553
|
+
},
|
|
16972
17554
|
/**
|
|
16973
17555
|
*
|
|
16974
17556
|
* @summary Get Identity Provider
|
|
@@ -18398,6 +18980,60 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
18398
18980
|
options: localVarRequestOptions,
|
|
18399
18981
|
};
|
|
18400
18982
|
},
|
|
18983
|
+
/**
|
|
18984
|
+
*
|
|
18985
|
+
* @summary Patch Filter view
|
|
18986
|
+
* @param {string} workspaceId
|
|
18987
|
+
* @param {string} objectId
|
|
18988
|
+
* @param {JsonApiFilterViewPatchDocument} jsonApiFilterViewPatchDocument
|
|
18989
|
+
* @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\').
|
|
18990
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
18991
|
+
* @param {*} [options] Override http request option.
|
|
18992
|
+
* @throws {RequiredError}
|
|
18993
|
+
*/
|
|
18994
|
+
patchEntityFilterViews: async (workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options = {}) => {
|
|
18995
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
18996
|
+
assertParamExists("patchEntityFilterViews", "workspaceId", workspaceId);
|
|
18997
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
18998
|
+
assertParamExists("patchEntityFilterViews", "objectId", objectId);
|
|
18999
|
+
// verify required parameter 'jsonApiFilterViewPatchDocument' is not null or undefined
|
|
19000
|
+
assertParamExists("patchEntityFilterViews", "jsonApiFilterViewPatchDocument", jsonApiFilterViewPatchDocument);
|
|
19001
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
19002
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
19003
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
19004
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19005
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19006
|
+
let baseOptions;
|
|
19007
|
+
if (configuration) {
|
|
19008
|
+
baseOptions = configuration.baseOptions;
|
|
19009
|
+
}
|
|
19010
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
19011
|
+
const localVarHeaderParameter = {};
|
|
19012
|
+
const localVarQueryParameter = {};
|
|
19013
|
+
if (filter !== undefined) {
|
|
19014
|
+
localVarQueryParameter["filter"] = filter;
|
|
19015
|
+
}
|
|
19016
|
+
if (include) {
|
|
19017
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
19018
|
+
}
|
|
19019
|
+
localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
|
|
19020
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19021
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19022
|
+
localVarRequestOptions.headers = {
|
|
19023
|
+
...localVarHeaderParameter,
|
|
19024
|
+
...headersFromBaseOptions,
|
|
19025
|
+
...options.headers,
|
|
19026
|
+
};
|
|
19027
|
+
const needsSerialization = typeof jsonApiFilterViewPatchDocument !== "string" ||
|
|
19028
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
19029
|
+
localVarRequestOptions.data = needsSerialization
|
|
19030
|
+
? JSON.stringify(jsonApiFilterViewPatchDocument !== undefined ? jsonApiFilterViewPatchDocument : {})
|
|
19031
|
+
: jsonApiFilterViewPatchDocument || "";
|
|
19032
|
+
return {
|
|
19033
|
+
url: toPathString(localVarUrlObj),
|
|
19034
|
+
options: localVarRequestOptions,
|
|
19035
|
+
};
|
|
19036
|
+
},
|
|
18401
19037
|
/**
|
|
18402
19038
|
*
|
|
18403
19039
|
* @summary Patch Identity Provider
|
|
@@ -19764,6 +20400,60 @@ export const EntitiesApiAxiosParamCreator = function (configuration) {
|
|
|
19764
20400
|
options: localVarRequestOptions,
|
|
19765
20401
|
};
|
|
19766
20402
|
},
|
|
20403
|
+
/**
|
|
20404
|
+
*
|
|
20405
|
+
* @summary Put Filter views
|
|
20406
|
+
* @param {string} workspaceId
|
|
20407
|
+
* @param {string} objectId
|
|
20408
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
20409
|
+
* @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\').
|
|
20410
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
20411
|
+
* @param {*} [options] Override http request option.
|
|
20412
|
+
* @throws {RequiredError}
|
|
20413
|
+
*/
|
|
20414
|
+
updateEntityFilterViews: async (workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options = {}) => {
|
|
20415
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
20416
|
+
assertParamExists("updateEntityFilterViews", "workspaceId", workspaceId);
|
|
20417
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
20418
|
+
assertParamExists("updateEntityFilterViews", "objectId", objectId);
|
|
20419
|
+
// verify required parameter 'jsonApiFilterViewInDocument' is not null or undefined
|
|
20420
|
+
assertParamExists("updateEntityFilterViews", "jsonApiFilterViewInDocument", jsonApiFilterViewInDocument);
|
|
20421
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
20422
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
20423
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
20424
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20425
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20426
|
+
let baseOptions;
|
|
20427
|
+
if (configuration) {
|
|
20428
|
+
baseOptions = configuration.baseOptions;
|
|
20429
|
+
}
|
|
20430
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
20431
|
+
const localVarHeaderParameter = {};
|
|
20432
|
+
const localVarQueryParameter = {};
|
|
20433
|
+
if (filter !== undefined) {
|
|
20434
|
+
localVarQueryParameter["filter"] = filter;
|
|
20435
|
+
}
|
|
20436
|
+
if (include) {
|
|
20437
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
20438
|
+
}
|
|
20439
|
+
localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
|
|
20440
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20441
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20442
|
+
localVarRequestOptions.headers = {
|
|
20443
|
+
...localVarHeaderParameter,
|
|
20444
|
+
...headersFromBaseOptions,
|
|
20445
|
+
...options.headers,
|
|
20446
|
+
};
|
|
20447
|
+
const needsSerialization = typeof jsonApiFilterViewInDocument !== "string" ||
|
|
20448
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
20449
|
+
localVarRequestOptions.data = needsSerialization
|
|
20450
|
+
? JSON.stringify(jsonApiFilterViewInDocument !== undefined ? jsonApiFilterViewInDocument : {})
|
|
20451
|
+
: jsonApiFilterViewInDocument || "";
|
|
20452
|
+
return {
|
|
20453
|
+
url: toPathString(localVarUrlObj),
|
|
20454
|
+
options: localVarRequestOptions,
|
|
20455
|
+
};
|
|
20456
|
+
},
|
|
19767
20457
|
/**
|
|
19768
20458
|
*
|
|
19769
20459
|
* @summary Put Identity Provider
|
|
@@ -20766,6 +21456,19 @@ export const EntitiesApiFp = function (configuration) {
|
|
|
20766
21456
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createEntityFilterContexts(workspaceId, jsonApiFilterContextPostOptionalIdDocument, include, metaInclude, options);
|
|
20767
21457
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20768
21458
|
},
|
|
21459
|
+
/**
|
|
21460
|
+
*
|
|
21461
|
+
* @summary Post Filter views
|
|
21462
|
+
* @param {string} workspaceId
|
|
21463
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
21464
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
21465
|
+
* @param {*} [options] Override http request option.
|
|
21466
|
+
* @throws {RequiredError}
|
|
21467
|
+
*/
|
|
21468
|
+
async createEntityFilterViews(workspaceId, jsonApiFilterViewInDocument, include, options) {
|
|
21469
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createEntityFilterViews(workspaceId, jsonApiFilterViewInDocument, include, options);
|
|
21470
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21471
|
+
},
|
|
20769
21472
|
/**
|
|
20770
21473
|
*
|
|
20771
21474
|
* @summary Post Identity Providers
|
|
@@ -21104,6 +21807,19 @@ export const EntitiesApiFp = function (configuration) {
|
|
|
21104
21807
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEntityFilterContexts(workspaceId, objectId, filter, options);
|
|
21105
21808
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21106
21809
|
},
|
|
21810
|
+
/**
|
|
21811
|
+
*
|
|
21812
|
+
* @summary Delete Filter view
|
|
21813
|
+
* @param {string} workspaceId
|
|
21814
|
+
* @param {string} objectId
|
|
21815
|
+
* @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\').
|
|
21816
|
+
* @param {*} [options] Override http request option.
|
|
21817
|
+
* @throws {RequiredError}
|
|
21818
|
+
*/
|
|
21819
|
+
async deleteEntityFilterViews(workspaceId, objectId, filter, options) {
|
|
21820
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEntityFilterViews(workspaceId, objectId, filter, options);
|
|
21821
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21822
|
+
},
|
|
21107
21823
|
/**
|
|
21108
21824
|
*
|
|
21109
21825
|
* @summary Delete Identity Provider
|
|
@@ -21582,6 +22298,25 @@ export const EntitiesApiFp = function (configuration) {
|
|
|
21582
22298
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFilterContexts(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
21583
22299
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21584
22300
|
},
|
|
22301
|
+
/**
|
|
22302
|
+
*
|
|
22303
|
+
* @summary Get all Filter views
|
|
22304
|
+
* @param {string} workspaceId
|
|
22305
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
22306
|
+
* @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\').
|
|
22307
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
22308
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
22309
|
+
* @param {number} [size] The size of the page to be returned
|
|
22310
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
22311
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
22312
|
+
* @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
22313
|
+
* @param {*} [options] Override http request option.
|
|
22314
|
+
* @throws {RequiredError}
|
|
22315
|
+
*/
|
|
22316
|
+
async getAllEntitiesFilterViews(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options) {
|
|
22317
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFilterViews(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
22318
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22319
|
+
},
|
|
21585
22320
|
/**
|
|
21586
22321
|
*
|
|
21587
22322
|
* @summary Get all Identity Providers
|
|
@@ -22149,6 +22884,21 @@ export const EntitiesApiFp = function (configuration) {
|
|
|
22149
22884
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFilterContexts(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
22150
22885
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22151
22886
|
},
|
|
22887
|
+
/**
|
|
22888
|
+
*
|
|
22889
|
+
* @summary Get Filter view
|
|
22890
|
+
* @param {string} workspaceId
|
|
22891
|
+
* @param {string} objectId
|
|
22892
|
+
* @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\').
|
|
22893
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
22894
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
22895
|
+
* @param {*} [options] Override http request option.
|
|
22896
|
+
* @throws {RequiredError}
|
|
22897
|
+
*/
|
|
22898
|
+
async getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options) {
|
|
22899
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options);
|
|
22900
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22901
|
+
},
|
|
22152
22902
|
/**
|
|
22153
22903
|
*
|
|
22154
22904
|
* @summary Get Identity Provider
|
|
@@ -22578,6 +23328,21 @@ export const EntitiesApiFp = function (configuration) {
|
|
|
22578
23328
|
const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityFilterContexts(workspaceId, objectId, jsonApiFilterContextPatchDocument, filter, include, options);
|
|
22579
23329
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22580
23330
|
},
|
|
23331
|
+
/**
|
|
23332
|
+
*
|
|
23333
|
+
* @summary Patch Filter view
|
|
23334
|
+
* @param {string} workspaceId
|
|
23335
|
+
* @param {string} objectId
|
|
23336
|
+
* @param {JsonApiFilterViewPatchDocument} jsonApiFilterViewPatchDocument
|
|
23337
|
+
* @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\').
|
|
23338
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
23339
|
+
* @param {*} [options] Override http request option.
|
|
23340
|
+
* @throws {RequiredError}
|
|
23341
|
+
*/
|
|
23342
|
+
async patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options) {
|
|
23343
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options);
|
|
23344
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23345
|
+
},
|
|
22581
23346
|
/**
|
|
22582
23347
|
*
|
|
22583
23348
|
* @summary Patch Identity Provider
|
|
@@ -22957,6 +23722,21 @@ export const EntitiesApiFp = function (configuration) {
|
|
|
22957
23722
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateEntityFilterContexts(workspaceId, objectId, jsonApiFilterContextInDocument, filter, include, options);
|
|
22958
23723
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22959
23724
|
},
|
|
23725
|
+
/**
|
|
23726
|
+
*
|
|
23727
|
+
* @summary Put Filter views
|
|
23728
|
+
* @param {string} workspaceId
|
|
23729
|
+
* @param {string} objectId
|
|
23730
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
23731
|
+
* @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\').
|
|
23732
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
23733
|
+
* @param {*} [options] Override http request option.
|
|
23734
|
+
* @throws {RequiredError}
|
|
23735
|
+
*/
|
|
23736
|
+
async updateEntityFilterViews(workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options) {
|
|
23737
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateEntityFilterViews(workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options);
|
|
23738
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23739
|
+
},
|
|
22960
23740
|
/**
|
|
22961
23741
|
*
|
|
22962
23742
|
* @summary Put Identity Provider
|
|
@@ -23335,6 +24115,18 @@ export const EntitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
23335
24115
|
.createEntityFilterContexts(requestParameters.workspaceId, requestParameters.jsonApiFilterContextPostOptionalIdDocument, requestParameters.include, requestParameters.metaInclude, options)
|
|
23336
24116
|
.then((request) => request(axios, basePath));
|
|
23337
24117
|
},
|
|
24118
|
+
/**
|
|
24119
|
+
*
|
|
24120
|
+
* @summary Post Filter views
|
|
24121
|
+
* @param {EntitiesApiCreateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
24122
|
+
* @param {*} [options] Override http request option.
|
|
24123
|
+
* @throws {RequiredError}
|
|
24124
|
+
*/
|
|
24125
|
+
createEntityFilterViews(requestParameters, options) {
|
|
24126
|
+
return localVarFp
|
|
24127
|
+
.createEntityFilterViews(requestParameters.workspaceId, requestParameters.jsonApiFilterViewInDocument, requestParameters.include, options)
|
|
24128
|
+
.then((request) => request(axios, basePath));
|
|
24129
|
+
},
|
|
23338
24130
|
/**
|
|
23339
24131
|
*
|
|
23340
24132
|
* @summary Post Identity Providers
|
|
@@ -23659,6 +24451,18 @@ export const EntitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
23659
24451
|
.deleteEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
23660
24452
|
.then((request) => request(axios, basePath));
|
|
23661
24453
|
},
|
|
24454
|
+
/**
|
|
24455
|
+
*
|
|
24456
|
+
* @summary Delete Filter view
|
|
24457
|
+
* @param {EntitiesApiDeleteEntityFilterViewsRequest} requestParameters Request parameters.
|
|
24458
|
+
* @param {*} [options] Override http request option.
|
|
24459
|
+
* @throws {RequiredError}
|
|
24460
|
+
*/
|
|
24461
|
+
deleteEntityFilterViews(requestParameters, options) {
|
|
24462
|
+
return localVarFp
|
|
24463
|
+
.deleteEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
24464
|
+
.then((request) => request(axios, basePath));
|
|
24465
|
+
},
|
|
23662
24466
|
/**
|
|
23663
24467
|
*
|
|
23664
24468
|
* @summary Delete Identity Provider
|
|
@@ -24042,6 +24846,18 @@ export const EntitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
24042
24846
|
.getAllEntitiesFilterContexts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
24043
24847
|
.then((request) => request(axios, basePath));
|
|
24044
24848
|
},
|
|
24849
|
+
/**
|
|
24850
|
+
*
|
|
24851
|
+
* @summary Get all Filter views
|
|
24852
|
+
* @param {EntitiesApiGetAllEntitiesFilterViewsRequest} requestParameters Request parameters.
|
|
24853
|
+
* @param {*} [options] Override http request option.
|
|
24854
|
+
* @throws {RequiredError}
|
|
24855
|
+
*/
|
|
24856
|
+
getAllEntitiesFilterViews(requestParameters, options) {
|
|
24857
|
+
return localVarFp
|
|
24858
|
+
.getAllEntitiesFilterViews(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
24859
|
+
.then((request) => request(axios, basePath));
|
|
24860
|
+
},
|
|
24045
24861
|
/**
|
|
24046
24862
|
*
|
|
24047
24863
|
* @summary Get all Identity Providers
|
|
@@ -24480,6 +25296,18 @@ export const EntitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
24480
25296
|
.getEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
24481
25297
|
.then((request) => request(axios, basePath));
|
|
24482
25298
|
},
|
|
25299
|
+
/**
|
|
25300
|
+
*
|
|
25301
|
+
* @summary Get Filter view
|
|
25302
|
+
* @param {EntitiesApiGetEntityFilterViewsRequest} requestParameters Request parameters.
|
|
25303
|
+
* @param {*} [options] Override http request option.
|
|
25304
|
+
* @throws {RequiredError}
|
|
25305
|
+
*/
|
|
25306
|
+
getEntityFilterViews(requestParameters, options) {
|
|
25307
|
+
return localVarFp
|
|
25308
|
+
.getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
|
|
25309
|
+
.then((request) => request(axios, basePath));
|
|
25310
|
+
},
|
|
24483
25311
|
/**
|
|
24484
25312
|
*
|
|
24485
25313
|
* @summary Get Identity Provider
|
|
@@ -24852,6 +25680,18 @@ export const EntitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
24852
25680
|
.patchEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
24853
25681
|
.then((request) => request(axios, basePath));
|
|
24854
25682
|
},
|
|
25683
|
+
/**
|
|
25684
|
+
*
|
|
25685
|
+
* @summary Patch Filter view
|
|
25686
|
+
* @param {EntitiesApiPatchEntityFilterViewsRequest} requestParameters Request parameters.
|
|
25687
|
+
* @param {*} [options] Override http request option.
|
|
25688
|
+
* @throws {RequiredError}
|
|
25689
|
+
*/
|
|
25690
|
+
patchEntityFilterViews(requestParameters, options) {
|
|
25691
|
+
return localVarFp
|
|
25692
|
+
.patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
25693
|
+
.then((request) => request(axios, basePath));
|
|
25694
|
+
},
|
|
24855
25695
|
/**
|
|
24856
25696
|
*
|
|
24857
25697
|
* @summary Patch Identity Provider
|
|
@@ -25176,6 +26016,18 @@ export const EntitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
25176
26016
|
.updateEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextInDocument, requestParameters.filter, requestParameters.include, options)
|
|
25177
26017
|
.then((request) => request(axios, basePath));
|
|
25178
26018
|
},
|
|
26019
|
+
/**
|
|
26020
|
+
*
|
|
26021
|
+
* @summary Put Filter views
|
|
26022
|
+
* @param {EntitiesApiUpdateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
26023
|
+
* @param {*} [options] Override http request option.
|
|
26024
|
+
* @throws {RequiredError}
|
|
26025
|
+
*/
|
|
26026
|
+
updateEntityFilterViews(requestParameters, options) {
|
|
26027
|
+
return localVarFp
|
|
26028
|
+
.updateEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewInDocument, requestParameters.filter, requestParameters.include, options)
|
|
26029
|
+
.then((request) => request(axios, basePath));
|
|
26030
|
+
},
|
|
25179
26031
|
/**
|
|
25180
26032
|
*
|
|
25181
26033
|
* @summary Put Identity Provider
|
|
@@ -25532,6 +26384,19 @@ export class EntitiesApi extends BaseAPI {
|
|
|
25532
26384
|
.createEntityFilterContexts(requestParameters.workspaceId, requestParameters.jsonApiFilterContextPostOptionalIdDocument, requestParameters.include, requestParameters.metaInclude, options)
|
|
25533
26385
|
.then((request) => request(this.axios, this.basePath));
|
|
25534
26386
|
}
|
|
26387
|
+
/**
|
|
26388
|
+
*
|
|
26389
|
+
* @summary Post Filter views
|
|
26390
|
+
* @param {EntitiesApiCreateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
26391
|
+
* @param {*} [options] Override http request option.
|
|
26392
|
+
* @throws {RequiredError}
|
|
26393
|
+
* @memberof EntitiesApi
|
|
26394
|
+
*/
|
|
26395
|
+
createEntityFilterViews(requestParameters, options) {
|
|
26396
|
+
return EntitiesApiFp(this.configuration)
|
|
26397
|
+
.createEntityFilterViews(requestParameters.workspaceId, requestParameters.jsonApiFilterViewInDocument, requestParameters.include, options)
|
|
26398
|
+
.then((request) => request(this.axios, this.basePath));
|
|
26399
|
+
}
|
|
25535
26400
|
/**
|
|
25536
26401
|
*
|
|
25537
26402
|
* @summary Post Identity Providers
|
|
@@ -25883,6 +26748,19 @@ export class EntitiesApi extends BaseAPI {
|
|
|
25883
26748
|
.deleteEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
25884
26749
|
.then((request) => request(this.axios, this.basePath));
|
|
25885
26750
|
}
|
|
26751
|
+
/**
|
|
26752
|
+
*
|
|
26753
|
+
* @summary Delete Filter view
|
|
26754
|
+
* @param {EntitiesApiDeleteEntityFilterViewsRequest} requestParameters Request parameters.
|
|
26755
|
+
* @param {*} [options] Override http request option.
|
|
26756
|
+
* @throws {RequiredError}
|
|
26757
|
+
* @memberof EntitiesApi
|
|
26758
|
+
*/
|
|
26759
|
+
deleteEntityFilterViews(requestParameters, options) {
|
|
26760
|
+
return EntitiesApiFp(this.configuration)
|
|
26761
|
+
.deleteEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
26762
|
+
.then((request) => request(this.axios, this.basePath));
|
|
26763
|
+
}
|
|
25886
26764
|
/**
|
|
25887
26765
|
*
|
|
25888
26766
|
* @summary Delete Identity Provider
|
|
@@ -26298,6 +27176,19 @@ export class EntitiesApi extends BaseAPI {
|
|
|
26298
27176
|
.getAllEntitiesFilterContexts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
26299
27177
|
.then((request) => request(this.axios, this.basePath));
|
|
26300
27178
|
}
|
|
27179
|
+
/**
|
|
27180
|
+
*
|
|
27181
|
+
* @summary Get all Filter views
|
|
27182
|
+
* @param {EntitiesApiGetAllEntitiesFilterViewsRequest} requestParameters Request parameters.
|
|
27183
|
+
* @param {*} [options] Override http request option.
|
|
27184
|
+
* @throws {RequiredError}
|
|
27185
|
+
* @memberof EntitiesApi
|
|
27186
|
+
*/
|
|
27187
|
+
getAllEntitiesFilterViews(requestParameters, options) {
|
|
27188
|
+
return EntitiesApiFp(this.configuration)
|
|
27189
|
+
.getAllEntitiesFilterViews(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
27190
|
+
.then((request) => request(this.axios, this.basePath));
|
|
27191
|
+
}
|
|
26301
27192
|
/**
|
|
26302
27193
|
*
|
|
26303
27194
|
* @summary Get all Identity Providers
|
|
@@ -26777,6 +27668,19 @@ export class EntitiesApi extends BaseAPI {
|
|
|
26777
27668
|
.getEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
26778
27669
|
.then((request) => request(this.axios, this.basePath));
|
|
26779
27670
|
}
|
|
27671
|
+
/**
|
|
27672
|
+
*
|
|
27673
|
+
* @summary Get Filter view
|
|
27674
|
+
* @param {EntitiesApiGetEntityFilterViewsRequest} requestParameters Request parameters.
|
|
27675
|
+
* @param {*} [options] Override http request option.
|
|
27676
|
+
* @throws {RequiredError}
|
|
27677
|
+
* @memberof EntitiesApi
|
|
27678
|
+
*/
|
|
27679
|
+
getEntityFilterViews(requestParameters, options) {
|
|
27680
|
+
return EntitiesApiFp(this.configuration)
|
|
27681
|
+
.getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
|
|
27682
|
+
.then((request) => request(this.axios, this.basePath));
|
|
27683
|
+
}
|
|
26780
27684
|
/**
|
|
26781
27685
|
*
|
|
26782
27686
|
* @summary Get Identity Provider
|
|
@@ -27180,6 +28084,19 @@ export class EntitiesApi extends BaseAPI {
|
|
|
27180
28084
|
.patchEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
27181
28085
|
.then((request) => request(this.axios, this.basePath));
|
|
27182
28086
|
}
|
|
28087
|
+
/**
|
|
28088
|
+
*
|
|
28089
|
+
* @summary Patch Filter view
|
|
28090
|
+
* @param {EntitiesApiPatchEntityFilterViewsRequest} requestParameters Request parameters.
|
|
28091
|
+
* @param {*} [options] Override http request option.
|
|
28092
|
+
* @throws {RequiredError}
|
|
28093
|
+
* @memberof EntitiesApi
|
|
28094
|
+
*/
|
|
28095
|
+
patchEntityFilterViews(requestParameters, options) {
|
|
28096
|
+
return EntitiesApiFp(this.configuration)
|
|
28097
|
+
.patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
28098
|
+
.then((request) => request(this.axios, this.basePath));
|
|
28099
|
+
}
|
|
27183
28100
|
/**
|
|
27184
28101
|
*
|
|
27185
28102
|
* @summary Patch Identity Provider
|
|
@@ -27531,6 +28448,19 @@ export class EntitiesApi extends BaseAPI {
|
|
|
27531
28448
|
.updateEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextInDocument, requestParameters.filter, requestParameters.include, options)
|
|
27532
28449
|
.then((request) => request(this.axios, this.basePath));
|
|
27533
28450
|
}
|
|
28451
|
+
/**
|
|
28452
|
+
*
|
|
28453
|
+
* @summary Put Filter views
|
|
28454
|
+
* @param {EntitiesApiUpdateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
28455
|
+
* @param {*} [options] Override http request option.
|
|
28456
|
+
* @throws {RequiredError}
|
|
28457
|
+
* @memberof EntitiesApi
|
|
28458
|
+
*/
|
|
28459
|
+
updateEntityFilterViews(requestParameters, options) {
|
|
28460
|
+
return EntitiesApiFp(this.configuration)
|
|
28461
|
+
.updateEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewInDocument, requestParameters.filter, requestParameters.include, options)
|
|
28462
|
+
.then((request) => request(this.axios, this.basePath));
|
|
28463
|
+
}
|
|
27534
28464
|
/**
|
|
27535
28465
|
*
|
|
27536
28466
|
* @summary Put Identity Provider
|
|
@@ -28752,22 +29682,343 @@ export const FactsApiAxiosParamCreator = function (configuration) {
|
|
|
28752
29682
|
},
|
|
28753
29683
|
/**
|
|
28754
29684
|
*
|
|
28755
|
-
* @summary Get a Fact
|
|
29685
|
+
* @summary Get a Fact
|
|
29686
|
+
* @param {string} workspaceId
|
|
29687
|
+
* @param {string} objectId
|
|
29688
|
+
* @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\').
|
|
29689
|
+
* @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.
|
|
29690
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
29691
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
29692
|
+
* @param {*} [options] Override http request option.
|
|
29693
|
+
* @throws {RequiredError}
|
|
29694
|
+
*/
|
|
29695
|
+
getEntityFacts: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
|
|
29696
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
29697
|
+
assertParamExists("getEntityFacts", "workspaceId", workspaceId);
|
|
29698
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
29699
|
+
assertParamExists("getEntityFacts", "objectId", objectId);
|
|
29700
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/facts/{objectId}`
|
|
29701
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
29702
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
29703
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29704
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29705
|
+
let baseOptions;
|
|
29706
|
+
if (configuration) {
|
|
29707
|
+
baseOptions = configuration.baseOptions;
|
|
29708
|
+
}
|
|
29709
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
29710
|
+
const localVarHeaderParameter = {};
|
|
29711
|
+
const localVarQueryParameter = {};
|
|
29712
|
+
if (filter !== undefined) {
|
|
29713
|
+
localVarQueryParameter["filter"] = filter;
|
|
29714
|
+
}
|
|
29715
|
+
if (include) {
|
|
29716
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
29717
|
+
}
|
|
29718
|
+
if (metaInclude) {
|
|
29719
|
+
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
29720
|
+
}
|
|
29721
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
29722
|
+
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
29723
|
+
}
|
|
29724
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29725
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29726
|
+
localVarRequestOptions.headers = {
|
|
29727
|
+
...localVarHeaderParameter,
|
|
29728
|
+
...headersFromBaseOptions,
|
|
29729
|
+
...options.headers,
|
|
29730
|
+
};
|
|
29731
|
+
return {
|
|
29732
|
+
url: toPathString(localVarUrlObj),
|
|
29733
|
+
options: localVarRequestOptions,
|
|
29734
|
+
};
|
|
29735
|
+
},
|
|
29736
|
+
};
|
|
29737
|
+
};
|
|
29738
|
+
/**
|
|
29739
|
+
* FactsApi - functional programming interface
|
|
29740
|
+
* @export
|
|
29741
|
+
*/
|
|
29742
|
+
export const FactsApiFp = function (configuration) {
|
|
29743
|
+
const localVarAxiosParamCreator = FactsApiAxiosParamCreator(configuration);
|
|
29744
|
+
return {
|
|
29745
|
+
/**
|
|
29746
|
+
*
|
|
29747
|
+
* @summary Get all Facts
|
|
29748
|
+
* @param {string} workspaceId
|
|
29749
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
29750
|
+
* @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\').
|
|
29751
|
+
* @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.
|
|
29752
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
29753
|
+
* @param {number} [size] The size of the page to be returned
|
|
29754
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
29755
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
29756
|
+
* @param {Array<'origin' | 'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
29757
|
+
* @param {*} [options] Override http request option.
|
|
29758
|
+
* @throws {RequiredError}
|
|
29759
|
+
*/
|
|
29760
|
+
async getAllEntitiesFacts(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options) {
|
|
29761
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFacts(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
29762
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29763
|
+
},
|
|
29764
|
+
/**
|
|
29765
|
+
*
|
|
29766
|
+
* @summary Get a Fact
|
|
29767
|
+
* @param {string} workspaceId
|
|
29768
|
+
* @param {string} objectId
|
|
29769
|
+
* @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\').
|
|
29770
|
+
* @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.
|
|
29771
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
29772
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
29773
|
+
* @param {*} [options] Override http request option.
|
|
29774
|
+
* @throws {RequiredError}
|
|
29775
|
+
*/
|
|
29776
|
+
async getEntityFacts(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options) {
|
|
29777
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFacts(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
29778
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29779
|
+
},
|
|
29780
|
+
};
|
|
29781
|
+
};
|
|
29782
|
+
/**
|
|
29783
|
+
* FactsApi - factory interface
|
|
29784
|
+
* @export
|
|
29785
|
+
*/
|
|
29786
|
+
export const FactsApiFactory = function (configuration, basePath, axios) {
|
|
29787
|
+
const localVarFp = FactsApiFp(configuration);
|
|
29788
|
+
return {
|
|
29789
|
+
/**
|
|
29790
|
+
*
|
|
29791
|
+
* @summary Get all Facts
|
|
29792
|
+
* @param {FactsApiGetAllEntitiesFactsRequest} requestParameters Request parameters.
|
|
29793
|
+
* @param {*} [options] Override http request option.
|
|
29794
|
+
* @throws {RequiredError}
|
|
29795
|
+
*/
|
|
29796
|
+
getAllEntitiesFacts(requestParameters, options) {
|
|
29797
|
+
return localVarFp
|
|
29798
|
+
.getAllEntitiesFacts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
29799
|
+
.then((request) => request(axios, basePath));
|
|
29800
|
+
},
|
|
29801
|
+
/**
|
|
29802
|
+
*
|
|
29803
|
+
* @summary Get a Fact
|
|
29804
|
+
* @param {FactsApiGetEntityFactsRequest} requestParameters Request parameters.
|
|
29805
|
+
* @param {*} [options] Override http request option.
|
|
29806
|
+
* @throws {RequiredError}
|
|
29807
|
+
*/
|
|
29808
|
+
getEntityFacts(requestParameters, options) {
|
|
29809
|
+
return localVarFp
|
|
29810
|
+
.getEntityFacts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
29811
|
+
.then((request) => request(axios, basePath));
|
|
29812
|
+
},
|
|
29813
|
+
};
|
|
29814
|
+
};
|
|
29815
|
+
/**
|
|
29816
|
+
* FactsApi - object-oriented interface
|
|
29817
|
+
* @export
|
|
29818
|
+
* @class FactsApi
|
|
29819
|
+
* @extends {BaseAPI}
|
|
29820
|
+
*/
|
|
29821
|
+
export class FactsApi extends BaseAPI {
|
|
29822
|
+
/**
|
|
29823
|
+
*
|
|
29824
|
+
* @summary Get all Facts
|
|
29825
|
+
* @param {FactsApiGetAllEntitiesFactsRequest} requestParameters Request parameters.
|
|
29826
|
+
* @param {*} [options] Override http request option.
|
|
29827
|
+
* @throws {RequiredError}
|
|
29828
|
+
* @memberof FactsApi
|
|
29829
|
+
*/
|
|
29830
|
+
getAllEntitiesFacts(requestParameters, options) {
|
|
29831
|
+
return FactsApiFp(this.configuration)
|
|
29832
|
+
.getAllEntitiesFacts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
29833
|
+
.then((request) => request(this.axios, this.basePath));
|
|
29834
|
+
}
|
|
29835
|
+
/**
|
|
29836
|
+
*
|
|
29837
|
+
* @summary Get a Fact
|
|
29838
|
+
* @param {FactsApiGetEntityFactsRequest} requestParameters Request parameters.
|
|
29839
|
+
* @param {*} [options] Override http request option.
|
|
29840
|
+
* @throws {RequiredError}
|
|
29841
|
+
* @memberof FactsApi
|
|
29842
|
+
*/
|
|
29843
|
+
getEntityFacts(requestParameters, options) {
|
|
29844
|
+
return FactsApiFp(this.configuration)
|
|
29845
|
+
.getEntityFacts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
29846
|
+
.then((request) => request(this.axios, this.basePath));
|
|
29847
|
+
}
|
|
29848
|
+
}
|
|
29849
|
+
/**
|
|
29850
|
+
* FilterViewsApi - axios parameter creator
|
|
29851
|
+
* @export
|
|
29852
|
+
*/
|
|
29853
|
+
export const FilterViewsApiAxiosParamCreator = function (configuration) {
|
|
29854
|
+
return {
|
|
29855
|
+
/**
|
|
29856
|
+
*
|
|
29857
|
+
* @summary Post Filter views
|
|
29858
|
+
* @param {string} workspaceId
|
|
29859
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
29860
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
29861
|
+
* @param {*} [options] Override http request option.
|
|
29862
|
+
* @throws {RequiredError}
|
|
29863
|
+
*/
|
|
29864
|
+
createEntityFilterViews: async (workspaceId, jsonApiFilterViewInDocument, include, options = {}) => {
|
|
29865
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
29866
|
+
assertParamExists("createEntityFilterViews", "workspaceId", workspaceId);
|
|
29867
|
+
// verify required parameter 'jsonApiFilterViewInDocument' is not null or undefined
|
|
29868
|
+
assertParamExists("createEntityFilterViews", "jsonApiFilterViewInDocument", jsonApiFilterViewInDocument);
|
|
29869
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
29870
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29871
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29872
|
+
let baseOptions;
|
|
29873
|
+
if (configuration) {
|
|
29874
|
+
baseOptions = configuration.baseOptions;
|
|
29875
|
+
}
|
|
29876
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
29877
|
+
const localVarHeaderParameter = {};
|
|
29878
|
+
const localVarQueryParameter = {};
|
|
29879
|
+
if (include) {
|
|
29880
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
29881
|
+
}
|
|
29882
|
+
localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
|
|
29883
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29884
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29885
|
+
localVarRequestOptions.headers = {
|
|
29886
|
+
...localVarHeaderParameter,
|
|
29887
|
+
...headersFromBaseOptions,
|
|
29888
|
+
...options.headers,
|
|
29889
|
+
};
|
|
29890
|
+
const needsSerialization = typeof jsonApiFilterViewInDocument !== "string" ||
|
|
29891
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
29892
|
+
localVarRequestOptions.data = needsSerialization
|
|
29893
|
+
? JSON.stringify(jsonApiFilterViewInDocument !== undefined ? jsonApiFilterViewInDocument : {})
|
|
29894
|
+
: jsonApiFilterViewInDocument || "";
|
|
29895
|
+
return {
|
|
29896
|
+
url: toPathString(localVarUrlObj),
|
|
29897
|
+
options: localVarRequestOptions,
|
|
29898
|
+
};
|
|
29899
|
+
},
|
|
29900
|
+
/**
|
|
29901
|
+
*
|
|
29902
|
+
* @summary Delete Filter view
|
|
29903
|
+
* @param {string} workspaceId
|
|
29904
|
+
* @param {string} objectId
|
|
29905
|
+
* @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\').
|
|
29906
|
+
* @param {*} [options] Override http request option.
|
|
29907
|
+
* @throws {RequiredError}
|
|
29908
|
+
*/
|
|
29909
|
+
deleteEntityFilterViews: async (workspaceId, objectId, filter, options = {}) => {
|
|
29910
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
29911
|
+
assertParamExists("deleteEntityFilterViews", "workspaceId", workspaceId);
|
|
29912
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
29913
|
+
assertParamExists("deleteEntityFilterViews", "objectId", objectId);
|
|
29914
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
29915
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
29916
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
29917
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29918
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29919
|
+
let baseOptions;
|
|
29920
|
+
if (configuration) {
|
|
29921
|
+
baseOptions = configuration.baseOptions;
|
|
29922
|
+
}
|
|
29923
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
29924
|
+
const localVarHeaderParameter = {};
|
|
29925
|
+
const localVarQueryParameter = {};
|
|
29926
|
+
if (filter !== undefined) {
|
|
29927
|
+
localVarQueryParameter["filter"] = filter;
|
|
29928
|
+
}
|
|
29929
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29930
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29931
|
+
localVarRequestOptions.headers = {
|
|
29932
|
+
...localVarHeaderParameter,
|
|
29933
|
+
...headersFromBaseOptions,
|
|
29934
|
+
...options.headers,
|
|
29935
|
+
};
|
|
29936
|
+
return {
|
|
29937
|
+
url: toPathString(localVarUrlObj),
|
|
29938
|
+
options: localVarRequestOptions,
|
|
29939
|
+
};
|
|
29940
|
+
},
|
|
29941
|
+
/**
|
|
29942
|
+
*
|
|
29943
|
+
* @summary Get all Filter views
|
|
29944
|
+
* @param {string} workspaceId
|
|
29945
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
29946
|
+
* @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\').
|
|
29947
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
29948
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
29949
|
+
* @param {number} [size] The size of the page to be returned
|
|
29950
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
29951
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
29952
|
+
* @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
29953
|
+
* @param {*} [options] Override http request option.
|
|
29954
|
+
* @throws {RequiredError}
|
|
29955
|
+
*/
|
|
29956
|
+
getAllEntitiesFilterViews: async (workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
|
|
29957
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
29958
|
+
assertParamExists("getAllEntitiesFilterViews", "workspaceId", workspaceId);
|
|
29959
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
29960
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29961
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29962
|
+
let baseOptions;
|
|
29963
|
+
if (configuration) {
|
|
29964
|
+
baseOptions = configuration.baseOptions;
|
|
29965
|
+
}
|
|
29966
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
29967
|
+
const localVarHeaderParameter = {};
|
|
29968
|
+
const localVarQueryParameter = {};
|
|
29969
|
+
if (origin !== undefined) {
|
|
29970
|
+
localVarQueryParameter["origin"] = origin;
|
|
29971
|
+
}
|
|
29972
|
+
if (filter !== undefined) {
|
|
29973
|
+
localVarQueryParameter["filter"] = filter;
|
|
29974
|
+
}
|
|
29975
|
+
if (include) {
|
|
29976
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
29977
|
+
}
|
|
29978
|
+
if (page !== undefined) {
|
|
29979
|
+
localVarQueryParameter["page"] = page;
|
|
29980
|
+
}
|
|
29981
|
+
if (size !== undefined) {
|
|
29982
|
+
localVarQueryParameter["size"] = size;
|
|
29983
|
+
}
|
|
29984
|
+
if (sort) {
|
|
29985
|
+
localVarQueryParameter["sort"] = sort;
|
|
29986
|
+
}
|
|
29987
|
+
if (metaInclude) {
|
|
29988
|
+
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
29989
|
+
}
|
|
29990
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
29991
|
+
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
29992
|
+
}
|
|
29993
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29994
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29995
|
+
localVarRequestOptions.headers = {
|
|
29996
|
+
...localVarHeaderParameter,
|
|
29997
|
+
...headersFromBaseOptions,
|
|
29998
|
+
...options.headers,
|
|
29999
|
+
};
|
|
30000
|
+
return {
|
|
30001
|
+
url: toPathString(localVarUrlObj),
|
|
30002
|
+
options: localVarRequestOptions,
|
|
30003
|
+
};
|
|
30004
|
+
},
|
|
30005
|
+
/**
|
|
30006
|
+
*
|
|
30007
|
+
* @summary Get Filter view
|
|
28756
30008
|
* @param {string} workspaceId
|
|
28757
30009
|
* @param {string} objectId
|
|
28758
30010
|
* @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<'
|
|
30011
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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
30012
|
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
28761
|
-
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
28762
30013
|
* @param {*} [options] Override http request option.
|
|
28763
30014
|
* @throws {RequiredError}
|
|
28764
30015
|
*/
|
|
28765
|
-
|
|
30016
|
+
getEntityFilterViews: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options = {}) => {
|
|
28766
30017
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
28767
|
-
assertParamExists("
|
|
30018
|
+
assertParamExists("getEntityFilterViews", "workspaceId", workspaceId);
|
|
28768
30019
|
// verify required parameter 'objectId' is not null or undefined
|
|
28769
|
-
assertParamExists("
|
|
28770
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
30020
|
+
assertParamExists("getEntityFilterViews", "objectId", objectId);
|
|
30021
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
28771
30022
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
28772
30023
|
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
28773
30024
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -28785,9 +30036,6 @@ export const FactsApiAxiosParamCreator = function (configuration) {
|
|
|
28785
30036
|
if (include) {
|
|
28786
30037
|
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
28787
30038
|
}
|
|
28788
|
-
if (metaInclude) {
|
|
28789
|
-
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
28790
|
-
}
|
|
28791
30039
|
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
28792
30040
|
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
28793
30041
|
}
|
|
@@ -28803,116 +30051,379 @@ export const FactsApiAxiosParamCreator = function (configuration) {
|
|
|
28803
30051
|
options: localVarRequestOptions,
|
|
28804
30052
|
};
|
|
28805
30053
|
},
|
|
30054
|
+
/**
|
|
30055
|
+
*
|
|
30056
|
+
* @summary Patch Filter view
|
|
30057
|
+
* @param {string} workspaceId
|
|
30058
|
+
* @param {string} objectId
|
|
30059
|
+
* @param {JsonApiFilterViewPatchDocument} jsonApiFilterViewPatchDocument
|
|
30060
|
+
* @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\').
|
|
30061
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
30062
|
+
* @param {*} [options] Override http request option.
|
|
30063
|
+
* @throws {RequiredError}
|
|
30064
|
+
*/
|
|
30065
|
+
patchEntityFilterViews: async (workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options = {}) => {
|
|
30066
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
30067
|
+
assertParamExists("patchEntityFilterViews", "workspaceId", workspaceId);
|
|
30068
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
30069
|
+
assertParamExists("patchEntityFilterViews", "objectId", objectId);
|
|
30070
|
+
// verify required parameter 'jsonApiFilterViewPatchDocument' is not null or undefined
|
|
30071
|
+
assertParamExists("patchEntityFilterViews", "jsonApiFilterViewPatchDocument", jsonApiFilterViewPatchDocument);
|
|
30072
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
30073
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
30074
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
30075
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30076
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30077
|
+
let baseOptions;
|
|
30078
|
+
if (configuration) {
|
|
30079
|
+
baseOptions = configuration.baseOptions;
|
|
30080
|
+
}
|
|
30081
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
30082
|
+
const localVarHeaderParameter = {};
|
|
30083
|
+
const localVarQueryParameter = {};
|
|
30084
|
+
if (filter !== undefined) {
|
|
30085
|
+
localVarQueryParameter["filter"] = filter;
|
|
30086
|
+
}
|
|
30087
|
+
if (include) {
|
|
30088
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
30089
|
+
}
|
|
30090
|
+
localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
|
|
30091
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30092
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30093
|
+
localVarRequestOptions.headers = {
|
|
30094
|
+
...localVarHeaderParameter,
|
|
30095
|
+
...headersFromBaseOptions,
|
|
30096
|
+
...options.headers,
|
|
30097
|
+
};
|
|
30098
|
+
const needsSerialization = typeof jsonApiFilterViewPatchDocument !== "string" ||
|
|
30099
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
30100
|
+
localVarRequestOptions.data = needsSerialization
|
|
30101
|
+
? JSON.stringify(jsonApiFilterViewPatchDocument !== undefined ? jsonApiFilterViewPatchDocument : {})
|
|
30102
|
+
: jsonApiFilterViewPatchDocument || "";
|
|
30103
|
+
return {
|
|
30104
|
+
url: toPathString(localVarUrlObj),
|
|
30105
|
+
options: localVarRequestOptions,
|
|
30106
|
+
};
|
|
30107
|
+
},
|
|
30108
|
+
/**
|
|
30109
|
+
*
|
|
30110
|
+
* @summary Put Filter views
|
|
30111
|
+
* @param {string} workspaceId
|
|
30112
|
+
* @param {string} objectId
|
|
30113
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
30114
|
+
* @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\').
|
|
30115
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
30116
|
+
* @param {*} [options] Override http request option.
|
|
30117
|
+
* @throws {RequiredError}
|
|
30118
|
+
*/
|
|
30119
|
+
updateEntityFilterViews: async (workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options = {}) => {
|
|
30120
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
30121
|
+
assertParamExists("updateEntityFilterViews", "workspaceId", workspaceId);
|
|
30122
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
30123
|
+
assertParamExists("updateEntityFilterViews", "objectId", objectId);
|
|
30124
|
+
// verify required parameter 'jsonApiFilterViewInDocument' is not null or undefined
|
|
30125
|
+
assertParamExists("updateEntityFilterViews", "jsonApiFilterViewInDocument", jsonApiFilterViewInDocument);
|
|
30126
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
30127
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
30128
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
30129
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30130
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30131
|
+
let baseOptions;
|
|
30132
|
+
if (configuration) {
|
|
30133
|
+
baseOptions = configuration.baseOptions;
|
|
30134
|
+
}
|
|
30135
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
30136
|
+
const localVarHeaderParameter = {};
|
|
30137
|
+
const localVarQueryParameter = {};
|
|
30138
|
+
if (filter !== undefined) {
|
|
30139
|
+
localVarQueryParameter["filter"] = filter;
|
|
30140
|
+
}
|
|
30141
|
+
if (include) {
|
|
30142
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
30143
|
+
}
|
|
30144
|
+
localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
|
|
30145
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30146
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30147
|
+
localVarRequestOptions.headers = {
|
|
30148
|
+
...localVarHeaderParameter,
|
|
30149
|
+
...headersFromBaseOptions,
|
|
30150
|
+
...options.headers,
|
|
30151
|
+
};
|
|
30152
|
+
const needsSerialization = typeof jsonApiFilterViewInDocument !== "string" ||
|
|
30153
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
30154
|
+
localVarRequestOptions.data = needsSerialization
|
|
30155
|
+
? JSON.stringify(jsonApiFilterViewInDocument !== undefined ? jsonApiFilterViewInDocument : {})
|
|
30156
|
+
: jsonApiFilterViewInDocument || "";
|
|
30157
|
+
return {
|
|
30158
|
+
url: toPathString(localVarUrlObj),
|
|
30159
|
+
options: localVarRequestOptions,
|
|
30160
|
+
};
|
|
30161
|
+
},
|
|
28806
30162
|
};
|
|
28807
30163
|
};
|
|
28808
30164
|
/**
|
|
28809
|
-
*
|
|
30165
|
+
* FilterViewsApi - functional programming interface
|
|
28810
30166
|
* @export
|
|
28811
30167
|
*/
|
|
28812
|
-
export const
|
|
28813
|
-
const localVarAxiosParamCreator =
|
|
30168
|
+
export const FilterViewsApiFp = function (configuration) {
|
|
30169
|
+
const localVarAxiosParamCreator = FilterViewsApiAxiosParamCreator(configuration);
|
|
28814
30170
|
return {
|
|
28815
30171
|
/**
|
|
28816
30172
|
*
|
|
28817
|
-
* @summary
|
|
30173
|
+
* @summary Post Filter views
|
|
30174
|
+
* @param {string} workspaceId
|
|
30175
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
30176
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
30177
|
+
* @param {*} [options] Override http request option.
|
|
30178
|
+
* @throws {RequiredError}
|
|
30179
|
+
*/
|
|
30180
|
+
async createEntityFilterViews(workspaceId, jsonApiFilterViewInDocument, include, options) {
|
|
30181
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createEntityFilterViews(workspaceId, jsonApiFilterViewInDocument, include, options);
|
|
30182
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30183
|
+
},
|
|
30184
|
+
/**
|
|
30185
|
+
*
|
|
30186
|
+
* @summary Delete Filter view
|
|
30187
|
+
* @param {string} workspaceId
|
|
30188
|
+
* @param {string} objectId
|
|
30189
|
+
* @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\').
|
|
30190
|
+
* @param {*} [options] Override http request option.
|
|
30191
|
+
* @throws {RequiredError}
|
|
30192
|
+
*/
|
|
30193
|
+
async deleteEntityFilterViews(workspaceId, objectId, filter, options) {
|
|
30194
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEntityFilterViews(workspaceId, objectId, filter, options);
|
|
30195
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30196
|
+
},
|
|
30197
|
+
/**
|
|
30198
|
+
*
|
|
30199
|
+
* @summary Get all Filter views
|
|
28818
30200
|
* @param {string} workspaceId
|
|
28819
30201
|
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
28820
30202
|
* @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<'
|
|
30203
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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
30204
|
* @param {number} [page] Zero-based page index (0..N)
|
|
28823
30205
|
* @param {number} [size] The size of the page to be returned
|
|
28824
30206
|
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
28825
30207
|
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
28826
|
-
* @param {Array<'
|
|
30208
|
+
* @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
28827
30209
|
* @param {*} [options] Override http request option.
|
|
28828
30210
|
* @throws {RequiredError}
|
|
28829
30211
|
*/
|
|
28830
|
-
async
|
|
28831
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
30212
|
+
async getAllEntitiesFilterViews(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options) {
|
|
30213
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFilterViews(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
28832
30214
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28833
30215
|
},
|
|
28834
30216
|
/**
|
|
28835
30217
|
*
|
|
28836
|
-
* @summary Get
|
|
30218
|
+
* @summary Get Filter view
|
|
28837
30219
|
* @param {string} workspaceId
|
|
28838
30220
|
* @param {string} objectId
|
|
28839
30221
|
* @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<'
|
|
30222
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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
30223
|
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
28842
|
-
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
28843
30224
|
* @param {*} [options] Override http request option.
|
|
28844
30225
|
* @throws {RequiredError}
|
|
28845
30226
|
*/
|
|
28846
|
-
async
|
|
28847
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
30227
|
+
async getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options) {
|
|
30228
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options);
|
|
30229
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30230
|
+
},
|
|
30231
|
+
/**
|
|
30232
|
+
*
|
|
30233
|
+
* @summary Patch Filter view
|
|
30234
|
+
* @param {string} workspaceId
|
|
30235
|
+
* @param {string} objectId
|
|
30236
|
+
* @param {JsonApiFilterViewPatchDocument} jsonApiFilterViewPatchDocument
|
|
30237
|
+
* @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\').
|
|
30238
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
30239
|
+
* @param {*} [options] Override http request option.
|
|
30240
|
+
* @throws {RequiredError}
|
|
30241
|
+
*/
|
|
30242
|
+
async patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options) {
|
|
30243
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options);
|
|
30244
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30245
|
+
},
|
|
30246
|
+
/**
|
|
30247
|
+
*
|
|
30248
|
+
* @summary Put Filter views
|
|
30249
|
+
* @param {string} workspaceId
|
|
30250
|
+
* @param {string} objectId
|
|
30251
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
30252
|
+
* @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\').
|
|
30253
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
30254
|
+
* @param {*} [options] Override http request option.
|
|
30255
|
+
* @throws {RequiredError}
|
|
30256
|
+
*/
|
|
30257
|
+
async updateEntityFilterViews(workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options) {
|
|
30258
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateEntityFilterViews(workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options);
|
|
28848
30259
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28849
30260
|
},
|
|
28850
30261
|
};
|
|
28851
30262
|
};
|
|
28852
30263
|
/**
|
|
28853
|
-
*
|
|
30264
|
+
* FilterViewsApi - factory interface
|
|
28854
30265
|
* @export
|
|
28855
30266
|
*/
|
|
28856
|
-
export const
|
|
28857
|
-
const localVarFp =
|
|
30267
|
+
export const FilterViewsApiFactory = function (configuration, basePath, axios) {
|
|
30268
|
+
const localVarFp = FilterViewsApiFp(configuration);
|
|
28858
30269
|
return {
|
|
28859
30270
|
/**
|
|
28860
30271
|
*
|
|
28861
|
-
* @summary
|
|
28862
|
-
* @param {
|
|
30272
|
+
* @summary Post Filter views
|
|
30273
|
+
* @param {FilterViewsApiCreateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
28863
30274
|
* @param {*} [options] Override http request option.
|
|
28864
30275
|
* @throws {RequiredError}
|
|
28865
30276
|
*/
|
|
28866
|
-
|
|
30277
|
+
createEntityFilterViews(requestParameters, options) {
|
|
28867
30278
|
return localVarFp
|
|
28868
|
-
.
|
|
30279
|
+
.createEntityFilterViews(requestParameters.workspaceId, requestParameters.jsonApiFilterViewInDocument, requestParameters.include, options)
|
|
28869
30280
|
.then((request) => request(axios, basePath));
|
|
28870
30281
|
},
|
|
28871
30282
|
/**
|
|
28872
30283
|
*
|
|
28873
|
-
* @summary
|
|
28874
|
-
* @param {
|
|
30284
|
+
* @summary Delete Filter view
|
|
30285
|
+
* @param {FilterViewsApiDeleteEntityFilterViewsRequest} requestParameters Request parameters.
|
|
28875
30286
|
* @param {*} [options] Override http request option.
|
|
28876
30287
|
* @throws {RequiredError}
|
|
28877
30288
|
*/
|
|
28878
|
-
|
|
30289
|
+
deleteEntityFilterViews(requestParameters, options) {
|
|
28879
30290
|
return localVarFp
|
|
28880
|
-
.
|
|
30291
|
+
.deleteEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
30292
|
+
.then((request) => request(axios, basePath));
|
|
30293
|
+
},
|
|
30294
|
+
/**
|
|
30295
|
+
*
|
|
30296
|
+
* @summary Get all Filter views
|
|
30297
|
+
* @param {FilterViewsApiGetAllEntitiesFilterViewsRequest} requestParameters Request parameters.
|
|
30298
|
+
* @param {*} [options] Override http request option.
|
|
30299
|
+
* @throws {RequiredError}
|
|
30300
|
+
*/
|
|
30301
|
+
getAllEntitiesFilterViews(requestParameters, options) {
|
|
30302
|
+
return localVarFp
|
|
30303
|
+
.getAllEntitiesFilterViews(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
30304
|
+
.then((request) => request(axios, basePath));
|
|
30305
|
+
},
|
|
30306
|
+
/**
|
|
30307
|
+
*
|
|
30308
|
+
* @summary Get Filter view
|
|
30309
|
+
* @param {FilterViewsApiGetEntityFilterViewsRequest} requestParameters Request parameters.
|
|
30310
|
+
* @param {*} [options] Override http request option.
|
|
30311
|
+
* @throws {RequiredError}
|
|
30312
|
+
*/
|
|
30313
|
+
getEntityFilterViews(requestParameters, options) {
|
|
30314
|
+
return localVarFp
|
|
30315
|
+
.getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
|
|
30316
|
+
.then((request) => request(axios, basePath));
|
|
30317
|
+
},
|
|
30318
|
+
/**
|
|
30319
|
+
*
|
|
30320
|
+
* @summary Patch Filter view
|
|
30321
|
+
* @param {FilterViewsApiPatchEntityFilterViewsRequest} requestParameters Request parameters.
|
|
30322
|
+
* @param {*} [options] Override http request option.
|
|
30323
|
+
* @throws {RequiredError}
|
|
30324
|
+
*/
|
|
30325
|
+
patchEntityFilterViews(requestParameters, options) {
|
|
30326
|
+
return localVarFp
|
|
30327
|
+
.patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
30328
|
+
.then((request) => request(axios, basePath));
|
|
30329
|
+
},
|
|
30330
|
+
/**
|
|
30331
|
+
*
|
|
30332
|
+
* @summary Put Filter views
|
|
30333
|
+
* @param {FilterViewsApiUpdateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
30334
|
+
* @param {*} [options] Override http request option.
|
|
30335
|
+
* @throws {RequiredError}
|
|
30336
|
+
*/
|
|
30337
|
+
updateEntityFilterViews(requestParameters, options) {
|
|
30338
|
+
return localVarFp
|
|
30339
|
+
.updateEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewInDocument, requestParameters.filter, requestParameters.include, options)
|
|
28881
30340
|
.then((request) => request(axios, basePath));
|
|
28882
30341
|
},
|
|
28883
30342
|
};
|
|
28884
30343
|
};
|
|
28885
30344
|
/**
|
|
28886
|
-
*
|
|
30345
|
+
* FilterViewsApi - object-oriented interface
|
|
28887
30346
|
* @export
|
|
28888
|
-
* @class
|
|
30347
|
+
* @class FilterViewsApi
|
|
28889
30348
|
* @extends {BaseAPI}
|
|
28890
30349
|
*/
|
|
28891
|
-
export class
|
|
30350
|
+
export class FilterViewsApi extends BaseAPI {
|
|
28892
30351
|
/**
|
|
28893
30352
|
*
|
|
28894
|
-
* @summary
|
|
28895
|
-
* @param {
|
|
30353
|
+
* @summary Post Filter views
|
|
30354
|
+
* @param {FilterViewsApiCreateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
28896
30355
|
* @param {*} [options] Override http request option.
|
|
28897
30356
|
* @throws {RequiredError}
|
|
28898
|
-
* @memberof
|
|
30357
|
+
* @memberof FilterViewsApi
|
|
28899
30358
|
*/
|
|
28900
|
-
|
|
28901
|
-
return
|
|
28902
|
-
.
|
|
30359
|
+
createEntityFilterViews(requestParameters, options) {
|
|
30360
|
+
return FilterViewsApiFp(this.configuration)
|
|
30361
|
+
.createEntityFilterViews(requestParameters.workspaceId, requestParameters.jsonApiFilterViewInDocument, requestParameters.include, options)
|
|
28903
30362
|
.then((request) => request(this.axios, this.basePath));
|
|
28904
30363
|
}
|
|
28905
30364
|
/**
|
|
28906
30365
|
*
|
|
28907
|
-
* @summary
|
|
28908
|
-
* @param {
|
|
30366
|
+
* @summary Delete Filter view
|
|
30367
|
+
* @param {FilterViewsApiDeleteEntityFilterViewsRequest} requestParameters Request parameters.
|
|
28909
30368
|
* @param {*} [options] Override http request option.
|
|
28910
30369
|
* @throws {RequiredError}
|
|
28911
|
-
* @memberof
|
|
30370
|
+
* @memberof FilterViewsApi
|
|
28912
30371
|
*/
|
|
28913
|
-
|
|
28914
|
-
return
|
|
28915
|
-
.
|
|
30372
|
+
deleteEntityFilterViews(requestParameters, options) {
|
|
30373
|
+
return FilterViewsApiFp(this.configuration)
|
|
30374
|
+
.deleteEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
30375
|
+
.then((request) => request(this.axios, this.basePath));
|
|
30376
|
+
}
|
|
30377
|
+
/**
|
|
30378
|
+
*
|
|
30379
|
+
* @summary Get all Filter views
|
|
30380
|
+
* @param {FilterViewsApiGetAllEntitiesFilterViewsRequest} requestParameters Request parameters.
|
|
30381
|
+
* @param {*} [options] Override http request option.
|
|
30382
|
+
* @throws {RequiredError}
|
|
30383
|
+
* @memberof FilterViewsApi
|
|
30384
|
+
*/
|
|
30385
|
+
getAllEntitiesFilterViews(requestParameters, options) {
|
|
30386
|
+
return FilterViewsApiFp(this.configuration)
|
|
30387
|
+
.getAllEntitiesFilterViews(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
30388
|
+
.then((request) => request(this.axios, this.basePath));
|
|
30389
|
+
}
|
|
30390
|
+
/**
|
|
30391
|
+
*
|
|
30392
|
+
* @summary Get Filter view
|
|
30393
|
+
* @param {FilterViewsApiGetEntityFilterViewsRequest} requestParameters Request parameters.
|
|
30394
|
+
* @param {*} [options] Override http request option.
|
|
30395
|
+
* @throws {RequiredError}
|
|
30396
|
+
* @memberof FilterViewsApi
|
|
30397
|
+
*/
|
|
30398
|
+
getEntityFilterViews(requestParameters, options) {
|
|
30399
|
+
return FilterViewsApiFp(this.configuration)
|
|
30400
|
+
.getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
|
|
30401
|
+
.then((request) => request(this.axios, this.basePath));
|
|
30402
|
+
}
|
|
30403
|
+
/**
|
|
30404
|
+
*
|
|
30405
|
+
* @summary Patch Filter view
|
|
30406
|
+
* @param {FilterViewsApiPatchEntityFilterViewsRequest} requestParameters Request parameters.
|
|
30407
|
+
* @param {*} [options] Override http request option.
|
|
30408
|
+
* @throws {RequiredError}
|
|
30409
|
+
* @memberof FilterViewsApi
|
|
30410
|
+
*/
|
|
30411
|
+
patchEntityFilterViews(requestParameters, options) {
|
|
30412
|
+
return FilterViewsApiFp(this.configuration)
|
|
30413
|
+
.patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
30414
|
+
.then((request) => request(this.axios, this.basePath));
|
|
30415
|
+
}
|
|
30416
|
+
/**
|
|
30417
|
+
*
|
|
30418
|
+
* @summary Put Filter views
|
|
30419
|
+
* @param {FilterViewsApiUpdateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
30420
|
+
* @param {*} [options] Override http request option.
|
|
30421
|
+
* @throws {RequiredError}
|
|
30422
|
+
* @memberof FilterViewsApi
|
|
30423
|
+
*/
|
|
30424
|
+
updateEntityFilterViews(requestParameters, options) {
|
|
30425
|
+
return FilterViewsApiFp(this.configuration)
|
|
30426
|
+
.updateEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewInDocument, requestParameters.filter, requestParameters.include, options)
|
|
28916
30427
|
.then((request) => request(this.axios, this.basePath));
|
|
28917
30428
|
}
|
|
28918
30429
|
}
|
|
@@ -31438,6 +32949,42 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
|
|
|
31438
32949
|
options: localVarRequestOptions,
|
|
31439
32950
|
};
|
|
31440
32951
|
},
|
|
32952
|
+
/**
|
|
32953
|
+
* Retrieve automations for the specific workspace
|
|
32954
|
+
* @summary Get automations
|
|
32955
|
+
* @param {string} workspaceId
|
|
32956
|
+
* @param {Array<'ACTIVITY_INFO'>} [exclude]
|
|
32957
|
+
* @param {*} [options] Override http request option.
|
|
32958
|
+
* @throws {RequiredError}
|
|
32959
|
+
*/
|
|
32960
|
+
getAutomations: async (workspaceId, exclude, options = {}) => {
|
|
32961
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
32962
|
+
assertParamExists("getAutomations", "workspaceId", workspaceId);
|
|
32963
|
+
const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/automations`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
32964
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32965
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32966
|
+
let baseOptions;
|
|
32967
|
+
if (configuration) {
|
|
32968
|
+
baseOptions = configuration.baseOptions;
|
|
32969
|
+
}
|
|
32970
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
32971
|
+
const localVarHeaderParameter = {};
|
|
32972
|
+
const localVarQueryParameter = {};
|
|
32973
|
+
if (exclude) {
|
|
32974
|
+
localVarQueryParameter["exclude"] = exclude;
|
|
32975
|
+
}
|
|
32976
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32977
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32978
|
+
localVarRequestOptions.headers = {
|
|
32979
|
+
...localVarHeaderParameter,
|
|
32980
|
+
...headersFromBaseOptions,
|
|
32981
|
+
...options.headers,
|
|
32982
|
+
};
|
|
32983
|
+
return {
|
|
32984
|
+
url: toPathString(localVarUrlObj),
|
|
32985
|
+
options: localVarRequestOptions,
|
|
32986
|
+
};
|
|
32987
|
+
},
|
|
31441
32988
|
/**
|
|
31442
32989
|
* Retrieve current set of permissions of the data source in a declarative form.
|
|
31443
32990
|
* @summary Get permissions for the data source
|
|
@@ -32173,6 +33720,47 @@ export const LayoutApiAxiosParamCreator = function (configuration) {
|
|
|
32173
33720
|
options: localVarRequestOptions,
|
|
32174
33721
|
};
|
|
32175
33722
|
},
|
|
33723
|
+
/**
|
|
33724
|
+
* Set automations for the specific workspace.
|
|
33725
|
+
* @summary Set automations
|
|
33726
|
+
* @param {string} workspaceId
|
|
33727
|
+
* @param {Array<DeclarativeAutomation>} declarativeAutomation
|
|
33728
|
+
* @param {*} [options] Override http request option.
|
|
33729
|
+
* @throws {RequiredError}
|
|
33730
|
+
*/
|
|
33731
|
+
setAutomations: async (workspaceId, declarativeAutomation, options = {}) => {
|
|
33732
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
33733
|
+
assertParamExists("setAutomations", "workspaceId", workspaceId);
|
|
33734
|
+
// verify required parameter 'declarativeAutomation' is not null or undefined
|
|
33735
|
+
assertParamExists("setAutomations", "declarativeAutomation", declarativeAutomation);
|
|
33736
|
+
const localVarPath = `/api/v1/layout/workspaces/{workspaceId}/automations`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
33737
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33738
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33739
|
+
let baseOptions;
|
|
33740
|
+
if (configuration) {
|
|
33741
|
+
baseOptions = configuration.baseOptions;
|
|
33742
|
+
}
|
|
33743
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
33744
|
+
const localVarHeaderParameter = {};
|
|
33745
|
+
const localVarQueryParameter = {};
|
|
33746
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
33747
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33748
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33749
|
+
localVarRequestOptions.headers = {
|
|
33750
|
+
...localVarHeaderParameter,
|
|
33751
|
+
...headersFromBaseOptions,
|
|
33752
|
+
...options.headers,
|
|
33753
|
+
};
|
|
33754
|
+
const needsSerialization = typeof declarativeAutomation !== "string" ||
|
|
33755
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
33756
|
+
localVarRequestOptions.data = needsSerialization
|
|
33757
|
+
? JSON.stringify(declarativeAutomation !== undefined ? declarativeAutomation : {})
|
|
33758
|
+
: declarativeAutomation || "";
|
|
33759
|
+
return {
|
|
33760
|
+
url: toPathString(localVarUrlObj),
|
|
33761
|
+
options: localVarRequestOptions,
|
|
33762
|
+
};
|
|
33763
|
+
},
|
|
32176
33764
|
/**
|
|
32177
33765
|
* et data source permissions.
|
|
32178
33766
|
* @summary Set data source permissions.
|
|
@@ -32632,6 +34220,18 @@ export const LayoutApiFp = function (configuration) {
|
|
|
32632
34220
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAnalyticsModel(workspaceId, exclude, options);
|
|
32633
34221
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32634
34222
|
},
|
|
34223
|
+
/**
|
|
34224
|
+
* Retrieve automations for the specific workspace
|
|
34225
|
+
* @summary Get automations
|
|
34226
|
+
* @param {string} workspaceId
|
|
34227
|
+
* @param {Array<'ACTIVITY_INFO'>} [exclude]
|
|
34228
|
+
* @param {*} [options] Override http request option.
|
|
34229
|
+
* @throws {RequiredError}
|
|
34230
|
+
*/
|
|
34231
|
+
async getAutomations(workspaceId, exclude, options) {
|
|
34232
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAutomations(workspaceId, exclude, options);
|
|
34233
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34234
|
+
},
|
|
32635
34235
|
/**
|
|
32636
34236
|
* Retrieve current set of permissions of the data source in a declarative form.
|
|
32637
34237
|
* @summary Get permissions for the data source
|
|
@@ -32871,6 +34471,18 @@ export const LayoutApiFp = function (configuration) {
|
|
|
32871
34471
|
const localVarAxiosArgs = await localVarAxiosParamCreator.setAnalyticsModel(workspaceId, declarativeAnalytics, options);
|
|
32872
34472
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32873
34473
|
},
|
|
34474
|
+
/**
|
|
34475
|
+
* Set automations for the specific workspace.
|
|
34476
|
+
* @summary Set automations
|
|
34477
|
+
* @param {string} workspaceId
|
|
34478
|
+
* @param {Array<DeclarativeAutomation>} declarativeAutomation
|
|
34479
|
+
* @param {*} [options] Override http request option.
|
|
34480
|
+
* @throws {RequiredError}
|
|
34481
|
+
*/
|
|
34482
|
+
async setAutomations(workspaceId, declarativeAutomation, options) {
|
|
34483
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setAutomations(workspaceId, declarativeAutomation, options);
|
|
34484
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34485
|
+
},
|
|
32874
34486
|
/**
|
|
32875
34487
|
* et data source permissions.
|
|
32876
34488
|
* @summary Set data source permissions.
|
|
@@ -33019,6 +34631,18 @@ export const LayoutApiFactory = function (configuration, basePath, axios) {
|
|
|
33019
34631
|
.getAnalyticsModel(requestParameters.workspaceId, requestParameters.exclude, options)
|
|
33020
34632
|
.then((request) => request(axios, basePath));
|
|
33021
34633
|
},
|
|
34634
|
+
/**
|
|
34635
|
+
* Retrieve automations for the specific workspace
|
|
34636
|
+
* @summary Get automations
|
|
34637
|
+
* @param {LayoutApiGetAutomationsRequest} requestParameters Request parameters.
|
|
34638
|
+
* @param {*} [options] Override http request option.
|
|
34639
|
+
* @throws {RequiredError}
|
|
34640
|
+
*/
|
|
34641
|
+
getAutomations(requestParameters, options) {
|
|
34642
|
+
return localVarFp
|
|
34643
|
+
.getAutomations(requestParameters.workspaceId, requestParameters.exclude, options)
|
|
34644
|
+
.then((request) => request(axios, basePath));
|
|
34645
|
+
},
|
|
33022
34646
|
/**
|
|
33023
34647
|
* Retrieve current set of permissions of the data source in a declarative form.
|
|
33024
34648
|
* @summary Get permissions for the data source
|
|
@@ -33266,6 +34890,18 @@ export const LayoutApiFactory = function (configuration, basePath, axios) {
|
|
|
33266
34890
|
.setAnalyticsModel(requestParameters.workspaceId, requestParameters.declarativeAnalytics, options)
|
|
33267
34891
|
.then((request) => request(axios, basePath));
|
|
33268
34892
|
},
|
|
34893
|
+
/**
|
|
34894
|
+
* Set automations for the specific workspace.
|
|
34895
|
+
* @summary Set automations
|
|
34896
|
+
* @param {LayoutApiSetAutomationsRequest} requestParameters Request parameters.
|
|
34897
|
+
* @param {*} [options] Override http request option.
|
|
34898
|
+
* @throws {RequiredError}
|
|
34899
|
+
*/
|
|
34900
|
+
setAutomations(requestParameters, options) {
|
|
34901
|
+
return localVarFp
|
|
34902
|
+
.setAutomations(requestParameters.workspaceId, requestParameters.declarativeAutomation, options)
|
|
34903
|
+
.then((request) => request(axios, basePath));
|
|
34904
|
+
},
|
|
33269
34905
|
/**
|
|
33270
34906
|
* et data source permissions.
|
|
33271
34907
|
* @summary Set data source permissions.
|
|
@@ -33420,6 +35056,19 @@ export class LayoutApi extends BaseAPI {
|
|
|
33420
35056
|
.getAnalyticsModel(requestParameters.workspaceId, requestParameters.exclude, options)
|
|
33421
35057
|
.then((request) => request(this.axios, this.basePath));
|
|
33422
35058
|
}
|
|
35059
|
+
/**
|
|
35060
|
+
* Retrieve automations for the specific workspace
|
|
35061
|
+
* @summary Get automations
|
|
35062
|
+
* @param {LayoutApiGetAutomationsRequest} requestParameters Request parameters.
|
|
35063
|
+
* @param {*} [options] Override http request option.
|
|
35064
|
+
* @throws {RequiredError}
|
|
35065
|
+
* @memberof LayoutApi
|
|
35066
|
+
*/
|
|
35067
|
+
getAutomations(requestParameters, options) {
|
|
35068
|
+
return LayoutApiFp(this.configuration)
|
|
35069
|
+
.getAutomations(requestParameters.workspaceId, requestParameters.exclude, options)
|
|
35070
|
+
.then((request) => request(this.axios, this.basePath));
|
|
35071
|
+
}
|
|
33423
35072
|
/**
|
|
33424
35073
|
* Retrieve current set of permissions of the data source in a declarative form.
|
|
33425
35074
|
* @summary Get permissions for the data source
|
|
@@ -33699,6 +35348,19 @@ export class LayoutApi extends BaseAPI {
|
|
|
33699
35348
|
.setAnalyticsModel(requestParameters.workspaceId, requestParameters.declarativeAnalytics, options)
|
|
33700
35349
|
.then((request) => request(this.axios, this.basePath));
|
|
33701
35350
|
}
|
|
35351
|
+
/**
|
|
35352
|
+
* Set automations for the specific workspace.
|
|
35353
|
+
* @summary Set automations
|
|
35354
|
+
* @param {LayoutApiSetAutomationsRequest} requestParameters Request parameters.
|
|
35355
|
+
* @param {*} [options] Override http request option.
|
|
35356
|
+
* @throws {RequiredError}
|
|
35357
|
+
* @memberof LayoutApi
|
|
35358
|
+
*/
|
|
35359
|
+
setAutomations(requestParameters, options) {
|
|
35360
|
+
return LayoutApiFp(this.configuration)
|
|
35361
|
+
.setAutomations(requestParameters.workspaceId, requestParameters.declarativeAutomation, options)
|
|
35362
|
+
.then((request) => request(this.axios, this.basePath));
|
|
35363
|
+
}
|
|
33702
35364
|
/**
|
|
33703
35365
|
* et data source permissions.
|
|
33704
35366
|
* @summary Set data source permissions.
|
|
@@ -45270,6 +46932,242 @@ export class TranslationsApi extends BaseAPI {
|
|
|
45270
46932
|
.then((request) => request(this.axios, this.basePath));
|
|
45271
46933
|
}
|
|
45272
46934
|
}
|
|
46935
|
+
/**
|
|
46936
|
+
* UnsubscribeApi - axios parameter creator
|
|
46937
|
+
* @export
|
|
46938
|
+
*/
|
|
46939
|
+
export const UnsubscribeApiAxiosParamCreator = function (configuration) {
|
|
46940
|
+
return {
|
|
46941
|
+
/**
|
|
46942
|
+
*
|
|
46943
|
+
* @summary Unsubscribe from all automations in all workspaces
|
|
46944
|
+
* @param {*} [options] Override http request option.
|
|
46945
|
+
* @throws {RequiredError}
|
|
46946
|
+
*/
|
|
46947
|
+
unsubscribeAllAutomations: async (options = {}) => {
|
|
46948
|
+
const localVarPath = `/api/v1/actions/organization/automations/unsubscribe`;
|
|
46949
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46950
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
46951
|
+
let baseOptions;
|
|
46952
|
+
if (configuration) {
|
|
46953
|
+
baseOptions = configuration.baseOptions;
|
|
46954
|
+
}
|
|
46955
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
46956
|
+
const localVarHeaderParameter = {};
|
|
46957
|
+
const localVarQueryParameter = {};
|
|
46958
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
46959
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
46960
|
+
localVarRequestOptions.headers = {
|
|
46961
|
+
...localVarHeaderParameter,
|
|
46962
|
+
...headersFromBaseOptions,
|
|
46963
|
+
...options.headers,
|
|
46964
|
+
};
|
|
46965
|
+
return {
|
|
46966
|
+
url: toPathString(localVarUrlObj),
|
|
46967
|
+
options: localVarRequestOptions,
|
|
46968
|
+
};
|
|
46969
|
+
},
|
|
46970
|
+
/**
|
|
46971
|
+
*
|
|
46972
|
+
* @summary Unsubscribe from an automation
|
|
46973
|
+
* @param {string} workspaceId
|
|
46974
|
+
* @param {string} automationId
|
|
46975
|
+
* @param {*} [options] Override http request option.
|
|
46976
|
+
* @throws {RequiredError}
|
|
46977
|
+
*/
|
|
46978
|
+
unsubscribeAutomation: async (workspaceId, automationId, options = {}) => {
|
|
46979
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
46980
|
+
assertParamExists("unsubscribeAutomation", "workspaceId", workspaceId);
|
|
46981
|
+
// verify required parameter 'automationId' is not null or undefined
|
|
46982
|
+
assertParamExists("unsubscribeAutomation", "automationId", automationId);
|
|
46983
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/automations/{automationId}/unsubscribe`
|
|
46984
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
46985
|
+
.replace(`{${"automationId"}}`, encodeURIComponent(String(automationId)));
|
|
46986
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46987
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
46988
|
+
let baseOptions;
|
|
46989
|
+
if (configuration) {
|
|
46990
|
+
baseOptions = configuration.baseOptions;
|
|
46991
|
+
}
|
|
46992
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
46993
|
+
const localVarHeaderParameter = {};
|
|
46994
|
+
const localVarQueryParameter = {};
|
|
46995
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
46996
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
46997
|
+
localVarRequestOptions.headers = {
|
|
46998
|
+
...localVarHeaderParameter,
|
|
46999
|
+
...headersFromBaseOptions,
|
|
47000
|
+
...options.headers,
|
|
47001
|
+
};
|
|
47002
|
+
return {
|
|
47003
|
+
url: toPathString(localVarUrlObj),
|
|
47004
|
+
options: localVarRequestOptions,
|
|
47005
|
+
};
|
|
47006
|
+
},
|
|
47007
|
+
/**
|
|
47008
|
+
*
|
|
47009
|
+
* @summary Unsubscribe from all automations in the workspace
|
|
47010
|
+
* @param {string} workspaceId
|
|
47011
|
+
* @param {*} [options] Override http request option.
|
|
47012
|
+
* @throws {RequiredError}
|
|
47013
|
+
*/
|
|
47014
|
+
unsubscribeWorkspaceAutomations: async (workspaceId, options = {}) => {
|
|
47015
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
47016
|
+
assertParamExists("unsubscribeWorkspaceAutomations", "workspaceId", workspaceId);
|
|
47017
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/automations/unsubscribe`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
47018
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47019
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47020
|
+
let baseOptions;
|
|
47021
|
+
if (configuration) {
|
|
47022
|
+
baseOptions = configuration.baseOptions;
|
|
47023
|
+
}
|
|
47024
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
47025
|
+
const localVarHeaderParameter = {};
|
|
47026
|
+
const localVarQueryParameter = {};
|
|
47027
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
47028
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
47029
|
+
localVarRequestOptions.headers = {
|
|
47030
|
+
...localVarHeaderParameter,
|
|
47031
|
+
...headersFromBaseOptions,
|
|
47032
|
+
...options.headers,
|
|
47033
|
+
};
|
|
47034
|
+
return {
|
|
47035
|
+
url: toPathString(localVarUrlObj),
|
|
47036
|
+
options: localVarRequestOptions,
|
|
47037
|
+
};
|
|
47038
|
+
},
|
|
47039
|
+
};
|
|
47040
|
+
};
|
|
47041
|
+
/**
|
|
47042
|
+
* UnsubscribeApi - functional programming interface
|
|
47043
|
+
* @export
|
|
47044
|
+
*/
|
|
47045
|
+
export const UnsubscribeApiFp = function (configuration) {
|
|
47046
|
+
const localVarAxiosParamCreator = UnsubscribeApiAxiosParamCreator(configuration);
|
|
47047
|
+
return {
|
|
47048
|
+
/**
|
|
47049
|
+
*
|
|
47050
|
+
* @summary Unsubscribe from all automations in all workspaces
|
|
47051
|
+
* @param {*} [options] Override http request option.
|
|
47052
|
+
* @throws {RequiredError}
|
|
47053
|
+
*/
|
|
47054
|
+
async unsubscribeAllAutomations(options) {
|
|
47055
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unsubscribeAllAutomations(options);
|
|
47056
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
47057
|
+
},
|
|
47058
|
+
/**
|
|
47059
|
+
*
|
|
47060
|
+
* @summary Unsubscribe from an automation
|
|
47061
|
+
* @param {string} workspaceId
|
|
47062
|
+
* @param {string} automationId
|
|
47063
|
+
* @param {*} [options] Override http request option.
|
|
47064
|
+
* @throws {RequiredError}
|
|
47065
|
+
*/
|
|
47066
|
+
async unsubscribeAutomation(workspaceId, automationId, options) {
|
|
47067
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unsubscribeAutomation(workspaceId, automationId, options);
|
|
47068
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
47069
|
+
},
|
|
47070
|
+
/**
|
|
47071
|
+
*
|
|
47072
|
+
* @summary Unsubscribe from all automations in the workspace
|
|
47073
|
+
* @param {string} workspaceId
|
|
47074
|
+
* @param {*} [options] Override http request option.
|
|
47075
|
+
* @throws {RequiredError}
|
|
47076
|
+
*/
|
|
47077
|
+
async unsubscribeWorkspaceAutomations(workspaceId, options) {
|
|
47078
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unsubscribeWorkspaceAutomations(workspaceId, options);
|
|
47079
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
47080
|
+
},
|
|
47081
|
+
};
|
|
47082
|
+
};
|
|
47083
|
+
/**
|
|
47084
|
+
* UnsubscribeApi - factory interface
|
|
47085
|
+
* @export
|
|
47086
|
+
*/
|
|
47087
|
+
export const UnsubscribeApiFactory = function (configuration, basePath, axios) {
|
|
47088
|
+
const localVarFp = UnsubscribeApiFp(configuration);
|
|
47089
|
+
return {
|
|
47090
|
+
/**
|
|
47091
|
+
*
|
|
47092
|
+
* @summary Unsubscribe from all automations in all workspaces
|
|
47093
|
+
* @param {*} [options] Override http request option.
|
|
47094
|
+
* @throws {RequiredError}
|
|
47095
|
+
*/
|
|
47096
|
+
unsubscribeAllAutomations(options) {
|
|
47097
|
+
return localVarFp.unsubscribeAllAutomations(options).then((request) => request(axios, basePath));
|
|
47098
|
+
},
|
|
47099
|
+
/**
|
|
47100
|
+
*
|
|
47101
|
+
* @summary Unsubscribe from an automation
|
|
47102
|
+
* @param {UnsubscribeApiUnsubscribeAutomationRequest} requestParameters Request parameters.
|
|
47103
|
+
* @param {*} [options] Override http request option.
|
|
47104
|
+
* @throws {RequiredError}
|
|
47105
|
+
*/
|
|
47106
|
+
unsubscribeAutomation(requestParameters, options) {
|
|
47107
|
+
return localVarFp
|
|
47108
|
+
.unsubscribeAutomation(requestParameters.workspaceId, requestParameters.automationId, options)
|
|
47109
|
+
.then((request) => request(axios, basePath));
|
|
47110
|
+
},
|
|
47111
|
+
/**
|
|
47112
|
+
*
|
|
47113
|
+
* @summary Unsubscribe from all automations in the workspace
|
|
47114
|
+
* @param {UnsubscribeApiUnsubscribeWorkspaceAutomationsRequest} requestParameters Request parameters.
|
|
47115
|
+
* @param {*} [options] Override http request option.
|
|
47116
|
+
* @throws {RequiredError}
|
|
47117
|
+
*/
|
|
47118
|
+
unsubscribeWorkspaceAutomations(requestParameters, options) {
|
|
47119
|
+
return localVarFp
|
|
47120
|
+
.unsubscribeWorkspaceAutomations(requestParameters.workspaceId, options)
|
|
47121
|
+
.then((request) => request(axios, basePath));
|
|
47122
|
+
},
|
|
47123
|
+
};
|
|
47124
|
+
};
|
|
47125
|
+
/**
|
|
47126
|
+
* UnsubscribeApi - object-oriented interface
|
|
47127
|
+
* @export
|
|
47128
|
+
* @class UnsubscribeApi
|
|
47129
|
+
* @extends {BaseAPI}
|
|
47130
|
+
*/
|
|
47131
|
+
export class UnsubscribeApi extends BaseAPI {
|
|
47132
|
+
/**
|
|
47133
|
+
*
|
|
47134
|
+
* @summary Unsubscribe from all automations in all workspaces
|
|
47135
|
+
* @param {*} [options] Override http request option.
|
|
47136
|
+
* @throws {RequiredError}
|
|
47137
|
+
* @memberof UnsubscribeApi
|
|
47138
|
+
*/
|
|
47139
|
+
unsubscribeAllAutomations(options) {
|
|
47140
|
+
return UnsubscribeApiFp(this.configuration)
|
|
47141
|
+
.unsubscribeAllAutomations(options)
|
|
47142
|
+
.then((request) => request(this.axios, this.basePath));
|
|
47143
|
+
}
|
|
47144
|
+
/**
|
|
47145
|
+
*
|
|
47146
|
+
* @summary Unsubscribe from an automation
|
|
47147
|
+
* @param {UnsubscribeApiUnsubscribeAutomationRequest} requestParameters Request parameters.
|
|
47148
|
+
* @param {*} [options] Override http request option.
|
|
47149
|
+
* @throws {RequiredError}
|
|
47150
|
+
* @memberof UnsubscribeApi
|
|
47151
|
+
*/
|
|
47152
|
+
unsubscribeAutomation(requestParameters, options) {
|
|
47153
|
+
return UnsubscribeApiFp(this.configuration)
|
|
47154
|
+
.unsubscribeAutomation(requestParameters.workspaceId, requestParameters.automationId, options)
|
|
47155
|
+
.then((request) => request(this.axios, this.basePath));
|
|
47156
|
+
}
|
|
47157
|
+
/**
|
|
47158
|
+
*
|
|
47159
|
+
* @summary Unsubscribe from all automations in the workspace
|
|
47160
|
+
* @param {UnsubscribeApiUnsubscribeWorkspaceAutomationsRequest} requestParameters Request parameters.
|
|
47161
|
+
* @param {*} [options] Override http request option.
|
|
47162
|
+
* @throws {RequiredError}
|
|
47163
|
+
* @memberof UnsubscribeApi
|
|
47164
|
+
*/
|
|
47165
|
+
unsubscribeWorkspaceAutomations(requestParameters, options) {
|
|
47166
|
+
return UnsubscribeApiFp(this.configuration)
|
|
47167
|
+
.unsubscribeWorkspaceAutomations(requestParameters.workspaceId, options)
|
|
47168
|
+
.then((request) => request(this.axios, this.basePath));
|
|
47169
|
+
}
|
|
47170
|
+
}
|
|
45273
47171
|
/**
|
|
45274
47172
|
* UsageApi - axios parameter creator
|
|
45275
47173
|
* @export
|
|
@@ -50450,6 +52348,51 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
|
|
|
50450
52348
|
options: localVarRequestOptions,
|
|
50451
52349
|
};
|
|
50452
52350
|
},
|
|
52351
|
+
/**
|
|
52352
|
+
*
|
|
52353
|
+
* @summary Post Filter views
|
|
52354
|
+
* @param {string} workspaceId
|
|
52355
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
52356
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
52357
|
+
* @param {*} [options] Override http request option.
|
|
52358
|
+
* @throws {RequiredError}
|
|
52359
|
+
*/
|
|
52360
|
+
createEntityFilterViews: async (workspaceId, jsonApiFilterViewInDocument, include, options = {}) => {
|
|
52361
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
52362
|
+
assertParamExists("createEntityFilterViews", "workspaceId", workspaceId);
|
|
52363
|
+
// verify required parameter 'jsonApiFilterViewInDocument' is not null or undefined
|
|
52364
|
+
assertParamExists("createEntityFilterViews", "jsonApiFilterViewInDocument", jsonApiFilterViewInDocument);
|
|
52365
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
52366
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
52367
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
52368
|
+
let baseOptions;
|
|
52369
|
+
if (configuration) {
|
|
52370
|
+
baseOptions = configuration.baseOptions;
|
|
52371
|
+
}
|
|
52372
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
52373
|
+
const localVarHeaderParameter = {};
|
|
52374
|
+
const localVarQueryParameter = {};
|
|
52375
|
+
if (include) {
|
|
52376
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
52377
|
+
}
|
|
52378
|
+
localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
|
|
52379
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
52380
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
52381
|
+
localVarRequestOptions.headers = {
|
|
52382
|
+
...localVarHeaderParameter,
|
|
52383
|
+
...headersFromBaseOptions,
|
|
52384
|
+
...options.headers,
|
|
52385
|
+
};
|
|
52386
|
+
const needsSerialization = typeof jsonApiFilterViewInDocument !== "string" ||
|
|
52387
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
52388
|
+
localVarRequestOptions.data = needsSerialization
|
|
52389
|
+
? JSON.stringify(jsonApiFilterViewInDocument !== undefined ? jsonApiFilterViewInDocument : {})
|
|
52390
|
+
: jsonApiFilterViewInDocument || "";
|
|
52391
|
+
return {
|
|
52392
|
+
url: toPathString(localVarUrlObj),
|
|
52393
|
+
options: localVarRequestOptions,
|
|
52394
|
+
};
|
|
52395
|
+
},
|
|
50453
52396
|
/**
|
|
50454
52397
|
*
|
|
50455
52398
|
* @summary Post Metrics
|
|
@@ -51039,6 +52982,47 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
|
|
|
51039
52982
|
options: localVarRequestOptions,
|
|
51040
52983
|
};
|
|
51041
52984
|
},
|
|
52985
|
+
/**
|
|
52986
|
+
*
|
|
52987
|
+
* @summary Delete Filter view
|
|
52988
|
+
* @param {string} workspaceId
|
|
52989
|
+
* @param {string} objectId
|
|
52990
|
+
* @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\').
|
|
52991
|
+
* @param {*} [options] Override http request option.
|
|
52992
|
+
* @throws {RequiredError}
|
|
52993
|
+
*/
|
|
52994
|
+
deleteEntityFilterViews: async (workspaceId, objectId, filter, options = {}) => {
|
|
52995
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
52996
|
+
assertParamExists("deleteEntityFilterViews", "workspaceId", workspaceId);
|
|
52997
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
52998
|
+
assertParamExists("deleteEntityFilterViews", "objectId", objectId);
|
|
52999
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
53000
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
53001
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
53002
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53003
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53004
|
+
let baseOptions;
|
|
53005
|
+
if (configuration) {
|
|
53006
|
+
baseOptions = configuration.baseOptions;
|
|
53007
|
+
}
|
|
53008
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
53009
|
+
const localVarHeaderParameter = {};
|
|
53010
|
+
const localVarQueryParameter = {};
|
|
53011
|
+
if (filter !== undefined) {
|
|
53012
|
+
localVarQueryParameter["filter"] = filter;
|
|
53013
|
+
}
|
|
53014
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53015
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53016
|
+
localVarRequestOptions.headers = {
|
|
53017
|
+
...localVarHeaderParameter,
|
|
53018
|
+
...headersFromBaseOptions,
|
|
53019
|
+
...options.headers,
|
|
53020
|
+
};
|
|
53021
|
+
return {
|
|
53022
|
+
url: toPathString(localVarUrlObj),
|
|
53023
|
+
options: localVarRequestOptions,
|
|
53024
|
+
};
|
|
53025
|
+
},
|
|
51042
53026
|
/**
|
|
51043
53027
|
*
|
|
51044
53028
|
* @summary Delete a Metric
|
|
@@ -51921,6 +53905,70 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
|
|
|
51921
53905
|
options: localVarRequestOptions,
|
|
51922
53906
|
};
|
|
51923
53907
|
},
|
|
53908
|
+
/**
|
|
53909
|
+
*
|
|
53910
|
+
* @summary Get all Filter views
|
|
53911
|
+
* @param {string} workspaceId
|
|
53912
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
53913
|
+
* @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\').
|
|
53914
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
53915
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
53916
|
+
* @param {number} [size] The size of the page to be returned
|
|
53917
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
53918
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
53919
|
+
* @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
53920
|
+
* @param {*} [options] Override http request option.
|
|
53921
|
+
* @throws {RequiredError}
|
|
53922
|
+
*/
|
|
53923
|
+
getAllEntitiesFilterViews: async (workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
|
|
53924
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
53925
|
+
assertParamExists("getAllEntitiesFilterViews", "workspaceId", workspaceId);
|
|
53926
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
53927
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53928
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53929
|
+
let baseOptions;
|
|
53930
|
+
if (configuration) {
|
|
53931
|
+
baseOptions = configuration.baseOptions;
|
|
53932
|
+
}
|
|
53933
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
53934
|
+
const localVarHeaderParameter = {};
|
|
53935
|
+
const localVarQueryParameter = {};
|
|
53936
|
+
if (origin !== undefined) {
|
|
53937
|
+
localVarQueryParameter["origin"] = origin;
|
|
53938
|
+
}
|
|
53939
|
+
if (filter !== undefined) {
|
|
53940
|
+
localVarQueryParameter["filter"] = filter;
|
|
53941
|
+
}
|
|
53942
|
+
if (include) {
|
|
53943
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
53944
|
+
}
|
|
53945
|
+
if (page !== undefined) {
|
|
53946
|
+
localVarQueryParameter["page"] = page;
|
|
53947
|
+
}
|
|
53948
|
+
if (size !== undefined) {
|
|
53949
|
+
localVarQueryParameter["size"] = size;
|
|
53950
|
+
}
|
|
53951
|
+
if (sort) {
|
|
53952
|
+
localVarQueryParameter["sort"] = sort;
|
|
53953
|
+
}
|
|
53954
|
+
if (metaInclude) {
|
|
53955
|
+
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
53956
|
+
}
|
|
53957
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
53958
|
+
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
53959
|
+
}
|
|
53960
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53961
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53962
|
+
localVarRequestOptions.headers = {
|
|
53963
|
+
...localVarHeaderParameter,
|
|
53964
|
+
...headersFromBaseOptions,
|
|
53965
|
+
...options.headers,
|
|
53966
|
+
};
|
|
53967
|
+
return {
|
|
53968
|
+
url: toPathString(localVarUrlObj),
|
|
53969
|
+
options: localVarRequestOptions,
|
|
53970
|
+
};
|
|
53971
|
+
},
|
|
51924
53972
|
/**
|
|
51925
53973
|
*
|
|
51926
53974
|
* @summary Get all Labels
|
|
@@ -52840,22 +54888,74 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
|
|
|
52840
54888
|
},
|
|
52841
54889
|
/**
|
|
52842
54890
|
*
|
|
52843
|
-
* @summary Get a Context Filter
|
|
54891
|
+
* @summary Get a Context Filter
|
|
54892
|
+
* @param {string} workspaceId
|
|
54893
|
+
* @param {string} objectId
|
|
54894
|
+
* @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\').
|
|
54895
|
+
* @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.
|
|
54896
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
54897
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
54898
|
+
* @param {*} [options] Override http request option.
|
|
54899
|
+
* @throws {RequiredError}
|
|
54900
|
+
*/
|
|
54901
|
+
getEntityFilterContexts: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options = {}) => {
|
|
54902
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
54903
|
+
assertParamExists("getEntityFilterContexts", "workspaceId", workspaceId);
|
|
54904
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
54905
|
+
assertParamExists("getEntityFilterContexts", "objectId", objectId);
|
|
54906
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId}`
|
|
54907
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
54908
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
54909
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54910
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
54911
|
+
let baseOptions;
|
|
54912
|
+
if (configuration) {
|
|
54913
|
+
baseOptions = configuration.baseOptions;
|
|
54914
|
+
}
|
|
54915
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
54916
|
+
const localVarHeaderParameter = {};
|
|
54917
|
+
const localVarQueryParameter = {};
|
|
54918
|
+
if (filter !== undefined) {
|
|
54919
|
+
localVarQueryParameter["filter"] = filter;
|
|
54920
|
+
}
|
|
54921
|
+
if (include) {
|
|
54922
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
54923
|
+
}
|
|
54924
|
+
if (metaInclude) {
|
|
54925
|
+
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
54926
|
+
}
|
|
54927
|
+
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
54928
|
+
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
54929
|
+
}
|
|
54930
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
54931
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
54932
|
+
localVarRequestOptions.headers = {
|
|
54933
|
+
...localVarHeaderParameter,
|
|
54934
|
+
...headersFromBaseOptions,
|
|
54935
|
+
...options.headers,
|
|
54936
|
+
};
|
|
54937
|
+
return {
|
|
54938
|
+
url: toPathString(localVarUrlObj),
|
|
54939
|
+
options: localVarRequestOptions,
|
|
54940
|
+
};
|
|
54941
|
+
},
|
|
54942
|
+
/**
|
|
54943
|
+
*
|
|
54944
|
+
* @summary Get Filter view
|
|
52844
54945
|
* @param {string} workspaceId
|
|
52845
54946
|
* @param {string} objectId
|
|
52846
54947
|
* @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<'
|
|
54948
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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
54949
|
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
52849
|
-
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
52850
54950
|
* @param {*} [options] Override http request option.
|
|
52851
54951
|
* @throws {RequiredError}
|
|
52852
54952
|
*/
|
|
52853
|
-
|
|
54953
|
+
getEntityFilterViews: async (workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options = {}) => {
|
|
52854
54954
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
52855
|
-
assertParamExists("
|
|
54955
|
+
assertParamExists("getEntityFilterViews", "workspaceId", workspaceId);
|
|
52856
54956
|
// verify required parameter 'objectId' is not null or undefined
|
|
52857
|
-
assertParamExists("
|
|
52858
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
54957
|
+
assertParamExists("getEntityFilterViews", "objectId", objectId);
|
|
54958
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
52859
54959
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
52860
54960
|
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
52861
54961
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -52873,9 +54973,6 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
|
|
|
52873
54973
|
if (include) {
|
|
52874
54974
|
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
52875
54975
|
}
|
|
52876
|
-
if (metaInclude) {
|
|
52877
|
-
localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS.csv);
|
|
52878
|
-
}
|
|
52879
54976
|
if (xGDCVALIDATERELATIONS !== undefined && xGDCVALIDATERELATIONS !== null) {
|
|
52880
54977
|
localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
52881
54978
|
}
|
|
@@ -53644,6 +55741,60 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
|
|
|
53644
55741
|
options: localVarRequestOptions,
|
|
53645
55742
|
};
|
|
53646
55743
|
},
|
|
55744
|
+
/**
|
|
55745
|
+
*
|
|
55746
|
+
* @summary Patch Filter view
|
|
55747
|
+
* @param {string} workspaceId
|
|
55748
|
+
* @param {string} objectId
|
|
55749
|
+
* @param {JsonApiFilterViewPatchDocument} jsonApiFilterViewPatchDocument
|
|
55750
|
+
* @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\').
|
|
55751
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
55752
|
+
* @param {*} [options] Override http request option.
|
|
55753
|
+
* @throws {RequiredError}
|
|
55754
|
+
*/
|
|
55755
|
+
patchEntityFilterViews: async (workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options = {}) => {
|
|
55756
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
55757
|
+
assertParamExists("patchEntityFilterViews", "workspaceId", workspaceId);
|
|
55758
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
55759
|
+
assertParamExists("patchEntityFilterViews", "objectId", objectId);
|
|
55760
|
+
// verify required parameter 'jsonApiFilterViewPatchDocument' is not null or undefined
|
|
55761
|
+
assertParamExists("patchEntityFilterViews", "jsonApiFilterViewPatchDocument", jsonApiFilterViewPatchDocument);
|
|
55762
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
55763
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
55764
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
55765
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
55766
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
55767
|
+
let baseOptions;
|
|
55768
|
+
if (configuration) {
|
|
55769
|
+
baseOptions = configuration.baseOptions;
|
|
55770
|
+
}
|
|
55771
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
55772
|
+
const localVarHeaderParameter = {};
|
|
55773
|
+
const localVarQueryParameter = {};
|
|
55774
|
+
if (filter !== undefined) {
|
|
55775
|
+
localVarQueryParameter["filter"] = filter;
|
|
55776
|
+
}
|
|
55777
|
+
if (include) {
|
|
55778
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
55779
|
+
}
|
|
55780
|
+
localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
|
|
55781
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
55782
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
55783
|
+
localVarRequestOptions.headers = {
|
|
55784
|
+
...localVarHeaderParameter,
|
|
55785
|
+
...headersFromBaseOptions,
|
|
55786
|
+
...options.headers,
|
|
55787
|
+
};
|
|
55788
|
+
const needsSerialization = typeof jsonApiFilterViewPatchDocument !== "string" ||
|
|
55789
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
55790
|
+
localVarRequestOptions.data = needsSerialization
|
|
55791
|
+
? JSON.stringify(jsonApiFilterViewPatchDocument !== undefined ? jsonApiFilterViewPatchDocument : {})
|
|
55792
|
+
: jsonApiFilterViewPatchDocument || "";
|
|
55793
|
+
return {
|
|
55794
|
+
url: toPathString(localVarUrlObj),
|
|
55795
|
+
options: localVarRequestOptions,
|
|
55796
|
+
};
|
|
55797
|
+
},
|
|
53647
55798
|
/**
|
|
53648
55799
|
*
|
|
53649
55800
|
* @summary Patch a Metric
|
|
@@ -54356,6 +56507,60 @@ export const WorkspaceObjectControllerApiAxiosParamCreator = function (configura
|
|
|
54356
56507
|
options: localVarRequestOptions,
|
|
54357
56508
|
};
|
|
54358
56509
|
},
|
|
56510
|
+
/**
|
|
56511
|
+
*
|
|
56512
|
+
* @summary Put Filter views
|
|
56513
|
+
* @param {string} workspaceId
|
|
56514
|
+
* @param {string} objectId
|
|
56515
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
56516
|
+
* @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\').
|
|
56517
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
56518
|
+
* @param {*} [options] Override http request option.
|
|
56519
|
+
* @throws {RequiredError}
|
|
56520
|
+
*/
|
|
56521
|
+
updateEntityFilterViews: async (workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options = {}) => {
|
|
56522
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
56523
|
+
assertParamExists("updateEntityFilterViews", "workspaceId", workspaceId);
|
|
56524
|
+
// verify required parameter 'objectId' is not null or undefined
|
|
56525
|
+
assertParamExists("updateEntityFilterViews", "objectId", objectId);
|
|
56526
|
+
// verify required parameter 'jsonApiFilterViewInDocument' is not null or undefined
|
|
56527
|
+
assertParamExists("updateEntityFilterViews", "jsonApiFilterViewInDocument", jsonApiFilterViewInDocument);
|
|
56528
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`
|
|
56529
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
56530
|
+
.replace(`{${"objectId"}}`, encodeURIComponent(String(objectId)));
|
|
56531
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
56532
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
56533
|
+
let baseOptions;
|
|
56534
|
+
if (configuration) {
|
|
56535
|
+
baseOptions = configuration.baseOptions;
|
|
56536
|
+
}
|
|
56537
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
56538
|
+
const localVarHeaderParameter = {};
|
|
56539
|
+
const localVarQueryParameter = {};
|
|
56540
|
+
if (filter !== undefined) {
|
|
56541
|
+
localVarQueryParameter["filter"] = filter;
|
|
56542
|
+
}
|
|
56543
|
+
if (include) {
|
|
56544
|
+
localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS.csv);
|
|
56545
|
+
}
|
|
56546
|
+
localVarHeaderParameter["Content-Type"] = "application/vnd.gooddata.api+json";
|
|
56547
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56548
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
56549
|
+
localVarRequestOptions.headers = {
|
|
56550
|
+
...localVarHeaderParameter,
|
|
56551
|
+
...headersFromBaseOptions,
|
|
56552
|
+
...options.headers,
|
|
56553
|
+
};
|
|
56554
|
+
const needsSerialization = typeof jsonApiFilterViewInDocument !== "string" ||
|
|
56555
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
56556
|
+
localVarRequestOptions.data = needsSerialization
|
|
56557
|
+
? JSON.stringify(jsonApiFilterViewInDocument !== undefined ? jsonApiFilterViewInDocument : {})
|
|
56558
|
+
: jsonApiFilterViewInDocument || "";
|
|
56559
|
+
return {
|
|
56560
|
+
url: toPathString(localVarUrlObj),
|
|
56561
|
+
options: localVarRequestOptions,
|
|
56562
|
+
};
|
|
56563
|
+
},
|
|
54359
56564
|
/**
|
|
54360
56565
|
*
|
|
54361
56566
|
* @summary Put a Metric
|
|
@@ -54790,6 +56995,19 @@ export const WorkspaceObjectControllerApiFp = function (configuration) {
|
|
|
54790
56995
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createEntityFilterContexts(workspaceId, jsonApiFilterContextPostOptionalIdDocument, include, metaInclude, options);
|
|
54791
56996
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
54792
56997
|
},
|
|
56998
|
+
/**
|
|
56999
|
+
*
|
|
57000
|
+
* @summary Post Filter views
|
|
57001
|
+
* @param {string} workspaceId
|
|
57002
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
57003
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
57004
|
+
* @param {*} [options] Override http request option.
|
|
57005
|
+
* @throws {RequiredError}
|
|
57006
|
+
*/
|
|
57007
|
+
async createEntityFilterViews(workspaceId, jsonApiFilterViewInDocument, include, options) {
|
|
57008
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createEntityFilterViews(workspaceId, jsonApiFilterViewInDocument, include, options);
|
|
57009
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
57010
|
+
},
|
|
54793
57011
|
/**
|
|
54794
57012
|
*
|
|
54795
57013
|
* @summary Post Metrics
|
|
@@ -54964,6 +57182,19 @@ export const WorkspaceObjectControllerApiFp = function (configuration) {
|
|
|
54964
57182
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEntityFilterContexts(workspaceId, objectId, filter, options);
|
|
54965
57183
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
54966
57184
|
},
|
|
57185
|
+
/**
|
|
57186
|
+
*
|
|
57187
|
+
* @summary Delete Filter view
|
|
57188
|
+
* @param {string} workspaceId
|
|
57189
|
+
* @param {string} objectId
|
|
57190
|
+
* @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\').
|
|
57191
|
+
* @param {*} [options] Override http request option.
|
|
57192
|
+
* @throws {RequiredError}
|
|
57193
|
+
*/
|
|
57194
|
+
async deleteEntityFilterViews(workspaceId, objectId, filter, options) {
|
|
57195
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEntityFilterViews(workspaceId, objectId, filter, options);
|
|
57196
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
57197
|
+
},
|
|
54967
57198
|
/**
|
|
54968
57199
|
*
|
|
54969
57200
|
* @summary Delete a Metric
|
|
@@ -55231,6 +57462,25 @@ export const WorkspaceObjectControllerApiFp = function (configuration) {
|
|
|
55231
57462
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFilterContexts(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
55232
57463
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
55233
57464
|
},
|
|
57465
|
+
/**
|
|
57466
|
+
*
|
|
57467
|
+
* @summary Get all Filter views
|
|
57468
|
+
* @param {string} workspaceId
|
|
57469
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
57470
|
+
* @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\').
|
|
57471
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
57472
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
57473
|
+
* @param {number} [size] The size of the page to be returned
|
|
57474
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
57475
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
57476
|
+
* @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
57477
|
+
* @param {*} [options] Override http request option.
|
|
57478
|
+
* @throws {RequiredError}
|
|
57479
|
+
*/
|
|
57480
|
+
async getAllEntitiesFilterViews(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options) {
|
|
57481
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllEntitiesFilterViews(workspaceId, origin, filter, include, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
57482
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
57483
|
+
},
|
|
55234
57484
|
/**
|
|
55235
57485
|
*
|
|
55236
57486
|
* @summary Get all Labels
|
|
@@ -55522,6 +57772,21 @@ export const WorkspaceObjectControllerApiFp = function (configuration) {
|
|
|
55522
57772
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFilterContexts(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, metaInclude, options);
|
|
55523
57773
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
55524
57774
|
},
|
|
57775
|
+
/**
|
|
57776
|
+
*
|
|
57777
|
+
* @summary Get Filter view
|
|
57778
|
+
* @param {string} workspaceId
|
|
57779
|
+
* @param {string} objectId
|
|
57780
|
+
* @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\').
|
|
57781
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
57782
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
57783
|
+
* @param {*} [options] Override http request option.
|
|
57784
|
+
* @throws {RequiredError}
|
|
57785
|
+
*/
|
|
57786
|
+
async getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options) {
|
|
57787
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEntityFilterViews(workspaceId, objectId, filter, include, xGDCVALIDATERELATIONS, options);
|
|
57788
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
57789
|
+
},
|
|
55525
57790
|
/**
|
|
55526
57791
|
*
|
|
55527
57792
|
* @summary Get a Label
|
|
@@ -55737,6 +58002,21 @@ export const WorkspaceObjectControllerApiFp = function (configuration) {
|
|
|
55737
58002
|
const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityFilterContexts(workspaceId, objectId, jsonApiFilterContextPatchDocument, filter, include, options);
|
|
55738
58003
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
55739
58004
|
},
|
|
58005
|
+
/**
|
|
58006
|
+
*
|
|
58007
|
+
* @summary Patch Filter view
|
|
58008
|
+
* @param {string} workspaceId
|
|
58009
|
+
* @param {string} objectId
|
|
58010
|
+
* @param {JsonApiFilterViewPatchDocument} jsonApiFilterViewPatchDocument
|
|
58011
|
+
* @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\').
|
|
58012
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
58013
|
+
* @param {*} [options] Override http request option.
|
|
58014
|
+
* @throws {RequiredError}
|
|
58015
|
+
*/
|
|
58016
|
+
async patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options) {
|
|
58017
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntityFilterViews(workspaceId, objectId, jsonApiFilterViewPatchDocument, filter, include, options);
|
|
58018
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
58019
|
+
},
|
|
55740
58020
|
/**
|
|
55741
58021
|
*
|
|
55742
58022
|
* @summary Patch a Metric
|
|
@@ -55930,6 +58210,21 @@ export const WorkspaceObjectControllerApiFp = function (configuration) {
|
|
|
55930
58210
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateEntityFilterContexts(workspaceId, objectId, jsonApiFilterContextInDocument, filter, include, options);
|
|
55931
58211
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
55932
58212
|
},
|
|
58213
|
+
/**
|
|
58214
|
+
*
|
|
58215
|
+
* @summary Put Filter views
|
|
58216
|
+
* @param {string} workspaceId
|
|
58217
|
+
* @param {string} objectId
|
|
58218
|
+
* @param {JsonApiFilterViewInDocument} jsonApiFilterViewInDocument
|
|
58219
|
+
* @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\').
|
|
58220
|
+
* @param {Array<'analyticalDashboards' | 'users' | 'analyticalDashboard' | 'user' | '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.
|
|
58221
|
+
* @param {*} [options] Override http request option.
|
|
58222
|
+
* @throws {RequiredError}
|
|
58223
|
+
*/
|
|
58224
|
+
async updateEntityFilterViews(workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options) {
|
|
58225
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateEntityFilterViews(workspaceId, objectId, jsonApiFilterViewInDocument, filter, include, options);
|
|
58226
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
58227
|
+
},
|
|
55933
58228
|
/**
|
|
55934
58229
|
*
|
|
55935
58230
|
* @summary Put a Metric
|
|
@@ -56112,6 +58407,18 @@ export const WorkspaceObjectControllerApiFactory = function (configuration, base
|
|
|
56112
58407
|
.createEntityFilterContexts(requestParameters.workspaceId, requestParameters.jsonApiFilterContextPostOptionalIdDocument, requestParameters.include, requestParameters.metaInclude, options)
|
|
56113
58408
|
.then((request) => request(axios, basePath));
|
|
56114
58409
|
},
|
|
58410
|
+
/**
|
|
58411
|
+
*
|
|
58412
|
+
* @summary Post Filter views
|
|
58413
|
+
* @param {WorkspaceObjectControllerApiCreateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
58414
|
+
* @param {*} [options] Override http request option.
|
|
58415
|
+
* @throws {RequiredError}
|
|
58416
|
+
*/
|
|
58417
|
+
createEntityFilterViews(requestParameters, options) {
|
|
58418
|
+
return localVarFp
|
|
58419
|
+
.createEntityFilterViews(requestParameters.workspaceId, requestParameters.jsonApiFilterViewInDocument, requestParameters.include, options)
|
|
58420
|
+
.then((request) => request(axios, basePath));
|
|
58421
|
+
},
|
|
56115
58422
|
/**
|
|
56116
58423
|
*
|
|
56117
58424
|
* @summary Post Metrics
|
|
@@ -56268,6 +58575,18 @@ export const WorkspaceObjectControllerApiFactory = function (configuration, base
|
|
|
56268
58575
|
.deleteEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
56269
58576
|
.then((request) => request(axios, basePath));
|
|
56270
58577
|
},
|
|
58578
|
+
/**
|
|
58579
|
+
*
|
|
58580
|
+
* @summary Delete Filter view
|
|
58581
|
+
* @param {WorkspaceObjectControllerApiDeleteEntityFilterViewsRequest} requestParameters Request parameters.
|
|
58582
|
+
* @param {*} [options] Override http request option.
|
|
58583
|
+
* @throws {RequiredError}
|
|
58584
|
+
*/
|
|
58585
|
+
deleteEntityFilterViews(requestParameters, options) {
|
|
58586
|
+
return localVarFp
|
|
58587
|
+
.deleteEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
58588
|
+
.then((request) => request(axios, basePath));
|
|
58589
|
+
},
|
|
56271
58590
|
/**
|
|
56272
58591
|
*
|
|
56273
58592
|
* @summary Delete a Metric
|
|
@@ -56460,6 +58779,18 @@ export const WorkspaceObjectControllerApiFactory = function (configuration, base
|
|
|
56460
58779
|
.getAllEntitiesFilterContexts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
56461
58780
|
.then((request) => request(axios, basePath));
|
|
56462
58781
|
},
|
|
58782
|
+
/**
|
|
58783
|
+
*
|
|
58784
|
+
* @summary Get all Filter views
|
|
58785
|
+
* @param {WorkspaceObjectControllerApiGetAllEntitiesFilterViewsRequest} requestParameters Request parameters.
|
|
58786
|
+
* @param {*} [options] Override http request option.
|
|
58787
|
+
* @throws {RequiredError}
|
|
58788
|
+
*/
|
|
58789
|
+
getAllEntitiesFilterViews(requestParameters, options) {
|
|
58790
|
+
return localVarFp
|
|
58791
|
+
.getAllEntitiesFilterViews(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
58792
|
+
.then((request) => request(axios, basePath));
|
|
58793
|
+
},
|
|
56463
58794
|
/**
|
|
56464
58795
|
*
|
|
56465
58796
|
* @summary Get all Labels
|
|
@@ -56664,6 +58995,18 @@ export const WorkspaceObjectControllerApiFactory = function (configuration, base
|
|
|
56664
58995
|
.getEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
56665
58996
|
.then((request) => request(axios, basePath));
|
|
56666
58997
|
},
|
|
58998
|
+
/**
|
|
58999
|
+
*
|
|
59000
|
+
* @summary Get Filter view
|
|
59001
|
+
* @param {WorkspaceObjectControllerApiGetEntityFilterViewsRequest} requestParameters Request parameters.
|
|
59002
|
+
* @param {*} [options] Override http request option.
|
|
59003
|
+
* @throws {RequiredError}
|
|
59004
|
+
*/
|
|
59005
|
+
getEntityFilterViews(requestParameters, options) {
|
|
59006
|
+
return localVarFp
|
|
59007
|
+
.getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
|
|
59008
|
+
.then((request) => request(axios, basePath));
|
|
59009
|
+
},
|
|
56667
59010
|
/**
|
|
56668
59011
|
*
|
|
56669
59012
|
* @summary Get a Label
|
|
@@ -56832,6 +59175,18 @@ export const WorkspaceObjectControllerApiFactory = function (configuration, base
|
|
|
56832
59175
|
.patchEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
56833
59176
|
.then((request) => request(axios, basePath));
|
|
56834
59177
|
},
|
|
59178
|
+
/**
|
|
59179
|
+
*
|
|
59180
|
+
* @summary Patch Filter view
|
|
59181
|
+
* @param {WorkspaceObjectControllerApiPatchEntityFilterViewsRequest} requestParameters Request parameters.
|
|
59182
|
+
* @param {*} [options] Override http request option.
|
|
59183
|
+
* @throws {RequiredError}
|
|
59184
|
+
*/
|
|
59185
|
+
patchEntityFilterViews(requestParameters, options) {
|
|
59186
|
+
return localVarFp
|
|
59187
|
+
.patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
59188
|
+
.then((request) => request(axios, basePath));
|
|
59189
|
+
},
|
|
56835
59190
|
/**
|
|
56836
59191
|
*
|
|
56837
59192
|
* @summary Patch a Metric
|
|
@@ -56988,6 +59343,18 @@ export const WorkspaceObjectControllerApiFactory = function (configuration, base
|
|
|
56988
59343
|
.updateEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextInDocument, requestParameters.filter, requestParameters.include, options)
|
|
56989
59344
|
.then((request) => request(axios, basePath));
|
|
56990
59345
|
},
|
|
59346
|
+
/**
|
|
59347
|
+
*
|
|
59348
|
+
* @summary Put Filter views
|
|
59349
|
+
* @param {WorkspaceObjectControllerApiUpdateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
59350
|
+
* @param {*} [options] Override http request option.
|
|
59351
|
+
* @throws {RequiredError}
|
|
59352
|
+
*/
|
|
59353
|
+
updateEntityFilterViews(requestParameters, options) {
|
|
59354
|
+
return localVarFp
|
|
59355
|
+
.updateEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewInDocument, requestParameters.filter, requestParameters.include, options)
|
|
59356
|
+
.then((request) => request(axios, basePath));
|
|
59357
|
+
},
|
|
56991
59358
|
/**
|
|
56992
59359
|
*
|
|
56993
59360
|
* @summary Put a Metric
|
|
@@ -57160,6 +59527,19 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
|
|
|
57160
59527
|
.createEntityFilterContexts(requestParameters.workspaceId, requestParameters.jsonApiFilterContextPostOptionalIdDocument, requestParameters.include, requestParameters.metaInclude, options)
|
|
57161
59528
|
.then((request) => request(this.axios, this.basePath));
|
|
57162
59529
|
}
|
|
59530
|
+
/**
|
|
59531
|
+
*
|
|
59532
|
+
* @summary Post Filter views
|
|
59533
|
+
* @param {WorkspaceObjectControllerApiCreateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
59534
|
+
* @param {*} [options] Override http request option.
|
|
59535
|
+
* @throws {RequiredError}
|
|
59536
|
+
* @memberof WorkspaceObjectControllerApi
|
|
59537
|
+
*/
|
|
59538
|
+
createEntityFilterViews(requestParameters, options) {
|
|
59539
|
+
return WorkspaceObjectControllerApiFp(this.configuration)
|
|
59540
|
+
.createEntityFilterViews(requestParameters.workspaceId, requestParameters.jsonApiFilterViewInDocument, requestParameters.include, options)
|
|
59541
|
+
.then((request) => request(this.axios, this.basePath));
|
|
59542
|
+
}
|
|
57163
59543
|
/**
|
|
57164
59544
|
*
|
|
57165
59545
|
* @summary Post Metrics
|
|
@@ -57329,6 +59709,19 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
|
|
|
57329
59709
|
.deleteEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
57330
59710
|
.then((request) => request(this.axios, this.basePath));
|
|
57331
59711
|
}
|
|
59712
|
+
/**
|
|
59713
|
+
*
|
|
59714
|
+
* @summary Delete Filter view
|
|
59715
|
+
* @param {WorkspaceObjectControllerApiDeleteEntityFilterViewsRequest} requestParameters Request parameters.
|
|
59716
|
+
* @param {*} [options] Override http request option.
|
|
59717
|
+
* @throws {RequiredError}
|
|
59718
|
+
* @memberof WorkspaceObjectControllerApi
|
|
59719
|
+
*/
|
|
59720
|
+
deleteEntityFilterViews(requestParameters, options) {
|
|
59721
|
+
return WorkspaceObjectControllerApiFp(this.configuration)
|
|
59722
|
+
.deleteEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, options)
|
|
59723
|
+
.then((request) => request(this.axios, this.basePath));
|
|
59724
|
+
}
|
|
57332
59725
|
/**
|
|
57333
59726
|
*
|
|
57334
59727
|
* @summary Delete a Metric
|
|
@@ -57537,6 +59930,19 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
|
|
|
57537
59930
|
.getAllEntitiesFilterContexts(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
57538
59931
|
.then((request) => request(this.axios, this.basePath));
|
|
57539
59932
|
}
|
|
59933
|
+
/**
|
|
59934
|
+
*
|
|
59935
|
+
* @summary Get all Filter views
|
|
59936
|
+
* @param {WorkspaceObjectControllerApiGetAllEntitiesFilterViewsRequest} requestParameters Request parameters.
|
|
59937
|
+
* @param {*} [options] Override http request option.
|
|
59938
|
+
* @throws {RequiredError}
|
|
59939
|
+
* @memberof WorkspaceObjectControllerApi
|
|
59940
|
+
*/
|
|
59941
|
+
getAllEntitiesFilterViews(requestParameters, options) {
|
|
59942
|
+
return WorkspaceObjectControllerApiFp(this.configuration)
|
|
59943
|
+
.getAllEntitiesFilterViews(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.include, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
59944
|
+
.then((request) => request(this.axios, this.basePath));
|
|
59945
|
+
}
|
|
57540
59946
|
/**
|
|
57541
59947
|
*
|
|
57542
59948
|
* @summary Get all Labels
|
|
@@ -57758,6 +60164,19 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
|
|
|
57758
60164
|
.getEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options)
|
|
57759
60165
|
.then((request) => request(this.axios, this.basePath));
|
|
57760
60166
|
}
|
|
60167
|
+
/**
|
|
60168
|
+
*
|
|
60169
|
+
* @summary Get Filter view
|
|
60170
|
+
* @param {WorkspaceObjectControllerApiGetEntityFilterViewsRequest} requestParameters Request parameters.
|
|
60171
|
+
* @param {*} [options] Override http request option.
|
|
60172
|
+
* @throws {RequiredError}
|
|
60173
|
+
* @memberof WorkspaceObjectControllerApi
|
|
60174
|
+
*/
|
|
60175
|
+
getEntityFilterViews(requestParameters, options) {
|
|
60176
|
+
return WorkspaceObjectControllerApiFp(this.configuration)
|
|
60177
|
+
.getEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.include, requestParameters.xGDCVALIDATERELATIONS, options)
|
|
60178
|
+
.then((request) => request(this.axios, this.basePath));
|
|
60179
|
+
}
|
|
57761
60180
|
/**
|
|
57762
60181
|
*
|
|
57763
60182
|
* @summary Get a Label
|
|
@@ -57940,6 +60359,19 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
|
|
|
57940
60359
|
.patchEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
57941
60360
|
.then((request) => request(this.axios, this.basePath));
|
|
57942
60361
|
}
|
|
60362
|
+
/**
|
|
60363
|
+
*
|
|
60364
|
+
* @summary Patch Filter view
|
|
60365
|
+
* @param {WorkspaceObjectControllerApiPatchEntityFilterViewsRequest} requestParameters Request parameters.
|
|
60366
|
+
* @param {*} [options] Override http request option.
|
|
60367
|
+
* @throws {RequiredError}
|
|
60368
|
+
* @memberof WorkspaceObjectControllerApi
|
|
60369
|
+
*/
|
|
60370
|
+
patchEntityFilterViews(requestParameters, options) {
|
|
60371
|
+
return WorkspaceObjectControllerApiFp(this.configuration)
|
|
60372
|
+
.patchEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewPatchDocument, requestParameters.filter, requestParameters.include, options)
|
|
60373
|
+
.then((request) => request(this.axios, this.basePath));
|
|
60374
|
+
}
|
|
57943
60375
|
/**
|
|
57944
60376
|
*
|
|
57945
60377
|
* @summary Patch a Metric
|
|
@@ -58109,6 +60541,19 @@ export class WorkspaceObjectControllerApi extends BaseAPI {
|
|
|
58109
60541
|
.updateEntityFilterContexts(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterContextInDocument, requestParameters.filter, requestParameters.include, options)
|
|
58110
60542
|
.then((request) => request(this.axios, this.basePath));
|
|
58111
60543
|
}
|
|
60544
|
+
/**
|
|
60545
|
+
*
|
|
60546
|
+
* @summary Put Filter views
|
|
60547
|
+
* @param {WorkspaceObjectControllerApiUpdateEntityFilterViewsRequest} requestParameters Request parameters.
|
|
60548
|
+
* @param {*} [options] Override http request option.
|
|
60549
|
+
* @throws {RequiredError}
|
|
60550
|
+
* @memberof WorkspaceObjectControllerApi
|
|
60551
|
+
*/
|
|
60552
|
+
updateEntityFilterViews(requestParameters, options) {
|
|
60553
|
+
return WorkspaceObjectControllerApiFp(this.configuration)
|
|
60554
|
+
.updateEntityFilterViews(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiFilterViewInDocument, requestParameters.filter, requestParameters.include, options)
|
|
60555
|
+
.then((request) => request(this.axios, this.basePath));
|
|
60556
|
+
}
|
|
58112
60557
|
/**
|
|
58113
60558
|
*
|
|
58114
60559
|
* @summary Put a Metric
|