@ixon-cdk/types 1.20.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.
@@ -24,6 +24,7 @@ export interface AgentAccessRequest {
24
24
  vpn?: boolean;
25
25
  }
26
26
  export type AgentAccessRequestApproveResponse = AgentAccessRequestResult;
27
+ export type AgentAccessRequestInfoResponse = AgentAccessRequestResult;
27
28
  export type AgentAccessRequestRejectResponse = AgentAccessRequestResult;
28
29
  type AgentAccessRequestStatus = 'approved' | 'pending' | 'rejected' | 'revoked';
29
30
  interface AgentAccessRequestResult {
@@ -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 interface AgentEdgeAppInstance {
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
- status?: EdgeAppInstanceDeploymentStatus;
13
- }
20
+ } & ({
21
+ progress?: null;
22
+ status?: Exclude<EdgeAppInstanceDeploymentStatus, 'deploying'>;
23
+ } | {
24
+ progress?: EdgeAppInstanceDeploymentProgress;
25
+ status?: Extract<EdgeAppInstanceDeploymentStatus, 'deploying'>;
26
+ });
@@ -0,0 +1,5 @@
1
+ import type { ResLink } from './res-link';
2
+ export interface AgentFirmwareUpgradeStart {
3
+ file?: ResLink;
4
+ version: string;
5
+ }
@@ -1,4 +1,7 @@
1
+ import type { ResLink } from './res-link';
1
2
  export interface EdgeAppFile {
3
+ agentEdgeAppInstance?: ResLink | null;
4
+ edgeAppVersion?: ResLink | null;
2
5
  path?: string;
3
6
  publicId: string;
4
7
  }
@@ -1,5 +1,6 @@
1
+ import type { EdgeAppFile } from './edge-app-file';
1
2
  import type { ResLink } from './res-link';
2
- import { UserReference } from './user';
3
+ import type { UserReference } from './user';
3
4
  export interface EdgeAppService {
4
5
  environment?: string;
5
6
  name?: string;
@@ -8,6 +9,7 @@ export interface EdgeAppVersion {
8
9
  createdBy?: UserReference | null;
9
10
  createdOn?: string;
10
11
  edgeApp?: ResLink;
12
+ files?: EdgeAppFile[];
11
13
  number?: string;
12
14
  publicId: string;
13
15
  publishedOn?: string | null;
@@ -15,6 +15,7 @@ export * from './agent-data-variable';
15
15
  export * from './agent-device';
16
16
  export * from './agent-edge-app-instance';
17
17
  export * from './agent-edge-app-instance-service';
18
+ export * from './agent-firmware-upgrade';
18
19
  export * from './agent-licence-bundle';
19
20
  export * from './agent-mdr-server';
20
21
  export * from './agent-membership';
@@ -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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/types",
3
- "version": "1.20.0",
3
+ "version": "1.21.0-next.1",
4
4
  "description": "",
5
5
  "main": "./dist/component-devkit/src/types/src/index.d.ts",
6
6
  "author": "",