@digital-ai/dot-components 5.0.0 → 5.2.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 +64 -40
- package/package.json +1 -1
- package/src/lib/components/analytics/dashboard-actions/DashboardPublishConfirm.styles.d.ts +1 -1
- package/src/lib/components/analytics/dashboard-dialog/DashboardDialog.d.ts +3 -0
- package/src/lib/components/analytics/metadata-api/openapi/index.d.ts +8 -2
- package/src/lib/components/analytics/metadata-api/openapi/models/DashboardCreateBody.d.ts +1 -1
- package/src/lib/components/analytics/metadata-api/openapi/models/DashboardPatchBody.d.ts +1 -1
- package/src/lib/components/analytics/metadata-api/openapi/models/DashboardPutBody.d.ts +1 -1
- package/src/lib/components/analytics/metadata-api/openapi/models/DashboardView.d.ts +1 -1
- package/src/lib/components/analytics/metadata-api/openapi/models/DatalakeQuery.d.ts +3 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/DatalakeResponse.d.ts +4 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/Origin.d.ts +1 -1
- package/src/lib/components/analytics/metadata-api/openapi/models/OriginInstance.d.ts +1 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/ProductOrigin.d.ts +2 -2
- package/src/lib/components/analytics/metadata-api/openapi/models/ProductSourceIntegration.d.ts +9 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/{ProductConfigurationItemCreate.d.ts → ProductSourceIntegrationCreate.d.ts} +2 -1
- package/src/lib/components/analytics/metadata-api/openapi/models/ProductSourceIntegrationTest.d.ts +5 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/ProductSourceIntegrationTestCreate.d.ts +3 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/ProductSourceIntegrationUpdate.d.ts +6 -0
- package/src/lib/components/analytics/metadata-api/openapi/services/DashboardsService.d.ts +4 -4
- package/src/lib/components/analytics/metadata-api/openapi/services/DatalakeService.d.ts +15 -0
- package/src/lib/components/analytics/metadata-api/openapi/services/OriginInstancesService.d.ts +12 -11
- package/src/lib/components/analytics/metadata-api/openapi/services/ProductsService.d.ts +73 -9
- package/src/lib/components/avatar/Avatar.d.ts +3 -1
- package/src/lib/components/index.d.ts +1 -1
- package/src/lib/components/typography/Typography.d.ts +3 -1
- package/src/lib/components/typography/Typography.styles.d.ts +3 -0
- package/src/lib/components/analytics/metadata-api/openapi/models/ProductConfigurationItem.d.ts +0 -5
package/index.esm.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import React__default, { useEffect, useState, useRef, createContext, useMemo, useContext, forwardRef, useCallback, createElement, Fragment as Fragment$1, useLayoutEffect } from 'react';
|
|
4
4
|
import { Typography, Fade, StyledEngineProvider, Tooltip, InputAdornment, InputLabel, TextField, Icon, Accordion, AccordionSummary, AccordionDetails, AccordionActions, Toolbar, Alert, Avatar, Button, Link, List, ListSubheader, Divider, CircularProgress, Popper, MenuList, MenuItem, Paper, ClickAwayListener, Drawer, IconButton, ListItem, ListItemButton, Collapse, ListItemIcon, ListItemText, Badge, useMediaQuery, Chip, Autocomplete, AvatarGroup, Breadcrumbs, ToggleButtonGroup, ToggleButton, Card, CardContent, CardHeader, FormControlLabel, Checkbox, FormControl, FormGroup, FormLabel, FormHelperText, Dialog, DialogContent, DialogActions, useTheme as useTheme$1, Snackbar, RadioGroup, Radio, Switch, Skeleton, ButtonGroup, Stepper, Step, StepLabel, TablePagination, TableContainer, TableBody, TableCell, TableRow, TableSortLabel, TableHead, Table, Tabs, Tab, LinearProgress, Slide, Stack } from '@mui/material';
|
|
5
|
+
import styled, { css, createGlobalStyle, ThemeProvider as ThemeProvider$1, keyframes } from 'styled-components';
|
|
5
6
|
import { createTheme, ThemeProvider, useTheme } from '@mui/material/styles';
|
|
6
|
-
import styled, { createGlobalStyle, ThemeProvider as ThemeProvider$1, css, keyframes } from 'styled-components';
|
|
7
7
|
import '@digital-ai/dot-icons';
|
|
8
8
|
import jwt_decode from 'jwt-decode';
|
|
9
9
|
import '@digital-ai/dot-illustrations';
|
|
@@ -42,7 +42,26 @@ const checkIfOverflowPresentInElementTree = element => {
|
|
|
42
42
|
return false;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
+
const rootClassName$1r = 'dot-typography';
|
|
46
|
+
const StyledTypography = styled(Typography)`
|
|
47
|
+
${({
|
|
48
|
+
theme
|
|
49
|
+
}) => css`
|
|
50
|
+
&.${rootClassName$1r} {
|
|
51
|
+
&.dot-typography-ai {
|
|
52
|
+
background: ${theme.palette.figma.gradient.ai};
|
|
53
|
+
background-clip: text;
|
|
54
|
+
-webkit-background-clip: text;
|
|
55
|
+
color: transparent;
|
|
56
|
+
-webkit-text-fill-color: transparent;
|
|
57
|
+
width: fit-content;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
`}
|
|
61
|
+
`;
|
|
62
|
+
|
|
45
63
|
const DotTypography = ({
|
|
64
|
+
ai,
|
|
46
65
|
ariaLabel,
|
|
47
66
|
ariaLevel,
|
|
48
67
|
ariaRole,
|
|
@@ -54,7 +73,7 @@ const DotTypography = ({
|
|
|
54
73
|
noWrap,
|
|
55
74
|
variant
|
|
56
75
|
}) => {
|
|
57
|
-
const rootClasses = useStylesWithRootClass('dot-typography', className);
|
|
76
|
+
const rootClasses = useStylesWithRootClass(rootClassName$1r, ai ? 'dot-typography-ai' : '', className);
|
|
58
77
|
useEffect(() => {
|
|
59
78
|
if (ariaRole === 'heading' && !ariaLevel) {
|
|
60
79
|
console.warn('please include ariaLevel when using ariaRole="heading"');
|
|
@@ -63,7 +82,7 @@ const DotTypography = ({
|
|
|
63
82
|
console.warn('DEPRECATED: `noMarginBottom` on `DotTypography` is no longer included');
|
|
64
83
|
}
|
|
65
84
|
}, []);
|
|
66
|
-
return jsx(
|
|
85
|
+
return jsx(StyledTypography, {
|
|
67
86
|
"aria-label": ariaLabel,
|
|
68
87
|
"aria-level": ariaLevel,
|
|
69
88
|
classes: {
|
|
@@ -2679,12 +2698,13 @@ const StyledAvatar = styled(Avatar)`
|
|
|
2679
2698
|
height: 105%;
|
|
2680
2699
|
}
|
|
2681
2700
|
|
|
2682
|
-
.dot-
|
|
2683
|
-
.dot-
|
|
2701
|
+
.dot-typography:not(.dot-typography-ai),
|
|
2702
|
+
.dot-icon:not(.dot-icon-ai) .dot-i {
|
|
2684
2703
|
color: ${({
|
|
2685
|
-
color
|
|
2704
|
+
color,
|
|
2705
|
+
style
|
|
2686
2706
|
}) => {
|
|
2687
|
-
return color ? theme.palette.avatarColors[color].color : theme.palette.avatarColors['default'].color;
|
|
2707
|
+
return (style === null || style === void 0 ? void 0 : style.color) !== undefined ? style.color : color ? theme.palette.avatarColors[color].color : theme.palette.avatarColors['default'].color;
|
|
2688
2708
|
}};
|
|
2689
2709
|
margin-bottom: 0;
|
|
2690
2710
|
}
|
|
@@ -2708,6 +2728,7 @@ const StyledAvatar = styled(Avatar)`
|
|
|
2708
2728
|
`;
|
|
2709
2729
|
|
|
2710
2730
|
const AvatarContent = ({
|
|
2731
|
+
ai,
|
|
2711
2732
|
'data-testid': dataTestId,
|
|
2712
2733
|
iconId,
|
|
2713
2734
|
imageSrc,
|
|
@@ -2739,6 +2760,7 @@ const AvatarContent = ({
|
|
|
2739
2760
|
const getIconFontSizeFromAvatarSize = () => size === 'small' ? size : 'medium';
|
|
2740
2761
|
if (type === 'icon' || type === 'image' && !imageSrc) {
|
|
2741
2762
|
return jsx(DotIcon, {
|
|
2763
|
+
ai: ai,
|
|
2742
2764
|
"data-testid": `${dataTestId}-icon`,
|
|
2743
2765
|
fontSize: getIconFontSizeFromAvatarSize(),
|
|
2744
2766
|
iconId: iconId || 'user'
|
|
@@ -2746,6 +2768,7 @@ const AvatarContent = ({
|
|
|
2746
2768
|
}
|
|
2747
2769
|
if (type === 'text') {
|
|
2748
2770
|
return jsx(DotTypography, {
|
|
2771
|
+
ai: ai,
|
|
2749
2772
|
variant: size === 'small' ? 'caption' : getHeadingFromAvatarSize(),
|
|
2750
2773
|
children: parsedNumber() || parsedText()
|
|
2751
2774
|
});
|
|
@@ -2753,6 +2776,7 @@ const AvatarContent = ({
|
|
|
2753
2776
|
return null;
|
|
2754
2777
|
};
|
|
2755
2778
|
const DotAvatar = ({
|
|
2779
|
+
ai = false,
|
|
2756
2780
|
alt,
|
|
2757
2781
|
ariaLabel,
|
|
2758
2782
|
ariaRole = 'img',
|
|
@@ -2802,6 +2826,7 @@ const DotAvatar = ({
|
|
|
2802
2826
|
tabIndex: tooltip ? tabIndex : undefined,
|
|
2803
2827
|
variant: variant,
|
|
2804
2828
|
children: jsx(AvatarContent, {
|
|
2829
|
+
ai: ai,
|
|
2805
2830
|
"data-testid": dataTestId,
|
|
2806
2831
|
iconId: iconId,
|
|
2807
2832
|
imageSrc: imageSrc,
|
|
@@ -9797,7 +9822,7 @@ class DashboardsService {
|
|
|
9797
9822
|
* @param isOotbDashboard Boolean match on Dashboard OOTB status.
|
|
9798
9823
|
* @param lifecycleState String match on Dashboard lifecycle state - 'DRAFT' or 'PUBLISHED'.
|
|
9799
9824
|
* @param name String match on Dashboard name.
|
|
9800
|
-
* @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', '
|
|
9825
|
+
* @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', 'SERVICEMGMTPROCESSOPTIMIZATION', 'FLOWACCELERATION', 'INTEGRATEANDTESTANALYTICSLENS', 'OPERATEANDMONITORANALYTICSLENS', 'PLANANDCREATEANALYTICSLENS', 'QUALITYIMPROVEMENT', 'RELEASEANDDEPLOYANALYTICSLENS', or 'APPLICATIONSECURITY'.
|
|
9801
9826
|
* @param viewModified Return dashboards with modified changes if they exist for this user.
|
|
9802
9827
|
* @returns DashboardViewPagedResponse OK
|
|
9803
9828
|
* @returns Error Default error response
|
|
@@ -10109,8 +10134,8 @@ class DashboardsService {
|
|
|
10109
10134
|
});
|
|
10110
10135
|
}
|
|
10111
10136
|
/**
|
|
10112
|
-
* Revert in-progress changes.
|
|
10113
|
-
* Discards edit in progress dashboard changes.
|
|
10137
|
+
* Revert/publish in-progress changes.
|
|
10138
|
+
* Discards or publishes edit in progress dashboard changes.
|
|
10114
10139
|
* @param dashboardId
|
|
10115
10140
|
* @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
|
|
10116
10141
|
* @param publish Publish changes to the original dashboard and delete the in-progress version.
|
|
@@ -10223,7 +10248,7 @@ class DashboardsService {
|
|
|
10223
10248
|
* * **Filterable field names**: author_fullname, bi_type, categories, created_dt, description, is_ootb_dashboard, lifecycle_state, name, updated_by_fullname, updated_dt
|
|
10224
10249
|
* * **Searchable field names**: author_fullname, categories, description, name
|
|
10225
10250
|
*
|
|
10226
|
-
* @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY',
|
|
10251
|
+
* @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY','RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', 'SERVICEMGMTPROCESSOPTIMIZATION', 'FLOWACCELERATION', 'INTEGRATEANDTESTANALYTICSLENS', 'OPERATEANDMONITORANALYTICSLENS', 'PLANANDCREATEANALYTICSLENS', 'QUALITYIMPROVEMENT', 'RELEASEANDDEPLOYANALYTICSLENS', or 'APPLICATIONSECURITY'.
|
|
10227
10252
|
* @param biType String match on Dashboard bi type - 'MICROSTRATEGY'.
|
|
10228
10253
|
* @param isOotbDashboard Boolean match on Dashboard OOTB status.
|
|
10229
10254
|
* @param lifecycleState String match on Dashboard lifecycle state - 'DRAFT' or 'PUBLISHED'.
|
|
@@ -10651,7 +10676,13 @@ const getCategoriesMock = {
|
|
|
10651
10676
|
TEAMFORGE: ['Scrum Master'],
|
|
10652
10677
|
CHANGERISKPREDICTION: [],
|
|
10653
10678
|
APPLICATIONSECURITY: [],
|
|
10654
|
-
SERVICEMGMTPROCESSOPTIMIZATION: []
|
|
10679
|
+
SERVICEMGMTPROCESSOPTIMIZATION: [],
|
|
10680
|
+
FLOWACCELERATION: [],
|
|
10681
|
+
INTEGRATEANDTESTANALYTICSLENS: [],
|
|
10682
|
+
OPERATEANDMONITORANALYTICSLENS: [],
|
|
10683
|
+
PLANANDCREATEANALYTICSLENS: [],
|
|
10684
|
+
QUALITYIMPROVEMENT: [],
|
|
10685
|
+
RELEASEANDDEPLOYANALYTICSLENS: []
|
|
10655
10686
|
}
|
|
10656
10687
|
};
|
|
10657
10688
|
const getAuthorsMock = [{
|
|
@@ -11817,33 +11848,26 @@ const StyledDialogActions = styled(DialogActions)`
|
|
|
11817
11848
|
padding-right: 0;
|
|
11818
11849
|
`;
|
|
11819
11850
|
|
|
11820
|
-
const
|
|
11821
|
-
|
|
11822
|
-
|
|
11823
|
-
|
|
11824
|
-
|
|
11825
|
-
|
|
11826
|
-
|
|
11827
|
-
|
|
11828
|
-
|
|
11829
|
-
|
|
11830
|
-
|
|
11831
|
-
|
|
11832
|
-
|
|
11833
|
-
|
|
11834
|
-
|
|
11835
|
-
|
|
11836
|
-
|
|
11837
|
-
|
|
11838
|
-
option
|
|
11839
|
-
|
|
11840
|
-
}, {
|
|
11841
|
-
option: 'Application Security',
|
|
11842
|
-
value: 'APPLICATIONSECURITY'
|
|
11843
|
-
}, {
|
|
11844
|
-
option: 'Service Mgmt. Process Optimization',
|
|
11845
|
-
value: 'SERVICEMGMTPROCESSOPTIMIZATION'
|
|
11846
|
-
}];
|
|
11851
|
+
const DashboardAppTypeToLabelMap = {
|
|
11852
|
+
AGILITY: 'Agility',
|
|
11853
|
+
RELEASE: 'Release',
|
|
11854
|
+
DEPLOY: 'Deploy',
|
|
11855
|
+
CONTINUOUSTEST: 'Continuous Testing',
|
|
11856
|
+
TEAMFORGE: 'TeamForge',
|
|
11857
|
+
CHANGERISKPREDICTION: 'Change Risk Prediction',
|
|
11858
|
+
APPLICATIONSECURITY: 'Application Security',
|
|
11859
|
+
SERVICEMGMTPROCESSOPTIMIZATION: 'Service Mgmt. Process Optimization',
|
|
11860
|
+
FLOWACCELERATION: 'Flow Acceleration',
|
|
11861
|
+
INTEGRATEANDTESTANALYTICSLENS: 'Integrate and Test Analytics Lens',
|
|
11862
|
+
OPERATEANDMONITORANALYTICSLENS: 'Operate and Monitor Analytics Lens',
|
|
11863
|
+
PLANANDCREATEANALYTICSLENS: 'Plan and Create Analytics Lens',
|
|
11864
|
+
QUALITYIMPROVEMENT: 'Quality Improvement',
|
|
11865
|
+
RELEASEANDDEPLOYANALYTICSLENS: 'Release and Deploy Analytics Lens'
|
|
11866
|
+
};
|
|
11867
|
+
const DashboardAppTypeOptions = Object.entries(DashboardAppTypeToLabelMap).map(([value, option]) => ({
|
|
11868
|
+
value,
|
|
11869
|
+
option
|
|
11870
|
+
}));
|
|
11847
11871
|
const initialFormState = {
|
|
11848
11872
|
categories: [],
|
|
11849
11873
|
description: '',
|
|
@@ -25266,4 +25290,4 @@ const DotColorPicker = ({
|
|
|
25266
25290
|
});
|
|
25267
25291
|
};
|
|
25268
25292
|
|
|
25269
|
-
export { ApiError$1 as ApiError, BoardStatusProvider, Cell, ColumnStatusProvider, CreateUUID, CssCell, CssGrid, CssGridDebug, DashboardAppTypeOptions, DashboardView, DatePickerKeydownContext, Daytime, DotAccordion, DotActionToolbar, DotAlertBanner, DotAnnotation, DotAppLogo, DotAppSwitcher, DotAppToolbar, DotAutoComplete, DotAvatar, DotAvatarGroup, DotAvatarWithDetails, DotBadge, Board as DotBoard, BoardColumn as DotBoardColumn, BoardColumnActionBar as DotBoardColumnActionBar, BoardColumnCollapse as DotBoardColumnCollapse, BoardColumnExpand as DotBoardColumnExpand, BoardColumnHeader as DotBoardColumnHeader, BoardColumnItems as DotBoardColumnItems, BoardColumnSummary as DotBoardColumnSummary, DotBreadcrumbs, DotButton, DotButtonToggle, DotCard, DotCardContent, DotCardFooter, DotCardHeader, DotCarousel, DotCheckbox, DotCheckboxGroup, DotChip, DotChipList, DotClickAwayListener, DotColorPicker, DotConfirmationDialog, DotCopyButton, DotCoreApiProvider, DotDashboardActions, DotDashboardDetails, DotDashboardDialog, DotDashboardHeader, DotDashboardOptionsMenu, DotDashboardPublishConfirm, DotDashboardStatusPill, DotDatePicker, DotDialog, DotDivider, DotDraggableList, DotDraggableWindow, DotDrawer, DotDynamicForm, DotEmptyFilterState, DotEmptyState, DotFileListItem, DotFileUpload, DotForm, DotFormGroup, DotHeaderRow, DotIcon, DotIconButton, DotIllustration, DotImpactDialog, DotInlineEdit, DotInputLabel, DotInputSelect, DotInputText, DotLinearProgress, DotLink, DotList, DotMenu, DotMenuList, DotMetadataApiProvider, DotNavigationRail, DotPill, DotPopper, DotProgress, DotProgressButton, DotRadioButton, DotRadioGroup, DotSearch, DotSidebar, DotSkeleton, DotSnackbar, DotSnackbarContainer, DotSnackbarProvider, DotSplitButton, DotStepper, DotStickyWithBorder, DotSwitch, DotTable, DotTableAction, DotTableActions, DotTablePagination, DotTabs, DotThemeProvider, DotTimePicker, DotToggleSwitch, DotTooltip, DotTruncateWithTooltip, DotTypography, avatarColors, breakpointOptions, checkIfValidDate, darkFigmaColors, lightThemeColors as lightColors, lightFigmaColors, mockScrollIntoView, parseAutoCompleteValue, variables as themeVariables, typographyOptions, useBoardStatus, useColumnStatus, useDotCoreApiContext, useDotMetadataApiContext, useDotSnackbarContext, useEnqueueErrorMessage, useKeyPress };
|
|
25293
|
+
export { ApiError$1 as ApiError, BoardStatusProvider, Cell, ColumnStatusProvider, CreateUUID, CssCell, CssGrid, CssGridDebug, DashboardAppTypeOptions, DashboardAppTypeToLabelMap, DashboardView, DatePickerKeydownContext, Daytime, DotAccordion, DotActionToolbar, DotAlertBanner, DotAnnotation, DotAppLogo, DotAppSwitcher, DotAppToolbar, DotAutoComplete, DotAvatar, DotAvatarGroup, DotAvatarWithDetails, DotBadge, Board as DotBoard, BoardColumn as DotBoardColumn, BoardColumnActionBar as DotBoardColumnActionBar, BoardColumnCollapse as DotBoardColumnCollapse, BoardColumnExpand as DotBoardColumnExpand, BoardColumnHeader as DotBoardColumnHeader, BoardColumnItems as DotBoardColumnItems, BoardColumnSummary as DotBoardColumnSummary, DotBreadcrumbs, DotButton, DotButtonToggle, DotCard, DotCardContent, DotCardFooter, DotCardHeader, DotCarousel, DotCheckbox, DotCheckboxGroup, DotChip, DotChipList, DotClickAwayListener, DotColorPicker, DotConfirmationDialog, DotCopyButton, DotCoreApiProvider, DotDashboardActions, DotDashboardDetails, DotDashboardDialog, DotDashboardHeader, DotDashboardOptionsMenu, DotDashboardPublishConfirm, DotDashboardStatusPill, DotDatePicker, DotDialog, DotDivider, DotDraggableList, DotDraggableWindow, DotDrawer, DotDynamicForm, DotEmptyFilterState, DotEmptyState, DotFileListItem, DotFileUpload, DotForm, DotFormGroup, DotHeaderRow, DotIcon, DotIconButton, DotIllustration, DotImpactDialog, DotInlineEdit, DotInputLabel, DotInputSelect, DotInputText, DotLinearProgress, DotLink, DotList, DotMenu, DotMenuList, DotMetadataApiProvider, DotNavigationRail, DotPill, DotPopper, DotProgress, DotProgressButton, DotRadioButton, DotRadioGroup, DotSearch, DotSidebar, DotSkeleton, DotSnackbar, DotSnackbarContainer, DotSnackbarProvider, DotSplitButton, DotStepper, DotStickyWithBorder, DotSwitch, DotTable, DotTableAction, DotTableActions, DotTablePagination, DotTabs, DotThemeProvider, DotTimePicker, DotToggleSwitch, DotTooltip, DotTruncateWithTooltip, DotTypography, avatarColors, breakpointOptions, checkIfValidDate, darkFigmaColors, lightThemeColors as lightColors, lightFigmaColors, mockScrollIntoView, parseAutoCompleteValue, variables as themeVariables, typographyOptions, useBoardStatus, useColumnStatus, useDotCoreApiContext, useDotMetadataApiContext, useDotSnackbarContext, useEnqueueErrorMessage, useKeyPress };
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const dashboardCategoriesContainerClassName = "dashboard-categories-container";
|
|
2
|
-
export declare const InlineMessage: import("styled-components").StyledComponent<({ ariaLabel, ariaLevel, ariaRole, className, "data-testid": dataTestId, children, component, noMarginBottom, noWrap, variant, }: import("../../typography/Typography").TypographyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
2
|
+
export declare const InlineMessage: import("styled-components").StyledComponent<({ ai, ariaLabel, ariaLevel, ariaRole, className, "data-testid": dataTestId, children, component, noMarginBottom, noWrap, variant, }: import("../../typography/Typography").TypographyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
3
3
|
export declare const StyledPublishConfirmDiv: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
4
|
export declare const StyledAppSelectDiv: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
5
|
export declare const StyledAppSelectDotAutoComplete: import("styled-components").StyledComponent<(<T extends import("../..").AutoCompleteOption>({ ListboxComponent, additionalLabelContent, actionItem, ai, aiAction, ariaLabel, autoFocus, autoHighlight, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, defaultValue, dense, disableCloseOnSelect, disabled, disablePortal, endAdornmentTooltip, error, filterOptions, filterSelectedOptions, freesolo, checkIfOptionDisabled, group, helperText, informationToolTip, inputId, inputRef, inputValue, isOptionEqualToValue, label, loading, maxHeight, multiple, onBlur, onChange, onClose, onInputChange, onOpen, open, options, persistentLabel, placeholder, popperClassName, popperPlacement, popperZIndex, preserveGroupOrder, readOnly, renderGroup, renderOption, renderTags, required, size, trimLongOptions, value, warning, }: import("../../auto-complete/AutoComplete").AutoCompleteProps<T>) => import("react/jsx-runtime").JSX.Element), any, {}, never>;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { InputSelectOption } from '../../input-form-fields/InputSelect';
|
|
2
2
|
import { DashboardView } from '../metadata-api/openapi';
|
|
3
|
+
export declare const DashboardAppTypeToLabelMap: {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
};
|
|
3
6
|
export declare const DashboardAppTypeOptions: InputSelectOption[];
|
|
4
7
|
interface DashboardData {
|
|
5
8
|
categories: string[];
|
|
@@ -10,6 +10,8 @@ export { DashboardPatchBody } from './models/DashboardPatchBody';
|
|
|
10
10
|
export { DashboardPutBody } from './models/DashboardPutBody';
|
|
11
11
|
export { DashboardView } from './models/DashboardView';
|
|
12
12
|
export type { DashboardViewPagedResponse } from './models/DashboardViewPagedResponse';
|
|
13
|
+
export type { DatalakeQuery } from './models/DatalakeQuery';
|
|
14
|
+
export type { DatalakeResponse } from './models/DatalakeResponse';
|
|
13
15
|
export type { Entity } from './models/Entity';
|
|
14
16
|
export type { EntityAttribute } from './models/EntityAttribute';
|
|
15
17
|
export type { EntityAttributePagedResponse } from './models/EntityAttributePagedResponse';
|
|
@@ -33,9 +35,12 @@ export type { OriginInstancePagedResponse } from './models/OriginInstancePagedRe
|
|
|
33
35
|
export type { OriginPagedResponse } from './models/OriginPagedResponse';
|
|
34
36
|
export type { PaginationHeaders } from './models/PaginationHeaders';
|
|
35
37
|
export type { PaginationMetadata } from './models/PaginationMetadata';
|
|
36
|
-
export type { ProductConfigurationItem } from './models/ProductConfigurationItem';
|
|
37
|
-
export type { ProductConfigurationItemCreate } from './models/ProductConfigurationItemCreate';
|
|
38
38
|
export type { ProductOrigin } from './models/ProductOrigin';
|
|
39
|
+
export type { ProductSourceIntegration } from './models/ProductSourceIntegration';
|
|
40
|
+
export type { ProductSourceIntegrationCreate } from './models/ProductSourceIntegrationCreate';
|
|
41
|
+
export type { ProductSourceIntegrationTest } from './models/ProductSourceIntegrationTest';
|
|
42
|
+
export type { ProductSourceIntegrationTestCreate } from './models/ProductSourceIntegrationTestCreate';
|
|
43
|
+
export type { ProductSourceIntegrationUpdate } from './models/ProductSourceIntegrationUpdate';
|
|
39
44
|
export type { ProductsResponse } from './models/ProductsResponse';
|
|
40
45
|
export type { ProductView } from './models/ProductView';
|
|
41
46
|
export type { SSLoginTokenResponse } from './models/SSLoginTokenResponse';
|
|
@@ -44,6 +49,7 @@ export type { VersionResponse } from './models/VersionResponse';
|
|
|
44
49
|
export { BiService } from './services/BiService';
|
|
45
50
|
export { CategoriesService } from './services/CategoriesService';
|
|
46
51
|
export { DashboardsService } from './services/DashboardsService';
|
|
52
|
+
export { DatalakeService } from './services/DatalakeService';
|
|
47
53
|
export { EntitiesService } from './services/EntitiesService';
|
|
48
54
|
export { EntityAttributesService } from './services/EntityAttributesService';
|
|
49
55
|
export { EntityClassService } from './services/EntityClassService';
|
|
@@ -6,7 +6,7 @@ export type DashboardCreateBody = {
|
|
|
6
6
|
/**
|
|
7
7
|
* App types that can be targeted by the dashboard.
|
|
8
8
|
*/
|
|
9
|
-
target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY' | 'SERVICEMGMTPROCESSOPTIMIZATION'>;
|
|
9
|
+
target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY' | 'SERVICEMGMTPROCESSOPTIMIZATION' | 'FLOWACCELERATION' | 'INTEGRATEANDTESTANALYTICSLENS' | 'OPERATEANDMONITORANALYTICSLENS' | 'PLANANDCREATEANALYTICSLENS' | 'QUALITYIMPROVEMENT' | 'RELEASEANDDEPLOYANALYTICSLENS'>;
|
|
10
10
|
/**
|
|
11
11
|
* Description of the dashboard.
|
|
12
12
|
*/
|
|
@@ -22,7 +22,7 @@ export type DashboardPatchBody = {
|
|
|
22
22
|
/**
|
|
23
23
|
* App types that can be targeted by the dashboard.
|
|
24
24
|
*/
|
|
25
|
-
target_apps?: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY' | 'SERVICEMGMTPROCESSOPTIMIZATION'> | null;
|
|
25
|
+
target_apps?: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY' | 'SERVICEMGMTPROCESSOPTIMIZATION' | 'FLOWACCELERATION' | 'INTEGRATEANDTESTANALYTICSLENS' | 'OPERATEANDMONITORANALYTICSLENS' | 'PLANANDCREATEANALYTICSLENS' | 'QUALITYIMPROVEMENT' | 'RELEASEANDDEPLOYANALYTICSLENS'> | null;
|
|
26
26
|
/**
|
|
27
27
|
* Thumbnail representing dashboard. Base64 encoded SVG.
|
|
28
28
|
*/
|
|
@@ -22,7 +22,7 @@ export type DashboardPutBody = {
|
|
|
22
22
|
/**
|
|
23
23
|
* App types that can be targeted by the dashboard.
|
|
24
24
|
*/
|
|
25
|
-
target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY' | 'SERVICEMGMTPROCESSOPTIMIZATION'>;
|
|
25
|
+
target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY' | 'SERVICEMGMTPROCESSOPTIMIZATION' | 'FLOWACCELERATION' | 'INTEGRATEANDTESTANALYTICSLENS' | 'OPERATEANDMONITORANALYTICSLENS' | 'PLANANDCREATEANALYTICSLENS' | 'QUALITYIMPROVEMENT' | 'RELEASEANDDEPLOYANALYTICSLENS'>;
|
|
26
26
|
/**
|
|
27
27
|
* Thumbnail representing dashboard. Base64 encoded SVG.
|
|
28
28
|
*/
|
|
@@ -18,7 +18,7 @@ export type DashboardView = {
|
|
|
18
18
|
/**
|
|
19
19
|
* App types that can be targeted by the dashboard.
|
|
20
20
|
*/
|
|
21
|
-
target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY' | 'SERVICEMGMTPROCESSOPTIMIZATION'>;
|
|
21
|
+
target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY' | 'SERVICEMGMTPROCESSOPTIMIZATION' | 'FLOWACCELERATION' | 'INTEGRATEANDTESTANALYTICSLENS' | 'OPERATEANDMONITORANALYTICSLENS' | 'PLANANDCREATEANALYTICSLENS' | 'QUALITYIMPROVEMENT' | 'RELEASEANDDEPLOYANALYTICSLENS'>;
|
|
22
22
|
/**
|
|
23
23
|
* Description of the dashboard.
|
|
24
24
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProductSourceIntegration } from './ProductSourceIntegration';
|
|
2
2
|
export type ProductOrigin = {
|
|
3
3
|
configuration_types?: Array<string>;
|
|
4
4
|
created_dt?: string | null;
|
|
5
5
|
id?: string | null;
|
|
6
6
|
is_platform_origin?: boolean;
|
|
7
7
|
name: string;
|
|
8
|
-
|
|
8
|
+
integrations?: Array<ProductSourceIntegration>;
|
|
9
9
|
updated_dt?: string | null;
|
|
10
10
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type ProductSourceIntegrationCreate = {
|
|
2
2
|
data: Record<string, any>;
|
|
3
3
|
description?: string | null;
|
|
4
4
|
id?: string | null;
|
|
5
|
+
is_start_new_test?: boolean | null;
|
|
5
6
|
name: string;
|
|
6
7
|
origin_id: string;
|
|
7
8
|
type_name: string;
|
|
@@ -29,7 +29,7 @@ export declare class DashboardsService {
|
|
|
29
29
|
* @param isOotbDashboard Boolean match on Dashboard OOTB status.
|
|
30
30
|
* @param lifecycleState String match on Dashboard lifecycle state - 'DRAFT' or 'PUBLISHED'.
|
|
31
31
|
* @param name String match on Dashboard name.
|
|
32
|
-
* @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', '
|
|
32
|
+
* @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', 'SERVICEMGMTPROCESSOPTIMIZATION', 'FLOWACCELERATION', 'INTEGRATEANDTESTANALYTICSLENS', 'OPERATEANDMONITORANALYTICSLENS', 'PLANANDCREATEANALYTICSLENS', 'QUALITYIMPROVEMENT', 'RELEASEANDDEPLOYANALYTICSLENS', or 'APPLICATIONSECURITY'.
|
|
33
33
|
* @param viewModified Return dashboards with modified changes if they exist for this user.
|
|
34
34
|
* @returns DashboardViewPagedResponse OK
|
|
35
35
|
* @returns Error Default error response
|
|
@@ -135,8 +135,8 @@ export declare class DashboardsService {
|
|
|
135
135
|
*/
|
|
136
136
|
static patchInProgressDashboard(dashboardId: string, requestBody: DashboardPatchBody, xDigitalaiAccountId?: string, isSync?: boolean): Promise<DashboardView | Error>;
|
|
137
137
|
/**
|
|
138
|
-
* Revert in-progress changes.
|
|
139
|
-
* Discards edit in progress dashboard changes.
|
|
138
|
+
* Revert/publish in-progress changes.
|
|
139
|
+
* Discards or publishes edit in progress dashboard changes.
|
|
140
140
|
* @param dashboardId
|
|
141
141
|
* @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
|
|
142
142
|
* @param publish Publish changes to the original dashboard and delete the in-progress version.
|
|
@@ -184,7 +184,7 @@ export declare class DashboardsService {
|
|
|
184
184
|
* * **Filterable field names**: author_fullname, bi_type, categories, created_dt, description, is_ootb_dashboard, lifecycle_state, name, updated_by_fullname, updated_dt
|
|
185
185
|
* * **Searchable field names**: author_fullname, categories, description, name
|
|
186
186
|
*
|
|
187
|
-
* @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY',
|
|
187
|
+
* @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY','RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', 'SERVICEMGMTPROCESSOPTIMIZATION', 'FLOWACCELERATION', 'INTEGRATEANDTESTANALYTICSLENS', 'OPERATEANDMONITORANALYTICSLENS', 'PLANANDCREATEANALYTICSLENS', 'QUALITYIMPROVEMENT', 'RELEASEANDDEPLOYANALYTICSLENS', or 'APPLICATIONSECURITY'.
|
|
188
188
|
* @param biType String match on Dashboard bi type - 'MICROSTRATEGY'.
|
|
189
189
|
* @param isOotbDashboard Boolean match on Dashboard OOTB status.
|
|
190
190
|
* @param lifecycleState String match on Dashboard lifecycle state - 'DRAFT' or 'PUBLISHED'.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { DatalakeQuery } from '../models/DatalakeQuery';
|
|
2
|
+
import type { DatalakeResponse } from '../models/DatalakeResponse';
|
|
3
|
+
import type { Error } from '../models/Error';
|
|
4
|
+
export declare class DatalakeService {
|
|
5
|
+
/**
|
|
6
|
+
* [admin] create the datalake for an account
|
|
7
|
+
* Supported databases: snowflake, postgres
|
|
8
|
+
* @param requestBody
|
|
9
|
+
* @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
|
|
10
|
+
* @returns DatalakeResponse OK
|
|
11
|
+
* @returns Error Default error response
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static postDatalakeService(requestBody: DatalakeQuery, xDigitalaiAccountId?: string): Promise<DatalakeResponse | Error>;
|
|
15
|
+
}
|
package/src/lib/components/analytics/metadata-api/openapi/services/OriginInstancesService.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare class OriginInstancesService {
|
|
|
10
10
|
* @param count Maximum number of fetched items.
|
|
11
11
|
* @param sort Sort ordering to apply to the query.
|
|
12
12
|
* @param name String match on OriginInstance name.
|
|
13
|
+
* @param uniqueString String match on OriginInstance unique string.
|
|
13
14
|
* @param description String match on OriginInstance description.
|
|
14
15
|
* @param q Case-insensitive search of all text fields.
|
|
15
16
|
* @param id
|
|
@@ -17,9 +18,9 @@ export declare class OriginInstancesService {
|
|
|
17
18
|
* @returns Error Default error response
|
|
18
19
|
* @throws ApiError
|
|
19
20
|
*/
|
|
20
|
-
static getOriginInstancesService(xDigitalaiAccountId?: string, start?: number, count?: number, sort?: string, name?: string, description?: string, q?: string, id?: string): Promise<OriginInstancePagedResponse | Error>;
|
|
21
|
+
static getOriginInstancesService(xDigitalaiAccountId?: string, start?: number, count?: number, sort?: string, name?: string, uniqueString?: string, description?: string, q?: string, id?: string): Promise<OriginInstancePagedResponse | Error>;
|
|
21
22
|
/**
|
|
22
|
-
* Create an OriginInstance.
|
|
23
|
+
* Create an OriginInstance.The origin name or origin id is required
|
|
23
24
|
* Creates an OriginInstance, owned by the authenticated API user.
|
|
24
25
|
* @param requestBody
|
|
25
26
|
* @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
|
|
@@ -30,32 +31,32 @@ export declare class OriginInstancesService {
|
|
|
30
31
|
static postOriginInstancesService(requestBody: OriginInstance, xDigitalaiAccountId?: string): Promise<OriginInstance | Error>;
|
|
31
32
|
/**
|
|
32
33
|
* Get one OriginInstance.
|
|
33
|
-
* Return a single OriginInstance, selected by
|
|
34
|
-
* @param
|
|
34
|
+
* Return a single OriginInstance, selected by name or uniquestring or id.
|
|
35
|
+
* @param nameOrUniquestringOrId
|
|
35
36
|
* @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
|
|
36
37
|
* @returns OriginInstance OK
|
|
37
38
|
* @returns Error Default error response
|
|
38
39
|
* @throws ApiError
|
|
39
40
|
*/
|
|
40
|
-
static getOriginInstancesService1(
|
|
41
|
+
static getOriginInstancesService1(nameOrUniquestringOrId: string, xDigitalaiAccountId?: string): Promise<OriginInstance | Error>;
|
|
41
42
|
/**
|
|
42
43
|
* Update a single OriginInstance.
|
|
43
|
-
* Updates an OriginInstance, selected by ID.
|
|
44
|
-
* @param
|
|
44
|
+
* Updates an OriginInstance, selected by Name/Unique string/ID.
|
|
45
|
+
* @param nameOrUniquestringOrId
|
|
45
46
|
* @param requestBody
|
|
46
47
|
* @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
|
|
47
48
|
* @returns OriginInstance OriginInstance updated.
|
|
48
49
|
* @returns Error Default error response
|
|
49
50
|
* @throws ApiError
|
|
50
51
|
*/
|
|
51
|
-
static putOriginInstancesService(
|
|
52
|
+
static putOriginInstancesService(nameOrUniquestringOrId: string, requestBody: OriginInstance, xDigitalaiAccountId?: string): Promise<OriginInstance | Error>;
|
|
52
53
|
/**
|
|
53
54
|
* Delete a OriginInstance.
|
|
54
|
-
* Deletes a single OriginInstance, selected by
|
|
55
|
-
* @param
|
|
55
|
+
* Deletes a single OriginInstance, selected by name or uniquestring or id.
|
|
56
|
+
* @param nameOrUniquestringOrId
|
|
56
57
|
* @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
|
|
57
58
|
* @returns Error Default error response
|
|
58
59
|
* @throws ApiError
|
|
59
60
|
*/
|
|
60
|
-
static deleteOriginInstancesService(
|
|
61
|
+
static deleteOriginInstancesService(nameOrUniquestringOrId: string, xDigitalaiAccountId?: string): Promise<Error>;
|
|
61
62
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { Error } from '../models/Error';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
2
|
+
import type { ProductSourceIntegration } from '../models/ProductSourceIntegration';
|
|
3
|
+
import type { ProductSourceIntegrationCreate } from '../models/ProductSourceIntegrationCreate';
|
|
4
|
+
import type { ProductSourceIntegrationTest } from '../models/ProductSourceIntegrationTest';
|
|
5
|
+
import type { ProductSourceIntegrationTestCreate } from '../models/ProductSourceIntegrationTestCreate';
|
|
6
|
+
import type { ProductSourceIntegrationUpdate } from '../models/ProductSourceIntegrationUpdate';
|
|
4
7
|
import type { ProductsResponse } from '../models/ProductsResponse';
|
|
5
8
|
import type { ProductView } from '../models/ProductView';
|
|
6
9
|
export declare class ProductsService {
|
|
@@ -31,23 +34,84 @@ export declare class ProductsService {
|
|
|
31
34
|
*/
|
|
32
35
|
static getProductById(productId: string, xDigitalaiAccountId?: string, isSync?: boolean): Promise<ProductView | Error>;
|
|
33
36
|
/**
|
|
34
|
-
* Creates a
|
|
35
|
-
* Returns new
|
|
37
|
+
* Creates a source integration and associates it with the product
|
|
38
|
+
* Returns new source integration information.
|
|
36
39
|
* @param productId
|
|
37
40
|
* @param requestBody
|
|
38
41
|
* @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
|
|
39
42
|
* @returns Error Default error response
|
|
40
|
-
* @returns
|
|
43
|
+
* @returns ProductSourceIntegration Created
|
|
41
44
|
* @throws ApiError
|
|
42
45
|
*/
|
|
43
|
-
static
|
|
46
|
+
static createProductIntegration(productId: string, requestBody: ProductSourceIntegrationCreate, xDigitalaiAccountId?: string): Promise<Error | ProductSourceIntegration>;
|
|
44
47
|
/**
|
|
45
|
-
*
|
|
46
|
-
* @param
|
|
48
|
+
* Gets product source integration data
|
|
49
|
+
* @param integrationId
|
|
47
50
|
* @param productId
|
|
48
51
|
* @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
|
|
52
|
+
* @returns ProductSourceIntegration OK
|
|
49
53
|
* @returns Error Default error response
|
|
50
54
|
* @throws ApiError
|
|
51
55
|
*/
|
|
52
|
-
static
|
|
56
|
+
static getProductIntegration(integrationId: string, productId: string, xDigitalaiAccountId?: string): Promise<ProductSourceIntegration | Error>;
|
|
57
|
+
/**
|
|
58
|
+
* Updates product source integration
|
|
59
|
+
* @param integrationId
|
|
60
|
+
* @param productId
|
|
61
|
+
* @param requestBody
|
|
62
|
+
* @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
|
|
63
|
+
* @returns ProductSourceIntegration OK
|
|
64
|
+
* @returns Error Default error response
|
|
65
|
+
* @throws ApiError
|
|
66
|
+
*/
|
|
67
|
+
static updateProductIntegration(integrationId: string, productId: string, requestBody: ProductSourceIntegrationUpdate, xDigitalaiAccountId?: string): Promise<ProductSourceIntegration | Error>;
|
|
68
|
+
/**
|
|
69
|
+
* Removes an integration from the product
|
|
70
|
+
* @param integrationId
|
|
71
|
+
* @param productId
|
|
72
|
+
* @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
|
|
73
|
+
* @returns Error Default error response
|
|
74
|
+
* @throws ApiError
|
|
75
|
+
*/
|
|
76
|
+
static removeProductIntegration(integrationId: string, productId: string, xDigitalaiAccountId?: string): Promise<Error>;
|
|
77
|
+
/**
|
|
78
|
+
* Starts a new test for a product source integration
|
|
79
|
+
* @param integrationId
|
|
80
|
+
* @param productId
|
|
81
|
+
* @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
|
|
82
|
+
* @returns ProductSourceIntegration OK
|
|
83
|
+
* @returns Error Default error response
|
|
84
|
+
* @throws ApiError
|
|
85
|
+
*/
|
|
86
|
+
static startTestForProductIntegration(integrationId: string, productId: string, xDigitalaiAccountId?: string): Promise<ProductSourceIntegration | Error>;
|
|
87
|
+
/**
|
|
88
|
+
* Removes test info from a product source integration
|
|
89
|
+
* @param integrationId
|
|
90
|
+
* @param productId
|
|
91
|
+
* @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
|
|
92
|
+
* @returns ProductSourceIntegration OK
|
|
93
|
+
* @returns Error Default error response
|
|
94
|
+
* @throws ApiError
|
|
95
|
+
*/
|
|
96
|
+
static removeTestForProductIntegration(integrationId: string, productId: string, xDigitalaiAccountId?: string): Promise<ProductSourceIntegration | Error>;
|
|
97
|
+
/**
|
|
98
|
+
* Starts a new connection test for a source integration
|
|
99
|
+
* @param productId
|
|
100
|
+
* @param requestBody
|
|
101
|
+
* @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
|
|
102
|
+
* @returns Error Default error response
|
|
103
|
+
* @returns ProductSourceIntegrationTest Created
|
|
104
|
+
* @throws ApiError
|
|
105
|
+
*/
|
|
106
|
+
static createSourceIntegrationTest(productId: string, requestBody: ProductSourceIntegrationTestCreate, xDigitalaiAccountId?: string): Promise<Error | ProductSourceIntegrationTest>;
|
|
107
|
+
/**
|
|
108
|
+
* Gets source integration test info
|
|
109
|
+
* @param productId
|
|
110
|
+
* @param testId
|
|
111
|
+
* @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
|
|
112
|
+
* @returns ProductSourceIntegrationTest OK
|
|
113
|
+
* @returns Error Default error response
|
|
114
|
+
* @throws ApiError
|
|
115
|
+
*/
|
|
116
|
+
static getSourceIntegrationTest(productId: string, testId: string, xDigitalaiAccountId?: string): Promise<ProductSourceIntegrationTest | Error>;
|
|
53
117
|
}
|
|
@@ -5,6 +5,8 @@ export type AvatarType = 'image' | 'text' | 'icon';
|
|
|
5
5
|
export type AvatarVariant = 'circular' | 'square';
|
|
6
6
|
export type AvatarColor = 'default' | 'inherit' | 'green' | 'blue' | 'orange' | 'purple' | 'yellow' | 'red' | 'darkGrey' | 'lightGrey' | 'transparent' | 'white';
|
|
7
7
|
export interface AvatarProps extends CommonProps {
|
|
8
|
+
/** Apply gradient color to inner content (icon / typography) */
|
|
9
|
+
ai?: boolean;
|
|
8
10
|
/** Text displayed on hover */
|
|
9
11
|
alt: string;
|
|
10
12
|
/** Color for avatar */
|
|
@@ -36,4 +38,4 @@ export interface AvatarProps extends CommonProps {
|
|
|
36
38
|
/** The shape of the avatar */
|
|
37
39
|
variant?: AvatarVariant;
|
|
38
40
|
}
|
|
39
|
-
export declare const DotAvatar: ({ alt, ariaLabel, ariaRole, className, component, disableInteractive, color, "data-testid": dataTestId, iconId, imageSrc, onClick, number, size, tabIndex, text, type, tooltip, variant, style, }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export declare const DotAvatar: ({ ai, alt, ariaLabel, ariaRole, className, component, disableInteractive, color, "data-testid": dataTestId, iconId, imageSrc, onClick, number, size, tabIndex, text, type, tooltip, variant, style, }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -85,7 +85,7 @@ export { Cell, CssCell } from './css-grid/CssCell';
|
|
|
85
85
|
export { CssGrid } from './css-grid/CssGrid';
|
|
86
86
|
export { CssGridDebug } from './css-grid/CssGridDebug';
|
|
87
87
|
export { DotDashboardDetails } from './analytics/dashboard-details/DashboardDetails';
|
|
88
|
-
export { DashboardAppTypeOptions, DashboardData, DotDashboardDialog, } from './analytics/dashboard-dialog/DashboardDialog';
|
|
88
|
+
export { DashboardAppTypeOptions, DashboardAppTypeToLabelMap, DashboardData, DotDashboardDialog, } from './analytics/dashboard-dialog/DashboardDialog';
|
|
89
89
|
export { DotDashboardActions } from './analytics/dashboard-actions/DashboardActions';
|
|
90
90
|
export { DotDashboardHeader } from './analytics/dashboard-header/DashboardHeader';
|
|
91
91
|
export { DotDashboardOptionsMenu } from './analytics/dashboard-actions/DashboardOptionsMenu';
|
|
@@ -2,6 +2,8 @@ import { ElementType, ReactNode } from 'react';
|
|
|
2
2
|
import { CommonProps } from '../CommonProps';
|
|
3
3
|
export type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2' | 'caption' | 'button' | 'overline' | 'inherit';
|
|
4
4
|
export interface TypographyProps extends CommonProps {
|
|
5
|
+
/** If true, applies a gradient color */
|
|
6
|
+
ai?: boolean;
|
|
5
7
|
/** When `ariaRole` is `heading` then set a level */
|
|
6
8
|
ariaLevel?: number;
|
|
7
9
|
/** The content of the component. */
|
|
@@ -15,4 +17,4 @@ export interface TypographyProps extends CommonProps {
|
|
|
15
17
|
/** Applies the theme typography styles. */
|
|
16
18
|
variant?: TypographyVariant;
|
|
17
19
|
}
|
|
18
|
-
export declare const DotTypography: ({ ariaLabel, ariaLevel, ariaRole, className, "data-testid": dataTestId, children, component, noMarginBottom, noWrap, variant, }: TypographyProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare const DotTypography: ({ ai, ariaLabel, ariaLevel, ariaRole, className, "data-testid": dataTestId, children, component, noMarginBottom, noWrap, variant, }: TypographyProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { TypographyProps } from '@mui/material/Typography';
|
|
2
|
+
export declare const rootClassName = "dot-typography";
|
|
3
|
+
export declare const StyledTypography: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").TypographyTypeMap<{}, "span">>, any, TypographyProps, never>;
|