@digital-ai/dot-components 5.6.0 → 5.8.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 (35) hide show
  1. package/index.esm.js +1161 -866
  2. package/package.json +1 -1
  3. package/src/lib/components/analytics/dashboard-actions/DashboardOptionsMenu.d.ts +3 -1
  4. package/src/lib/components/analytics/dashboard-dialog/DashboardDialog.d.ts +2 -2
  5. package/src/lib/components/analytics/metadata-api/openapi/core/ApiError.d.ts +3 -1
  6. package/src/lib/components/analytics/metadata-api/openapi/core/ApiRequestOptions.d.ts +2 -1
  7. package/src/lib/components/analytics/metadata-api/openapi/core/CancelablePromise.d.ts +20 -0
  8. package/src/lib/components/analytics/metadata-api/openapi/core/OpenAPI.d.ts +8 -7
  9. package/src/lib/components/analytics/metadata-api/openapi/core/request.d.ts +25 -4
  10. package/src/lib/components/analytics/metadata-api/openapi/index.d.ts +3 -0
  11. package/src/lib/components/analytics/metadata-api/openapi/models/DashboardCreateBody.d.ts +4 -0
  12. package/src/lib/components/analytics/metadata-api/openapi/models/DashboardPatchBody.d.ts +4 -0
  13. package/src/lib/components/analytics/metadata-api/openapi/models/DashboardPutBody.d.ts +4 -0
  14. package/src/lib/components/analytics/metadata-api/openapi/models/DashboardView.d.ts +5 -1
  15. package/src/lib/components/analytics/metadata-api/openapi/models/HelpContentCreateBody.d.ts +1 -1
  16. package/src/lib/components/analytics/metadata-api/openapi/models/HelpContentPutBody.d.ts +1 -1
  17. package/src/lib/components/analytics/metadata-api/openapi/models/X_Digitalai_Account_ID.d.ts +4 -0
  18. package/src/lib/components/analytics/metadata-api/openapi/services/BiService.d.ts +7 -6
  19. package/src/lib/components/analytics/metadata-api/openapi/services/CategoriesService.d.ts +3 -2
  20. package/src/lib/components/analytics/metadata-api/openapi/services/DashboardsService.d.ts +17 -16
  21. package/src/lib/components/analytics/metadata-api/openapi/services/DatalakeService.d.ts +2 -1
  22. package/src/lib/components/analytics/metadata-api/openapi/services/EntitiesService.d.ts +6 -5
  23. package/src/lib/components/analytics/metadata-api/openapi/services/EntityAttributesService.d.ts +7 -6
  24. package/src/lib/components/analytics/metadata-api/openapi/services/EntityClassService.d.ts +6 -5
  25. package/src/lib/components/analytics/metadata-api/openapi/services/HelpContentService.d.ts +8 -7
  26. package/src/lib/components/analytics/metadata-api/openapi/services/MrProxyService.d.ts +5 -4
  27. package/src/lib/components/analytics/metadata-api/openapi/services/OriginInstancesService.d.ts +6 -5
  28. package/src/lib/components/analytics/metadata-api/openapi/services/OriginsService.d.ts +6 -5
  29. package/src/lib/components/analytics/metadata-api/openapi/services/ProductsService.d.ts +11 -10
  30. package/src/lib/components/analytics/metadata-api/openapi/services/UtilityService.d.ts +7 -6
  31. package/src/lib/components/index.d.ts +2 -0
  32. package/src/lib/components/navigation-rail/NavigationRail.d.ts +5 -3
  33. package/src/lib/components/select/Select.d.ts +18 -0
  34. package/src/lib/components/select/Select.styles.d.ts +9 -0
  35. package/src/lib/components/select/index.d.ts +2 -0
@@ -1,6 +1,7 @@
1
1
  import type { EntityClass } from '../models/EntityClass';
2
2
  import type { EntityClassPagedResponse } from '../models/EntityClassPagedResponse';
3
3
  import type { Error } from '../models/Error';
