@digital-ai/dot-components 5.5.1 → 5.6.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/index.esm.js +506 -660
- package/package.json +1 -1
- package/src/lib/components/analytics/dashboard-actions/DashboardOptionsMenu.d.ts +1 -3
- package/src/lib/components/analytics/dashboard-dialog/DashboardDialog.d.ts +2 -2
- package/src/lib/components/analytics/metadata-api/openapi/core/ApiError.d.ts +1 -3
- package/src/lib/components/analytics/metadata-api/openapi/core/ApiRequestOptions.d.ts +1 -2
- package/src/lib/components/analytics/metadata-api/openapi/core/OpenAPI.d.ts +7 -8
- package/src/lib/components/analytics/metadata-api/openapi/core/request.d.ts +4 -25
- package/src/lib/components/analytics/metadata-api/openapi/index.d.ts +0 -3
- package/src/lib/components/analytics/metadata-api/openapi/models/DashboardCreateBody.d.ts +0 -4
- package/src/lib/components/analytics/metadata-api/openapi/models/DashboardPatchBody.d.ts +0 -4
- package/src/lib/components/analytics/metadata-api/openapi/models/DashboardPutBody.d.ts +0 -4
- package/src/lib/components/analytics/metadata-api/openapi/models/DashboardView.d.ts +1 -5
- package/src/lib/components/analytics/metadata-api/openapi/models/HelpContentCreateBody.d.ts +1 -1
- package/src/lib/components/analytics/metadata-api/openapi/models/HelpContentPutBody.d.ts +1 -1
- package/src/lib/components/analytics/metadata-api/openapi/services/BiService.d.ts +6 -7
- package/src/lib/components/analytics/metadata-api/openapi/services/CategoriesService.d.ts +2 -3
- package/src/lib/components/analytics/metadata-api/openapi/services/DashboardsService.d.ts +16 -17
- package/src/lib/components/analytics/metadata-api/openapi/services/DatalakeService.d.ts +1 -2
- package/src/lib/components/analytics/metadata-api/openapi/services/EntitiesService.d.ts +5 -6
- package/src/lib/components/analytics/metadata-api/openapi/services/EntityAttributesService.d.ts +6 -7
- package/src/lib/components/analytics/metadata-api/openapi/services/EntityClassService.d.ts +5 -6
- package/src/lib/components/analytics/metadata-api/openapi/services/HelpContentService.d.ts +7 -8
- package/src/lib/components/analytics/metadata-api/openapi/services/MrProxyService.d.ts +4 -5
- package/src/lib/components/analytics/metadata-api/openapi/services/OriginInstancesService.d.ts +5 -6
- package/src/lib/components/analytics/metadata-api/openapi/services/OriginsService.d.ts +5 -6
- package/src/lib/components/analytics/metadata-api/openapi/services/ProductsService.d.ts +10 -11
- package/src/lib/components/analytics/metadata-api/openapi/services/UtilityService.d.ts +6 -7
- package/src/lib/components/analytics/metadata-api/openapi/core/CancelablePromise.d.ts +0 -20
- package/src/lib/components/analytics/metadata-api/openapi/models/X_Digitalai_Account_ID.d.ts +0 -4
package/package.json
CHANGED
|
@@ -8,8 +8,6 @@ interface DashboardOptionsMenuProps {
|
|
|
8
8
|
isEdit?: boolean;
|
|
9
9
|
menuPlacement?: PopperPlacement;
|
|
10
10
|
onDetails?: (dashboard: DashboardView) => void;
|
|
11
|
-
/** Called when the dashboard is being added/removed from featured page. */
|
|
12
|
-
onFeature?: (dashboard: DashboardView) => void;
|
|
13
11
|
onStartDelete?: (dashboard: DashboardView) => void;
|
|
14
12
|
onStartDuplicate?: (dashboard: DashboardView) => void;
|
|
15
13
|
onStartRevert?: (dashboard: DashboardView) => void;
|
|
@@ -18,5 +16,5 @@ interface DashboardOptionsMenuProps {
|
|
|
18
16
|
onViewMode?: (dashboard: DashboardView, mode: string) => void;
|
|
19
17
|
onViewOriginal?: (dashboard: DashboardView) => void;
|
|
20
18
|
}
|
|
21
|
-
export declare function DotDashboardOptionsMenu({ dashboard, currentUser, isEdit, menuPlacement,
|
|
19
|
+
export declare function DotDashboardOptionsMenu({ dashboard, currentUser, isEdit, menuPlacement, onStartDelete, onStartDuplicate, onStartStatusChange, onStartRevert, onUpdatedProperties, onViewOriginal, onViewMode, onDetails, }: DashboardOptionsMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
22
20
|
export {};
|
|
@@ -18,9 +18,9 @@ interface DashboardDialogProps {
|
|
|
18
18
|
/** Categories for dashboard publishing **/
|
|
19
19
|
availableCategories: string[];
|
|
20
20
|
/** Dashboard to copy when creating a new dashoard. **/
|
|
21
|
-
copyDashboard?: DashboardView
|
|
21
|
+
copyDashboard?: DashboardView;
|
|
22
22
|
/** Dashboard to edit **/
|
|
23
|
-
editDashboard?: DashboardView
|
|
23
|
+
editDashboard?: DashboardView;
|
|
24
24
|
/** config object which can be used to disable certain fields **/
|
|
25
25
|
fieldConfig?: FieldConfig;
|
|
26
26
|
/** An optional info messages **/
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
2
1
|
import type { ApiResult } from './ApiResult';
|
|
3
2
|
export declare class ApiError extends Error {
|
|
4
3
|
readonly url: string;
|
|
5
4
|
readonly status: number;
|
|
6
5
|
readonly statusText: string;
|
|
7
6
|
readonly body: any;
|
|
8
|
-
|
|
9
|
-
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
7
|
+
constructor(response: ApiResult, message: string);
|
|
10
8
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export type ApiRequestOptions = {
|
|
2
2
|
readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
|
|
3
|
-
readonly
|
|
4
|
-
readonly path?: Record<string, any>;
|
|
3
|
+
readonly path: string;
|
|
5
4
|
readonly cookies?: Record<string, any>;
|
|
6
5
|
readonly headers?: Record<string, any>;
|
|
7
6
|
readonly query?: Record<string, any>;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
2
2
|
type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
|
|
3
3
|
type Headers = Record<string, string>;
|
|
4
|
-
|
|
4
|
+
type Config = {
|
|
5
5
|
BASE: string;
|
|
6
6
|
VERSION: string;
|
|
7
7
|
WITH_CREDENTIALS: boolean;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
ENCODE_PATH?: ((path: string) => string) | undefined;
|
|
8
|
+
TOKEN?: string | Resolver<string>;
|
|
9
|
+
USERNAME?: string | Resolver<string>;
|
|
10
|
+
PASSWORD?: string | Resolver<string>;
|
|
11
|
+
HEADERS?: Headers | Resolver<Headers>;
|
|
12
|
+
ENCODE_PATH?: (path: string) => string;
|
|
14
13
|
};
|
|
15
|
-
export declare const OpenAPI:
|
|
14
|
+
export declare const OpenAPI: Config;
|
|
16
15
|
export {};
|
|
@@ -1,30 +1,9 @@
|
|
|
1
1
|
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
2
2
|
import type { ApiResult } from './ApiResult';
|
|
3
|
-
import { CancelablePromise } from './CancelablePromise';
|
|
4
|
-
import type { OnCancel } from './CancelablePromise';
|
|
5
|
-
import type { OpenAPIConfig } from './OpenAPI';
|
|
6
|
-
export declare const isDefined: <T>(value: T | null | undefined) => value is Exclude<T, null | undefined>;
|
|
7
|
-
export declare const isString: (value: any) => value is string;
|
|
8
|
-
export declare const isStringWithValue: (value: any) => value is string;
|
|
9
|
-
export declare const isBlob: (value: any) => value is Blob;
|
|
10
|
-
export declare const isFormData: (value: any) => value is FormData;
|
|
11
|
-
export declare const base64: (str: string) => string;
|
|
12
|
-
export declare const getQueryString: (params: Record<string, any>) => string;
|
|
13
|
-
export declare const getFormData: (options: ApiRequestOptions) => FormData | undefined;
|
|
14
|
-
type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
|
|
15
|
-
export declare const resolve: <T>(options: ApiRequestOptions, resolver?: T | Resolver<T>) => Promise<T | undefined>;
|
|
16
|
-
export declare const getHeaders: (config: OpenAPIConfig, options: ApiRequestOptions) => Promise<Headers>;
|
|
17
|
-
export declare const getRequestBody: (options: ApiRequestOptions) => any;
|
|
18
|
-
export declare const sendRequest: (config: OpenAPIConfig, options: ApiRequestOptions, url: string, body: any, formData: FormData | undefined, headers: Headers, onCancel: OnCancel) => Promise<Response>;
|
|
19
|
-
export declare const getResponseHeader: (response: Response, responseHeader?: string) => string | undefined;
|
|
20
|
-
export declare const getResponseBody: (response: Response) => Promise<any>;
|
|
21
|
-
export declare const catchErrorCodes: (options: ApiRequestOptions, result: ApiResult) => void;
|
|
22
3
|
/**
|
|
23
|
-
* Request
|
|
24
|
-
* @param
|
|
25
|
-
* @
|
|
26
|
-
* @returns CancelablePromise<T>
|
|
4
|
+
* Request using fetch client
|
|
5
|
+
* @param options The request options from the the service
|
|
6
|
+
* @returns ApiResult
|
|
27
7
|
* @throws ApiError
|
|
28
8
|
*/
|
|
29
|
-
export declare
|
|
30
|
-
export {};
|
|
9
|
+
export declare function request(options: ApiRequestOptions): Promise<ApiResult>;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export { ApiError } from './core/ApiError';
|
|
2
|
-
export { CancelablePromise, CancelError } from './core/CancelablePromise';
|
|
3
2
|
export { OpenAPI } from './core/OpenAPI';
|
|
4
|
-
export type { OpenAPIConfig } from './core/OpenAPI';
|
|
5
3
|
export type { AllCategoriesResponse } from './models/AllCategoriesResponse';
|
|
6
4
|
export type { Author } from './models/Author';
|
|
7
5
|
export type { BiServerResponse } from './models/BiServerResponse';
|
|
@@ -48,7 +46,6 @@ export type { ProductView } from './models/ProductView';
|
|
|
48
46
|
export type { SSLoginTokenResponse } from './models/SSLoginTokenResponse';
|
|
49
47
|
export type { TenantInfo } from './models/TenantInfo';
|
|
50
48
|
export type { VersionResponse } from './models/VersionResponse';
|
|
51
|
-
export type { X_Digitalai_Account_ID } from './models/X_Digitalai_Account_ID';
|
|
52
49
|
export { BiService } from './services/BiService';
|
|
53
50
|
export { CategoriesService } from './services/CategoriesService';
|
|
54
51
|
export { DashboardsService } from './services/DashboardsService';
|
|
@@ -55,10 +55,6 @@ export type DashboardCreateBody = {
|
|
|
55
55
|
* (Internal) Id of a help content definition to show for the dashboard.
|
|
56
56
|
*/
|
|
57
57
|
help_content_id?: string | null;
|
|
58
|
-
/**
|
|
59
|
-
* Whether the dashboard is featured.
|
|
60
|
-
*/
|
|
61
|
-
featured?: boolean | null;
|
|
62
58
|
};
|
|
63
59
|
export declare namespace DashboardCreateBody {
|
|
64
60
|
/**
|
|
@@ -55,10 +55,6 @@ export type DashboardPatchBody = {
|
|
|
55
55
|
* (Internal) Id of a help content definition to show for the dashboard.
|
|
56
56
|
*/
|
|
57
57
|
help_content_id?: string | null;
|
|
58
|
-
/**
|
|
59
|
-
* Whether the dashboard is featured.
|
|
60
|
-
*/
|
|
61
|
-
featured?: boolean | null;
|
|
62
58
|
};
|
|
63
59
|
export declare namespace DashboardPatchBody {
|
|
64
60
|
/**
|
|
@@ -55,10 +55,6 @@ export type DashboardPutBody = {
|
|
|
55
55
|
* (Internal) Id of a help content definition to show for the dashboard.
|
|
56
56
|
*/
|
|
57
57
|
help_content_id?: string | null;
|
|
58
|
-
/**
|
|
59
|
-
* Whether the dashboard is featured.
|
|
60
|
-
*/
|
|
61
|
-
featured?: boolean | null;
|
|
62
58
|
};
|
|
63
59
|
export declare namespace DashboardPutBody {
|
|
64
60
|
/**
|
|
@@ -102,15 +102,11 @@ export type DashboardView = {
|
|
|
102
102
|
/**
|
|
103
103
|
* Current in-progress changes for a published dashboard.
|
|
104
104
|
*/
|
|
105
|
-
in_progress_changes?: DashboardView
|
|
105
|
+
in_progress_changes?: DashboardView;
|
|
106
106
|
/**
|
|
107
107
|
* Id of the original dashboard if this is in-progress changes.
|
|
108
108
|
*/
|
|
109
109
|
parent_id?: string | null;
|
|
110
|
-
/**
|
|
111
|
-
* Whether the dashboard is featured.
|
|
112
|
-
*/
|
|
113
|
-
featured?: boolean | null;
|
|
114
110
|
};
|
|
115
111
|
export declare namespace DashboardView {
|
|
116
112
|
/**
|
|
@@ -4,7 +4,6 @@ import type { GuestTokenRequest } from '../models/GuestTokenRequest';
|
|
|
4
4
|
import type { MSTRLoginTokenResponse } from '../models/MSTRLoginTokenResponse';
|
|
5
5
|
import type { MSTRServerResponse } from '../models/MSTRServerResponse';
|
|
6
6
|
import type { SSLoginTokenResponse } from '../models/SSLoginTokenResponse';
|
|
7
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
8
7
|
export declare class BiService {
|
|
9
8
|
/**
|
|
10
9
|
* Digital.ai Business Intelligence engine details.
|
|
@@ -14,7 +13,7 @@ export declare class BiService {
|
|
|
14
13
|
* @returns Error Default error response
|
|
15
14
|
* @throws ApiError
|
|
16
15
|
*/
|
|
17
|
-
static
|
|
16
|
+
static getBiService(xDigitalaiAccountId?: string): Promise<BiServerResponse | Error>;
|
|
18
17
|
/**
|
|
19
18
|
* @deprecated
|
|
20
19
|
* Obtain a Guest Token from the superset instance.
|
|
@@ -24,7 +23,7 @@ export declare class BiService {
|
|
|
24
23
|
* @returns Error Default error response
|
|
25
24
|
* @throws ApiError
|
|
26
25
|
*/
|
|
27
|
-
static
|
|
26
|
+
static postBiService(requestBody: GuestTokenRequest, xDigitalaiAccountId?: string): Promise<Error>;
|
|
28
27
|
/**
|
|
29
28
|
* @deprecated
|
|
30
29
|
* Obtain a standard Bearer Token from Superset.
|
|
@@ -34,7 +33,7 @@ export declare class BiService {
|
|
|
34
33
|
* @returns Error Default error response
|
|
35
34
|
* @throws ApiError
|
|
36
35
|
*/
|
|
37
|
-
static
|
|
36
|
+
static getBiService1(xDigitalaiAccountId?: string): Promise<SSLoginTokenResponse | Error>;
|
|
38
37
|
/**
|
|
39
38
|
* Obtain an identity token from Microstrategy.
|
|
40
39
|
* Get a Microstrategy identity token, used for creating a session in another application.
|
|
@@ -43,7 +42,7 @@ export declare class BiService {
|
|
|
43
42
|
* @returns Error Default error response
|
|
44
43
|
* @throws ApiError
|
|
45
44
|
*/
|
|
46
|
-
static
|
|
45
|
+
static getBiService2(xDigitalaiAccountId?: string): Promise<MSTRLoginTokenResponse | Error>;
|
|
47
46
|
/**
|
|
48
47
|
* @deprecated
|
|
49
48
|
* Passthru to the superset server instance's API.
|
|
@@ -53,7 +52,7 @@ export declare class BiService {
|
|
|
53
52
|
* @returns Error Default error response
|
|
54
53
|
* @throws ApiError
|
|
55
54
|
*/
|
|
56
|
-
static
|
|
55
|
+
static getBiService3(path: string, xDigitalaiAccountId?: string): Promise<Error>;
|
|
57
56
|
/**
|
|
58
57
|
* Return info on MSTR server for this tenant.
|
|
59
58
|
* Return info on MSTR server for this tenant.
|
|
@@ -62,5 +61,5 @@ export declare class BiService {
|
|
|
62
61
|
* @returns Error Default error response
|
|
63
62
|
* @throws ApiError
|
|
64
63
|
*/
|
|
65
|
-
static
|
|
64
|
+
static getBiService4(xDigitalaiAccountId?: string): Promise<MSTRServerResponse | Error>;
|
|
66
65
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { AllCategoriesResponse } from '../models/AllCategoriesResponse';
|
|
2
2
|
import type { CategoriesResponse } from '../models/CategoriesResponse';
|
|
3
3
|
import type { Error } from '../models/Error';
|
|
4
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
5
4
|
export declare class CategoriesService {
|
|
6
5
|
/**
|
|
7
6
|
* Get a list of Categories by Application type.
|
|
@@ -11,7 +10,7 @@ export declare class CategoriesService {
|
|
|
11
10
|
* @returns Error Default error response
|
|
12
11
|
* @throws ApiError
|
|
13
12
|
*/
|
|
14
|
-
static getCategories(xDigitalaiAccountId?: string
|
|
13
|
+
static getCategories(xDigitalaiAccountId?: string): Promise<AllCategoriesResponse | Error>;
|
|
15
14
|
/**
|
|
16
15
|
* Get Categories for a single application type.
|
|
17
16
|
* Return all Categories for a single application type.
|
|
@@ -21,5 +20,5 @@ export declare class CategoriesService {
|
|
|
21
20
|
* @returns Error Default error response
|
|
22
21
|
* @throws ApiError
|
|
23
22
|
*/
|
|
24
|
-
static getCategoryByAppType(appType: string, xDigitalaiAccountId?: string
|
|
23
|
+
static getCategoryByAppType(appType: string, xDigitalaiAccountId?: string): Promise<CategoriesResponse | Error>;
|
|
25
24
|
}
|
|
@@ -6,7 +6,6 @@ import type { DashboardView } from '../models/DashboardView';
|
|
|
6
6
|
import type { DashboardViewPagedResponse } from '../models/DashboardViewPagedResponse';
|
|
7
7
|
import type { Error } from '../models/Error';
|
|
8
8
|
import type { MetadataResponse } from '../models/MetadataResponse';
|
|
9
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
10
9
|
export declare class DashboardsService {
|
|
11
10
|
/**
|
|
12
11
|
* Get a list of Dashboards.
|
|
@@ -17,7 +16,7 @@ export declare class DashboardsService {
|
|
|
17
16
|
* @param sort Sort ordering to apply to the query.
|
|
18
17
|
* @param filter List of filters (each filter is a separate query param, and they are OR'ed).
|
|
19
18
|
*
|
|
20
|
-
* * **Filterable field names**: author_fullname, author_id, bi_type, categories, created_dt, dataset_id, description, external_embedding_id, external_id,
|
|
19
|
+
* * **Filterable field names**: author_fullname, author_id, bi_type, categories, created_dt, dataset_id, description, external_embedding_id, external_id, id, is_ootb_dashboard, lifecycle_state, name, target_apps, updated_by_fullname, updated_by_id, updated_dt
|
|
21
20
|
* * **Searchable field names**: author_fullname, categories, description, name, updated_by_fullname
|
|
22
21
|
*
|
|
23
22
|
* @param favorite Boolean flag to only return dashboards marked as favorites.
|
|
@@ -36,7 +35,7 @@ export declare class DashboardsService {
|
|
|
36
35
|
* @returns Error Default error response
|
|
37
36
|
* @throws ApiError
|
|
38
37
|
*/
|
|
39
|
-
static getDashboards(xDigitalaiAccountId?: string
|
|
38
|
+
static getDashboards(xDigitalaiAccountId?: string, start?: number, count?: number, sort?: string, filter?: Array<string>, favorite?: boolean, q?: string, authorFullname?: string, authorId?: string, biType?: string, description?: string, id?: string, isOotbDashboard?: boolean, lifecycleState?: string, name?: string, targetApp?: string, viewModified?: boolean): Promise<DashboardViewPagedResponse | Error>;
|
|
40
39
|
/**
|
|
41
40
|
* Create a Dashboard definition.
|
|
42
41
|
* Creates a Dashboard definition.
|
|
@@ -46,7 +45,7 @@ export declare class DashboardsService {
|
|
|
46
45
|
* @returns Error Default error response
|
|
47
46
|
* @throws ApiError
|
|
48
47
|
*/
|
|
49
|
-
static postDashboards(requestBody: DashboardCreateBody, xDigitalaiAccountId?: string
|
|
48
|
+
static postDashboards(requestBody: DashboardCreateBody, xDigitalaiAccountId?: string): Promise<DashboardView | Error>;
|
|
50
49
|
/**
|
|
51
50
|
* Get one Dashboard definition.
|
|
52
51
|
* Return a single Dashboard definition, selected by ID.
|
|
@@ -56,7 +55,7 @@ export declare class DashboardsService {
|
|
|
56
55
|
* @returns Error Default error response
|
|
57
56
|
* @throws ApiError
|
|
58
57
|
*/
|
|
59
|
-
static getDashboard(dashboardId: string, xDigitalaiAccountId?: string
|
|
58
|
+
static getDashboard(dashboardId: string, xDigitalaiAccountId?: string): Promise<DashboardView | Error>;
|
|
60
59
|
/**
|
|
61
60
|
* Sets a single Dashboard definition.
|
|
62
61
|
* Sets a Dashboard definition, selected by ID.
|
|
@@ -68,7 +67,7 @@ export declare class DashboardsService {
|
|
|
68
67
|
* @returns Error Default error response
|
|
69
68
|
* @throws ApiError
|
|
70
69
|
*/
|
|
71
|
-
static putDashboard(dashboardId: string, requestBody: DashboardPutBody, xDigitalaiAccountId?: string
|
|
70
|
+
static putDashboard(dashboardId: string, requestBody: DashboardPutBody, xDigitalaiAccountId?: string, isSync?: boolean): Promise<DashboardView | Error>;
|
|
72
71
|
/**
|
|
73
72
|
* Updates a single Dashboard definition.
|
|
74
73
|
* Updates a Dashboard definition, selected by ID.
|
|
@@ -80,7 +79,7 @@ export declare class DashboardsService {
|
|
|
80
79
|
* @returns Error Default error response
|
|
81
80
|
* @throws ApiError
|
|
82
81
|
*/
|
|
83
|
-
static patchDashboard(dashboardId: string, requestBody: DashboardPatchBody, xDigitalaiAccountId?: string
|
|
82
|
+
static patchDashboard(dashboardId: string, requestBody: DashboardPatchBody, xDigitalaiAccountId?: string, isSync?: boolean): Promise<DashboardView | Error>;
|
|
84
83
|
/**
|
|
85
84
|
* Delete a Dashboard definition.
|
|
86
85
|
* Deletes a single Dashboard definition, selected by ID.
|
|
@@ -89,7 +88,7 @@ export declare class DashboardsService {
|
|
|
89
88
|
* @returns Error Default error response
|
|
90
89
|
* @throws ApiError
|
|
91
90
|
*/
|
|
92
|
-
static deleteDashboard(dashboardId: string, xDigitalaiAccountId?: string
|
|
91
|
+
static deleteDashboard(dashboardId: string, xDigitalaiAccountId?: string): Promise<Error>;
|
|
93
92
|
/**
|
|
94
93
|
* Get one in-progress Dashboard definition.
|
|
95
94
|
* Return a single Dashboard definition with pending changes, selected by ID.
|
|
@@ -99,7 +98,7 @@ export declare class DashboardsService {
|
|
|
99
98
|
* @returns Error Default error response
|
|
100
99
|
* @throws ApiError
|
|
101
100
|
*/
|
|
102
|
-
static getInProgressDashboard(dashboardId: string, xDigitalaiAccountId?: string
|
|
101
|
+
static getInProgressDashboard(dashboardId: string, xDigitalaiAccountId?: string): Promise<DashboardView | Error>;
|
|
103
102
|
/**
|
|
104
103
|
* Create an edit-in-progress version of the dashboard
|
|
105
104
|
* Create an edit-in-progress version of the dashboard while leaving the original unchanged.
|
|
@@ -110,7 +109,7 @@ export declare class DashboardsService {
|
|
|
110
109
|
* @returns Error Default error response
|
|
111
110
|
* @throws ApiError
|
|
112
111
|
*/
|
|
113
|
-
static postInProgressDashboard(dashboardId: string, xDigitalaiAccountId?: string
|
|
112
|
+
static postInProgressDashboard(dashboardId: string, xDigitalaiAccountId?: string, requestBody?: DashboardPatchBody): Promise<DashboardView | Error>;
|
|
114
113
|
/**
|
|
115
114
|
* Sets a single Dashboard in-progress definition.
|
|
116
115
|
* Sets a Dashboard definition with pending changes, selected by ID.
|
|
@@ -122,7 +121,7 @@ export declare class DashboardsService {
|
|
|
122
121
|
* @returns Error Default error response
|
|
123
122
|
* @throws ApiError
|
|
124
123
|
*/
|
|
125
|
-
static putInProgressDashboard(dashboardId: string, requestBody: DashboardPutBody, xDigitalaiAccountId?: string
|
|
124
|
+
static putInProgressDashboard(dashboardId: string, requestBody: DashboardPutBody, xDigitalaiAccountId?: string, isSync?: boolean): Promise<DashboardView | Error>;
|
|
126
125
|
/**
|
|
127
126
|
* Updates a single Dashboard in-progress definition.
|
|
128
127
|
* Updates a Dashboard definition with pending changes, selected by ID.
|
|
@@ -134,7 +133,7 @@ export declare class DashboardsService {
|
|
|
134
133
|
* @returns Error Default error response
|
|
135
134
|
* @throws ApiError
|
|
136
135
|
*/
|
|
137
|
-
static patchInProgressDashboard(dashboardId: string, requestBody: DashboardPatchBody, xDigitalaiAccountId?: string
|
|
136
|
+
static patchInProgressDashboard(dashboardId: string, requestBody: DashboardPatchBody, xDigitalaiAccountId?: string, isSync?: boolean): Promise<DashboardView | Error>;
|
|
138
137
|
/**
|
|
139
138
|
* Revert/publish in-progress changes.
|
|
140
139
|
* Discards or publishes edit in progress dashboard changes.
|
|
@@ -144,7 +143,7 @@ export declare class DashboardsService {
|
|
|
144
143
|
* @returns Error Default error response
|
|
145
144
|
* @throws ApiError
|
|
146
145
|
*/
|
|
147
|
-
static deleteInProgressDashboard(dashboardId: string, xDigitalaiAccountId?: string
|
|
146
|
+
static deleteInProgressDashboard(dashboardId: string, xDigitalaiAccountId?: string, publish?: boolean): Promise<Error>;
|
|
148
147
|
/**
|
|
149
148
|
* Create a copy of existing dashboard
|
|
150
149
|
* Create a copy of existing dashboard
|
|
@@ -155,7 +154,7 @@ export declare class DashboardsService {
|
|
|
155
154
|
* @returns Error Default error response
|
|
156
155
|
* @throws ApiError
|
|
157
156
|
*/
|
|
158
|
-
static copyDashboard(dashboardId: string, xDigitalaiAccountId?: string
|
|
157
|
+
static copyDashboard(dashboardId: string, xDigitalaiAccountId?: string, requestBody?: DashboardCopyBody): Promise<DashboardView | Error>;
|
|
159
158
|
/**
|
|
160
159
|
* Favorite a dashboard
|
|
161
160
|
* Favorite a dashboard
|
|
@@ -165,7 +164,7 @@ export declare class DashboardsService {
|
|
|
165
164
|
* @returns Error Default error response
|
|
166
165
|
* @throws ApiError
|
|
167
166
|
*/
|
|
168
|
-
static favoriteDashboard(dashboardId: string, xDigitalaiAccountId?: string
|
|
167
|
+
static favoriteDashboard(dashboardId: string, xDigitalaiAccountId?: string): Promise<DashboardView | Error>;
|
|
169
168
|
/**
|
|
170
169
|
* Un-favorite a dashboard
|
|
171
170
|
* Un-favorite a dashboard
|
|
@@ -175,7 +174,7 @@ export declare class DashboardsService {
|
|
|
175
174
|
* @returns Error Default error response
|
|
176
175
|
* @throws ApiError
|
|
177
176
|
*/
|
|
178
|
-
static unfavoriteDashboard(dashboardId: string, xDigitalaiAccountId?: string
|
|
177
|
+
static unfavoriteDashboard(dashboardId: string, xDigitalaiAccountId?: string): Promise<DashboardView | Error>;
|
|
179
178
|
/**
|
|
180
179
|
* Get Metadata (categories and authors)
|
|
181
180
|
* Return all Metadata for dashboards optionally filtered by the given parameters
|
|
@@ -193,5 +192,5 @@ export declare class DashboardsService {
|
|
|
193
192
|
* @returns Error Default error response
|
|
194
193
|
* @throws ApiError
|
|
195
194
|
*/
|
|
196
|
-
static getDashboardsMetadata(xDigitalaiAccountId?: string
|
|
195
|
+
static getDashboardsMetadata(xDigitalaiAccountId?: string, filter?: Array<string>, targetApp?: string, biType?: string, isOotbDashboard?: boolean, lifecycleState?: string): Promise<MetadataResponse | Error>;
|
|
197
196
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { DatalakeQuery } from '../models/DatalakeQuery';
|
|
2
2
|
import type { DatalakeResponse } from '../models/DatalakeResponse';
|
|
3
3
|
import type { Error } from '../models/Error';
|
|
4
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
5
4
|
export declare class DatalakeService {
|
|
6
5
|
/**
|
|
7
6
|
* [admin] create the datalake for an account
|
|
@@ -12,5 +11,5 @@ export declare class DatalakeService {
|
|
|
12
11
|
* @returns Error Default error response
|
|
13
12
|
* @throws ApiError
|
|
14
13
|
*/
|
|
15
|
-
static
|
|
14
|
+
static postDatalakeService(requestBody: DatalakeQuery, xDigitalaiAccountId?: string): Promise<DatalakeResponse | Error>;
|
|
16
15
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { Entity } from '../models/Entity';
|
|
2
2
|
import type { EntityPagedResponse } from '../models/EntityPagedResponse';
|
|
3
3
|
import type { Error } from '../models/Error';
|
|
4
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
5
4
|
export declare class EntitiesService {
|
|
6
5
|
/**
|
|
7
6
|
* Get a list of Entities.
|
|
@@ -19,7 +18,7 @@ export declare class EntitiesService {
|
|
|
19
18
|
* @returns Error Default error response
|
|
20
19
|
* @throws ApiError
|
|
21
20
|
*/
|
|
22
|
-
static
|
|
21
|
+
static getEntitiesService(xDigitalaiAccountId?: string, start?: number, count?: number, sort?: string, name?: string, description?: string, originInstanceName?: string, q?: string, id?: string): Promise<EntityPagedResponse | Error>;
|
|
23
22
|
/**
|
|
24
23
|
* Create an Entity.
|
|
25
24
|
* Creates an Entity, owned by the authenticated API user.
|
|
@@ -29,7 +28,7 @@ export declare class EntitiesService {
|
|
|
29
28
|
* @returns Error Default error response
|
|
30
29
|
* @throws ApiError
|
|
31
30
|
*/
|
|
32
|
-
static
|
|
31
|
+
static postEntitiesService(requestBody: Entity, xDigitalaiAccountId?: string): Promise<Entity | Error>;
|
|
33
32
|
/**
|
|
34
33
|
* Get one Entity.
|
|
35
34
|
* Return a single Entity, selected by ID.
|
|
@@ -39,7 +38,7 @@ export declare class EntitiesService {
|
|
|
39
38
|
* @returns Error Default error response
|
|
40
39
|
* @throws ApiError
|
|
41
40
|
*/
|
|
42
|
-
static
|
|
41
|
+
static getEntitiesService1(id: string, xDigitalaiAccountId?: string): Promise<Entity | Error>;
|
|
43
42
|
/**
|
|
44
43
|
* Update a single Entity.
|
|
45
44
|
* Updates an Entity, selected by ID.
|
|
@@ -50,7 +49,7 @@ export declare class EntitiesService {
|
|
|
50
49
|
* @returns Error Default error response
|
|
51
50
|
* @throws ApiError
|
|
52
51
|
*/
|
|
53
|
-
static
|
|
52
|
+
static putEntitiesService(id: string, requestBody: Entity, xDigitalaiAccountId?: string): Promise<Entity | Error>;
|
|
54
53
|
/**
|
|
55
54
|
* Delete a Entity.
|
|
56
55
|
* Deletes a single Entity, selected by ID.
|
|
@@ -59,5 +58,5 @@ export declare class EntitiesService {
|
|
|
59
58
|
* @returns Error Default error response
|
|
60
59
|
* @throws ApiError
|
|
61
60
|
*/
|
|
62
|
-
static
|
|
61
|
+
static deleteEntitiesService(id: string, xDigitalaiAccountId?: string): Promise<Error>;
|
|
63
62
|
}
|
package/src/lib/components/analytics/metadata-api/openapi/services/EntityAttributesService.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import type { EntityAttribute } from '../models/EntityAttribute';
|
|
|
2
2
|
import type { EntityAttributePagedResponse } from '../models/EntityAttributePagedResponse';
|
|
3
3
|
import type { EntityAttributeRequest } from '../models/EntityAttributeRequest';
|
|
4
4
|
import type { Error } from '../models/Error';
|
|
5
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
5
|
export declare class EntityAttributesService {
|
|
7
6
|
/**
|
|
8
7
|
* Get a list of EntityAttributes.
|
|
@@ -22,7 +21,7 @@ export declare class EntityAttributesService {
|
|
|
22
21
|
* @returns Error Default error response
|
|
23
22
|
* @throws ApiError
|
|
24
23
|
*/
|
|
25
|
-
static
|
|
24
|
+
static getEntityAttributesService(xDigitalaiAccountId?: string, start?: number, count?: number, sort?: string, name?: string, description?: string, entityName?: string, originInstanceName?: string, isKey?: boolean, q?: string, id?: string): Promise<EntityAttributePagedResponse | Error>;
|
|
26
25
|
/**
|
|
27
26
|
* Create an EntityAttribute.
|
|
28
27
|
* Creates an EntityAttribute, owned by the authenticated API user.
|
|
@@ -32,7 +31,7 @@ export declare class EntityAttributesService {
|
|
|
32
31
|
* @returns Error Default error response
|
|
33
32
|
* @throws ApiError
|
|
34
33
|
*/
|
|
35
|
-
static
|
|
34
|
+
static postEntityAttributesService(requestBody: EntityAttribute, xDigitalaiAccountId?: string): Promise<EntityAttribute | Error>;
|
|
36
35
|
/**
|
|
37
36
|
* Create or Update multiple entity attributes.
|
|
38
37
|
* Creates an EntityAttribute incase id of the attribute is not present in the payload else modify the corresponding property of the attribute, owned by the authenticated API user.
|
|
@@ -42,7 +41,7 @@ export declare class EntityAttributesService {
|
|
|
42
41
|
* @returns Error Default error response
|
|
43
42
|
* @throws ApiError
|
|
44
43
|
*/
|
|
45
|
-
static
|
|
44
|
+
static putEntityAttributesService(requestBody: EntityAttributeRequest, xDigitalaiAccountId?: string): Promise<EntityAttributeRequest | Error>;
|
|
46
45
|
/**
|
|
47
46
|
* Get one EntityAttribute.
|
|
48
47
|
* Return a single EntityAttribute, selected by ID.
|
|
@@ -52,7 +51,7 @@ export declare class EntityAttributesService {
|
|
|
52
51
|
* @returns Error Default error response
|
|
53
52
|
* @throws ApiError
|
|
54
53
|
*/
|
|
55
|
-
static
|
|
54
|
+
static getEntityAttributesService1(id: string, xDigitalaiAccountId?: string): Promise<EntityAttribute | Error>;
|
|
56
55
|
/**
|
|
57
56
|
* Update a single EntityAttribute.
|
|
58
57
|
* Updates an EntityAttribute, selected by ID.
|
|
@@ -63,7 +62,7 @@ export declare class EntityAttributesService {
|
|
|
63
62
|
* @returns Error Default error response
|
|
64
63
|
* @throws ApiError
|
|
65
64
|
*/
|
|
66
|
-
static
|
|
65
|
+
static putEntityAttributesService1(id: string, requestBody: EntityAttribute, xDigitalaiAccountId?: string): Promise<EntityAttribute | Error>;
|
|
67
66
|
/**
|
|
68
67
|
* Delete a EntityAttribute.
|
|
69
68
|
* Deletes a single EntityAttribute, selected by ID.
|
|
@@ -72,5 +71,5 @@ export declare class EntityAttributesService {
|
|
|
72
71
|
* @returns Error Default error response
|
|
73
72
|
* @throws ApiError
|
|
74
73
|
*/
|
|
75
|
-
static
|
|
74
|
+
static deleteEntityAttributesService(id: string, xDigitalaiAccountId?: string): Promise<Error>;
|
|
76
75
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { EntityClass } from '../models/EntityClass';
|
|
2
2
|
import type { EntityClassPagedResponse } from '../models/EntityClassPagedResponse';
|
|
3
3
|
import type { Error } from '../models/Error';
|
|
4
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
5
4
|
export declare class EntityClassService {
|
|
6
5
|
/**
|
|
7
6
|
* Get a list of Entity Class.
|
|
@@ -18,7 +17,7 @@ export declare class EntityClassService {
|
|
|
18
17
|
* @returns Error Default error response
|
|
19
18
|
* @throws ApiError
|
|
20
19
|
*/
|
|
21
|
-
static
|
|
20
|
+
static getEntityClassService(xDigitalaiAccountId?: string, start?: number, count?: number, sort?: string, name?: string, description?: string, q?: string, id?: string): Promise<EntityClassPagedResponse | Error>;
|
|
22
21
|
/**
|
|
23
22
|
* Create an Entity Class.
|
|
24
23
|
* Creates an Entity Class, owned by the authenticated API user.
|
|
@@ -28,7 +27,7 @@ export declare class EntityClassService {
|
|
|
28
27
|
* @returns Error Default error response
|
|
29
28
|
* @throws ApiError
|
|
30
29
|
*/
|
|
31
|
-
static
|
|
30
|
+
static postEntityClassService(requestBody: EntityClass, xDigitalaiAccountId?: string): Promise<EntityClass | Error>;
|
|
32
31
|
/**
|
|
33
32
|
* Get one Entity Class.
|
|
34
33
|
* Return a single Entity Class, selected by ID.
|
|
@@ -38,7 +37,7 @@ export declare class EntityClassService {
|
|
|
38
37
|
* @returns Error Default error response
|
|
39
38
|
* @throws ApiError
|
|
40
39
|
*/
|
|
41
|
-
static
|
|
40
|
+
static getEntityClassService1(id: string, xDigitalaiAccountId?: string): Promise<EntityClass | Error>;
|
|
42
41
|
/**
|
|
43
42
|
* Update a single Entity Class.
|
|
44
43
|
* Updates an Entity Class, selected by ID.
|
|
@@ -49,7 +48,7 @@ export declare class EntityClassService {
|
|
|
49
48
|
* @returns Error Default error response
|
|
50
49
|
* @throws ApiError
|
|
51
50
|
*/
|
|
52
|
-
static
|
|
51
|
+
static putEntityClassService(id: string, requestBody: EntityClass, xDigitalaiAccountId?: string): Promise<EntityClass | Error>;
|
|
53
52
|
/**
|
|
54
53
|
* Delete a Entity Class.
|
|
55
54
|
* Deletes a single Entity Class, selected by ID.
|
|
@@ -58,5 +57,5 @@ export declare class EntityClassService {
|
|
|
58
57
|
* @returns Error Default error response
|
|
59
58
|
* @throws ApiError
|
|
60
59
|
*/
|
|
61
|
-
static
|
|
60
|
+
static deleteEntityClassService(id: string, xDigitalaiAccountId?: string): Promise<Error>;
|
|
62
61
|
}
|