@digital-ai/dot-components 4.28.1 → 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 (30) hide show
  1. package/index.esm.js +801 -31118
  2. package/package.json +4 -4
  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/date-picker/DatePicker.d.ts +2 -1
  24. package/src/lib/components/date-picker/DatePicker.styles.d.ts +2 -2
  25. package/src/lib/components/index.d.ts +1 -1
  26. package/src/lib/components/list/ListItem.styles.d.ts +2 -2
  27. package/src/lib/components/menu/Menu.styles.d.ts +1 -8
  28. package/src/lib/components/popper/Popper.styles.d.ts +1 -8
  29. package/src/lib/components/time-picker/TimePicker.styles.d.ts +2 -9
  30. package/src/lib/components/analytics/metadata-api/openapi/models/ProductConfigurationItem.d.ts +0 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital-ai/dot-components",
3
- "version": "4.28.1",
3
+ "version": "5.1.0",
4
4
  "private": false,
5
5
  "license": "SEE LICENSE IN <LICENSE.md>",
6
6
  "contributors": [
@@ -43,8 +43,8 @@
43
43
  "@digital-ai/dot-illustrations": "latest",
44
44
  "@emotion/react": "^11.10.4",
45
45
  "@emotion/styled": "^11.10.4",
46
- "@mui/material": "^5.2.5",
47
- "@mui/x-date-pickers": "^6.0.1",
46
+ "@mui/material": "^5.18.0",
47
+ "@mui/x-date-pickers": "^7.29.4",
48
48
  "dayjs": "^1.11.10",
49
49
  "jwt-decode": "^3.1.2",
50
50
  "react-dropzone": "^11.4.2",
@@ -52,7 +52,7 @@
52
52
  "styled-components": "^5.2.1"
53
53
  },
54
54
  "peerDependencies": {
55
- "react": "^17.0.2 || ^18.0.0"
55
+ "react": "^17.0.2 || ^18.0.0 || ^19.0.0"
56
56
  },
57
57
  "module": "./index.esm.js",
58
58
  "type": "module",
@@ -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
  }
@@ -1,10 +1,11 @@
1
1
  import { FocusEvent, KeyboardEvent, ReactNode } from 'react';
2
+ import { Dayjs } from 'dayjs';
2
3
  import { PickersDayProps } from '@mui/x-date-pickers';
3
4
  import { FieldChangeHandlerContext } from '@mui/x-date-pickers/internals';
4
5
  import { CommonProps } from '../CommonProps';
5
6
  import { DatePickerLocale } from './';
6
7
  import { DatePickerKeydownContext } from './utils/models';