4
+ import type { CancelablePromise } from '../core/CancelablePromise';
4
5
  export declare class EntityClassService {
5
6
  /**
6
7
  * Get a list of Entity Class.
@@ -17,7 +18,7 @@ export declare class EntityClassService {
17
18
  * @returns Error Default error response
18
19
  * @throws ApiError
19
20
  */
20
- static getEntityClassService(xDigitalaiAccountId?: string, start?: number, count?: number, sort?: string, name?: string, description?: string, q?: string, id?: string): Promise<EntityClassPagedResponse | Error>;
21
+ static getMetadataEntityclasses(xDigitalaiAccountId?: string | null, start?: number, count?: number, sort?: string | null, name?: string | null, description?: string | null, q?: string | null, id?: string | null): CancelablePromise<EntityClassPagedResponse | Error>;
21
22
  /**
22
23
  * Create an Entity Class.
23
24
  * Creates an Entity Class, owned by the authenticated API user.
@@ -27,7 +28,7 @@ export declare class EntityClassService {
27
28
  * @returns Error Default error response
28
29
  * @throws ApiError
29
30
  */
30
- static postEntityClassService(requestBody: EntityClass, xDigitalaiAccountId?: string): Promise<EntityClass | Error>;
31
+ static postMetadataEntityclasses(requestBody: EntityClass, xDigitalaiAccountId?: string | null): CancelablePromise<EntityClass | Error>;
31
32
  /**
32
33
  * Get one Entity Class.
33
34
  * Return a single Entity Class, selected by ID.
@@ -37,7 +38,7 @@ export declare class EntityClassService {
37
38
  * @returns Error Default error response
38
39
  * @throws ApiError
39
40
  */
40
- static getEntityClassService1(id: string, xDigitalaiAccountId?: string): Promise<EntityClass | Error>;
41
+ static getMetadataEntityclasses1(id: string, xDigitalaiAccountId?: string | null): CancelablePromise<EntityClass | Error>;
41
42
  /**
42
43
  * Update a single Entity Class.
43
44
  * Updates an Entity Class, selected by ID.
@@ -48,7 +49,7 @@ export declare class EntityClassService {
48
49
  * @returns Error Default error response
49
50
  * @throws ApiError
50
51
  */
51
- static putEntityClassService(id: string, requestBody: EntityClass, xDigitalaiAccountId?: string): Promise<EntityClass | Error>;
52
+ static putMetadataEntityclasses(id: string, requestBody: EntityClass, xDigitalaiAccountId?: string | null): CancelablePromise<EntityClass | Error>;
52
53
  /**
53
54
  * Delete a Entity Class.
54
55
  * Deletes a single Entity Class, selected by ID.
@@ -57,5 +58,5 @@ export declare class EntityClassService {
57
58
  * @returns Error Default error response
58
59
  * @throws ApiError
59
60
  */
60
- static deleteEntityClassService(id: string, xDigitalaiAccountId?: string): Promise<Error>;
61
+ static deleteMetadataEntityclasses(id: string, xDigitalaiAccountId?: string | null): CancelablePromise<Error>;
61
62
  }
@@ -3,6 +3,7 @@ import type { HelpContent } from '../models/HelpContent';
3
3
  import type { HelpContentCreateBody } from '../models/HelpContentCreateBody';
4
4
  import type { HelpContentPagedResponse } from '../models/HelpContentPagedResponse';
5
5
  import type { HelpContentPutBody } from '../models/HelpContentPutBody';
