@gooddata/api-client-tiger 10.6.0-alpha.2 → 10.6.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/__version.js.map +1 -1
- package/esm/api-client-tiger.d.ts +984 -701
- package/esm/generated/afm-rest-api/api.d.ts +13 -0
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +2 -12
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/afm-rest-api/openapi-spec.json +7 -1
- package/esm/generated/metadata-json-api/api.d.ts +944 -682
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +201 -35
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +3763 -3532
- package/esm/metadataUtilities.d.ts +2 -2
- package/esm/metadataUtilities.d.ts.map +1 -1
- package/esm/metadataUtilities.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* OpenAPI definition
|
|
4
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: v0
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
13
2
|
import globalAxios from "axios";
|
|
14
3
|
// Some imports not used depending on template conditions, we also need prettier-ignore so that the import does not get split and ts-ignore still works
|
|
15
4
|
// prettier-ignore
|
|
@@ -35,6 +24,13 @@ export const ApiEntitlementNameEnum = {
|
|
|
35
24
|
WHITE_LABELING: "WhiteLabeling",
|
|
36
25
|
WORKSPACE_COUNT: "WorkspaceCount",
|
|
37
26
|
USER_TELEMETRY_DISABLED: "UserTelemetryDisabled",
|
|
27
|
+
AUTOMATION_COUNT: "AutomationCount",
|
|
28
|
+
UNLIMITED_AUTOMATIONS: "UnlimitedAutomations",
|
|
29
|
+
AUTOMATION_RECIPIENT_COUNT: "AutomationRecipientCount",
|
|
30
|
+
UNLIMITED_AUTOMATION_RECIPIENTS: "UnlimitedAutomationRecipients",
|
|
31
|
+
DAILY_SCHEDULED_ACTION_COUNT: "DailyScheduledActionCount",
|
|
32
|
+
UNLIMITED_DAILY_SCHEDULED_ACTIONS: "UnlimitedDailyScheduledActions",
|
|
33
|
+
SCHEDULED_ACTION_MINIMUM_RECURRENCE_MINUTES: "ScheduledActionMinimumRecurrenceMinutes",
|
|
38
34
|
};
|
|
39
35
|
export const AssigneeIdentifierTypeEnum = {
|
|
40
36
|
USER: "user",
|
|
@@ -301,6 +297,13 @@ export const EntitlementsRequestEntitlementsNameEnum = {
|
|
|
301
297
|
WHITE_LABELING: "WhiteLabeling",
|
|
302
298
|
WORKSPACE_COUNT: "WorkspaceCount",
|
|
303
299
|
USER_TELEMETRY_DISABLED: "UserTelemetryDisabled",
|
|
300
|
+
AUTOMATION_COUNT: "AutomationCount",
|
|
301
|
+
UNLIMITED_AUTOMATIONS: "UnlimitedAutomations",
|
|
302
|
+
AUTOMATION_RECIPIENT_COUNT: "AutomationRecipientCount",
|
|
303
|
+
UNLIMITED_AUTOMATION_RECIPIENTS: "UnlimitedAutomationRecipients",
|
|
304
|
+
DAILY_SCHEDULED_ACTION_COUNT: "DailyScheduledActionCount",
|
|
305
|
+
UNLIMITED_DAILY_SCHEDULED_ACTIONS: "UnlimitedDailyScheduledActions",
|
|
306
|
+
SCHEDULED_ACTION_MINIMUM_RECURRENCE_MINUTES: "ScheduledActionMinimumRecurrenceMinutes",
|
|
304
307
|
};
|
|
305
308
|
export const EntityIdentifierTypeEnum = {
|
|
306
309
|
ANALYTICAL_DASHBOARD: "analyticalDashboard",
|
|
@@ -542,6 +545,10 @@ export const JsonApiDataSourceIdentifierOutAttributesTypeEnum = {
|
|
|
542
545
|
SINGLESTORE: "SINGLESTORE",
|
|
543
546
|
MOTHERDUCK: "MOTHERDUCK",
|
|
544
547
|
};
|
|
548
|
+
export const JsonApiDataSourceIdentifierOutMetaPermissionsEnum = {
|
|
549
|
+
MANAGE: "MANAGE",
|
|
550
|
+
USE: "USE",
|
|
551
|
+
};
|
|
545
552
|
export const JsonApiDataSourceIdentifierOutWithLinksTypeEnum = {
|
|
546
553
|
DATA_SOURCE_IDENTIFIER: "dataSourceIdentifier",
|
|
547
554
|
};
|
|
@@ -607,9 +614,10 @@ export const JsonApiDataSourceOutAttributesCacheStrategyEnum = {
|
|
|
607
614
|
ALWAYS: "ALWAYS",
|
|
608
615
|
NEVER: "NEVER",
|
|
609
616
|
};
|
|
610
|
-
export const
|
|
611
|
-
|
|
612
|
-
|
|
617
|
+
export const JsonApiDataSourceOutAttributesAuthenticationTypeEnum = {
|
|
618
|
+
USERNAME_PASSWORD: "USERNAME_PASSWORD",
|
|
619
|
+
TOKEN: "TOKEN",
|
|
620
|
+
KEY_PAIR: "KEY_PAIR",
|
|
613
621
|
};
|
|
614
622
|
export const JsonApiDataSourceOutWithLinksTypeEnum = {
|
|
615
623
|
DATA_SOURCE: "dataSource",
|
|
@@ -814,6 +822,10 @@ export const JsonApiNotificationChannelLinkageTypeEnum = {
|
|
|
814
822
|
export const JsonApiNotificationChannelOutTypeEnum = {
|
|
815
823
|
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
816
824
|
};
|
|
825
|
+
export const JsonApiNotificationChannelOutAttributesTriggersTypeEnum = {
|
|
826
|
+
SCHEDULE: "SCHEDULE",
|
|
827
|
+
ALERT: "ALERT",
|
|
828
|
+
};
|
|
817
829
|
export const JsonApiNotificationChannelOutWithLinksTypeEnum = {
|
|
818
830
|
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
819
831
|
};
|
|
@@ -823,10 +835,6 @@ export const JsonApiNotificationChannelPatchTypeEnum = {
|
|
|
823
835
|
export const JsonApiNotificationChannelPostOptionalIdTypeEnum = {
|
|
824
836
|
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
825
837
|
};
|
|
826
|
-
export const JsonApiNotificationChannelPostOptionalIdAttributesTriggersTypeEnum = {
|
|
827
|
-
SCHEDULE: "SCHEDULE",
|
|
828
|
-
ALERT: "ALERT",
|
|
829
|
-
};
|
|
830
838
|
export const JsonApiOrganizationInTypeEnum = {
|
|
831
839
|
ORGANIZATION: "organization",
|
|
832
840
|
};
|
|
@@ -847,22 +855,6 @@ export const JsonApiOrganizationPatchTypeEnum = {
|
|
|
847
855
|
export const JsonApiOrganizationSettingInTypeEnum = {
|
|
848
856
|
ORGANIZATION_SETTING: "organizationSetting",
|
|
849
857
|
};
|
|
850
|
-
export const JsonApiOrganizationSettingInAttributesTypeEnum = {
|
|
851
|
-
TIMEZONE: "TIMEZONE",
|
|
852
|
-
ACTIVE_THEME: "ACTIVE_THEME",
|
|
853
|
-
ACTIVE_COLOR_PALETTE: "ACTIVE_COLOR_PALETTE",
|
|
854
|
-
WHITE_LABELING: "WHITE_LABELING",
|
|
855
|
-
LOCALE: "LOCALE",
|
|
856
|
-
METADATA_LOCALE: "METADATA_LOCALE",
|
|
857
|
-
FORMAT_LOCALE: "FORMAT_LOCALE",
|
|
858
|
-
MAPBOX_TOKEN: "MAPBOX_TOKEN",
|
|
859
|
-
WEEK_START: "WEEK_START",
|
|
860
|
-
SHOW_HIDDEN_CATALOG_ITEMS: "SHOW_HIDDEN_CATALOG_ITEMS",
|
|
861
|
-
OPERATOR_OVERRIDES: "OPERATOR_OVERRIDES",
|
|
862
|
-
TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
|
|
863
|
-
OPENAI_CONFIG: "OPENAI_CONFIG",
|
|
864
|
-
ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
|
|
865
|
-
};
|
|
866
858
|
export const JsonApiOrganizationSettingOutTypeEnum = {
|
|
867
859
|
ORGANIZATION_SETTING: "organizationSetting",
|
|
868
860
|
};
|
|
@@ -941,6 +933,22 @@ export const JsonApiUserPatchTypeEnum = {
|
|
|
941
933
|
export const JsonApiUserSettingInTypeEnum = {
|
|
942
934
|
USER_SETTING: "userSetting",
|
|
943
935
|
};
|
|
936
|
+
export const JsonApiUserSettingInAttributesTypeEnum = {
|
|
937
|
+
TIMEZONE: "TIMEZONE",
|
|
938
|
+
ACTIVE_THEME: "ACTIVE_THEME",
|
|
939
|
+
ACTIVE_COLOR_PALETTE: "ACTIVE_COLOR_PALETTE",
|
|
940
|
+
WHITE_LABELING: "WHITE_LABELING",
|
|
941
|
+
LOCALE: "LOCALE",
|
|
942
|
+
METADATA_LOCALE: "METADATA_LOCALE",
|
|
943
|
+
FORMAT_LOCALE: "FORMAT_LOCALE",
|
|
944
|
+
MAPBOX_TOKEN: "MAPBOX_TOKEN",
|
|
945
|
+
WEEK_START: "WEEK_START",
|
|
946
|
+
SHOW_HIDDEN_CATALOG_ITEMS: "SHOW_HIDDEN_CATALOG_ITEMS",
|
|
947
|
+
OPERATOR_OVERRIDES: "OPERATOR_OVERRIDES",
|
|
948
|
+
TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
|
|
949
|
+
OPENAI_CONFIG: "OPENAI_CONFIG",
|
|
950
|
+
ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
|
|
951
|
+
};
|
|
944
952
|
export const JsonApiUserSettingOutTypeEnum = {
|
|
945
953
|
USER_SETTING: "userSetting",
|
|
946
954
|
};
|
|
@@ -1931,6 +1939,92 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
1931
1939
|
options: localVarRequestOptions,
|
|
1932
1940
|
};
|
|
1933
1941
|
},
|
|
1942
|
+
/**
|
|
1943
|
+
*
|
|
1944
|
+
* @param {string} workspaceId
|
|
1945
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
1946
|
+
* @param {number} [size] The size of the page to be returned.
|
|
1947
|
+
* @param {string} [name] Filter by user name. Note that user name is case insensitive.
|
|
1948
|
+
* @param {*} [options] Override http request option.
|
|
1949
|
+
* @throws {RequiredError}
|
|
1950
|
+
*/
|
|
1951
|
+
listWorkspaceUserGroups: async (workspaceId, page, size, name, options = {}) => {
|
|
1952
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1953
|
+
assertParamExists("listWorkspaceUserGroups", "workspaceId", workspaceId);
|
|
1954
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/userGroups`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1955
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1956
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1957
|
+
let baseOptions;
|
|
1958
|
+
if (configuration) {
|
|
1959
|
+
baseOptions = configuration.baseOptions;
|
|
1960
|
+
}
|
|
1961
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1962
|
+
const localVarHeaderParameter = {};
|
|
1963
|
+
const localVarQueryParameter = {};
|
|
1964
|
+
if (page !== undefined) {
|
|
1965
|
+
localVarQueryParameter["page"] = page;
|
|
1966
|
+
}
|
|
1967
|
+
if (size !== undefined) {
|
|
1968
|
+
localVarQueryParameter["size"] = size;
|
|
1969
|
+
}
|
|
1970
|
+
if (name !== undefined) {
|
|
1971
|
+
localVarQueryParameter["name"] = name;
|
|
1972
|
+
}
|
|
1973
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1974
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1975
|
+
localVarRequestOptions.headers = {
|
|
1976
|
+
...localVarHeaderParameter,
|
|
1977
|
+
...headersFromBaseOptions,
|
|
1978
|
+
...options.headers,
|
|
1979
|
+
};
|
|
1980
|
+
return {
|
|
1981
|
+
url: toPathString(localVarUrlObj),
|
|
1982
|
+
options: localVarRequestOptions,
|
|
1983
|
+
};
|
|
1984
|
+
},
|
|
1985
|
+
/**
|
|
1986
|
+
*
|
|
1987
|
+
* @param {string} workspaceId
|
|
1988
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
1989
|
+
* @param {number} [size] The size of the page to be returned.
|
|
1990
|
+
* @param {string} [name] Filter by user name. Note that user name is case insensitive.
|
|
1991
|
+
* @param {*} [options] Override http request option.
|
|
1992
|
+
* @throws {RequiredError}
|
|
1993
|
+
*/
|
|
1994
|
+
listWorkspaceUsers: async (workspaceId, page, size, name, options = {}) => {
|
|
1995
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1996
|
+
assertParamExists("listWorkspaceUsers", "workspaceId", workspaceId);
|
|
1997
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/users`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1998
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1999
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2000
|
+
let baseOptions;
|
|
2001
|
+
if (configuration) {
|
|
2002
|
+
baseOptions = configuration.baseOptions;
|
|
2003
|
+
}
|
|
2004
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2005
|
+
const localVarHeaderParameter = {};
|
|
2006
|
+
const localVarQueryParameter = {};
|
|
2007
|
+
if (page !== undefined) {
|
|
2008
|
+
localVarQueryParameter["page"] = page;
|
|
2009
|
+
}
|
|
2010
|
+
if (size !== undefined) {
|
|
2011
|
+
localVarQueryParameter["size"] = size;
|
|
2012
|
+
}
|
|
2013
|
+
if (name !== undefined) {
|
|
2014
|
+
localVarQueryParameter["name"] = name;
|
|
2015
|
+
}
|
|
2016
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2017
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2018
|
+
localVarRequestOptions.headers = {
|
|
2019
|
+
...localVarHeaderParameter,
|
|
2020
|
+
...headersFromBaseOptions,
|
|
2021
|
+
...options.headers,
|
|
2022
|
+
};
|
|
2023
|
+
return {
|
|
2024
|
+
url: toPathString(localVarUrlObj),
|
|
2025
|
+
options: localVarRequestOptions,
|
|
2026
|
+
};
|
|
2027
|
+
},
|
|
1934
2028
|
/**
|
|
1935
2029
|
*
|
|
1936
2030
|
* @summary Manage Permissions for a Dashboard
|
|
@@ -2625,6 +2719,32 @@ export const ActionsApiFp = function (configuration) {
|
|
|
2625
2719
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inheritedEntityPrefixes(workspaceId, options);
|
|
2626
2720
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2627
2721
|
},
|
|
2722
|
+
/**
|
|
2723
|
+
*
|
|
2724
|
+
* @param {string} workspaceId
|
|
2725
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
2726
|
+
* @param {number} [size] The size of the page to be returned.
|
|
2727
|
+
* @param {string} [name] Filter by user name. Note that user name is case insensitive.
|
|
2728
|
+
* @param {*} [options] Override http request option.
|
|
2729
|
+
* @throws {RequiredError}
|
|
2730
|
+
*/
|
|
2731
|
+
async listWorkspaceUserGroups(workspaceId, page, size, name, options) {
|
|
2732
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listWorkspaceUserGroups(workspaceId, page, size, name, options);
|
|
2733
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2734
|
+
},
|
|
2735
|
+
/**
|
|
2736
|
+
*
|
|
2737
|
+
* @param {string} workspaceId
|
|
2738
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
2739
|
+
* @param {number} [size] The size of the page to be returned.
|
|
2740
|
+
* @param {string} [name] Filter by user name. Note that user name is case insensitive.
|
|
2741
|
+
* @param {*} [options] Override http request option.
|
|
2742
|
+
* @throws {RequiredError}
|
|
2743
|
+
*/
|
|
2744
|
+
async listWorkspaceUsers(workspaceId, page, size, name, options) {
|
|
2745
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listWorkspaceUsers(workspaceId, page, size, name, options);
|
|
2746
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2747
|
+
},
|
|
2628
2748
|
/**
|
|
2629
2749
|
*
|
|
2630
2750
|
* @summary Manage Permissions for a Dashboard
|
|
@@ -2933,6 +3053,28 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
2933
3053
|
.inheritedEntityPrefixes(requestParameters.workspaceId, options)
|
|
2934
3054
|
.then((request) => request(axios, basePath));
|
|
2935
3055
|
},
|
|
3056
|
+
/**
|
|
3057
|
+
*
|
|
3058
|
+
* @param {ActionsApiListWorkspaceUserGroupsRequest} requestParameters Request parameters.
|
|
3059
|
+
* @param {*} [options] Override http request option.
|
|
3060
|
+
* @throws {RequiredError}
|
|
3061
|
+
*/
|
|
3062
|
+
listWorkspaceUserGroups(requestParameters, options) {
|
|
3063
|
+
return localVarFp
|
|
3064
|
+
.listWorkspaceUserGroups(requestParameters.workspaceId, requestParameters.page, requestParameters.size, requestParameters.name, options)
|
|
3065
|
+
.then((request) => request(axios, basePath));
|
|
3066
|
+
},
|
|
3067
|
+
/**
|
|
3068
|
+
*
|
|
3069
|
+
* @param {ActionsApiListWorkspaceUsersRequest} requestParameters Request parameters.
|
|
3070
|
+
* @param {*} [options] Override http request option.
|
|
3071
|
+
* @throws {RequiredError}
|
|
3072
|
+
*/
|
|
3073
|
+
listWorkspaceUsers(requestParameters, options) {
|
|
3074
|
+
return localVarFp
|
|
3075
|
+
.listWorkspaceUsers(requestParameters.workspaceId, requestParameters.page, requestParameters.size, requestParameters.name, options)
|
|
3076
|
+
.then((request) => request(axios, basePath));
|
|
3077
|
+
},
|
|
2936
3078
|
/**
|
|
2937
3079
|
*
|
|
2938
3080
|
* @summary Manage Permissions for a Dashboard
|
|
@@ -3260,6 +3402,30 @@ export class ActionsApi extends BaseAPI {
|
|
|
3260
3402
|
.inheritedEntityPrefixes(requestParameters.workspaceId, options)
|
|
3261
3403
|
.then((request) => request(this.axios, this.basePath));
|
|
3262
3404
|
}
|
|
3405
|
+
/**
|
|
3406
|
+
*
|
|
3407
|
+
* @param {ActionsApiListWorkspaceUserGroupsRequest} requestParameters Request parameters.
|
|
3408
|
+
* @param {*} [options] Override http request option.
|
|
3409
|
+
* @throws {RequiredError}
|
|
3410
|
+
* @memberof ActionsApi
|
|
3411
|
+
*/
|
|
3412
|
+
listWorkspaceUserGroups(requestParameters, options) {
|
|
3413
|
+
return ActionsApiFp(this.configuration)
|
|
3414
|
+
.listWorkspaceUserGroups(requestParameters.workspaceId, requestParameters.page, requestParameters.size, requestParameters.name, options)
|
|
3415
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3416
|
+
}
|
|
3417
|
+
/**
|
|
3418
|
+
*
|
|
3419
|
+
* @param {ActionsApiListWorkspaceUsersRequest} requestParameters Request parameters.
|
|
3420
|
+
* @param {*} [options] Override http request option.
|
|
3421
|
+
* @throws {RequiredError}
|
|
3422
|
+
* @memberof ActionsApi
|
|
3423
|
+
*/
|
|
3424
|
+
listWorkspaceUsers(requestParameters, options) {
|
|
3425
|
+
return ActionsApiFp(this.configuration)
|
|
3426
|
+
.listWorkspaceUsers(requestParameters.workspaceId, requestParameters.page, requestParameters.size, requestParameters.name, options)
|
|
3427
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3428
|
+
}
|
|
3263
3429
|
/**
|
|
3264
3430
|
*
|
|
3265
3431
|
* @summary Manage Permissions for a Dashboard
|