@digital-ai/dot-components 5.0.0 → 5.1.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.
Files changed (24) hide show
  1. package/index.esm.js +32 -33
  2. package/package.json +1 -1
  3. package/src/lib/components/analytics/dashboard-dialog/DashboardDialog.d.ts +3 -0
  4. package/src/lib/components/analytics/metadata-api/openapi/index.d.ts +8 -2
  5. package/src/lib/components/analytics/metadata-api/openapi/models/DashboardCreateBody.d.ts +1 -1
  6. package/src/lib/components/analytics/metadata-api/openapi/models/DashboardPatchBody.d.ts +1 -1
  7. package/src/lib/components/analytics/metadata-api/openapi/models/DashboardPutBody.d.ts +1 -1
  8. package/src/lib/components/analytics/metadata-api/openapi/models/DashboardView.d.ts +1 -1
  9. package/src/lib/components/analytics/metadata-api/openapi/models/DatalakeQuery.d.ts +3 -0
  10. package/src/lib/components/analytics/metadata-api/openapi/models/DatalakeResponse.d.ts +4 -0
  11. package/src/lib/components/analytics/metadata-api/openapi/models/Origin.d.ts +1 -1
  12. package/src/lib/components/analytics/metadata-api/openapi/models/OriginInstance.d.ts +1 -0
  13. package/src/lib/components/analytics/metadata-api/openapi/models/ProductOrigin.d.ts +2 -2
  14. package/src/lib/components/analytics/metadata-api/openapi/models/ProductSourceIntegration.d.ts +9 -0
  15. package/src/lib/components/analytics/metadata-api/openapi/models/{ProductConfigurationItemCreate.d.ts → ProductSourceIntegrationCreate.d.ts} +2 -1
  16. package/src/lib/components/analytics/metadata-api/openapi/models/ProductSourceIntegrationTest.d.ts +5 -0
  17. package/src/lib/components/analytics/metadata-api/openapi/models/ProductSourceIntegrationTestCreate.d.ts +3 -0
  18. package/src/lib/components/analytics/metadata-api/openapi/models/ProductSourceIntegrationUpdate.d.ts +6 -0
  19. package/src/lib/components/analytics/metadata-api/openapi/services/DashboardsService.d.ts +4 -4
  20. package/src/lib/components/analytics/metadata-api/openapi/services/DatalakeService.d.ts +15 -0
  21. package/src/lib/components/analytics/metadata-api/openapi/services/OriginInstancesService.d.ts +12 -11
  22. package/src/lib/components/analytics/metadata-api/openapi/services/ProductsService.d.ts +73 -9
  23. package/src/lib/components/index.d.ts +1 -1
  24. package/src/lib/components/analytics/metadata-api/openapi/models/ProductConfigurationItem.d.ts +0 -5
package/index.esm.js CHANGED
@@ -9797,7 +9797,7 @@ class DashboardsService {
9797
9797
  * @param isOotbDashboard Boolean match on Dashboard OOTB status.
9798
9798
  * @param lifecycleState String match on Dashboard lifecycle state - 'DRAFT' or 'PUBLISHED'.
9799
9799
  * @param name String match on Dashboard name.
9800
- * @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', 'APPLICATIONSECURITY', or 'SERVICEMGMTPROCESSOPTIMIZATION'.
9800
+ * @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
9801
  * @param viewModified Return dashboards with modified changes if they exist for this user.
9802
9802
  * @returns DashboardViewPagedResponse OK
9803
9803
  * @returns Error Default error response
@@ -10109,8 +10109,8 @@ class DashboardsService {
10109
10109
  });
10110
10110
  }