6
+ import type { CancelablePromise } from '../core/CancelablePromise';
6
7
  export declare class HelpContentService {
7
8
  /**
8
9
  * Gets help content definitions.
@@ -12,17 +13,17 @@ export declare class HelpContentService {
12
13
  * @returns Error Default error response
13
14
  * @throws ApiError
14
15
  */
15
- static getHelpContent(xDigitalaiAccountId?: string): Promise<HelpContentPagedResponse | Error>;
16
+ static getHelpContent(xDigitalaiAccountId?: string | null): CancelablePromise<HelpContentPagedResponse | Error>;
16
17
  /**
17
18
  * Upload an HTML file to be displayed as help content.
18
19
  * Upload help content.
19
- * @param requestBody
20
+ * @param formData
20
21
  * @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
21
22
  * @returns HelpContent Content uploaded.
22
23
  * @returns Error Default error response
23
24
  * @throws ApiError
24
25
  */
25
- static createHelpContent(requestBody: HelpContentCreateBody, xDigitalaiAccountId?: string): Promise<HelpContent | Error>;
26
+ static createHelpContent(formData: HelpContentCreateBody, xDigitalaiAccountId?: string | null): CancelablePromise<HelpContent | Error>;
26
27
  /**
27
28
  * Get a help content definition.
28
29
  * Return a single help content definition, selected by ID.
@@ -32,18 +33,18 @@ export declare class HelpContentService {
32
33
  * @returns Error Default error response
33
34
  * @throws ApiError
34
35
  */
35
- static getHelpContentById(helpContentId: string, xDigitalaiAccountId?: string): Promise<HelpContent | Error>;
36
+ static getHelpContentById(helpContentId: string, xDigitalaiAccountId?: string | null): CancelablePromise<HelpContent | Error>;
36
37
  /**
37
38
  * Update a help content definition.
38
39
  * Update a single help content definition, selected by ID.
39
40
  * @param helpContentId
40
- * @param requestBody
41
+ * @param formData
41
42
  * @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
42
43
  * @returns HelpContent OK
43
44
  * @returns Error Default error response
44
45
  * @throws ApiError
45
46
  */
46
- static putHelpContentById(helpContentId: string, requestBody: HelpContentPutBody, xDigitalaiAccountId?: string): Promise<HelpContent | Error>;
47
+ static putHelpContentById(helpContentId: string, formData: HelpContentPutBody, xDigitalaiAccountId?: string | null): CancelablePromise<HelpContent | Error>;
47
48
  /**
48
49
  * Delete a help content definition.
49
50
  * Delete a single help content definition, selected by ID.
@@ -52,5 +53,5 @@ export declare class HelpContentService {
52
53
  * @returns Error Default error response
53
54
  * @throws ApiError
54
55
  */
55
- static deleteHelpContentById(helpContentId: string, xDigitalaiAccountId?: string): Promise<Error>;
56
+ static deleteHelpContentById(helpContentId: string, xDigitalaiAccountId?: string | null): CancelablePromise<Error>;
56
57
  }
@@ -1,4 +1,5 @@
1
1
  import type { Error } from '../models/Error';
2
+ import type { CancelablePromise } from '../core/CancelablePromise';
2
3
  export declare class MrProxyService {
3
4
  /**
4
5
  * Passes the provided GET api path through to the metadata repository API.
@@ -9,7 +10,7 @@ export declare class MrProxyService {
9
10
  * @returns Error Default error response
10
11
  * @throws ApiError
11
12
  */
12
- static mrGet(mrPath: string, xDigitalaiAccountId?: string): Promise<any | Error>;
13
+ static mrGet(mrPath: string, xDigitalaiAccountId?: string | null): CancelablePromise<any | Error>;
13
14
  /**
14
15
  * Passes the provided POST api path through to the metadata repository API.
15
16
  * Returns the metadata repository response.
@@ -18,7 +19,7 @@ export declare class MrProxyService {
18
19
  * @returns Error Default error response
19
20
  * @throws ApiError
20
21
  */
21
- static mrPost(mrPath: string, xDigitalaiAccountId?: string): Promise<Error>;
22
+ static mrPost(mrPath: string, xDigitalaiAccountId?: string | null): CancelablePromise<Error>;
22
23
  /**
23
24
  * Passes the provided PUT api path through to the metadata repository API.
24
25
  * Returns the metadata repository response.
@@ -27,7 +28,7 @@ export declare class MrProxyService {
27
28
  * @returns Error Default error response
28
29
  * @throws ApiError
29
30
  */
30
- static mrPut(mrPath: string, xDigitalaiAccountId?: string): Promise<Error>;
31
+ static mrPut(mrPath: string, xDigitalaiAccountId?: string | null): CancelablePromise<Error>;
31
32
  /**
32
33
  * Passes the provided DELETE api path through to the metadata repository API.
33
34
  * Returns the metadata repository response.
@@ -36,5 +37,5 @@ export declare class MrProxyService {
36
37
  * @returns Error Default error response
37
38
  * @throws ApiError
38
39
  */
39
- static mrDelete(mrPath: string, xDigitalaiAccountId?: string): Promise<Error>;
40
+ static mrDelete(mrPath: string, xDigitalaiAccountId?: string | null): CancelablePromise<Error>;
40
41
  }
@@ -1,6 +1,7 @@
1
1
  import type { Error } from '../models/Error';
