@ixon-cdk/types 1.3.0-next.1 → 1.3.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.
@@ -77,10 +77,6 @@ export interface ComponentContext<ComponentContextInputs extends object = {
77
77
  * Creates a client to call backend components.
78
78
  *
79
79
  * Every time this method is called, a new client is created.
80
- *
81
- * @experimental This feature is in development. It might not be supported in your environment
82
- * and might also be removed without prior notice.
83
- * @ignore
84
80
  */
85
81
  createBackendComponentClient(): BackendComponentClient;
86
82
  /**
@@ -93,10 +89,6 @@ export interface ComponentContext<ComponentContextInputs extends object = {
93
89
  * Creates a client to communicate with object storage.
94
90
  *
95
91
  * Every time this method is called, a new client is created.
96
- *
97
- * @experimental This feature is in development. It might not be supported in your environment
98
- * and might also be removed without prior notice.
99
- * @ignore
100
92
  */
101
93
  createObjectStorageClient(): ObjectStorageClient;
102
94
  /**
@@ -148,27 +140,18 @@ export interface ComponentContext<ComponentContextInputs extends object = {
148
140
  * Opens an alert dialog.
149
141
  *
150
142
  * @param options configures the alert dialog
151
- *
152
- * @experimental
153
- * @ignore
154
143
  */
155
144
  openAlertDialog(options: AlertDialogOptions): Promise<true | undefined>;
156
145
  /**
157
146
  * Opens a confirmation dialog.
158
147
  *
159
148
  * @param options configures the confirm dialog
160
- *
161
- * @experimental
162
- * @ignore
163
149
  */
164
150
  openConfirmDialog(options: ConfirmDialogOptions): Promise<boolean | undefined>;
165
151
  /**
166
152
  * Opens a form dialog.
167
153
  *
168
154
  * @param options configures the form dialog
169
- *
170
- * @experimental
171
- * @ignore
172
155
  */
173
156
  openFormDialog(options: FormDialogOptions): Promise<FormDialogResult | false | undefined>;
174
157
  /**
@@ -1,3 +1,4 @@
1
+ import type { AgentRouterVpnConfig } from './agent-router-vpn-config';
1
2
  import type { ResLink } from './res-link';
2
3
  export interface AgentConfig {
3
4
  agent?: ResLink;
@@ -17,6 +18,7 @@ export interface AgentConfig {
17
18
  routerDisplay?: AgentConfigRouterDisplay | null;
18
19
  routerLan?: AgentConfigRouterLan | null;
19
20
  routerPortForwards?: AgentRouterPortForward[];
21
+ routerVpn?: AgentRouterVpnConfig;
20
22
  routerWan?: AgentConfigRouterWan | null;
21
23
  stewardConfigFileReported?: string;
22
24
  stewardConfigFileServer?: string;
@@ -1,16 +1,17 @@
1
1
  import type { ResLink } from './res-link';
2
- export interface AgentQueueReport extends QueueReport {
3
- agent: ResLink;
4
- message?: string;
2
+ export interface QueueDraftReport {
3
+ agent?: ResLink | null;
4
+ asset?: ResLink | null;
5
+ end: string;
5
6
  report: ResLink;
6
- sendTo: string[];
7
- }
8
- export interface QueueDraftReport extends QueueReport {
9
- agent: ResLink;
7
+ start: string;
8
+ timeZone: string;
10
9
  }
11
- interface QueueReport {
10
+ export interface QueueReport {
12
11
  end: string;
12
+ message?: string | null;
13
+ report: ResLink;
14
+ sendTo: string[];
13
15
  start: string;
14
16
  timeZone: string;
15
17
  }
16
- export {};
@@ -0,0 +1,7 @@
1
+ import type { AgentRegistrationProfileGroup } from "./group";
2
+ import type { ResLink } from "./res-link";
3
+ export interface AgentRegistrationProfileMembership {
4
+ group?: AgentRegistrationProfileGroup;
5
+ profile?: ResLink;
6
+ publicId: string;
7
+ }
@@ -0,0 +1,9 @@
1
+ import type { AgentRegistrationProfileMembership } from "./agent-registration-profile-membership";
2
+ import type { AgentRegistrationProfileAgentTemplate } from "./agent-template";
3
+ export interface AgentRegistrationProfile {
4
+ agentActivationName?: string | null;
5
+ memberships?: AgentRegistrationProfileMembership[];
6
+ name?: string | null;
7
+ publicId: string;
8
+ template?: AgentRegistrationProfileAgentTemplate | null;
9
+ }
@@ -0,0 +1,5 @@
1
+ import type { ResLink } from "./res-link";
2
+ export interface AgentRouterVpnConfig {
3
+ agent?: ResLink;
4
+ sourceNatEnabled?: boolean;
5
+ }
@@ -1,3 +1,4 @@
1
1
  import type { AgentLike } from './agent';
2
+ export type AgentRegistrationProfileAgentTemplate = Pick<AgentTemplate, 'publicId' | 'name'>;
2
3
  export interface AgentTemplate extends AgentLike {
3
4
  }
@@ -57,7 +57,6 @@ export interface Agent extends AgentLike {
57
57
  serialNumber?: string | null;
58
58
  timeZone?: string | null;
59
59
  valuesPerHour?: number;
60
- vpnAccessRules?: AgentRouterVpnAccessRule[];
61
60
  }
62
61
  export interface AgentLike {
63
62
  card?: ResLink | null;
@@ -77,6 +76,7 @@ export interface AgentLike {
77
76
  /** default: false */
78
77
  useStunnel?: boolean;
79
78
  preferLocationOverGeoip?: boolean;
79
+ vpnAccessRules?: AgentRouterVpnAccessRule[];
80
80
  vpnAudience?: Audience | null;
81
81
  /** default: 'tcp' */
82
82
  vpnProtocol?: VpnProtocol;
@@ -136,6 +136,7 @@ export interface AgentFromTemplate {
136
136
  template: AgentTemplate;
137
137
  importLanSettings: boolean;
138
138
  importFirewallSettings: boolean;
139
+ importVpnSettings: boolean;
139
140
  importPageLinks: boolean;
140
141
  importServices: boolean;
141
142
  importDataSettings: boolean;
@@ -5,6 +5,7 @@ export interface BackendComponentTemplate {
5
5
  description?: string | null;
6
6
  draft?: ResLink | null;
7
7
  name?: string;
8
+ ownerName?: string;
8
9
  publicId: string;
9
10
  published?: ResLink | null;
10
11
  }
@@ -27,6 +27,7 @@ export interface ComponentInput {
27
27
  size?: {
28
28
  max: number;
29
29
  };
30
+ translate?: boolean;
30
31
  type?: ComponentInputType;
31
32
  }
32
33
  export {};
@@ -8,4 +8,5 @@ export interface Group {
8
8
  publicId: string;
9
9
  type?: GroupType | null;
10
10
  }
11
+ export type AgentRegistrationProfileGroup = Pick<Group, 'publicId' | 'name' | 'type'>;
11
12
  export type ManagedByGroup = Pick<Group, 'publicId' | 'name' | 'type'>;
@@ -18,8 +18,11 @@ export * from './agent-membership';
18
18
  export * from './agent-network-value';
19
19
  export * from './agent-pull';
20
20
  export * from './agent-queue-report';
21
+ export * from './agent-registration-profile';
22
+ export * from './agent-registration-profile-membership';
21
23
  export * from './agent-router-lan-wan-access-rule';
22
24
  export * from './agent-router-vpn-access-rule';
25
+ export * from './agent-router-vpn-config';
23
26
  export * from './agent-server';
24
27
  export * from './agent-template';
25
28
  export * from './agent-type';
@@ -1,6 +1,7 @@
1
1
  import type { ResLink } from './res-link';
2
2
  export interface ReportSchedule {
3
- agent?: ResLink;
3
+ agent?: ResLink | null;
4
+ asset?: ResLink | null;
4
5
  /** I.e. "12:00:00" */
5
6
  deliveryTime?: string;
6
7
  publicId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/types",
3
- "version": "1.3.0-next.1",
3
+ "version": "1.3.0",
4
4
  "description": "",
5
5
  "main": "./dist/component-devkit/src/types/src/index.d.ts",
6
6
  "author": "",