10111
10111
  /**
10112
- * Revert in-progress changes.
10113
- * Discards edit in progress dashboard changes.
10112
+ * Revert/publish in-progress changes.
10113
+ * Discards or publishes edit in progress dashboard changes.
10114
10114
  * @param dashboardId
10115
10115
  * @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
10116
10116
  * @param publish Publish changes to the original dashboard and delete the in-progress version.
@@ -10223,7 +10223,7 @@ class DashboardsService {
10223
10223
  * * **Filterable field names**: author_fullname, bi_type, categories, created_dt, description, is_ootb_dashboard, lifecycle_state, name, updated_by_fullname, updated_dt
10224
10224
  * * **Searchable field names**: author_fullname, categories, description, name
10225
10225
  *
10226
- * @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', 'APPLICATIONSECURITY', or 'SERVICEMGMTPROCESSOPTIMIZATION'.
10226
+ * @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
10227
  * @param biType String match on Dashboard bi type - 'MICROSTRATEGY'.
10228
10228
  * @param isOotbDashboard Boolean match on Dashboard OOTB status.
10229
10229
  * @param lifecycleState String match on Dashboard lifecycle state - 'DRAFT' or 'PUBLISHED'.
@@ -10651,7 +10651,13 @@ const getCategoriesMock = {
10651
10651
  TEAMFORGE: ['Scrum Master'],
10652
10652
  CHANGERISKPREDICTION: [],
10653
10653
  APPLICATIONSECURITY: [],
10654
- SERVICEMGMTPROCESSOPTIMIZATION: []
10654
+ SERVICEMGMTPROCESSOPTIMIZATION: [],
10655
+ FLOWACCELERATION: [],
10656
+ INTEGRATEANDTESTANALYTICSLENS: [],
10657
+ OPERATEANDMONITORANALYTICSLENS: [],
10658
+ PLANANDCREATEANALYTICSLENS: [],
10659
+ QUALITYIMPROVEMENT: [],
10660
+ RELEASEANDDEPLOYANALYTICSLENS: []
10655
10661
  }
10656
10662
  };
10657
10663
  const getAuthorsMock = [{
@@ -11817,33 +11823,26 @@ const StyledDialogActions = styled(DialogActions)`
11817
11823
  padding-right: 0;
11818
11824
  `;
11819
11825
 
11820
- const DashboardAppTypeOptions = [
11821
- // Matches target_app values in Dashboard model
11822
- {
11823
- option: 'Agility',
11824
- value: 'AGILITY'
11825
- }, {
11826
- option: 'Release',
11827
- value: 'RELEASE'
11828
- }, {
11829
- option: 'Deploy',
11830
- value: 'DEPLOY'
11831
- }, {
11832
- option: 'Continuous Testing',
11833
- value: 'CONTINUOUSTEST'
11834
- }, {
11835
- option: 'TeamForge',
11836
- value: 'TEAMFORGE'
11837
- }, {
11838
- option: 'Change Risk Prediction',
11839
- value: 'CHANGERISKPREDICTION'
11840
- }, {
11841
- option: 'Application Security',
11842
- value: 'APPLICATIONSECURITY'
11843
- }, {
11844
- option: 'Service Mgmt. Process Optimization',
11845
- value: 'SERVICEMGMTPROCESSOPTIMIZATION'
11846
- }];
11826
+ const DashboardAppTypeToLabelMap = {
11827
+ AGILITY: 'Agility',
11828
+ RELEASE: 'Release',
11829
+ DEPLOY: 'Deploy',
11830
+ CONTINUOUSTEST: 'Continuous Testing',
11831
+ TEAMFORGE: 'TeamForge',
11832
+ CHANGERISKPREDICTION: 'Change Risk Prediction',
11833
+ APPLICATIONSECURITY: 'Application Security',
11834
+ SERVICEMGMTPROCESSOPTIMIZATION: 'Service Mgmt. Process Optimization',
11835
+ FLOWACCELERATION: 'Flow Acceleration',
11836
+ INTEGRATEANDTESTANALYTICSLENS: 'Integrate and Test Analytics Lens',
11837
+ OPERATEANDMONITORANALYTICSLENS: 'Operate and Monitor Analytics Lens',
11838
+ PLANANDCREATEANALYTICSLENS: 'Plan and Create Analytics Lens',
11839
+ QUALITYIMPROVEMENT: 'Quality Improvement',
11840
+ RELEASEANDDEPLOYANALYTICSLENS: 'Release and Deploy Analytics Lens'
11841
+ };
11842
+ const DashboardAppTypeOptions = Object.entries(DashboardAppTypeToLabelMap).map(([value, option]) => ({
11843
+ value,
11844
+ option
11845
+ }));
11847
11846
  const initialFormState = {
11848
11847
  categories: [],
11849
11848
  description: '',
@@ -25266,4 +25265,4 @@ const DotColorPicker = ({
25266
25265
  });
25267
25266
  };
25268
25267
 
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 };
25268
+ 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,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital-ai/dot-components",
3
- "version": "5.0.0",
3
+ "version": "5.1.0",
4
4
  "private": false,
5
5
  "license": "SEE LICENSE IN <LICENSE.md>",
6
6
  "contributors": [
@@ -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
  */