2
2
  import type { OriginInstance } from '../models/OriginInstance';
3
3
  import type { OriginInstancePagedResponse } from '../models/OriginInstancePagedResponse';
4
+ import type { CancelablePromise } from '../core/CancelablePromise';
4
5
  export declare class OriginInstancesService {
5
6
  /**
6
7
  * Get a list of OriginInstances.
@@ -18,7 +19,7 @@ export declare class OriginInstancesService {
18
19
  * @returns Error Default error response
19
20
  * @throws ApiError
20
21
  */
21
- static getOriginInstancesService(xDigitalaiAccountId?: string, start?: number, count?: number, sort?: string, name?: string, uniqueString?: string, description?: string, q?: string, id?: string): Promise<OriginInstancePagedResponse | Error>;
22
+ static getMetadataOrigininstances(xDigitalaiAccountId?: string | null, start?: number, count?: number, sort?: string | null, name?: string | null, uniqueString?: string | null, description?: string | null, q?: string | null, id?: string | null): CancelablePromise<OriginInstancePagedResponse | Error>;
22
23
  /**
23
24
  * Create an OriginInstance.The origin name or origin id is required
24
25
  * Creates an OriginInstance, owned by the authenticated API user.
@@ -28,7 +29,7 @@ export declare class OriginInstancesService {
28
29
  * @returns Error Default error response
29
30
  * @throws ApiError
30
31
  */
31
- static postOriginInstancesService(requestBody: OriginInstance, xDigitalaiAccountId?: string): Promise<OriginInstance | Error>;
32
+ static postMetadataOrigininstances(requestBody: OriginInstance, xDigitalaiAccountId?: string | null): CancelablePromise<OriginInstance | Error>;
32
33
  /**
33
34
  * Get one OriginInstance.
34
35
  * Return a single OriginInstance, selected by name or uniquestring or id.
@@ -38,7 +39,7 @@ export declare class OriginInstancesService {
38
39
  * @returns Error Default error response
39
40
  * @throws ApiError
40
41
  */
41
- static getOriginInstancesService1(nameOrUniquestringOrId: string, xDigitalaiAccountId?: string): Promise<OriginInstance | Error>;
42
+ static getMetadataOrigininstances1(nameOrUniquestringOrId: string, xDigitalaiAccountId?: string | null): CancelablePromise<OriginInstance | Error>;
42
43
  /**
43
44
  * Update a single OriginInstance.
44
45
  * Updates an OriginInstance, selected by Name/Unique string/ID.
@@ -49,7 +50,7 @@ export declare class OriginInstancesService {
49
50
  * @returns Error Default error response
50
51
  * @throws ApiError
51
52
  */
52
- static putOriginInstancesService(nameOrUniquestringOrId: string, requestBody: OriginInstance, xDigitalaiAccountId?: string): Promise<OriginInstance | Error>;
53
+ static putMetadataOrigininstances(nameOrUniquestringOrId: string, requestBody: OriginInstance, xDigitalaiAccountId?: string | null): CancelablePromise<OriginInstance | Error>;
53
54
  /**
54
55
  * Delete a OriginInstance.
55
56
  * Deletes a single OriginInstance, selected by name or uniquestring or id.
@@ -58,5 +59,5 @@ export declare class OriginInstancesService {
58
59
  * @returns Error Default error response
59
60
  * @throws ApiError
60
61
  */
61
- static deleteOriginInstancesService(nameOrUniquestringOrId: string, xDigitalaiAccountId?: string): Promise<Error>;
62
+ static deleteMetadataOrigininstances(nameOrUniquestringOrId: string, xDigitalaiAccountId?: string | null): CancelablePromise<Error>;
62
63
  }
@@ -1,6 +1,7 @@
1
1
  import type { Error } from '../models/Error';
2
2
  import type { Origin } from '../models/Origin';
3
3
  import type { OriginPagedResponse } from '../models/OriginPagedResponse';