7
- export declare const RectanglePickersDay: (pickersDayProps: PickersDayProps<unknown>) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const RectanglePickersDay: (pickersDayProps: PickersDayProps<Dayjs>) => import("react/jsx-runtime").JSX.Element;
8
9
  export interface DatePickerProps extends CommonProps {
9
10
  /** If `true`, the `input` element is focused during the first mount. */
10
11
  autoFocus?: boolean;
@@ -3,9 +3,9 @@ export declare const popperClassName = "dot-date-picker-popper";
3
3
  export declare const containerClassName = "dot-date-picker-container";
4
4
  export declare const rectanglePickersDayClassName = "dot-rectangle-pickers-day";
5
5
  export declare const StyledDatePickerContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
6
- export declare const StyledDatePicker: import("styled-components").StyledComponent<(<TDate>(props: import("@mui/x-date-pickers").DatePickerProps<TDate> & import("react").RefAttributes<HTMLDivElement>) => import("react").JSX.Element) & {
6
+ export declare const StyledDatePicker: import("styled-components").StyledComponent<(<TDate extends import("@mui/x-date-pickers").PickerValidDate, TEnableAccessibleFieldDOMStructure extends boolean = false>(props: import("@mui/x-date-pickers").DatePickerProps<TDate, TEnableAccessibleFieldDOMStructure> & import("react").RefAttributes<HTMLDivElement>) => import("react").JSX.Element) & {
7
7
  propTypes?: any;
8
8
  }, any, {}, never>;
9
- export declare const StyledPickersDay: import("styled-components").StyledComponent<(<TDate>(props: import("@mui/x-date-pickers").PickersDayProps<TDate> & import("react").RefAttributes<HTMLButtonElement>) => import("react").JSX.Element) & {
9
+ export declare const StyledPickersDay: import("styled-components").StyledComponent<(<TDate extends import("@mui/x-date-pickers").PickerValidDate>(props: import("@mui/x-date-pickers").PickersDayProps<TDate> & import("react").RefAttributes<HTMLButtonElement>) => import("react").JSX.Element) & {
10
10
  propTypes?: any;
11
11
  }, any, {}, never>;
@@ -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,5 +2,5 @@ import { ComponentType } from 'react';
2
2
  export declare const flyoutListItemClassName = "dot-flyout-list-item";
3
3
  export declare const flyoutItemLinkClassName = "dot-flyout-item-link";
4
4
  export declare const listItemLinkClassName = "dot-list-item-link";
5
- export declare const StyledListItem: ComponentType<any> | keyof JSX.IntrinsicElements;
6
- export declare const StyledListItemButton: ComponentType<any> | keyof JSX.IntrinsicElements;
5
+ export declare const StyledListItem: ComponentType<any>;
6
+ export declare const StyledListItemButton: ComponentType<any>;
@@ -1,13 +1,6 @@
1
1
  export declare const flyoutMenuClassName = "dot-flyout-menu";
2
2
  export declare const rootClassName = "dot-menu";
3
- export declare const StyledPopper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("@mui/base").PopperProps, "direction"> & {
4
- component?: import("react").ElementType<any> | undefined;
5
- components?: {
6
- Root?: import("react").ElementType<any> | undefined;
7
- } | undefined;
8
- componentsProps?: import("@mui/base").PopperProps["slotProps"];
9
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
10
- } & import("react").RefAttributes<HTMLDivElement>>, any, StyledPopperArgs, never>;
3
+ export declare const StyledPopper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@mui/material").PopperProps & import("react").RefAttributes<HTMLDivElement>>, any, StyledPopperArgs, never>;
11
4
  interface StyledPopperArgs {
12
5
  $maxHeight?: number | string;
13
6
  $zIndex?: number;
@@ -1,11 +1,4 @@
1
1
  export declare const rootClassName = "dot-popper";
2
2
  export declare const arrowClassName = "MuiPopper-arrow";
3
- export declare const StyledPopper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("@mui/base").PopperProps, "direction"> & {
4
- component?: import("react").ElementType<any> | undefined;
5
- components?: {
6
- Root?: import("react").ElementType<any> | undefined;
7
- } | undefined;
8
- componentsProps?: import("@mui/base").PopperProps["slotProps"];
9
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
10
- } & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
3
+ export declare const StyledPopper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@mui/material").PopperProps & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
11
4
  export declare const StyledArrow: import("styled-components").StyledComponent<"span", any, {}, never>;
@@ -2,14 +2,7 @@ export declare const rootClassName = "dot-time-picker";
2
2
  export declare const containerClassName = "dot-time-picker-container";
3
3
  export declare const timePickerPopperClassName = "dot-time-picker-popper";
4
4
  export declare const StyledTimePickerContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
5
- export declare const StyledTimePicker: import("styled-components").StyledComponent<(<TDate>(props: import("@mui/x-date-pickers").TimePickerProps<TDate> & import("react").RefAttributes<HTMLDivElement>) => import("react").JSX.Element) & {
5
+ export declare const StyledTimePicker: import("styled-components").StyledComponent<(<TDate extends import("@mui/x-date-pickers").PickerValidDate, TEnableAccessibleFieldDOMStructure extends boolean = false>(props: import("@mui/x-date-pickers").TimePickerProps<TDate, TEnableAccessibleFieldDOMStructure> & import("react").RefAttributes<HTMLDivElement>) => import("react").JSX.Element) & {
6
6
  propTypes?: any;
7
7
  }, any, {}, never>;
8
- export declare const StyledTimePickerPopper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("@mui/base").PopperProps, "direction"> & {
9
- component?: import("react").ElementType<any> | undefined;
10
- components?: {
11
- Root?: import("react").ElementType<any> | undefined;
12
- } | undefined;
13
- componentsProps?: import("@mui/base").PopperProps["slotProps"];
14
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
15
- } & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
8
+ export declare const StyledTimePickerPopper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@mui/material").PopperProps & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
@@ -1,5 +0,0 @@
1
- export type ProductConfigurationItem = {
2
- configuration_id?: string | null;
3
- type_name: string;
4
- origin_id: string;
5
- };