@ixon-cdk/types 1.21.0-next.0 → 1.21.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/ixapi/resources/agent-edge-app-instance.d.ts +16 -3
- package/dist/types/ixapi/resources/licence-type.d.ts +1 -1
- 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 +16 -0
- package/package.json +1 -1
|
@@ -1,13 +1,26 @@
|
|
|
1
1
|
import type { AgentEdgeAppInstanceService } from './agent-edge-app-instance-service';
|
|
2
2
|
import { EdgeAppFile } from './edge-app-file';
|
|
3
3
|
import type { ResLink } from './res-link';
|
|
4
|
+
export interface EdgeAppInstanceDeploymentProgress {
|
|
5
|
+
files: EdgeAppInstanceProgress;
|
|
6
|
+
images: EdgeAppInstanceProgress;
|
|
7
|
+
}
|
|
8
|
+
export interface EdgeAppInstanceProgress {
|
|
9
|
+
completed: number;
|
|
10
|
+
total: number;
|
|
11
|
+
}
|
|
4
12
|
export type EdgeAppInstanceDeploymentStatus = 'deleting' | 'deploying' | 'error' | 'pending' | 'running';
|
|
5
|
-
export
|
|
13
|
+
export type AgentEdgeAppInstance = {
|
|
6
14
|
agent?: ResLink;
|
|
7
15
|
edgeAppVersion?: ResLink;
|
|
8
16
|
files?: EdgeAppFile[];
|
|
9
17
|
name?: string;
|
|
10
18
|
publicId: string;
|
|
11
19
|
services?: AgentEdgeAppInstanceService[];
|
|
12
|
-
|
|
13
|
-
|
|
20
|
+
} & ({
|
|
21
|
+
progress?: null;
|
|
22
|
+
status?: Exclude<EdgeAppInstanceDeploymentStatus, 'deploying'>;
|
|
23
|
+
} | {
|
|
24
|
+
progress?: EdgeAppInstanceDeploymentProgress;
|
|
25
|
+
status?: Extract<EdgeAppInstanceDeploymentStatus, 'deploying'>;
|
|
26
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type LicenceTypeScope = 'agent' | 'company';
|
|
2
|
-
export type LicenceUsageType = 'advanced-user-management' | 'agent-registration-profile' | 'alarming' | 'api-integrations' | 'app-engine-level-1' | 'app-engine-level-2' | 'app-engine-level-3' | 'asset-management' | 'card-view' | 'connection-monitoring' | 'controlled-devices' | 'custom-branding' | 'custom-domain' | 'custom-fields' | 'custom-legal' | 'custom-legal-legacy' | 'custom-sso' | 'ixagent' | 'landing-page' | 'live-data' | 'logging' | 'm2m-cloud-cluster' | 'main-pages' | 'mobile-app' | 'mqtt-device' | 'object-storage' | 'premium-branding' | 'rdp' | 'remote-access' | 'reporting' | 'request-access' | 'rtsp' | 'sla' | 'subgroups' | 'temporary-access' | 'vpn-access-rule' | 'vpn-usage';
|
|
2
|
+
export type LicenceUsageType = 'advanced-user-management' | 'agent-registration-profile' | 'alarming' | 'api-integrations' | 'app-engine-level-1' | 'app-engine-level-2' | 'app-engine-level-3' | 'asset-management' | 'card-view' | 'connection-monitoring' | 'controlled-devices' | 'custom-branding' | 'custom-domain' | 'custom-fields' | 'custom-legal' | 'custom-legal-legacy' | 'custom-sso' | 'ixagent' | 'landing-page' | 'live-data' | 'logging' | 'm2m-cloud-cluster' | 'main-pages' | 'mobile-app' | 'mqtt-device' | 'object-storage' | 'premium-branding' | 'rdp' | 'remote-access' | 'reporting' | 'request-access' | 'rtsp' | 'sla' | 'ssh' | 'subgroups' | 'temporary-access' | 'vpn-access-rule' | 'vpn-usage';
|
|
3
3
|
export interface LicenceType {
|
|
4
4
|
companyLimit?: number | null;
|
|
5
5
|
publicId: string;
|
|
@@ -7,6 +7,7 @@ import type { ResourceDataResult } from './resource-data-result';
|
|
|
7
7
|
import type { ResourceDataUpdate, ResourceDataUpdateSelector } from './resource-data-update';
|
|
8
8
|
interface ResultDataMap {
|
|
9
9
|
Agent: ResourceData.Agent;
|
|
10
|
+
AgentDataTag: ResourceData.AgentDataTag;
|
|
10
11
|
AppConfig: ResourceData.AppConfig;
|
|
11
12
|
Asset: ResourceData.Asset;
|
|
12
13
|
AssetAppConfig: ResourceData.AssetAppConfig;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @module ResourceDataQuery */
|
|
2
|
-
export type ResourceDataQuerySelector = 'Agent' | 'AppConfig' | 'Asset' | 'AssetAppConfig' | 'AssetAppConfigList' | 'Branding' | 'CustomPropertyList' | 'GroupList' | 'LicenceList' | 'MyCompany' | 'MyUser' | 'PagePage' | 'PageVersion' | 'UserList';
|
|
2
|
+
export type ResourceDataQuerySelector = 'Agent' | 'AgentDataTag' | 'AppConfig' | 'Asset' | 'AssetAppConfig' | 'AssetAppConfigList' | 'Branding' | 'CustomPropertyList' | 'GroupList' | 'LicenceList' | 'MyCompany' | 'MyUser' | 'PagePage' | 'PageVersion' | 'UserList';
|
|
3
3
|
export interface ResourceDataQuery<TSelector = ResourceDataQuerySelector> {
|
|
4
4
|
/**
|
|
5
5
|
* String reference unique to the query call made by the client.
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
interface AgentDataTagResourceData {
|
|
2
|
+
agent?: {
|
|
3
|
+
publicId: string;
|
|
4
|
+
reference?: {
|
|
5
|
+
name: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
publicId: string;
|
|
9
|
+
slug?: string | null;
|
|
10
|
+
variable?: {
|
|
11
|
+
name?: string;
|
|
12
|
+
publicId: string;
|
|
13
|
+
internalUse?: boolean;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
1
16
|
interface AgentResourceData {
|
|
2
17
|
activeVpnSession?: {
|
|
3
18
|
rscServer?: {
|
|
@@ -221,6 +236,7 @@ interface UserResourceData {
|
|
|
221
236
|
}
|
|
222
237
|
export declare namespace ResourceData {
|
|
223
238
|
type Agent = AgentResourceData;
|
|
239
|
+
type AgentDataTag = AgentDataTagResourceData;
|
|
224
240
|
type AppConfig<TValues extends object = object> = AppConfigResourceData<TValues>;
|
|
225
241
|
type Asset = AssetResourceData;
|
|
226
242
|
type AssetAppConfig<TValues = unknown, TStateValues = unknown, TResourceValues = unknown, TResourceStateValues = unknown> = AssetAppConfigResourceData<TValues, TStateValues, TResourceValues, TResourceStateValues>;
|