4
+ import type { CancelablePromise } from '../core/CancelablePromise';
4
5
  export declare class OriginsService {
5
6
  /**
6
7
  * Get a list of Origins.
@@ -18,7 +19,7 @@ export declare class OriginsService {
18
19
  * @returns Error Default error response
19
20
  * @throws ApiError
20
21
  */
21
- static getOriginsService(xDigitalaiAccountId?: string, start?: number, count?: number, sort?: string, name?: string, description?: string, isPlatformOrigin?: boolean, q?: string, id?: string): Promise<OriginPagedResponse | Error>;
22
+ static getMetadataOrigins(xDigitalaiAccountId?: string | null, start?: number, count?: number, sort?: string | null, name?: string | null, description?: string | null, isPlatformOrigin?: boolean, q?: string | null, id?: string | null): CancelablePromise<OriginPagedResponse | Error>;
22
23
  /**
23
24
  * Create an Origin.
24
25
  * Creates an Origin, owned by the authenticated API user.
@@ -28,7 +29,7 @@ export declare class OriginsService {
28
29
  * @returns Error Default error response
29
30
  * @throws ApiError
30
31
  */
31
- static postOriginsService(requestBody: Origin, xDigitalaiAccountId?: string): Promise<Origin | Error>;
32
+ static postMetadataOrigins(requestBody: Origin, xDigitalaiAccountId?: string | null): CancelablePromise<Origin | Error>;
32
33
  /**
33
34
  * Get one Origin.
34
35
  * Return a single Origin, selected by ID.
@@ -38,7 +39,7 @@ export declare class OriginsService {
38
39
  * @returns Error Default error response
39
40
  * @throws ApiError
40
41
  */
41
- static getOriginsService1(id: string, xDigitalaiAccountId?: string): Promise<Origin | Error>;
42
+ static getMetadataOrigins1(id: string, xDigitalaiAccountId?: string | null): CancelablePromise<Origin | Error>;
42
43
  /**
43
44
  * Update a single Origin.
44
45
  * Updates an Origin, selected by ID.
@@ -49,7 +50,7 @@ export declare class OriginsService {
49
50
  * @returns Error Default error response
50
51
  * @throws ApiError
51
52
  */
52
- static putOriginsService(id: string, requestBody: Origin, xDigitalaiAccountId?: string): Promise<Origin | Error>;
53
+ static putMetadataOrigins(id: string, requestBody: Origin, xDigitalaiAccountId?: string | null): CancelablePromise<Origin | Error>;
53
54
  /**
54
55
  * Delete a Origin.
55
56
  * Deletes a single Origin, selected by ID.
@@ -58,5 +59,5 @@ export declare class OriginsService {
58
59
  * @returns Error Default error response
59
60
  * @throws ApiError
60
61
  */
61
- static deleteOriginsService(id: string, xDigitalaiAccountId?: string): Promise<Error>;
62
+ static deleteMetadataOrigins(id: string, xDigitalaiAccountId?: string | null): CancelablePromise<Error>;
62
63
  }
@@ -6,6 +6,7 @@ import type { ProductSourceIntegrationTestCreate } from '../models/ProductSource
6
6
  import type { ProductSourceIntegrationUpdate } from '../models/ProductSourceIntegrationUpdate';
7
7
  import type { ProductsResponse } from '../models/ProductsResponse';
8
8
  import type { ProductView } from '../models/ProductView';
