@digital-ai/dot-components 2.19.0 → 2.20.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/README.md +1 -2
- package/index.esm.d.ts +1 -0
- package/index.esm.js +1595 -1540
- package/package.json +7 -7
- package/{index.d.ts → src/index.d.ts} +7 -6
- package/src/lib/components/AccessibilityProps.d.ts +1 -0
- package/{lib → src/lib}/components/BaseButtonProps.d.ts +26 -26
- package/{lib → src/lib}/components/CommonProps.d.ts +11 -11
- package/{lib → src/lib}/components/accordion/Accordion.d.ts +28 -28
- package/{lib → src/lib}/components/accordion/Accordion.styles.d.ts +4 -4
- package/{lib → src/lib}/components/action-toolbar/ActionToolbar.d.ts +10 -10
- package/{lib → src/lib}/components/action-toolbar/ActionToolbar.styles.d.ts +2 -2
- package/{lib → src/lib}/components/alert-banner/AlertBanner.d.ts +19 -19
- package/{lib → src/lib}/components/alert-banner/AlertBanner.styles.d.ts +4 -4
- package/{lib → src/lib}/components/app-logo/AppLogo.d.ts +11 -11
- package/{lib → src/lib}/components/app-switcher/AppSwitcher.d.ts +29 -29
- package/{lib → src/lib}/components/app-switcher/AppSwitcher.styles.d.ts +2 -2
- package/{lib → src/lib}/components/app-switcher/utils/helpers.d.ts +26 -26
- package/{lib → src/lib}/components/app-toolbar/AppToolbar.d.ts +49 -49
- package/{lib → src/lib}/components/app-toolbar/AppToolbar.data.d.ts +8 -8
- package/{lib → src/lib}/components/app-toolbar/AppToolbar.styles.d.ts +4 -4
- package/{lib → src/lib}/components/auto-complete/AutoComplete.d.ts +89 -89
- package/{lib → src/lib}/components/auto-complete/AutoComplete.styles.d.ts +5 -5
- package/{lib → src/lib}/components/auto-complete/index.d.ts +4 -4
- package/{lib → src/lib}/components/auto-complete/utils/helpers.d.ts +13 -13
- package/{lib → src/lib}/components/auto-complete/utils/interface.d.ts +17 -17
- package/{lib → src/lib}/components/avatar/Avatar.d.ts +37 -37
- package/{lib → src/lib}/components/avatar/Avatar.styles.d.ts +3 -3
- package/{lib → src/lib}/components/avatar-group/AvatarGroup.d.ts +12 -12
- package/{lib → src/lib}/components/avatar-group/AvatarGroup.styles.d.ts +3 -3
- package/{lib → src/lib}/components/badge/Badge.d.ts +20 -20
- package/{lib → src/lib}/components/badge/Badge.styles.d.ts +6 -6
- package/{lib → src/lib}/components/badge/index.d.ts +1 -1
- package/{lib → src/lib}/components/breadcrumbs/Breadcrumbs.d.ts +25 -25
- package/{lib → src/lib}/components/breadcrumbs/Breadcrumbs.data.d.ts +5 -5
- package/{lib → src/lib}/components/breadcrumbs/Breadcrumbs.styles.d.ts +4 -4
- package/{lib → src/lib}/components/breadcrumbs/utils/helpers.d.ts +25 -25
- package/{lib → src/lib}/components/breadcrumbs/utils/useBreadcrumbsObserver.d.ts +9 -9
- package/{lib → src/lib}/components/breadcrumbs/utils/useBreadcrumbsResizer.d.ts +18 -18
- package/{lib → src/lib}/components/button/Button.d.ts +13 -13
- package/{lib → src/lib}/components/button/Button.styles.d.ts +2 -2
- package/{lib → src/lib}/components/button/CopyButton.d.ts +14 -14
- package/{lib → src/lib}/components/button/CopyButton.styles.d.ts +2 -2
- package/{lib → src/lib}/components/button/IconButton.d.ts +29 -29
- package/{lib → src/lib}/components/button/IconButton.styles.d.ts +2 -2
- package/{lib → src/lib}/components/button/index.d.ts +6 -6
- package/{lib → src/lib}/components/button-toggle/ButtonToggle.d.ts +24 -24
- package/{lib → src/lib}/components/button-toggle/ButtonToggle.styles.d.ts +3 -3
- package/{lib → src/lib}/components/button-toggle/index.d.ts +3 -3
- package/src/lib/components/button-toggle/utils/models.d.ts +13 -0
- package/{lib → src/lib}/components/card/Card.d.ts +7 -7
- package/{lib → src/lib}/components/card/CardContent.d.ts +7 -7
- package/{lib → src/lib}/components/card/CardFooter.d.ts +7 -7
- package/{lib → src/lib}/components/card/CardFooter.styles.d.ts +2 -2
- package/{lib → src/lib}/components/card/CardHeader.d.ts +19 -19
- package/{lib → src/lib}/components/carousel/Carousel.d.ts +31 -31
- package/{lib → src/lib}/components/carousel/Carousel.styles.d.ts +6 -6
- package/{lib → src/lib}/components/checkbox/Checkbox.d.ts +12 -12
- package/{lib → src/lib}/components/checkbox/Checkbox.styles.d.ts +3 -3
- package/{lib → src/lib}/components/checkbox/CheckboxGroup.d.ts +16 -16
- package/{lib → src/lib}/components/checkbox/CheckboxGroup.styles.d.ts +5 -5
- package/{lib → src/lib}/components/chip/Chip.d.ts +29 -29
- package/{lib → src/lib}/components/chip/Chip.styles.d.ts +2 -2
- package/{lib → src/lib}/components/click-away-listener/ClickAwayListener.d.ts +10 -10
- package/{lib → src/lib}/components/click-away-listener/index.d.ts +2 -2
- package/{lib → src/lib}/components/compareSize.d.ts +1 -1
- package/{lib → src/lib}/components/confirmation-dialog/ConfirmationDialog.d.ts +20 -20
- package/{lib → src/lib}/components/core-api/CancelablePromise.d.ts +7 -7
- package/{lib → src/lib}/components/core-api/CoreApiProvider.d.ts +23 -23
- package/{lib → src/lib}/components/core-api/openapi/core/ApiError.d.ts +8 -8
- package/{lib → src/lib}/components/core-api/openapi/core/ApiRequestOptions.d.ts +12 -12
- package/{lib → src/lib}/components/core-api/openapi/core/ApiResult.d.ts +7 -7
- package/{lib → src/lib}/components/core-api/openapi/core/OpenAPI.d.ts +15 -15
- package/{lib → src/lib}/components/core-api/openapi/core/request.d.ts +9 -9
- package/{lib → src/lib}/components/core-api/openapi/index.d.ts +12 -12
- package/{lib → src/lib}/components/core-api/openapi/models/AccountModel.d.ts +50 -50
- package/{lib → src/lib}/components/core-api/openapi/models/AccountModelWrapper.d.ts +4 -4
- package/{lib → src/lib}/components/core-api/openapi/models/AccountModelsWrapper.d.ts +6 -6
- package/{lib → src/lib}/components/core-api/openapi/models/ApplicationInstanceStates.d.ts +4 -4
- package/{lib → src/lib}/components/core-api/openapi/models/ApplicationModel.d.ts +67 -67
- package/{lib → src/lib}/components/core-api/openapi/models/ApplicationModelWrapper.d.ts +4 -4
- package/{lib → src/lib}/components/core-api/openapi/models/ApplicationModelsWrapper.d.ts +6 -6
- package/{lib → src/lib}/components/core-api/openapi/models/PaginationModel.d.ts +22 -22
- package/{lib → src/lib}/components/core-api/openapi/services/AccountsService.d.ts +25 -25
- package/{lib → src/lib}/components/core-api/openapi/services/ApplicationsService.d.ts +38 -38
- package/{lib → src/lib}/components/createUUID.d.ts +1 -1
- package/{lib → src/lib}/components/css-grid/CssCell.d.ts +42 -42
- package/{lib → src/lib}/components/css-grid/CssGrid.d.ts +37 -37
- package/{lib → src/lib}/components/css-grid/CssGridDebug.d.ts +4 -4
- package/{lib → src/lib}/components/date-picker/DatePicker.d.ts +83 -83
- package/{lib → src/lib}/components/date-picker/DatePicker.styles.d.ts +11 -11
- package/{lib → src/lib}/components/date-picker/index.d.ts +5 -5
- package/{lib → src/lib}/components/date-picker/utils/helpers.d.ts +5 -5
- package/{lib → src/lib}/components/date-picker/utils/models.d.ts +43 -43
- package/{lib → src/lib}/components/dialog/Dialog.d.ts +42 -42
- package/{lib → src/lib}/components/dialog/Dialog.styles.d.ts +3 -3
- package/{lib → src/lib}/components/divider/Divider.d.ts +16 -16
- package/{lib → src/lib}/components/divider/Divider.styles.d.ts +2 -2
- package/{lib → src/lib}/components/divider/index.d.ts +1 -1
- package/{lib → src/lib}/components/draggable-list/DraggableList.d.ts +23 -23
- package/{lib → src/lib}/components/draggable-list/DraggableList.styles.d.ts +8 -8
- package/{lib → src/lib}/components/draggable-list/index.d.ts +2 -2
- package/{lib → src/lib}/components/draggable-list/utils/helpers.d.ts +5 -5
- package/{lib → src/lib}/components/draggable-list/utils/models.d.ts +5 -5
- package/{lib → src/lib}/components/drawer/Drawer.d.ts +45 -45
- package/{lib → src/lib}/components/drawer/Drawer.styles.d.ts +4 -4
- package/{lib → src/lib}/components/drawer/DrawerBody.d.ts +9 -9
- package/{lib → src/lib}/components/drawer/DrawerBody.styles.d.ts +2 -2
- package/{lib → src/lib}/components/drawer/DrawerFooter.d.ts +6 -6
- package/{lib → src/lib}/components/drawer/DrawerFooter.styles.d.ts +2 -2
- package/{lib → src/lib}/components/drawer/DrawerHeader.d.ts +8 -8
- package/{lib → src/lib}/components/drawer/DrawerHeader.styles.d.ts +2 -2
- package/{lib → src/lib}/components/dynamic-form/DynamicForm.d.ts +10 -10
- package/{lib → src/lib}/components/dynamic-form/DynamicForm.styles.d.ts +2 -2
- package/{lib → src/lib}/components/dynamic-form/constants.d.ts +4 -4
- package/{lib → src/lib}/components/dynamic-form/models.d.ts +81 -81
- package/{lib → src/lib}/components/dynamic-form/sample.spec.data.d.ts +22 -22
- package/{lib → src/lib}/components/dynamic-form/utils/formHelpers.d.ts +38 -38
- package/{lib → src/lib}/components/dynamic-form/utils/helpers.d.ts +6 -6
- package/{lib → src/lib}/components/dynamic-form/utils/validation.d.ts +25 -25
- package/{lib → src/lib}/components/empty-state/EmptyState.d.ts +15 -15
- package/{lib → src/lib}/components/empty-state/EmptyState.styles.d.ts +2 -2
- package/{lib → src/lib}/components/file-upload/FileListItem.d.ts +17 -17
- package/src/lib/components/file-upload/FileListItem.styles.d.ts +13 -0
- package/{lib → src/lib}/components/file-upload/FileUpload.d.ts +37 -37
- package/{lib → src/lib}/components/file-upload/FileUpload.styles.d.ts +6 -6
- package/{lib → src/lib}/components/file-upload/index.d.ts +6 -6
- package/src/lib/components/file-upload/uploadHelpers.d.ts +12 -0
- package/{lib → src/lib}/components/file-upload/utils/helpers.d.ts +25 -25
- package/{lib → src/lib}/components/file-upload/utils/models.d.ts +35 -35
- package/{lib → src/lib}/components/form/Form.d.ts +9 -9
- package/{lib → src/lib}/components/form/Form.styles.d.ts +2 -2
- package/{lib → src/lib}/components/form-controls/FormControl.styles.d.ts +6 -6
- package/{lib → src/lib}/components/form-controls/FormControlLabel.styles.d.ts +3 -3
- package/{lib → src/lib}/components/form-group/FormGroup.d.ts +9 -9
- package/{lib → src/lib}/components/form-group/FormGroup.styles.d.ts +3 -3
- package/{lib → src/lib}/components/helpers.d.ts +13 -13
- package/{lib → src/lib}/components/icon/Icon.d.ts +11 -11
- package/{lib → src/lib}/components/icon/Icon.styles.d.ts +5 -5
- package/{lib → src/lib}/components/index.d.ts +109 -106
- package/{lib → src/lib}/components/inline-edit/InlineEdit.d.ts +39 -39
- package/{lib → src/lib}/components/inline-edit/InlineEdit.styles.d.ts +13 -13
- package/{lib → src/lib}/components/inline-edit/index.d.ts +3 -3
- package/{lib → src/lib}/components/inline-edit/utils/helpers.d.ts +6 -6
- package/{lib → src/lib}/components/inline-edit/utils/models.d.ts +13 -13
- package/{lib → src/lib}/components/input-form-fields/InputFormFields.propTypes.d.ts +67 -67
- package/{lib → src/lib}/components/input-form-fields/InputFormFields.styles.d.ts +14 -14
- package/{lib → src/lib}/components/input-form-fields/InputLabel.d.ts +17 -17
- package/{lib → src/lib}/components/input-form-fields/InputSelect.d.ts +15 -15
- package/{lib → src/lib}/components/input-form-fields/InputText.d.ts +34 -34
- package/{lib → src/lib}/components/input-form-fields/common.styles.d.ts +5 -5
- package/{lib → src/lib}/components/linear-progress/LinearProgress.d.ts +14 -14
- package/{lib → src/lib}/components/linear-progress/LinearProgress.styles.d.ts +3 -3
- package/{lib → src/lib}/components/linear-progress/index.d.ts +2 -2
- package/{lib → src/lib}/components/link/Link.d.ts +30 -30
- package/{lib → src/lib}/components/link/Link.styles.d.ts +2 -2
- package/{lib → src/lib}/components/list/List.d.ts +2 -2
- package/{lib → src/lib}/components/list/List.styles.d.ts +5 -5
- package/{lib → src/lib}/components/list/ListDivider.d.ts +7 -7
- package/{lib → src/lib}/components/list/ListItem.d.ts +2 -2
- package/{lib → src/lib}/components/list/ListItem.styles.d.ts +6 -6
- package/{lib → src/lib}/components/list/NestedList.d.ts +2 -2
- package/{lib → src/lib}/components/list/NestedList.styles.d.ts +1 -1
- package/{lib → src/lib}/components/list/index.d.ts +2 -2
- package/{lib → src/lib}/components/list/utils/helpers.d.ts +3 -3
- package/{lib → src/lib}/components/list/utils/models.d.ts +88 -87
- package/{lib → src/lib}/components/menu/Menu.d.ts +50 -50
- package/{lib → src/lib}/components/menu/Menu.styles.d.ts +18 -18
- package/{lib → src/lib}/components/menu/MenuList.d.ts +26 -26
- package/{lib → src/lib}/components/menu/MenuList.styles.d.ts +4 -4
- package/{lib → src/lib}/components/menu/utils/constants.d.ts +3 -3
- package/{lib → src/lib}/components/menu/utils/helpers.d.ts +16 -16
- package/{lib → src/lib}/components/navigation-rail/NavigationRail.d.ts +25 -25
- package/{lib → src/lib}/components/navigation-rail/NavigationRail.styles.d.ts +6 -6
- package/{lib → src/lib}/components/navigation-rail/index.d.ts +2 -2
- package/{lib → src/lib}/components/pill/Pill.d.ts +24 -24
- package/{lib → src/lib}/components/pill/Pill.styles.d.ts +3 -3
- package/{lib → src/lib}/components/popper/Popper.d.ts +33 -33
- package/{lib → src/lib}/components/popper/Popper.data.d.ts +7 -7
- package/{lib → src/lib}/components/popper/Popper.styles.d.ts +12 -12
- package/{lib → src/lib}/components/popper/index.d.ts +2 -2
- package/{lib → src/lib}/components/progress/Progress.d.ts +18 -18
- package/{lib → src/lib}/components/progress/Progress.styles.d.ts +3 -3
- package/{lib → src/lib}/components/progress/index.d.ts +2 -2
- package/{lib → src/lib}/components/progress-button/ProgressButton.d.ts +8 -8
- package/{lib → src/lib}/components/progress-button/ProgressButton.styles.d.ts +3 -3
- package/{lib → src/lib}/components/radio/RadioButton.d.ts +31 -31
- package/{lib → src/lib}/components/radio/RadioButton.styles.d.ts +3 -3
- package/{lib → src/lib}/components/radio/RadioGroup.d.ts +29 -29
- package/{lib → src/lib}/components/radio/RadioGroup.styles.d.ts +6 -6
- package/{lib → src/lib}/components/search-input/SearchInput.d.ts +11 -11
- package/{lib → src/lib}/components/search-input/SearchInput.styles.d.ts +2 -2
- package/{lib → src/lib}/components/sidebar/Sidebar.d.ts +49 -49
- package/{lib → src/lib}/components/sidebar/Sidebar.styles.d.ts +2 -2
- package/{lib → src/lib}/components/skeleton/Skeleton.d.ts +14 -14
- package/{lib → src/lib}/components/skeleton/Skeleton.styles.d.ts +2 -2
- package/{lib → src/lib}/components/snackbar/Snackbar.d.ts +21 -21
- package/{lib → src/lib}/components/snackbar/Snackbar.styles.d.ts +8 -8
- package/{lib → src/lib}/components/snackbar/SnackbarContainer.styles.d.ts +2 -2
- package/{lib → src/lib}/components/snackbar/SnackbarHelper.d.ts +2 -2
- package/{lib → src/lib}/components/snackbar/SnackbarProvider.d.ts +21 -21
- package/{lib → src/lib}/components/snackbar/index.d.ts +4 -4
- package/{lib → src/lib}/components/split-button/SplitButton.d.ts +15 -15
- package/{lib → src/lib}/components/split-button/SplitButton.styles.d.ts +3 -3
- package/{lib → src/lib}/components/split-button/utils/helpers.d.ts +2 -2
- package/{lib → src/lib}/components/stepper/Stepper.d.ts +64 -64
- package/{lib → src/lib}/components/stepper/Stepper.styles.d.ts +15 -15
- package/{lib → src/lib}/components/switch/Switch.d.ts +26 -26
- package/{lib → src/lib}/components/switch/Switch.styles.d.ts +3 -3
- package/{lib → src/lib}/components/switch/index.d.ts +2 -2
- package/{lib → src/lib}/components/table/Table.d.ts +10 -10
- package/{lib → src/lib}/components/table/Table.data.d.ts +42 -42
- package/{lib → src/lib}/components/table/Table.styles.d.ts +4 -4
- package/{lib → src/lib}/components/table/TableAction.d.ts +12 -12
- package/{lib → src/lib}/components/table/TableActions.d.ts +7 -7
- package/{lib → src/lib}/components/table/TableActions.styles.d.ts +3 -3
- package/{lib → src/lib}/components/table/TableBody.d.ts +29 -29
- package/{lib → src/lib}/components/table/TableBody.styles.d.ts +2 -2
- package/{lib → src/lib}/components/table/TableBodyCheckboxCell.d.ts +8 -8
- package/{lib → src/lib}/components/table/TableBodyCheckboxCell.styles.d.ts +3 -3
- package/{lib → src/lib}/components/table/TableCell.d.ts +19 -19
- package/{lib → src/lib}/components/table/TableCell.styles.d.ts +3 -3
- package/{lib → src/lib}/components/table/TableDataWithPagination.d.ts +11 -11
- package/{lib → src/lib}/components/table/TableHeader.d.ts +6 -6
- package/{lib → src/lib}/components/table/TableHeaderCell.d.ts +36 -36
- package/{lib → src/lib}/components/table/TableHeaderCell.styles.d.ts +3 -3
- package/{lib → src/lib}/components/table/TableHeaderCheckboxCell.d.ts +8 -8
- package/{lib → src/lib}/components/table/TableHeaderCheckboxCell.styles.d.ts +3 -3
- package/{lib → src/lib}/components/table/TablePagination.d.ts +25 -25
- package/{lib → src/lib}/components/table/TablePagination.styles.d.ts +7 -7
- package/{lib → src/lib}/components/table/TableRow.d.ts +30 -30
- package/{lib → src/lib}/components/table/TableRow.styles.d.ts +2 -2
- package/{lib → src/lib}/components/table/TableRowEmpty.d.ts +7 -7
- package/{lib → src/lib}/components/table/TableSelectionToolbar.d.ts +8 -8
- package/{lib → src/lib}/components/table/TableSelectionToolbar.styles.d.ts +2 -2
- package/{lib → src/lib}/components/table/collapsible-table/CollapsibleTable.d.ts +2 -2
- package/{lib → src/lib}/components/table/collapsible-table/CollapsibleTable.styles.d.ts +2 -2
- package/{lib → src/lib}/components/table/collapsible-table/CollapsibleTableBody.d.ts +2 -2
- package/{lib → src/lib}/components/table/collapsible-table/ExpandCollapseCell.d.ts +3 -3
- package/{lib → src/lib}/components/table/collapsible-table/ExpandCollapseCell.styles.d.ts +3 -3
- package/{lib → src/lib}/components/table/collapsible-table/index.d.ts +4 -4
- package/{lib → src/lib}/components/table/collapsible-table/interfaces.d.ts +43 -43
- package/{lib → src/lib}/components/table/index.d.ts +13 -13
- package/{lib → src/lib}/components/table/utils/helpers.d.ts +9 -9
- package/{lib → src/lib}/components/table/utils/interfaces.d.ts +87 -87
- package/{lib → src/lib}/components/table/utils/models.d.ts +25 -25
- package/{lib → src/lib}/components/tabs/Tabs.d.ts +31 -31
- package/{lib → src/lib}/components/tabs/Tabs.styles.d.ts +2 -2
- package/{lib → src/lib}/components/time-picker/TimePicker.d.ts +63 -63
- package/{lib → src/lib}/components/time-picker/TimePicker.styles.d.ts +7 -7
- package/{lib → src/lib}/components/time-picker/index.d.ts +3 -3
- package/{lib → src/lib}/components/time-picker/utils/helpers.d.ts +18 -18
- package/{lib → src/lib}/components/time-picker/utils/models.d.ts +4 -4
- package/{lib → src/lib}/components/tooltip/Tooltip.d.ts +14 -14
- package/{lib → src/lib}/components/truncate-with-tooltip/TruncateWithTooltip.d.ts +9 -9
- package/{lib → src/lib}/components/truncate-with-tooltip/TruncateWithTooltip.styles.d.ts +3 -3
- package/{lib → src/lib}/components/truncate-with-tooltip/index.d.ts +2 -2
- package/{lib → src/lib}/components/truncate-with-tooltip/utils/helpers.d.ts +3 -3
- package/{lib → src/lib}/components/typography/Typography.d.ts +18 -18
- package/{lib → src/lib}/components/useStylesWithRootClass.d.ts +1 -1
- package/{lib → src/lib}/fonts/fonts.d.ts +1 -1
- package/{lib → src/lib}/theme-provider/ThemeProvider.d.ts +32 -31
- package/{lib → src/lib}/theme-provider/colors/agility-dark-theme-colors.d.ts +9 -9
- package/{lib → src/lib}/theme-provider/colors/agility-light-theme-colors.d.ts +11 -11
- package/src/lib/theme-provider/colors/figma-colors.d.ts +3 -0
- package/{lib → src/lib}/theme-provider/colors/light-theme-colors.d.ts +104 -104
- package/{lib → src/lib}/theme-provider/common/variables.d.ts +6 -6
- package/src/lib/theme-provider/interfaces.d.ts +198 -0
- package/index.umd.js +0 -12006
- package/lib/components/AccessibilityProps.d.ts +0 -1
- package/lib/components/button-toggle/utils/models.d.ts +0 -13
- package/lib/components/file-upload/FileListItem.styles.d.ts +0 -42
- package/lib/components/file-upload/uploadHelpers.d.ts +0 -12
- package/lib/theme-provider/interfaces.d.ts +0 -56
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { ClickAwayListenerProps } from './ClickAwayListener';
|
|
2
|
-
export { DotClickAwayListener } from './ClickAwayListener';
|
|
1
|
+
export type { ClickAwayListenerProps } from './ClickAwayListener';
|
|
2
|
+
export { DotClickAwayListener } from './ClickAwayListener';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const compareWidth: (parentEl: Element | HTMLElement, childEl: Element | HTMLElement) => boolean;
|
|
1
|
+
export declare const compareWidth: (parentEl: Element | HTMLElement, childEl: Element | HTMLElement) => boolean;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { KeyboardEvent, MouseEvent, ReactNode } from 'react';
|
|
2
|
-
import { CommonProps } from '../CommonProps';
|
|
3
|
-
import { DialogButtonProps, SubmitButtonProps } from '../dialog/Dialog';
|
|
4
|
-
export interface ConfirmationDialogProps extends CommonProps {
|
|
5
|
-
/** Cancel button properties */
|
|
6
|
-
cancelButtonProps?: DialogButtonProps;
|
|
7
|
-
/** The dialog message */
|
|
8
|
-
message?: ReactNode;
|
|
9
|
-
/** The callback to be executed when the action is cancelled */
|
|
10
|
-
onCancel?: (event: KeyboardEvent | MouseEvent) => void;
|
|
11
|
-
/** The callback to be executed when the action is confirmed */
|
|
12
|
-
onSubmit?: (event: MouseEvent | KeyboardEvent) => void;
|
|
13
|
-
/** If true the dialog will be visible */
|
|
14
|
-
open: boolean;
|
|
15
|
-
/** Submit button properties */
|
|
16
|
-
submitButtonProps?: SubmitButtonProps;
|
|
17
|
-
/** The dialog title */
|
|
18
|
-
title?: ReactNode;
|
|
19
|
-
}
|
|
20
|
-
export declare const DotConfirmationDialog: ({ ariaLabel, cancelButtonProps, className, "data-testid": dataTestId, message, onCancel, onSubmit, submitButtonProps, open, title, }: ConfirmationDialogProps) => JSX.Element;
|
|
1
|
+
import { KeyboardEvent, MouseEvent, ReactNode } from 'react';
|
|
2
|
+
import { CommonProps } from '../CommonProps';
|
|
3
|
+
import { DialogButtonProps, SubmitButtonProps } from '../dialog/Dialog';
|
|
4
|
+
export interface ConfirmationDialogProps extends CommonProps {
|
|
5
|
+
/** Cancel button properties */
|
|
6
|
+
cancelButtonProps?: DialogButtonProps;
|
|
7
|
+
/** The dialog message */
|
|
8
|
+
message?: ReactNode;
|
|
9
|
+
/** The callback to be executed when the action is cancelled */
|
|
10
|
+
onCancel?: (event: KeyboardEvent | MouseEvent) => void;
|
|
11
|
+
/** The callback to be executed when the action is confirmed */
|
|
12
|
+
onSubmit?: (event: MouseEvent | KeyboardEvent) => void;
|
|
13
|
+
/** If true the dialog will be visible */
|
|
14
|
+
open: boolean;
|
|
15
|
+
/** Submit button properties */
|
|
16
|
+
submitButtonProps?: SubmitButtonProps;
|
|
17
|
+
/** The dialog title */
|
|
18
|
+
title?: ReactNode;
|
|
19
|
+
}
|
|
20
|
+
export declare const DotConfirmationDialog: ({ ariaLabel, cancelButtonProps, className, "data-testid": dataTestId, message, onCancel, onSubmit, submitButtonProps, open, title, }: ConfirmationDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
cancel: () => void;
|
|
3
|
-
};
|
|
4
|
-
export declare function makeCancelable(promise: Promise<any>): CancelablePromise;
|
|
5
|
-
export declare function useCancelablePromise(): {
|
|
6
|
-
cancelablePromise: (p: Promise<any>) => CancelablePromise;
|
|
7
|
-
};
|
|
1
|
+
export type CancelablePromise = Promise<any> & {
|
|
2
|
+
cancel: () => void;
|
|
3
|
+
};
|
|
4
|
+
export declare function makeCancelable(promise: Promise<any>): CancelablePromise;
|
|
5
|
+
export declare function useCancelablePromise(): {
|
|
6
|
+
cancelablePromise: (p: Promise<any>) => CancelablePromise;
|
|
7
|
+
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ApiError, ApplicationModel } from './openapi';
|
|
3
|
-
interface CoreApiProviderProps {
|
|
4
|
-
apiUrl: string;
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
token?: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
interface DotCoreApiContextProps {
|
|
10
|
-
applications: ApplicationModel[];
|
|
11
|
-
applicationsError: ApiError;
|
|
12
|
-
applicationsLoading: boolean;
|
|
13
|
-
isAppSwitcherOpen: boolean;
|
|
14
|
-
loadApplications: (accountId: string, force?: boolean) => void;
|
|
15
|
-
platformConsoleUrl: string;
|
|
16
|
-
selectedAppSwitcherAppType: string;
|
|
17
|
-
setIsAppSwitcherOpen: (open: boolean | booleanSetter) => void;
|
|
18
|
-
setSelectedAppSwitcherAppType: (appType: string) => void;
|
|
19
|
-
setToken: (token: string) => void;
|
|
20
|
-
}
|
|
21
|
-
export declare const DotCoreApiProvider: ({ apiUrl, token, children, }: CoreApiProviderProps) => JSX.Element;
|
|
22
|
-
export declare const useDotCoreApiContext: () => DotCoreApiContextProps;
|
|
23
|
-
export {};
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ApiError, ApplicationModel } from './openapi';
|
|
3
|
+
export interface CoreApiProviderProps {
|
|
4
|
+
apiUrl: string;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
token?: string;
|
|
7
|
+
}
|
|
8
|
+
type booleanSetter = (b: boolean) => boolean;
|
|
9
|
+
interface DotCoreApiContextProps {
|
|
10
|
+
applications: ApplicationModel[];
|
|
11
|
+
applicationsError: ApiError;
|
|
12
|
+
applicationsLoading: boolean;
|
|
13
|
+
isAppSwitcherOpen: boolean;
|
|
14
|
+
loadApplications: (accountId: string, force?: boolean) => void;
|
|
15
|
+
platformConsoleUrl: string;
|
|
16
|
+
selectedAppSwitcherAppType: string;
|
|
17
|
+
setIsAppSwitcherOpen: (open: boolean | booleanSetter) => void;
|
|
18
|
+
setSelectedAppSwitcherAppType: (appType: string) => void;
|
|
19
|
+
setToken: (token: string) => void;
|
|
20
|
+
}
|
|
21
|
+
export declare const DotCoreApiProvider: ({ apiUrl, token, children, }: CoreApiProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare const useDotCoreApiContext: () => DotCoreApiContextProps;
|
|
23
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ApiResult } from './ApiResult';
|
|
2
|
-
export declare class ApiError extends Error {
|
|
3
|
-
readonly url: string;
|
|
4
|
-
readonly status: number;
|
|
5
|
-
readonly statusText: string;
|
|
6
|
-
readonly body: any;
|
|
7
|
-
constructor(response: ApiResult, message: string);
|
|
8
|
-
}
|
|
1
|
+
import type { ApiResult } from './ApiResult';
|
|
2
|
+
export declare class ApiError extends Error {
|
|
3
|
+
readonly url: string;
|
|
4
|
+
readonly status: number;
|
|
5
|
+
readonly statusText: string;
|
|
6
|
+
readonly body: any;
|
|
7
|
+
constructor(response: ApiResult, message: string);
|
|
8
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export
|
|
2
|
-
readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
|
|
3
|
-
readonly path: string;
|
|
4
|
-
readonly cookies?: Record<string, any>;
|
|
5
|
-
readonly headers?: Record<string, any>;
|
|
6
|
-
readonly query?: Record<string, any>;
|
|
7
|
-
readonly formData?: Record<string, any>;
|
|
8
|
-
readonly body?: any;
|
|
9
|
-
readonly mediaType?: string;
|
|
10
|
-
readonly responseHeader?: string;
|
|
11
|
-
readonly errors?: Record<number, string>;
|
|
12
|
-
};
|
|
1
|
+
export type ApiRequestOptions = {
|
|
2
|
+
readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
|
|
3
|
+
readonly path: string;
|
|
4
|
+
readonly cookies?: Record<string, any>;
|
|
5
|
+
readonly headers?: Record<string, any>;
|
|
6
|
+
readonly query?: Record<string, any>;
|
|
7
|
+
readonly formData?: Record<string, any>;
|
|
8
|
+
readonly body?: any;
|
|
9
|
+
readonly mediaType?: string;
|
|
10
|
+
readonly responseHeader?: string;
|
|
11
|
+
readonly errors?: Record<number, string>;
|
|
12
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
readonly url: string;
|
|
3
|
-
readonly ok: boolean;
|
|
4
|
-
readonly status: number;
|
|
5
|
-
readonly statusText: string;
|
|
6
|
-
readonly body: any;
|
|
7
|
-
};
|
|
1
|
+
export type ApiResult = {
|
|
2
|
+
readonly url: string;
|
|
3
|
+
readonly ok: boolean;
|
|
4
|
+
readonly status: number;
|
|
5
|
+
readonly statusText: string;
|
|
6
|
+
readonly body: any;
|
|
7
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
BASE: string;
|
|
6
|
-
VERSION: string;
|
|
7
|
-
WITH_CREDENTIALS: boolean;
|
|
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;
|
|
13
|
-
};
|
|
14
|
-
export declare const OpenAPI: Config;
|
|
15
|
-
export {};
|
|
1
|
+
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
2
|
+
type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
|
|
3
|
+
type Headers = Record<string, string>;
|
|
4
|
+
type Config = {
|
|
5
|
+
BASE: string;
|
|
6
|
+
VERSION: string;
|
|
7
|
+
WITH_CREDENTIALS: boolean;
|
|
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;
|
|
13
|
+
};
|
|
14
|
+
export declare const OpenAPI: Config;
|
|
15
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
2
|
-
import type { ApiResult } from './ApiResult';
|
|
3
|
-
/**
|
|
4
|
-
* Request using fetch client
|
|
5
|
-
* @param options The request options from the the service
|
|
6
|
-
* @returns ApiResult
|
|
7
|
-
* @throws ApiError
|
|
8
|
-
*/
|
|
9
|
-
export declare function request(options: ApiRequestOptions): Promise<ApiResult>;
|
|
1
|
+
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
2
|
+
import type { ApiResult } from './ApiResult';
|
|
3
|
+
/**
|
|
4
|
+
* Request using fetch client
|
|
5
|
+
* @param options The request options from the the service
|
|
6
|
+
* @returns ApiResult
|
|
7
|
+
* @throws ApiError
|
|
8
|
+
*/
|
|
9
|
+
export declare function request(options: ApiRequestOptions): Promise<ApiResult>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { ApiError } from './core/ApiError';
|
|
2
|
-
export { OpenAPI } from './core/OpenAPI';
|
|
3
|
-
export type { AccountModel } from './models/AccountModel';
|
|
4
|
-
export type { AccountModelsWrapper } from './models/AccountModelsWrapper';
|
|
5
|
-
export type { AccountModelWrapper } from './models/AccountModelWrapper';
|
|
6
|
-
export { ApplicationInstanceStates } from './models/ApplicationInstanceStates';
|
|
7
|
-
export { ApplicationModel } from './models/ApplicationModel';
|
|
8
|
-
export type { ApplicationModelsWrapper } from './models/ApplicationModelsWrapper';
|
|
9
|
-
export type { ApplicationModelWrapper } from './models/ApplicationModelWrapper';
|
|
10
|
-
export type { PaginationModel } from './models/PaginationModel';
|
|
11
|
-
export { AccountsService } from './services/AccountsService';
|
|
12
|
-
export { ApplicationsService } from './services/ApplicationsService';
|
|
1
|
+
export { ApiError } from './core/ApiError';
|
|
2
|
+
export { OpenAPI } from './core/OpenAPI';
|
|
3
|
+
export type { AccountModel } from './models/AccountModel';
|
|
4
|
+
export type { AccountModelsWrapper } from './models/AccountModelsWrapper';
|
|
5
|
+
export type { AccountModelWrapper } from './models/AccountModelWrapper';
|
|
6
|
+
export { ApplicationInstanceStates } from './models/ApplicationInstanceStates';
|
|
7
|
+
export { ApplicationModel } from './models/ApplicationModel';
|
|
8
|
+
export type { ApplicationModelsWrapper } from './models/ApplicationModelsWrapper';
|
|
9
|
+
export type { ApplicationModelWrapper } from './models/ApplicationModelWrapper';
|
|
10
|
+
export type { PaginationModel } from './models/PaginationModel';
|
|
11
|
+
export { AccountsService } from './services/AccountsService';
|
|
12
|
+
export { ApplicationsService } from './services/ApplicationsService';
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
* Flag representing if the account has been activated and can create users, clients, and identity providers
|
|
4
|
-
*/
|
|
5
|
-
activated?: boolean;
|
|
6
|
-
/**
|
|
7
|
-
* Flag representing if the account allows user self-registration
|
|
8
|
-
*/
|
|
9
|
-
allow_self_registration: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* The account creation date in ISO format
|
|
12
|
-
*/
|
|
13
|
-
created_date: string;
|
|
14
|
-
/**
|
|
15
|
-
* Flag representing if the account is enabled or not
|
|
16
|
-
*/
|
|
17
|
-
enabled: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* External account identifier provided
|
|
20
|
-
*/
|
|
21
|
-
external_id: string;
|
|
22
|
-
/**
|
|
23
|
-
* A dictionary of features and their enabled status on the account
|
|
24
|
-
*/
|
|
25
|
-
features?: any;
|
|
26
|
-
/**
|
|
27
|
-
* UUID Account Identifier
|
|
28
|
-
*/
|
|
29
|
-
id: string;
|
|
30
|
-
/**
|
|
31
|
-
* Custom data for the account
|
|
32
|
-
*/
|
|
33
|
-
metadata?: any;
|
|
34
|
-
/**
|
|
35
|
-
* The date that the account was last modified on in ISO format
|
|
36
|
-
*/
|
|
37
|
-
modified_date: string;
|
|
38
|
-
/**
|
|
39
|
-
* Account name (unique)
|
|
40
|
-
*/
|
|
41
|
-
name: string;
|
|
42
|
-
/**
|
|
43
|
-
* Account vanity domain (unique)
|
|
44
|
-
*/
|
|
45
|
-
vanity_domain?: string;
|
|
46
|
-
/**
|
|
47
|
-
* Whitelisted domains for the account
|
|
48
|
-
*/
|
|
49
|
-
whitelist_domains?: Array<string>;
|
|
50
|
-
};
|
|
1
|
+
export type AccountModel = {
|
|
2
|
+
/**
|
|
3
|
+
* Flag representing if the account has been activated and can create users, clients, and identity providers
|
|
4
|
+
*/
|
|
5
|
+
activated?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Flag representing if the account allows user self-registration
|
|
8
|
+
*/
|
|
9
|
+
allow_self_registration: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* The account creation date in ISO format
|
|
12
|
+
*/
|
|
13
|
+
created_date: string;
|
|
14
|
+
/**
|
|
15
|
+
* Flag representing if the account is enabled or not
|
|
16
|
+
*/
|
|
17
|
+
enabled: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* External account identifier provided
|
|
20
|
+
*/
|
|
21
|
+
external_id: string;
|
|
22
|
+
/**
|
|
23
|
+
* A dictionary of features and their enabled status on the account
|
|
24
|
+
*/
|
|
25
|
+
features?: any;
|
|
26
|
+
/**
|
|
27
|
+
* UUID Account Identifier
|
|
28
|
+
*/
|
|
29
|
+
id: string;
|
|
30
|
+
/**
|
|
31
|
+
* Custom data for the account
|
|
32
|
+
*/
|
|
33
|
+
metadata?: any;
|
|
34
|
+
/**
|
|
35
|
+
* The date that the account was last modified on in ISO format
|
|
36
|
+
*/
|
|
37
|
+
modified_date: string;
|
|
38
|
+
/**
|
|
39
|
+
* Account name (unique)
|
|
40
|
+
*/
|
|
41
|
+
name: string;
|
|
42
|
+
/**
|
|
43
|
+
* Account vanity domain (unique)
|
|
44
|
+
*/
|
|
45
|
+
vanity_domain?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Whitelisted domains for the account
|
|
48
|
+
*/
|
|
49
|
+
whitelist_domains?: Array<string>;
|
|
50
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccountModel } from './AccountModel';
|
|
2
|
-
export
|
|
3
|
-
account: AccountModel;
|
|
4
|
-
};
|
|
1
|
+
import type { AccountModel } from './AccountModel';
|
|
2
|
+
export type AccountModelWrapper = {
|
|
3
|
+
account: AccountModel;
|
|
4
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { AccountModel } from './AccountModel';
|
|
2
|
-
import type { PaginationModel } from './PaginationModel';
|
|
3
|
-
export
|
|
4
|
-
accounts: Array<AccountModel>;
|
|
5
|
-
pagination: PaginationModel;
|
|
6
|
-
};
|
|
1
|
+
import type { AccountModel } from './AccountModel';
|
|
2
|
+
import type { PaginationModel } from './PaginationModel';
|
|
3
|
+
export type AccountModelsWrapper = {
|
|
4
|
+
accounts: Array<AccountModel>;
|
|
5
|
+
pagination: PaginationModel;
|
|
6
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum ApplicationInstanceStates {
|
|
2
|
-
'_0' = 0,
|
|
3
|
-
'_1' = 1
|
|
4
|
-
}
|
|
1
|
+
export declare enum ApplicationInstanceStates {
|
|
2
|
+
'_0' = 0,
|
|
3
|
+
'_1' = 1
|
|
4
|
+
}
|
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
* UUID Account Identifier
|
|
4
|
-
*/
|
|
5
|
-
account_id: string;
|
|
6
|
-
/**
|
|
7
|
-
* application alternate label (optional)
|
|
8
|
-
*/
|
|
9
|
-
alternate_label?: string;
|
|
10
|
-
/**
|
|
11
|
-
* The account creation date in ISO format
|
|
12
|
-
*/
|
|
13
|
-
created_date: string;
|
|
14
|
-
/**
|
|
15
|
-
* application description (optional)
|
|
16
|
-
*/
|
|
17
|
-
description?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Whether the application is currently enabled.
|
|
20
|
-
*/
|
|
21
|
-
enabled: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* UUID Application Identifier
|
|
24
|
-
*/
|
|
25
|
-
id: string;
|
|
26
|
-
/**
|
|
27
|
-
* Whether the application requires authentication. 0 - Non-production instance, 1 - Production instance
|
|
28
|
-
*/
|
|
29
|
-
instance_state?: ApplicationModel.instance_state;
|
|
30
|
-
/**
|
|
31
|
-
* A logo image for the application encoded as a base64 string.
|
|
32
|
-
*/
|
|
33
|
-
logo?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Name of the product that this application's logo is associated with.
|
|
36
|
-
*/
|
|
37
|
-
logo_product_name?: string;
|
|
38
|
-
/**
|
|
39
|
-
* The date that the account was last modified on in ISO format
|
|
40
|
-
*/
|
|
41
|
-
modified_date: string;
|
|
42
|
-
/**
|
|
43
|
-
* application name
|
|
44
|
-
*/
|
|
45
|
-
name: string;
|
|
46
|
-
/**
|
|
47
|
-
* Whether the application requires authentication.
|
|
48
|
-
*/
|
|
49
|
-
needs_authentication: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* UUID Product_Instance Identifier
|
|
52
|
-
*/
|
|
53
|
-
product_instance_id?: string;
|
|
54
|
-
/**
|
|
55
|
-
* application URL
|
|
56
|
-
*/
|
|
57
|
-
url: string;
|
|
58
|
-
};
|
|
59
|
-
export declare namespace ApplicationModel {
|
|
60
|
-
/**
|
|
61
|
-
* Whether the application requires authentication. 0 - Non-production instance, 1 - Production instance
|
|
62
|
-
*/
|
|
63
|
-
enum instance_state {
|
|
64
|
-
'_0' = 0,
|
|
65
|
-
'_1' = 1
|
|
66
|
-
}
|
|
67
|
-
}
|
|
1
|
+
export type ApplicationModel = {
|
|
2
|
+
/**
|
|
3
|
+
* UUID Account Identifier
|
|
4
|
+
*/
|
|
5
|
+
account_id: string;
|
|
6
|
+
/**
|
|
7
|
+
* application alternate label (optional)
|
|
8
|
+
*/
|
|
9
|
+
alternate_label?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The account creation date in ISO format
|
|
12
|
+
*/
|
|
13
|
+
created_date: string;
|
|
14
|
+
/**
|
|
15
|
+
* application description (optional)
|
|
16
|
+
*/
|
|
17
|
+
description?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Whether the application is currently enabled.
|
|
20
|
+
*/
|
|
21
|
+
enabled: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* UUID Application Identifier
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* Whether the application requires authentication. 0 - Non-production instance, 1 - Production instance
|
|
28
|
+
*/
|
|
29
|
+
instance_state?: ApplicationModel.instance_state;
|
|
30
|
+
/**
|
|
31
|
+
* A logo image for the application encoded as a base64 string.
|
|
32
|
+
*/
|
|
33
|
+
logo?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Name of the product that this application's logo is associated with.
|
|
36
|
+
*/
|
|
37
|
+
logo_product_name?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The date that the account was last modified on in ISO format
|
|
40
|
+
*/
|
|
41
|
+
modified_date: string;
|
|
42
|
+
/**
|
|
43
|
+
* application name
|
|
44
|
+
*/
|
|
45
|
+
name: string;
|
|
46
|
+
/**
|
|
47
|
+
* Whether the application requires authentication.
|
|
48
|
+
*/
|
|
49
|
+
needs_authentication: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* UUID Product_Instance Identifier
|
|
52
|
+
*/
|
|
53
|
+
product_instance_id?: string;
|
|
54
|
+
/**
|
|
55
|
+
* application URL
|
|
56
|
+
*/
|
|
57
|
+
url: string;
|
|
58
|
+
};
|
|
59
|
+
export declare namespace ApplicationModel {
|
|
60
|
+
/**
|
|
61
|
+
* Whether the application requires authentication. 0 - Non-production instance, 1 - Production instance
|
|
62
|
+
*/
|
|
63
|
+
enum instance_state {
|
|
64
|
+
'_0' = 0,
|
|
65
|
+
'_1' = 1
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ApplicationModel } from './ApplicationModel';
|
|
2
|
-
export
|
|
3
|
-
application: ApplicationModel;
|
|
4
|
-
};
|
|
1
|
+
import type { ApplicationModel } from './ApplicationModel';
|
|
2
|
+
export type ApplicationModelWrapper = {
|
|
3
|
+
application: ApplicationModel;
|
|
4
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ApplicationModel } from './ApplicationModel';
|
|
2
|
-
import type { PaginationModel } from './PaginationModel';
|
|
3
|
-
export
|
|
4
|
-
applications: Array<ApplicationModel>;
|
|
5
|
-
pagination: PaginationModel;
|
|
6
|
-
};
|
|
1
|
+
import type { ApplicationModel } from './ApplicationModel';
|
|
2
|
+
import type { PaginationModel } from './PaginationModel';
|
|
3
|
+
export type ApplicationModelsWrapper = {
|
|
4
|
+
applications: Array<ApplicationModel>;
|
|
5
|
+
pagination: PaginationModel;
|
|
6
|
+
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
* limit (number of records requested to be in the page)
|
|
4
|
-
*/
|
|
5
|
-
count?: number;
|
|
6
|
-
/**
|
|
7
|
-
* offset for the next page (number of records requested to be skipped)
|
|
8
|
-
*/
|
|
9
|
-
next_start?: number;
|
|
10
|
-
/**
|
|
11
|
-
* offset for the previous page (number of records requested to be skipped)
|
|
12
|
-
*/
|
|
13
|
-
previous_start?: number;
|
|
14
|
-
/**
|
|
15
|
-
* offset (number of records requested to be skipped)
|
|
16
|
-
*/
|
|
17
|
-
start?: number;
|
|
18
|
-
/**
|
|
19
|
-
* total number of records available in the system
|
|
20
|
-
*/
|
|
21
|
-
total_available: number;
|
|
22
|
-
};
|
|
1
|
+
export type PaginationModel = {
|
|
2
|
+
/**
|
|
3
|
+
* limit (number of records requested to be in the page)
|
|
4
|
+
*/
|
|
5
|
+
count?: number;
|
|
6
|
+
/**
|
|
7
|
+
* offset for the next page (number of records requested to be skipped)
|
|
8
|
+
*/
|
|
9
|
+
next_start?: number;
|
|
10
|
+
/**
|
|
11
|
+
* offset for the previous page (number of records requested to be skipped)
|
|
12
|
+
*/
|
|
13
|
+
previous_start?: number;
|
|
14
|
+
/**
|
|
15
|
+
* offset (number of records requested to be skipped)
|
|
16
|
+
*/
|
|
17
|
+
start?: number;
|
|
18
|
+
/**
|
|
19
|
+
* total number of records available in the system
|
|
20
|
+
*/
|
|
21
|
+
total_available: number;
|
|
22
|
+
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import type { AccountModelsWrapper } from '../models/AccountModelsWrapper';
|
|
2
|
-
import type { AccountModelWrapper } from '../models/AccountModelWrapper';
|
|
3
|
-
export declare class AccountsService {
|
|
4
|
-
/**
|
|
5
|
-
* Gets all accounts.
|
|
6
|
-
* __Sortable field names__: name, external_id, vanity_domain, enabled, source, activated, created_date, modified_date
|
|
7
|
-
* __Filterable field names__: name, external_id, vanity_domain, enabled, source, activated, created_date, modified_date
|
|
8
|
-
* __Searchable field names__: name, external_id, vanity_domain (to be used with filter _search_ operator)
|
|
9
|
-
*
|
|
10
|
-
* @param start offset (number of records to skip)
|
|
11
|
-
* @param count limit (number of records to include in response)
|
|
12
|
-
* @param sort comma separated field names (prefix field name with "-" to reverse order direction)
|
|
13
|
-
* @param filter List of filters (each filter is a separate query param, and they are OR'ed)
|
|
14
|
-
* @returns AccountModelsWrapper All available accounts are returned.
|
|
15
|
-
* @throws ApiError
|
|
16
|
-
*/
|
|
17
|
-
static getAccounts(start?: number, count?: number, sort?: string, filter?: Array<string>): Promise<AccountModelsWrapper>;
|
|
18
|
-
/**
|
|
19
|
-
* Gets single account by id.
|
|
20
|
-
* @param accountId
|
|
21
|
-
* @returns AccountModelWrapper Account is returned.
|
|
22
|
-
* @throws ApiError
|
|
23
|
-
*/
|
|
24
|
-
static getAccountById(accountId: string): Promise<AccountModelWrapper>;
|
|
25
|
-
}
|
|
1
|
+
import type { AccountModelsWrapper } from '../models/AccountModelsWrapper';
|
|
2
|
+
import type { AccountModelWrapper } from '../models/AccountModelWrapper';
|
|
3
|
+
export declare class AccountsService {
|
|
4
|
+
/**
|
|
5
|
+
* Gets all accounts.
|
|
6
|
+
* __Sortable field names__: name, external_id, vanity_domain, enabled, source, activated, created_date, modified_date
|
|
7
|
+
* __Filterable field names__: name, external_id, vanity_domain, enabled, source, activated, created_date, modified_date
|
|
8
|
+
* __Searchable field names__: name, external_id, vanity_domain (to be used with filter _search_ operator)
|
|
9
|
+
*
|
|
10
|
+
* @param start offset (number of records to skip)
|
|
11
|
+
* @param count limit (number of records to include in response)
|
|
12
|
+
* @param sort comma separated field names (prefix field name with "-" to reverse order direction)
|
|
13
|
+
* @param filter List of filters (each filter is a separate query param, and they are OR'ed)
|
|
14
|
+
* @returns AccountModelsWrapper All available accounts are returned.
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
static getAccounts(start?: number, count?: number, sort?: string, filter?: Array<string>): Promise<AccountModelsWrapper>;
|
|
18
|
+
/**
|
|
19
|
+
* Gets single account by id.
|
|
20
|
+
* @param accountId
|
|
21
|
+
* @returns AccountModelWrapper Account is returned.
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
static getAccountById(accountId: string): Promise<AccountModelWrapper>;
|
|
25
|
+
}
|