@gooddata/api-client-tiger 10.7.0-alpha.1 → 10.7.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/api-client-tiger.d.ts +1488 -1183
- package/esm/execution.d.ts +1 -1
- package/esm/execution.d.ts.map +1 -1
- package/esm/execution.js.map +1 -1
- package/esm/generated/afm-rest-api/api.d.ts +206 -0
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +166 -0
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/afm-rest-api/openapi-spec.json +105 -0
- package/esm/generated/metadata-json-api/api.d.ts +1324 -1176
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +199 -24
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +4470 -4442
- package/esm/generated/scan-json-api/api.d.ts +1 -0
- package/esm/generated/scan-json-api/api.d.ts.map +1 -1
- package/esm/generated/scan-json-api/api.js +2 -12
- package/esm/generated/scan-json-api/api.js.map +1 -1
- package/esm/generated/scan-json-api/openapi-spec.json +2 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -121,6 +121,7 @@ export const DeclarativeDataSourceTypeEnum = {
|
|
|
121
121
|
PINOT: "PINOT",
|
|
122
122
|
SINGLESTORE: "SINGLESTORE",
|
|
123
123
|
MOTHERDUCK: "MOTHERDUCK",
|
|
124
|
+
FLIGHTRPC: "FLIGHTRPC",
|
|
124
125
|
};
|
|
125
126
|
export const DeclarativeDataSourceCacheStrategyEnum = {
|
|
126
127
|
ALWAYS: "ALWAYS",
|
|
@@ -544,10 +545,7 @@ export const JsonApiDataSourceIdentifierOutAttributesTypeEnum = {
|
|
|
544
545
|
PINOT: "PINOT",
|
|
545
546
|
SINGLESTORE: "SINGLESTORE",
|
|
546
547
|
MOTHERDUCK: "MOTHERDUCK",
|
|
547
|
-
|
|
548
|
-
export const JsonApiDataSourceIdentifierOutMetaPermissionsEnum = {
|
|
549
|
-
MANAGE: "MANAGE",
|
|
550
|
-
USE: "USE",
|
|
548
|
+
FLIGHTRPC: "FLIGHTRPC",
|
|
551
549
|
};
|
|
552
550
|
export const JsonApiDataSourceIdentifierOutWithLinksTypeEnum = {
|
|
553
551
|
DATA_SOURCE_IDENTIFIER: "dataSourceIdentifier",
|
|
@@ -578,6 +576,7 @@ export const JsonApiDataSourceInAttributesTypeEnum = {
|
|
|
578
576
|
PINOT: "PINOT",
|
|
579
577
|
SINGLESTORE: "SINGLESTORE",
|
|
580
578
|
MOTHERDUCK: "MOTHERDUCK",
|
|
579
|
+
FLIGHTRPC: "FLIGHTRPC",
|
|
581
580
|
};
|
|
582
581
|
export const JsonApiDataSourceInAttributesCacheStrategyEnum = {
|
|
583
582
|
ALWAYS: "ALWAYS",
|
|
@@ -609,6 +608,7 @@ export const JsonApiDataSourceOutAttributesTypeEnum = {
|
|
|
609
608
|
PINOT: "PINOT",
|
|
610
609
|
SINGLESTORE: "SINGLESTORE",
|
|
611
610
|
MOTHERDUCK: "MOTHERDUCK",
|
|
611
|
+
FLIGHTRPC: "FLIGHTRPC",
|
|
612
612
|
};
|
|
613
613
|
export const JsonApiDataSourceOutAttributesCacheStrategyEnum = {
|
|
614
614
|
ALWAYS: "ALWAYS",
|
|
@@ -619,6 +619,10 @@ export const JsonApiDataSourceOutAttributesAuthenticationTypeEnum = {
|
|
|
619
619
|
TOKEN: "TOKEN",
|
|
620
620
|
KEY_PAIR: "KEY_PAIR",
|
|
621
621
|
};
|
|
622
|
+
export const JsonApiDataSourceOutMetaPermissionsEnum = {
|
|
623
|
+
MANAGE: "MANAGE",
|
|
624
|
+
USE: "USE",
|
|
625
|
+
};
|
|
622
626
|
export const JsonApiDataSourceOutWithLinksTypeEnum = {
|
|
623
627
|
DATA_SOURCE: "dataSource",
|
|
624
628
|
};
|
|
@@ -648,6 +652,7 @@ export const JsonApiDataSourcePatchAttributesTypeEnum = {
|
|
|
648
652
|
PINOT: "PINOT",
|
|
649
653
|
SINGLESTORE: "SINGLESTORE",
|
|
650
654
|
MOTHERDUCK: "MOTHERDUCK",
|
|
655
|
+
FLIGHTRPC: "FLIGHTRPC",
|
|
651
656
|
};
|
|
652
657
|
export const JsonApiDataSourcePatchAttributesCacheStrategyEnum = {
|
|
653
658
|
ALWAYS: "ALWAYS",
|
|
@@ -816,16 +821,16 @@ export const JsonApiMetricPostOptionalIdTypeEnum = {
|
|
|
816
821
|
export const JsonApiNotificationChannelInTypeEnum = {
|
|
817
822
|
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
818
823
|
};
|
|
824
|
+
export const JsonApiNotificationChannelInAttributesTriggersTypeEnum = {
|
|
825
|
+
SCHEDULE: "SCHEDULE",
|
|
826
|
+
ALERT: "ALERT",
|
|
827
|
+
};
|
|
819
828
|
export const JsonApiNotificationChannelLinkageTypeEnum = {
|
|
820
829
|
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
821
830
|
};
|
|
822
831
|
export const JsonApiNotificationChannelOutTypeEnum = {
|
|
823
832
|
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
824
833
|
};
|
|
825
|
-
export const JsonApiNotificationChannelOutAttributesTriggersTypeEnum = {
|
|
826
|
-
SCHEDULE: "SCHEDULE",
|
|
827
|
-
ALERT: "ALERT",
|
|
828
|
-
};
|
|
829
834
|
export const JsonApiNotificationChannelOutWithLinksTypeEnum = {
|
|
830
835
|
NOTIFICATION_CHANNEL: "notificationChannel",
|
|
831
836
|
};
|
|
@@ -855,6 +860,22 @@ export const JsonApiOrganizationPatchTypeEnum = {
|
|
|
855
860
|
export const JsonApiOrganizationSettingInTypeEnum = {
|
|
856
861
|
ORGANIZATION_SETTING: "organizationSetting",
|
|
857
862
|
};
|
|
863
|
+
export const JsonApiOrganizationSettingInAttributesTypeEnum = {
|
|
864
|
+
TIMEZONE: "TIMEZONE",
|
|
865
|
+
ACTIVE_THEME: "ACTIVE_THEME",
|
|
866
|
+
ACTIVE_COLOR_PALETTE: "ACTIVE_COLOR_PALETTE",
|
|
867
|
+
WHITE_LABELING: "WHITE_LABELING",
|
|
868
|
+
LOCALE: "LOCALE",
|
|
869
|
+
METADATA_LOCALE: "METADATA_LOCALE",
|
|
870
|
+
FORMAT_LOCALE: "FORMAT_LOCALE",
|
|
871
|
+
MAPBOX_TOKEN: "MAPBOX_TOKEN",
|
|
872
|
+
WEEK_START: "WEEK_START",
|
|
873
|
+
SHOW_HIDDEN_CATALOG_ITEMS: "SHOW_HIDDEN_CATALOG_ITEMS",
|
|
874
|
+
OPERATOR_OVERRIDES: "OPERATOR_OVERRIDES",
|
|
875
|
+
TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
|
|
876
|
+
OPENAI_CONFIG: "OPENAI_CONFIG",
|
|
877
|
+
ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
|
|
878
|
+
};
|
|
858
879
|
export const JsonApiOrganizationSettingOutTypeEnum = {
|
|
859
880
|
ORGANIZATION_SETTING: "organizationSetting",
|
|
860
881
|
};
|
|
@@ -933,22 +954,6 @@ export const JsonApiUserPatchTypeEnum = {
|
|
|
933
954
|
export const JsonApiUserSettingInTypeEnum = {
|
|
934
955
|
USER_SETTING: "userSetting",
|
|
935
956
|
};
|
|
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
|
-
};
|
|
952
957
|
export const JsonApiUserSettingOutTypeEnum = {
|
|
953
958
|
USER_SETTING: "userSetting",
|
|
954
959
|
};
|
|
@@ -1175,6 +1180,108 @@ export const WorkspacePermissionAssignmentHierarchyPermissionsEnum = {
|
|
|
1175
1180
|
EXPORT_PDF: "EXPORT_PDF",
|
|
1176
1181
|
VIEW: "VIEW",
|
|
1177
1182
|
};
|
|
1183
|
+
/**
|
|
1184
|
+
* AIApi - axios parameter creator
|
|
1185
|
+
* @export
|
|
1186
|
+
*/
|
|
1187
|
+
export const AIApiAxiosParamCreator = function (configuration) {
|
|
1188
|
+
return {
|
|
1189
|
+
/**
|
|
1190
|
+
* (BETA) Temporary solution. Later relevant metadata actions will trigger it in its scope only.
|
|
1191
|
+
* @summary (BETA) Sync Metadata to AI services
|
|
1192
|
+
* @param {string} workspaceId
|
|
1193
|
+
* @param {*} [options] Override http request option.
|
|
1194
|
+
* @throws {RequiredError}
|
|
1195
|
+
*/
|
|
1196
|
+
metadataSync: async (workspaceId, options = {}) => {
|
|
1197
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1198
|
+
assertParamExists("metadataSync", "workspaceId", workspaceId);
|
|
1199
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/metadataSync`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1200
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1201
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1202
|
+
let baseOptions;
|
|
1203
|
+
if (configuration) {
|
|
1204
|
+
baseOptions = configuration.baseOptions;
|
|
1205
|
+
}
|
|
1206
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1207
|
+
const localVarHeaderParameter = {};
|
|
1208
|
+
const localVarQueryParameter = {};
|
|
1209
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1210
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1211
|
+
localVarRequestOptions.headers = {
|
|
1212
|
+
...localVarHeaderParameter,
|
|
1213
|
+
...headersFromBaseOptions,
|
|
1214
|
+
...options.headers,
|
|
1215
|
+
};
|
|
1216
|
+
return {
|
|
1217
|
+
url: toPathString(localVarUrlObj),
|
|
1218
|
+
options: localVarRequestOptions,
|
|
1219
|
+
};
|
|
1220
|
+
},
|
|
1221
|
+
};
|
|
1222
|
+
};
|
|
1223
|
+
/**
|
|
1224
|
+
* AIApi - functional programming interface
|
|
1225
|
+
* @export
|
|
1226
|
+
*/
|
|
1227
|
+
export const AIApiFp = function (configuration) {
|
|
1228
|
+
const localVarAxiosParamCreator = AIApiAxiosParamCreator(configuration);
|
|
1229
|
+
return {
|
|
1230
|
+
/**
|
|
1231
|
+
* (BETA) Temporary solution. Later relevant metadata actions will trigger it in its scope only.
|
|
1232
|
+
* @summary (BETA) Sync Metadata to AI services
|
|
1233
|
+
* @param {string} workspaceId
|
|
1234
|
+
* @param {*} [options] Override http request option.
|
|
1235
|
+
* @throws {RequiredError}
|
|
1236
|
+
*/
|
|
1237
|
+
async metadataSync(workspaceId, options) {
|
|
1238
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.metadataSync(workspaceId, options);
|
|
1239
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1240
|
+
},
|
|
1241
|
+
};
|
|
1242
|
+
};
|
|
1243
|
+
/**
|
|
1244
|
+
* AIApi - factory interface
|
|
1245
|
+
* @export
|
|
1246
|
+
*/
|
|
1247
|
+
export const AIApiFactory = function (configuration, basePath, axios) {
|
|
1248
|
+
const localVarFp = AIApiFp(configuration);
|
|
1249
|
+
return {
|
|
1250
|
+
/**
|
|
1251
|
+
* (BETA) Temporary solution. Later relevant metadata actions will trigger it in its scope only.
|
|
1252
|
+
* @summary (BETA) Sync Metadata to AI services
|
|
1253
|
+
* @param {AIApiMetadataSyncRequest} requestParameters Request parameters.
|
|
1254
|
+
* @param {*} [options] Override http request option.
|
|
1255
|
+
* @throws {RequiredError}
|
|
1256
|
+
*/
|
|
1257
|
+
metadataSync(requestParameters, options) {
|
|
1258
|
+
return localVarFp
|
|
1259
|
+
.metadataSync(requestParameters.workspaceId, options)
|
|
1260
|
+
.then((request) => request(axios, basePath));
|
|
1261
|
+
},
|
|
1262
|
+
};
|
|
1263
|
+
};
|
|
1264
|
+
/**
|
|
1265
|
+
* AIApi - object-oriented interface
|
|
1266
|
+
* @export
|
|
1267
|
+
* @class AIApi
|
|
1268
|
+
* @extends {BaseAPI}
|
|
1269
|
+
*/
|
|
1270
|
+
export class AIApi extends BaseAPI {
|
|
1271
|
+
/**
|
|
1272
|
+
* (BETA) Temporary solution. Later relevant metadata actions will trigger it in its scope only.
|
|
1273
|
+
* @summary (BETA) Sync Metadata to AI services
|
|
1274
|
+
* @param {AIApiMetadataSyncRequest} requestParameters Request parameters.
|
|
1275
|
+
* @param {*} [options] Override http request option.
|
|
1276
|
+
* @throws {RequiredError}
|
|
1277
|
+
* @memberof AIApi
|
|
1278
|
+
*/
|
|
1279
|
+
metadataSync(requestParameters, options) {
|
|
1280
|
+
return AIApiFp(this.configuration)
|
|
1281
|
+
.metadataSync(requestParameters.workspaceId, options)
|
|
1282
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1178
1285
|
/**
|
|
1179
1286
|
* APITokensApi - axios parameter creator
|
|
1180
1287
|
* @export
|
|
@@ -2193,6 +2300,38 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
2193
2300
|
options: localVarRequestOptions,
|
|
2194
2301
|
};
|
|
2195
2302
|
},
|
|
2303
|
+
/**
|
|
2304
|
+
* (BETA) Temporary solution. Later relevant metadata actions will trigger it in its scope only.
|
|
2305
|
+
* @summary (BETA) Sync Metadata to AI services
|
|
2306
|
+
* @param {string} workspaceId
|
|
2307
|
+
* @param {*} [options] Override http request option.
|
|
2308
|
+
* @throws {RequiredError}
|
|
2309
|
+
*/
|
|
2310
|
+
metadataSync: async (workspaceId, options = {}) => {
|
|
2311
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
2312
|
+
assertParamExists("metadataSync", "workspaceId", workspaceId);
|
|
2313
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/metadataSync`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
2314
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2315
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2316
|
+
let baseOptions;
|
|
2317
|
+
if (configuration) {
|
|
2318
|
+
baseOptions = configuration.baseOptions;
|
|
2319
|
+
}
|
|
2320
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2321
|
+
const localVarHeaderParameter = {};
|
|
2322
|
+
const localVarQueryParameter = {};
|
|
2323
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2324
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2325
|
+
localVarRequestOptions.headers = {
|
|
2326
|
+
...localVarHeaderParameter,
|
|
2327
|
+
...headersFromBaseOptions,
|
|
2328
|
+
...options.headers,
|
|
2329
|
+
};
|
|
2330
|
+
return {
|
|
2331
|
+
url: toPathString(localVarUrlObj),
|
|
2332
|
+
options: localVarRequestOptions,
|
|
2333
|
+
};
|
|
2334
|
+
},
|
|
2196
2335
|
/**
|
|
2197
2336
|
* Finds API identifier overrides in given workspace hierarchy.
|
|
2198
2337
|
* @summary Finds identifier overrides in workspace hierarchy.
|
|
@@ -2793,6 +2932,17 @@ export const ActionsApiFp = function (configuration) {
|
|
|
2793
2932
|
const localVarAxiosArgs = await localVarAxiosParamCreator.manageWorkspacePermissions(workspaceId, workspacePermissionAssignment, options);
|
|
2794
2933
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2795
2934
|
},
|
|
2935
|
+
/**
|
|
2936
|
+
* (BETA) Temporary solution. Later relevant metadata actions will trigger it in its scope only.
|
|
2937
|
+
* @summary (BETA) Sync Metadata to AI services
|
|
2938
|
+
* @param {string} workspaceId
|
|
2939
|
+
* @param {*} [options] Override http request option.
|
|
2940
|
+
* @throws {RequiredError}
|
|
2941
|
+
*/
|
|
2942
|
+
async metadataSync(workspaceId, options) {
|
|
2943
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.metadataSync(workspaceId, options);
|
|
2944
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2945
|
+
},
|
|
2796
2946
|
/**
|
|
2797
2947
|
* Finds API identifier overrides in given workspace hierarchy.
|
|
2798
2948
|
* @summary Finds identifier overrides in workspace hierarchy.
|
|
@@ -3123,6 +3273,18 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
3123
3273
|
.manageWorkspacePermissions(requestParameters.workspaceId, requestParameters.workspacePermissionAssignment, options)
|
|
3124
3274
|
.then((request) => request(axios, basePath));
|
|
3125
3275
|
},
|
|
3276
|
+
/**
|
|
3277
|
+
* (BETA) Temporary solution. Later relevant metadata actions will trigger it in its scope only.
|
|
3278
|
+
* @summary (BETA) Sync Metadata to AI services
|
|
3279
|
+
* @param {ActionsApiMetadataSyncRequest} requestParameters Request parameters.
|
|
3280
|
+
* @param {*} [options] Override http request option.
|
|
3281
|
+
* @throws {RequiredError}
|
|
3282
|
+
*/
|
|
3283
|
+
metadataSync(requestParameters, options) {
|
|
3284
|
+
return localVarFp
|
|
3285
|
+
.metadataSync(requestParameters.workspaceId, options)
|
|
3286
|
+
.then((request) => request(axios, basePath));
|
|
3287
|
+
},
|
|
3126
3288
|
/**
|
|
3127
3289
|
* Finds API identifier overrides in given workspace hierarchy.
|
|
3128
3290
|
* @summary Finds identifier overrides in workspace hierarchy.
|
|
@@ -3478,6 +3640,19 @@ export class ActionsApi extends BaseAPI {
|
|
|
3478
3640
|
.manageWorkspacePermissions(requestParameters.workspaceId, requestParameters.workspacePermissionAssignment, options)
|
|
3479
3641
|
.then((request) => request(this.axios, this.basePath));
|
|
3480
3642
|
}
|
|
3643
|
+
/**
|
|
3644
|
+
* (BETA) Temporary solution. Later relevant metadata actions will trigger it in its scope only.
|
|
3645
|
+
* @summary (BETA) Sync Metadata to AI services
|
|
3646
|
+
* @param {ActionsApiMetadataSyncRequest} requestParameters Request parameters.
|
|
3647
|
+
* @param {*} [options] Override http request option.
|
|
3648
|
+
* @throws {RequiredError}
|
|
3649
|
+
* @memberof ActionsApi
|
|
3650
|
+
*/
|
|
3651
|
+
metadataSync(requestParameters, options) {
|
|
3652
|
+
return ActionsApiFp(this.configuration)
|
|
3653
|
+
.metadataSync(requestParameters.workspaceId, options)
|
|
3654
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3655
|
+
}
|
|
3481
3656
|
/**
|
|
3482
3657
|
* Finds API identifier overrides in given workspace hierarchy.
|
|
3483
3658
|
* @summary Finds identifier overrides in workspace hierarchy.
|