@@ -0,0 +1,3 @@
1
+ export type DatalakeQuery = {
2
+ datalake: string;
3
+ };
@@ -0,0 +1,4 @@
1
+ export type DatalakeResponse = {
2
+ message: string;
3
+ status: string;
4
+ };
@@ -2,6 +2,6 @@ export type Origin = {
2
2
  name: string;
3
3
  description: string;
4
4
  created_dt?: string | null;
5
- is_platform_origin?: boolean;
6
5
  id?: string | null;
6
+ origin_family?: Array<string> | null;
7
7
  };
@@ -2,6 +2,7 @@ export type OriginInstance = {
2
2
  name: string;
3
3
  description: string;
4
4
  unique_string: string;
5
+ origin_name?: string | null;
5
6
  origin_id?: string | null;
6
7
  created_dt?: string | null;
7
8
  id?: string | null;
@@ -1,10 +1,10 @@
1
- import type { ProductConfigurationItem } from './ProductConfigurationItem';
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
- configuration_items?: Array<ProductConfigurationItem>;
8
+ integrations?: Array<ProductSourceIntegration>;
9
9
  updated_dt?: string | null;
10
10
  };
@@ -0,0 +1,9 @@
1
+ export type ProductSourceIntegration = {
2
+ configuration_id?: string | null;
3
+ name: string;
4
+ origin_id: string;
5
+ status: string;
6
+ test_id?: string | null;
7
+ testable: boolean;
8
+ type_name: string;
9
+ };
@@ -1,7 +1,8 @@
1
- export type ProductConfigurationItemCreate = {
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;
@@ -0,0 +1,5 @@
1
+ export type ProductSourceIntegrationTest = {
2
+ id: string;
3
+ status: string;
4
+ external_status: Record<string, any>;
5
+ };
@@ -0,0 +1,3 @@
1
+ export type ProductSourceIntegrationTestCreate = {
2
+ integration_id: string;
3
+ };
@@ -0,0 +1,6 @@
1
+ export type ProductSourceIntegrationUpdate = {
2
+ data: Record<string, any>;
3
+ description?: string | null;
4
+ is_start_new_test?: boolean | null;
5
+ name?: string | null;
6
+ };
@@ -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', 'APPLICATIONSECURITY', or 'SERVICEMGMTPROCESSOPTIMIZATION'.
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', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', 'APPLICATIONSECURITY', or 'SERVICEMGMTPROCESSOPTIMIZATION'.
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
+ }
@@ -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 ID.
34
- * @param id
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(id: string, xDigitalaiAccountId?: string): Promise<OriginInstance | Error>;
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 id
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(id: string, requestBody: OriginInstance, xDigitalaiAccountId?: string): Promise<OriginInstance | Error>;
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 ID.
55
- * @param id
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(id: string, xDigitalaiAccountId?: string): Promise<Error>;
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 { ProductConfigurationItem } from '../models/ProductConfigurationItem';
3
- import type { ProductConfigurationItemCreate } from '../models/ProductConfigurationItemCreate';
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 configuration item and associates it with the product
35
- * Returns new configuration item information.
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 ProductConfigurationItem Created
43
+ * @returns ProductSourceIntegration Created
41
44
  * @throws ApiError
42
45
  */
43
- static createProductConfigurationItem(productId: string, requestBody: ProductConfigurationItemCreate, xDigitalaiAccountId?: string): Promise<Error | ProductConfigurationItem>;
46
+ static createProductIntegration(productId: string, requestBody: ProductSourceIntegrationCreate, xDigitalaiAccountId?: string): Promise<Error | ProductSourceIntegration>;
44
47
  /**
45
- * Removes a configuration item from the product
46
- * @param configurationItemId
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 removeProductConfigurationItem(configurationItemId: string, productId: string, xDigitalaiAccountId?: string): Promise<Error>;
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
  }
@@ -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';
@@ -1,5 +0,0 @@
1
- export type ProductConfigurationItem = {
2
- configuration_id?: string | null;
3
- type_name: string;
4
- origin_id: string;
5
- };