@ixon-cdk/types 1.14.0 → 1.15.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/component-input.d.ts +4 -0
- package/dist/types/ixapi/resources/backend-component-template.d.ts +3 -0
- package/dist/types/object-storage/object-storage-client.d.ts +9 -0
- package/dist/types/resource-data/resource-data-client.d.ts +1 -0
- package/dist/types/resource-data/resource-data-query.d.ts +1 -1
- package/dist/types/resource-data/resource-data.d.ts +5 -0
- package/package.json +1 -1
|
@@ -4,6 +4,10 @@ export interface ComponentInputSummary {
|
|
|
4
4
|
label: string;
|
|
5
5
|
}
|
|
6
6
|
export interface ComponentInput {
|
|
7
|
+
/**
|
|
8
|
+
* Only applicable to type `File`.
|
|
9
|
+
*/
|
|
10
|
+
multiple?: boolean;
|
|
7
11
|
/**
|
|
8
12
|
* The types of tags or variables that are allowed for this metric. All types are allowed if empty ([]), null or not specified.
|
|
9
13
|
*
|
|
@@ -2,11 +2,14 @@ import type { ApiApplication } from './api-application';
|
|
|
2
2
|
import type { BackendComponentTemplateConfiguredVersion } from './backend-component-template-version';
|
|
3
3
|
import type { CompanyReference } from './company';
|
|
4
4
|
import type { ResLink } from './res-link';
|
|
5
|
+
export type BackendComponentTemplateConfigConfidentiality = 'public' | 'secret';
|
|
5
6
|
export interface BackendComponentTemplate {
|
|
6
7
|
accessTokenScope?: string | null;
|
|
7
8
|
apiApplication?: ApiApplication;
|
|
8
9
|
company?: CompanyReference | null;
|
|
10
|
+
configConfidentiality?: BackendComponentTemplateConfigConfidentiality | null;
|
|
9
11
|
configuredVersion?: BackendComponentTemplateConfiguredVersion | null;
|
|
12
|
+
defaultConfigValues?: string | null;
|
|
10
13
|
description?: string | null;
|
|
11
14
|
draft?: ResLink | null;
|
|
12
15
|
name?: string;
|
|
@@ -17,6 +17,15 @@ export interface ObjectStorageClient {
|
|
|
17
17
|
* @param options Request options
|
|
18
18
|
*/
|
|
19
19
|
getBlob(objectMeta: ObjectStorageObjectMeta, options?: ObjectStorageGetBlobOptions): Promise<Blob>;
|
|
20
|
+
/**
|
|
21
|
+
* Get a ZIP file with multiple objects
|
|
22
|
+
*
|
|
23
|
+
* @param objectMeta An array of object metadata, where each object can optionally specify an `outputDir` within the ZIP.
|
|
24
|
+
* @param options Request options
|
|
25
|
+
*/
|
|
26
|
+
getBlob(objectMeta: ({
|
|
27
|
+
outputDir?: string;
|
|
28
|
+
} & ObjectStorageObjectMeta)[], options?: ObjectStorageGetBlobOptions): Promise<Blob>;
|
|
20
29
|
/**
|
|
21
30
|
* Store an object in storage
|
|
22
31
|
*
|
|
@@ -5,6 +5,7 @@ import type { ResourceData } from './resource-data';
|
|
|
5
5
|
import type { ResourceDataUpdate, ResourceDataUpdateSelector } from './resource-data-update';
|
|
6
6
|
interface ResultDataMap {
|
|
7
7
|
Agent: ResourceData.Agent;
|
|
8
|
+
AppConfig: ResourceData.AppConfig;
|
|
8
9
|
Asset: ResourceData.Asset;
|
|
9
10
|
AssetAppConfig: ResourceData.AssetAppConfig;
|
|
10
11
|
AssetAppConfigList: ResourceData.AssetAppConfig[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @module ResourceDataQuery */
|
|
2
|
-
export type ResourceDataQuerySelector = 'Agent' | 'Asset' | 'AssetAppConfig' | 'AssetAppConfigList' | 'Branding' | 'CustomPropertyList' | 'GroupList' | 'LicenceList' | 'MyCompany' | 'MyUser' | 'PagePage' | 'PageVersion' | 'UserList';
|
|
2
|
+
export type ResourceDataQuerySelector = 'Agent' | 'AppConfig' | 'Asset' | 'AssetAppConfig' | 'AssetAppConfigList' | 'Branding' | 'CustomPropertyList' | 'GroupList' | 'LicenceList' | 'MyCompany' | 'MyUser' | 'PagePage' | 'PageVersion' | 'UserList';
|
|
3
3
|
export interface ResourceDataQuery<T = ResourceDataQuerySelector> {
|
|
4
4
|
/**
|
|
5
5
|
* String reference unique to the query call made by the client
|
|
@@ -98,6 +98,10 @@ interface AgentResourceData {
|
|
|
98
98
|
vpnVisibleInMobileApp?: boolean;
|
|
99
99
|
vpnVisibleOnWeb?: boolean;
|
|
100
100
|
}
|
|
101
|
+
interface AppConfigResourceData<TValues = any> {
|
|
102
|
+
publicId: string;
|
|
103
|
+
values?: TValues | null;
|
|
104
|
+
}
|
|
101
105
|
interface AssetResourceData {
|
|
102
106
|
custom?: Record<string, any>;
|
|
103
107
|
description?: string | null;
|
|
@@ -197,6 +201,7 @@ interface UserResourceData {
|
|
|
197
201
|
}
|
|
198
202
|
export declare namespace ResourceData {
|
|
199
203
|
type Agent = AgentResourceData;
|
|
204
|
+
type AppConfig<TValues extends object = any> = AppConfigResourceData<TValues>;
|
|
200
205
|
type Asset = AssetResourceData;
|
|
201
206
|
type AssetAppConfig<TValues = any, TStateValues = any> = AssetAppConfigResourceData<TValues, TStateValues>;
|
|
202
207
|
type Branding = BrandingResourceData;
|