9
+ import type { CancelablePromise } from '../core/CancelablePromise';
9
10
  export declare class ProductsService {
10
11
  /**
11
12
  * Get a list of enabled products
@@ -21,7 +22,7 @@ export declare class ProductsService {
21
22
  * @returns Error Default error response
22
23
  * @throws ApiError
23
24
  */
24
- static getProducts(xDigitalaiAccountId?: string, isSync?: boolean, filter?: Array<string>): Promise<ProductsResponse | Error>;
25
+ static getProducts(xDigitalaiAccountId?: string | null, isSync?: boolean | null, filter?: Array<string>): CancelablePromise<ProductsResponse | Error>;
25
26
  /**
26
27
  * Get single product information.
27
28
  * Returns a single product definition, selected by ID.
@@ -32,7 +33,7 @@ export declare class ProductsService {
32
33
  * @returns Error Default error response
33
34
  * @throws ApiError
34
35
  */
35
- static getProductById(productId: string, xDigitalaiAccountId?: string, isSync?: boolean): Promise<ProductView | Error>;
36
+ static getProductById(productId: string, xDigitalaiAccountId?: string | null, isSync?: boolean | null): CancelablePromise<ProductView | Error>;
36
37
  /**
37
38
  * Creates a source integration and associates it with the product
38
39
  * Returns new source integration information.
@@ -43,7 +44,7 @@ export declare class ProductsService {
43
44
  * @returns ProductSourceIntegration Created
44
45
  * @throws ApiError
45
46
  */
46
- static createProductIntegration(productId: string, requestBody: ProductSourceIntegrationCreate, xDigitalaiAccountId?: string): Promise<Error | ProductSourceIntegration>;
47
+ static createProductIntegration(productId: string, requestBody: ProductSourceIntegrationCreate, xDigitalaiAccountId?: string | null): CancelablePromise<Error | ProductSourceIntegration>;
47
48
  /**
48
49
  * Gets product source integration data
49
50
  * @param integrationId
@@ -53,7 +54,7 @@ export declare class ProductsService {
53
54
  * @returns Error Default error response
54
55
  * @throws ApiError
55
56
  */
56
- static getProductIntegration(integrationId: string, productId: string, xDigitalaiAccountId?: string): Promise<ProductSourceIntegration | Error>;
57
+ static getProductIntegration(integrationId: string, productId: string, xDigitalaiAccountId?: string | null): CancelablePromise<ProductSourceIntegration | Error>;
57
58
  /**
58
59
  * Updates product source integration
59
60
  * @param integrationId
@@ -64,7 +65,7 @@ export declare class ProductsService {
64
65
  * @returns Error Default error response
65
66
  * @throws ApiError
66
67
  */
67
- static updateProductIntegration(integrationId: string, productId: string, requestBody: ProductSourceIntegrationUpdate, xDigitalaiAccountId?: string): Promise<ProductSourceIntegration | Error>;
68
+ static updateProductIntegration(integrationId: string, productId: string, requestBody: ProductSourceIntegrationUpdate, xDigitalaiAccountId?: string | null): CancelablePromise<ProductSourceIntegration | Error>;
68
69
  /**
69
70
  * Removes an integration from the product
70
71
  * @param integrationId
@@ -73,7 +74,7 @@ export declare class ProductsService {
73
74
  * @returns Error Default error response
74
75
  * @throws ApiError
75
76
  */
76
- static removeProductIntegration(integrationId: string, productId: string, xDigitalaiAccountId?: string): Promise<Error>;
77
+ static removeProductIntegration(integrationId: string, productId: string, xDigitalaiAccountId?: string | null): CancelablePromise<Error>;
77
78
  /**
78
79
  * Starts a new test for a product source integration
79
80
  * @param integrationId
@@ -83,7 +84,7 @@ export declare class ProductsService {
83
84
  * @returns Error Default error response
84
85
  * @throws ApiError
85
86
  */
86
- static startTestForProductIntegration(integrationId: string, productId: string, xDigitalaiAccountId?: string): Promise<ProductSourceIntegration | Error>;
87
+ static startTestForProductIntegration(integrationId: string, productId: string, xDigitalaiAccountId?: string | null): CancelablePromise<ProductSourceIntegration | Error>;
87
88
  /**
88
89
  * Removes test info from a product source integration
89
90
  * @param integrationId
@@ -93,7 +94,7 @@ export declare class ProductsService {
93
94
  * @returns Error Default error response
94
95
  * @throws ApiError
95
96
  */
96
- static removeTestForProductIntegration(integrationId: string, productId: string, xDigitalaiAccountId?: string): Promise<ProductSourceIntegration | Error>;
97
+ static removeTestForProductIntegration(integrationId: string, productId: string, xDigitalaiAccountId?: string | null): CancelablePromise<ProductSourceIntegration | Error>;
97
98
  /**
98
99
  * Starts a new connection test for a source integration
99
100
  * @param productId
@@ -103,7 +104,7 @@ export declare class ProductsService {
103
104
  * @returns ProductSourceIntegrationTest Created
104
105
  * @throws ApiError
105
106
  */
106
- static createSourceIntegrationTest(productId: string, requestBody: ProductSourceIntegrationTestCreate, xDigitalaiAccountId?: string): Promise<Error | ProductSourceIntegrationTest>;
107
+ static createSourceIntegrationTest(productId: string, requestBody: ProductSourceIntegrationTestCreate, xDigitalaiAccountId?: string | null): CancelablePromise<Error | ProductSourceIntegrationTest>;
107
108
  /**
108
109
  * Gets source integration test info
109
110
  * @param productId
@@ -113,5 +114,5 @@ export declare class ProductsService {
113
114
  * @returns Error Default error response
114
115
  * @throws ApiError
115
116
  */
116
- static getSourceIntegrationTest(productId: string, testId: string, xDigitalaiAccountId?: string): Promise<ProductSourceIntegrationTest | Error>;
117
+ static getSourceIntegrationTest(productId: string, testId: string, xDigitalaiAccountId?: string | null): CancelablePromise<ProductSourceIntegrationTest | Error>;
117
118
  }
@@ -2,6 +2,7 @@ import type { Error } from '../models/Error';
2
2
  import type { HealthCheckResponse } from '../models/HealthCheckResponse';
3
3
  import type { TenantInfo } from '../models/TenantInfo';
4
4
  import type { VersionResponse } from '../models/VersionResponse';
5
+ import type { CancelablePromise } from '../core/CancelablePromise';
5
6
  export declare class UtilityService {
6
7
  /**
7
8
  * An aliveness check, also verifies database connectivity.
@@ -9,7 +10,7 @@ export declare class UtilityService {
9
10
  * @returns Error Default error response
10
11
  * @throws ApiError
11
12
  */
12
- static getUtilityService(): Promise<Error>;
13
+ static getMetadataUtilityPing(): CancelablePromise<Error>;
13
14
  /**
14
15
  * Version
15
16
  * Returns information about the version of the service.
@@ -17,7 +18,7 @@ export declare class UtilityService {
17
18
  * @returns Error Default error response
18
19
  * @throws ApiError
19
20
  */
20
- static getUtilityService1(): Promise<VersionResponse | Error>;
21
+ static getMetadataUtilityVersion(): CancelablePromise<VersionResponse | Error>;
21
22
  /**
22
23
  * Health check
23
24
  * Return information about the health of the service.
@@ -25,7 +26,7 @@ export declare class UtilityService {
25
26
  * @returns Error Default error response
26
27
  * @throws ApiError
27
28
  */
28
- static getUtilityService2(): Promise<HealthCheckResponse | Error>;
29
+ static getMetadataUtilityHealthcheck(): CancelablePromise<HealthCheckResponse | Error>;
29
30
  /**
30
31
  * Prometheus metrics
31
32
  * Return service metrics in a Prometheus-friendly format.
@@ -33,7 +34,7 @@ export declare class UtilityService {
33
34
  * @returns Error Default error response
34
35
  * @throws ApiError
35
36
  */
36
- static getUtilityService3(): Promise<any | Error>;
37
+ static getMetadataUtilityPrometheus(): CancelablePromise<any | Error>;
37
38
  /**
38
39
  * NOC Server health
39
40
  * Returns 201 if the NOC server is alive and configured.
@@ -42,7 +43,7 @@ export declare class UtilityService {
42
43
  * @returns Error Default error response
43
44
  * @throws ApiError
44
45
  */
45
- static getUtilityService4(xDigitalaiNocInstance?: string): Promise<any | Error>;
46
+ static getMetadataUtilityNoc(xDigitalaiNocInstance?: string | null): CancelablePromise<any | Error>;
46
47
  /**
47
48
  * [EXPERIMENTAL] Get Tenant information specific to this Service.
48
49
  * Returns information about a single Tenant identified by account/tenant ID.
@@ -51,5 +52,5 @@ export declare class UtilityService {
51
52
  * @returns Error Default error response
52
53
  * @throws ApiError
53
54
  */
54
- static getUtilityService5(xDigitalaiAccountId?: string): Promise<TenantInfo | Error>;
55
+ static getMetadataUtilityTenant(xDigitalaiAccountId?: string | null): CancelablePromise<TenantInfo | Error>;
55
56
  }
@@ -57,6 +57,7 @@ export type { ChipTooltipProps, ChipProps, ChipSize } from './chip/Chip';
57
57
  export type { SearchProps } from './search';
58
58
  export type { ToggleSwitchProps, ToggleSwitchValue, ToggleSwitchOption, ToggleSwitchSingleValue, } from './toggle-switch';
59
59
  export type { ColorPickerProps, ColorResult, HsvaColor, SwatchPresetColor, } from './color-picker';
60
+ export type { SelectProps, SelectOption } from './select';
60
61
  export { DotAccordion } from './accordion/Accordion';
61
62
  export { DotActionToolbar } from './action-toolbar/ActionToolbar';
62
63
  export { DotAlertBanner } from './alert-banner/AlertBanner';
@@ -147,3 +148,4 @@ export { DotSearch } from './search';
147
148
  export { DotToggleSwitch } from './toggle-switch';
148
149
  export { DotColorPicker } from './color-picker';
149
150
  export { useKeyPress } from '../hooks/useKeyPress';
151
+ export { DotSelect } from './select';
@@ -7,19 +7,21 @@ export interface RailItem {
7
7
  ariaLabel?: string;
8
8
  /** Optional badge which will be displayed over an icon **/
9
9
  iconBadge?: RailIconBadge;
10
- /** Id of the icon shown in the rail item */
10
+ /** ID of the icon shown in the rail item */
11
11
  iconId: string;
12
12
  /** text displayed or title text if icon used */
13
13
  title: string;
14
14
  }
15
15
  export interface NavigationRailProps extends CommonProps {
16
+ /** default rail index (use when component is not controlled) */
17
+ defaultIndex?: number;
16
18
  /** onChange callback */
17
19
  onChange?: (index: number) => void;
18
20
  /** controls the position of the rail items */
19
21
  railItemPosition?: RailItemsPosition;
20
22
  /** list of rail items */
21
23
  railItems: Array<RailItem>;
22
- /** index of selected rail item */
24
+ /** index of selected rail item (use in controlled mode) */
23
25
  selectedIndex?: number;
24
26
  }
25
- export declare const DotNavigationRail: ({ ariaLabel, className, "data-testid": dataTestId, onChange, railItemPosition, railItems, selectedIndex, }: NavigationRailProps) => import("react/jsx-runtime").JSX.Element;
27
+ export declare const DotNavigationRail: ({ ariaLabel, className, "data-testid": dataTestId, defaultIndex, onChange, railItemPosition, railItems, selectedIndex, }: NavigationRailProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
1
+ import { ReactNode } from 'react';
2
+ import { SelectChangeEvent } from '@mui/material';
3
+ import { InputProps } from '../input-form-fields/InputFormFields.propTypes';
4
+ export interface SelectOption {
5
+ /** options that appear in dropdown */
6
+ option: string;
7
+ /** value of input field when option is selected */
8
+ value: string;
9
+ }
10
+ export interface SelectProps extends Omit<InputProps, 'ai' | 'endIcon' | 'endText' | 'max' | 'maxLength' | 'min' | 'minLength' | 'onChange' | 'shrink' | 'startIcon' | 'success' | 'type' | 'warning'> {
11
+ minWidth?: number;
12
+ onChange?: (event: SelectChangeEvent) => void;
13
+ /** options of select dropdown */
14
+ options: Array<SelectOption>;
15
+ /** render the option */
16
+ renderOption?: (option: SelectOption) => ReactNode;
17
+ }
18
+ export declare const DotSelect: ({ ariaLabel, autoFocus, className, defaultValue, "data-pendoid": dataPendoId, "data-testid": dataTestId, disabled, error, fullWidth, helperText, id, inputRef, label, minWidth, name, onBlur, onChange, onFocus, onKeyDown, onMouseUp, persistentLabel, size, readOnly, required, value, options, renderOption, }: SelectProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { inputSizeOptions } from '../input-form-fields/InputFormFields.propTypes';
2
+ export declare const rootClassName = "dot-select";
3
+ interface StyledSelectContainerProps {
4
+ persistentLabel?: boolean;
5
+ size?: inputSizeOptions;
6
+ }
7
+ export declare const StyledSelectContainer: import("styled-components").StyledComponent<"div", any, StyledSelectContainerProps, never>;
8
+ export declare const StyledMenuItem: import("styled-components").StyledComponent<import("@mui/material").ExtendButtonBase<import("@mui/material").MenuItemTypeMap<{}, "li">>, any, {}, never>;
9
+ export {};
@@ -0,0 +1,2 @@
1
+ export type { SelectProps, SelectOption } from './Select';
2
+ export { DotSelect } from './Select';