@ixon-cdk/types 1.3.0 → 1.4.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.
Files changed (26) hide show
  1. package/dist/types/ixapi/resources/access-token.d.ts +22 -0
  2. package/dist/types/ixapi/resources/agent-config.d.ts +2 -0
  3. package/dist/types/ixapi/resources/agent-data-alarm-occurrence.d.ts +19 -0
  4. package/dist/types/ixapi/resources/agent-data-alarm.d.ts +0 -19
  5. package/dist/types/ixapi/resources/agent-data-tag.d.ts +5 -6
  6. package/dist/types/ixapi/resources/agent-data-variable.d.ts +1 -0
  7. package/dist/types/ixapi/resources/agent-router-one-to-one-nat-rule.d.ts +12 -0
  8. package/dist/types/ixapi/resources/agent-server.d.ts +28 -6
  9. package/dist/types/ixapi/resources/agent-type.d.ts +2 -0
  10. package/dist/types/ixapi/resources/agent.d.ts +26 -11
  11. package/dist/types/ixapi/resources/asset-type.d.ts +2 -0
  12. package/dist/types/ixapi/resources/asset.d.ts +1 -0
  13. package/dist/types/ixapi/resources/audience.d.ts +1 -0
  14. package/dist/types/ixapi/resources/component-input.d.ts +2 -1
  15. package/dist/types/ixapi/resources/index.d.ts +3 -0
  16. package/dist/types/ixapi/resources/licence.d.ts +5 -1
  17. package/dist/types/ixapi/resources/page.d.ts +2 -0
  18. package/dist/types/ixapi/resources/policy.d.ts +9 -0
  19. package/dist/types/ixapi/resources/user.d.ts +6 -3
  20. package/dist/types/ixapi/resources/vpn-session.d.ts +8 -0
  21. package/dist/types/resource-data/index.d.ts +1 -0
  22. package/dist/types/resource-data/resource-data-client.d.ts +6 -0
  23. package/dist/types/resource-data/resource-data-query.d.ts +1 -1
  24. package/dist/types/resource-data/resource-data-update.d.ts +11 -0
  25. package/dist/types/resource-data/resource-data.d.ts +7 -1
  26. package/package.json +1 -1
@@ -12,6 +12,7 @@ export interface AccessToken {
12
12
  expiresOn?: string;
13
13
  geoLocation?: GeoLocation | null;
14
14
  publicId: string;
15
+ scope?: AccessTokenScopesUnion;
15
16
  }
16
17
  export interface AccessTokenCreate {
17
18
  /** In seconds. */
@@ -27,3 +28,24 @@ export interface AccessTokenCreateResponse {
27
28
  secretId: string;
28
29
  user: MyUser;
29
30
  }
31
+ export interface AccessTokenScopeUnrestricted {
32
+ type?: 'unrestricted';
33
+ }
34
+ export interface AccessTokenScopeAllowList {
35
+ rels?: RelAffect[];
36
+ type?: 'allow';
37
+ }
38
+ export interface AccessTokenScopeDenyList {
39
+ rels?: RelAffect[];
40
+ type?: 'deny';
41
+ }
42
+ export type AccessTokenScopesUnion = AccessTokenScopeAllowList | AccessTokenScopeDenyList | AccessTokenScopeUnrestricted;
43
+ interface RelAffect {
44
+ rel?: string;
45
+ get?: boolean | null;
46
+ post?: boolean | null;
47
+ patch?: boolean | null;
48
+ delete?: boolean | null;
49
+ put?: boolean | null;
50
+ }
51
+ export {};
@@ -12,6 +12,7 @@ export interface AgentConfig {
12
12
  configsAreDifferent?: boolean;
13
13
  differentConfigs?: boolean;
14
14
  differentStewardConfigs?: boolean;
15
+ differentWanConfigs?: boolean;
15
16
  /** NOTE: This public ID is identical to the public ID of its linked agent. */
16
17
  publicId: string;
17
18
  routerAdditionalSubnets?: AgentRouterAdditionalSubnet[];
@@ -82,6 +83,7 @@ export interface AgentConfigRouterWan {
82
83
  cellularTrackIps?: string[];
83
84
  cellularUsername?: string | null;
84
85
  digitalInputMode?: AgentConfigRouterWanDigitalInputMode;
86
+ dnsRebindProtectionEnabled?: boolean | null;
85
87
  dnsServer?: string | null /** @depricated */;
86
88
  dnsServers?: string[] | null;
87
89
  httpProxyAddress?: string | null;
@@ -0,0 +1,19 @@
1
+ import type { ResLink } from './res-link';
2
+ export interface AgentDataAlarmOccurrence {
3
+ acknowledged?: boolean;
4
+ acknowledgedBy?: ResLink | null;
5
+ /** I.e. "2019-01-01T12:00:00Z" */
6
+ acknowledgedOn: string | null;
7
+ alarm?: ResLink;
8
+ comment?: string | null;
9
+ /** I.e. "2019-01-01T12:00:00Z" */
10
+ occurredOn?: string;
11
+ publicId: string;
12
+ /** I.e. "2019-01-01T12:00:00Z" */
13
+ rateLimitTill?: string | null;
14
+ /** I.e. "2019-01-01T12:00:00Z" */
15
+ rtnOn?: string | null;
16
+ silenced?: boolean;
17
+ /** I.e. "2019-01-01T12:00:00Z" */
18
+ stillActiveOn?: string | null;
19
+ }
@@ -1,5 +1,4 @@
1
1
  import type { ResLink } from './res-link';
2
- import type { User } from './user';
3
2
  export interface AgentDataAlarm {
4
3
  agent?: ResLink;
5
4
  audience?: ResLink | null;
@@ -24,21 +23,3 @@ export interface AgentDataAlarm {
24
23
  source?: ResLink;
25
24
  type?: 'unary' | 'boolean' | 'error_bits' | 'threshold' | 'rate_of_change' | 'bit_pattern';
26
25
  }
27
- export interface AgentDataAlarmOcc {
28
- publicId: string;
29
- alarm?: AgentDataAlarm;
30
- occuredOn?: string;
31
- acknowledged?: boolean | null;
32
- acknowledgedOn?: string | null;
33
- acknowledgedBy?: User | null;
34
- comment?: string | null;
35
- silenced?: boolean;
36
- rtnOn?: string | null;
37
- annunciations?: AgentDataAlarmOccAnn[];
38
- stillActiveOn?: string | null;
39
- rateLimitTill?: string | null;
40
- }
41
- export interface AgentDataAlarmOccAnn {
42
- user?: User;
43
- announcedOn?: string;
44
- }
@@ -1,22 +1,21 @@
1
- import type { AgentDataCondition } from './agent-data-condition';
2
1
  import type { AgentDataVariable } from './agent-data-variable';
3
2
  import type { ResLink } from './res-link';
4
3
  export interface AgentDataTag {
5
4
  agent?: ResLink;
6
5
  aggregators?: string[];
7
6
  device?: ResLink;
8
- downsamplingInterval?: boolean;
9
- /** When set to null will revert to "last", "shortest" and "longest". Only applicable to strings */
10
- edgeAggregator?: 'min' | 'max' | 'shortest' | 'longest' | 'mean' | 'last' | 'increase' | null;
7
+ downsamplingInterval?: string | null;
8
+ /** When set to null will revert to "last", "shortest" and "longest" only applicable to strings */
9
+ edgeAggregator?: 'any' | 'avg' | 'min' | 'max' | 'first' | 'last' | 'shortest' | 'longest' | 'increase' | null;
11
10
  logEvent?: 'interval' | 'change' | 'trigger';
12
11
  loggingInterval?: string;
13
- logTrigger?: AgentDataCondition | null;
12
+ logTrigger?: ResLink | null;
14
13
  name?: string;
14
+ onChangeExpiry?: string | null;
15
15
  publicId: string;
16
16
  retentionPolicy?: string;
17
17
  slug?: string | null;
18
18
  source?: ResLink;
19
- onChangeExpiry?: string | null;
20
19
  tagId?: number;
21
20
  variable?: AgentDataVariable;
22
21
  }
@@ -2,6 +2,7 @@ import type { ResLink } from './res-link';
2
2
  export interface AgentDataVariable {
3
3
  address?: string;
4
4
  agent?: ResLink;
5
+ custom?: {};
5
6
  device?: ResLink;
6
7
  extraData?: any;
7
8
  factor?: number | null;
@@ -0,0 +1,12 @@
1
+ import type { ResLink } from './res-link';
2
+ export interface AgentRouterOneToOneNatRule {
3
+ agent?: ResLink;
4
+ description?: string | null;
5
+ destinationIpAddress?: string | null;
6
+ port?: number | null;
7
+ protocol?: string;
8
+ publicId: string;
9
+ sourceIpAddress?: string | null;
10
+ type?: 'vpn' | 'wlan' | 'wan';
11
+ virtualIpAddress?: string | null;
12
+ }
@@ -2,10 +2,11 @@ import type { ResLink } from './res-link';
2
2
  export interface AgentServer {
3
3
  agent?: ResLink;
4
4
  audience?: ResLink | null;
5
- connectionQuality?: 'high' | 'normal' | 'low' | null;
5
+ connectionQuality?: ConnectionQuality | null;
6
6
  custom?: {};
7
7
  device?: ResLink;
8
- httpAuthenticationType?: 'ntlm' | 'basic' | 'digest' | null;
8
+ hasPassword?: boolean;
9
+ httpAuthenticationType?: HttpAuthenticationType | null;
9
10
  landingPage?: string;
10
11
  name?: string;
11
12
  password?: string | null;
@@ -13,10 +14,8 @@ export interface AgentServer {
13
14
  publicId: string;
14
15
  readOnly?: boolean | null;
15
16
  serviceGroup?: string | null;
16
- template?: {
17
- publicId?: string;
18
- };
19
- type?: 'http' | 'rdp' | 'vnc' | 'websocket';
17
+ template?: AgentServerTemplate;
18
+ type?: AgentServerType;
20
19
  username?: string | null;
21
20
  useSsl?: boolean;
22
21
  /** default: true */
@@ -24,3 +23,26 @@ export interface AgentServer {
24
23
  vncEncoding?: string | null;
25
24
  vncRightClickOnTouchHold?: boolean;
26
25
  }
26
+ export interface AgentServerTemplate {
27
+ audience?: ResLink;
28
+ connectionQuality?: ConnectionQuality | null;
29
+ custom?: {};
30
+ hasPassword?: boolean;
31
+ httpAuthenticationType?: HttpAuthenticationType | null;
32
+ landingPage?: string;
33
+ name?: string;
34
+ password?: string | null;
35
+ port?: number;
36
+ publicId: string;
37
+ readOnly?: boolean | null;
38
+ type?: AgentServerType;
39
+ username?: string | null;
40
+ useSsl?: boolean;
41
+ visibleInMobileApp?: boolean;
42
+ vncEncoding?: string | null;
43
+ vncRightClickOnTouchHold?: boolean;
44
+ }
45
+ type AgentServerType = 'http' | 'rdp' | 'vnc' | 'websocket';
46
+ type ConnectionQuality = 'high' | 'normal' | 'low';
47
+ type HttpAuthenticationType = 'ntlm' | 'basic' | 'digest';
48
+ export {};
@@ -7,12 +7,14 @@ export interface AgentType {
7
7
  allowTemplating?: boolean;
8
8
  configPush?: boolean;
9
9
  configFileFormat?: number;
10
+ custom?: {};
10
11
  customServers?: boolean;
11
12
  deviceIdFormat?: string;
12
13
  httpProxyPort?: number;
13
14
  latestFirmwareFile?: any;
14
15
  name?: string;
15
16
  offlineConfiguration?: boolean;
17
+ openvpnConfigMultiUse?: boolean;
16
18
  publicId: string;
17
19
  purchasePrice?: {
18
20
  gratis?: boolean;
@@ -4,6 +4,9 @@ import type { AgentDevice } from './agent-device';
4
4
  import type { AgentMdrServer } from './agent-mdr-server';
5
5
  import type { AgentMembership } from './agent-membership';
6
6
  import type { AgentNetworkValue } from './agent-network-value';
7
+ import type { AgentRouterLanWanAccessRule } from './agent-router-lan-wan-access-rule';
8
+ import type { AgentRouterOneToOneNatRule } from './agent-router-one-to-one-nat-rule';
9
+ import type { AgentRouterVpnAccessRule } from './agent-router-vpn-access-rule';
7
10
  import type { AgentServer } from './agent-server';
8
11
  import type { AgentTemplate } from './agent-template';
9
12
  import type { AgentType } from './agent-type';
@@ -17,14 +20,13 @@ import type { GeoLocation, Location } from './location';
17
20
  import type { LoggingApp } from './logging-app';
18
21
  import type { PageLink } from './page-link';
19
22
  import type { ResLink } from './res-link';
20
- import type { RscServer } from './rsc-server';
21
23
  import type { User } from './user';
22
24
  import type { VpnProtocol } from './vpn-protocol';
23
- import type { AgentRouterVpnAccessRule } from './agent-router-vpn-access-rule';
25
+ import type { VpnSession } from './vpn-session';
24
26
  export interface Agent extends AgentLike {
25
27
  activationLicence?: Licence | null;
26
28
  activeStatus?: 'active' | 'inactive';
27
- activeVpnSession?: AgentVpnSession | null;
29
+ activeVpnSession?: VpnSession | null;
28
30
  alarmingApp?: AlarmingApp;
29
31
  assets?: ResLink[];
30
32
  company?: ResLink;
@@ -68,7 +70,9 @@ export interface AgentLike {
68
70
  dataSources?: AgentDataSource[];
69
71
  description?: string | null;
70
72
  devices?: AgentDevice[];
73
+ lanWanAccessRules?: AgentRouterLanWanAccessRule[];
71
74
  name?: string;
75
+ oneToOneNatRules?: AgentRouterOneToOneNatRule[];
72
76
  pageLinks?: PageLink[];
73
77
  publicId: string;
74
78
  servers?: AgentServer[];
@@ -90,20 +94,37 @@ export interface AgentLocalIp {
90
94
  gateways?: string[];
91
95
  }
92
96
  export interface AgentUserAgent {
97
+ alarming?: boolean;
93
98
  appName?: string;
94
99
  appVersion?: string | null;
95
100
  configName?: string | null;
96
101
  configVersion?: string | null;
102
+ dataMonitoring?: boolean;
97
103
  firmwareVersion?: string | null;
98
104
  hardware?: string | null;
99
105
  hardwareCode?: string | null;
100
106
  hardwareVersion?: string | null;
101
107
  libixagentVersion?: string;
102
108
  libixloggerVersion?: string;
109
+ logOnTrigger?: boolean;
110
+ multiWan?: boolean;
103
111
  opensslVersion?: string | null;
112
+ openvpnOccEnabled?: boolean;
113
+ openvpnOpensslVersion?: string | null;
114
+ openvpnVersion?: string | null;
104
115
  osName?: string | null;
105
116
  osVersion?: string | null;
117
+ packageName?: string | null;
118
+ packageVersion?: string | null;
106
119
  publicId: string;
120
+ remoteFirmwareUpgrade?: boolean;
121
+ staticMapping?: boolean;
122
+ stewardConfigPush?: boolean;
123
+ value?: string | null;
124
+ wanInterfaceCell0?: CellularType;
125
+ wanInterfaceEth0?: boolean;
126
+ wanInterfaceWifi0?: boolean;
127
+ wifi?: boolean;
107
128
  }
108
129
  export interface AgentRateLimiting {
109
130
  configMqttCommandCounter?: number;
@@ -123,14 +144,6 @@ export interface AgentRateLimiting {
123
144
  * - `"lock"` when it manually locked by R&D and the user unable to retry.
124
145
  */
125
146
  export type AgentRateLimitingStatus = null | 'soft' | 'hard' | 'lock';
126
- export interface AgentVpnSession {
127
- bytesReceived?: number;
128
- bytesSent?: number;
129
- duration?: number;
130
- startedOn?: number;
131
- rscServer?: RscServer | null;
132
- vpnAddress?: string;
133
- }
134
147
  export interface AgentFromTemplate {
135
148
  publicId: string;
136
149
  template: AgentTemplate;
@@ -150,3 +163,5 @@ export interface ShellAgentCreate {
150
163
  groups?: ResLink[];
151
164
  template?: ResLink | null;
152
165
  }
166
+ type CellularType = '3G' | '4G' | 'neither';
167
+ export {};
@@ -1,4 +1,6 @@
1
+ import type { ResLink } from './res-link';
1
2
  export interface AssetType {
3
+ company?: ResLink;
2
4
  name?: string;
3
5
  order?: number;
4
6
  publicId: string;
@@ -7,6 +7,7 @@ export interface Asset {
7
7
  agent?: ResLink | null;
8
8
  appConfigs?: AssetAppConfig[];
9
9
  card?: ResLink;
10
+ company?: ResLink;
10
11
  custom?: {
11
12
  [key: string]: any;
12
13
  };
@@ -1,4 +1,5 @@
1
1
  export interface Audience {
2
+ custom?: {};
2
3
  default?: boolean;
3
4
  description?: string | null;
4
5
  name?: string;
@@ -1,4 +1,4 @@
1
- type ComponentInputType = 'AggregatedMetric' | 'Checkbox' | 'Color' | 'File' | 'Group' | 'Image' | 'Icon' | 'MaterialIcon' | 'LiveMetric' | 'List' | 'Number' | 'RawMetric' | 'Selection' | 'String' | 'Text';
1
+ type ComponentInputType = 'AggregatedMetric' | 'Checkbox' | 'Color' | 'Date' | 'File' | 'Group' | 'Image' | 'Icon' | 'MaterialIcon' | 'LiveMetric' | 'List' | 'Number' | 'RawMetric' | 'Selection' | 'String' | 'Text';
2
2
  export interface ComponentInputSummary {
3
3
  label?: string;
4
4
  colorField?: string;
@@ -7,6 +7,7 @@ export interface ComponentInput {
7
7
  children?: ComponentInput[];
8
8
  defaultValue?: any;
9
9
  description?: string;
10
+ disabled?: boolean;
10
11
  hint?: string;
11
12
  itemType?: ComponentInput;
12
13
  key: string;
@@ -4,6 +4,7 @@ export * from './agent';
4
4
  export * from './agent-activate';
5
5
  export * from './agent-config';
6
6
  export * from './agent-data-alarm';
7
+ export * from './agent-data-alarm-occurrence';
7
8
  export * from './agent-data-alarming-app';
8
9
  export * from './agent-data-condition';
9
10
  export * from './agent-data-logging-app';
@@ -21,6 +22,7 @@ export * from './agent-queue-report';
21
22
  export * from './agent-registration-profile';
22
23
  export * from './agent-registration-profile-membership';
23
24
  export * from './agent-router-lan-wan-access-rule';
25
+ export * from './agent-router-one-to-one-nat-rule';
24
26
  export * from './agent-router-vpn-access-rule';
25
27
  export * from './agent-router-vpn-config';
26
28
  export * from './agent-server';
@@ -100,6 +102,7 @@ export * from './user';
100
102
  export * from './user-membership';
101
103
  export * from './user-push-device';
102
104
  export * from './vpn-protocol';
105
+ export * from './vpn-session';
103
106
  export * from './vpn-usage';
104
107
  export * from './web-access';
105
108
  export * from './webhook-subscription';
@@ -3,9 +3,12 @@ import type { AgentType } from './agent-type';
3
3
  import type { LicenceBundle } from './licence-bundle';
4
4
  import type { LicenceType } from './licence-type';
5
5
  import type { ResLink } from './res-link';
6
+ interface AgentBase extends Pick<Agent, 'custom' | 'deviceId' | 'geoLocation' | 'location' | 'name' | 'publicId'> {
7
+ type?: ResLink;
8
+ }
6
9
  export interface Licence {
7
10
  activated?: boolean;
8
- agent?: Agent | null;
11
+ agent?: AgentBase | null;
9
12
  agentType?: AgentType | null;
10
13
  bundle?: LicenceBundle | null;
11
14
  expiresOn?: string | null;
@@ -25,3 +28,4 @@ export interface LicenceExtend {
25
28
  licence?: ResLink;
26
29
  publicId: string;
27
30
  }
31
+ export {};
@@ -13,5 +13,7 @@ export interface Page {
13
13
  publicId: string;
14
14
  published?: PageVersion | null;
15
15
  static?: boolean;
16
+ orientation?: PageOrientation | null;
16
17
  }
18
+ export type PageOrientation = 'portrait' | 'landscape';
17
19
  export type PageApplicationType = 'sheet' | 'card' | 'report';
@@ -5,7 +5,9 @@ export interface PolicyLanguage {
5
5
  languageCode?: string;
6
6
  publicId: string;
7
7
  policy?: ResLink;
8
+ updateSummary?: string | null;
8
9
  }
10
+ export type PolicyType = 'privacystatement' | 'termsofuse';
9
11
  export interface PolicyBase {
10
12
  company?: ResLink | null;
11
13
  createdOn?: string;
@@ -15,9 +17,16 @@ export interface PolicyBase {
15
17
  publicId: string;
16
18
  publishedOn?: string | null;
17
19
  sector?: Sector;
20
+ type?: PolicyType;
18
21
  version?: string;
19
22
  }
20
23
  export interface TermsOfUsePolicy extends PolicyBase {
21
24
  }
22
25
  export interface PrivacyStatement extends PolicyBase {
23
26
  }
27
+ export interface AcceptedTermsOfUsePolicy {
28
+ acceptedOn?: string;
29
+ company?: ResLink;
30
+ policy?: TermsOfUsePolicy;
31
+ publicId: string;
32
+ }
@@ -1,9 +1,10 @@
1
1
  import type { EmailAddressChange } from './email-address-change';
2
2
  import type { Invite } from './invite';
3
3
  import type { OtpAuth } from './otp-auth';
4
- import type { TermsOfUsePolicy } from './policy';
4
+ import type { AcceptedTermsOfUsePolicy, TermsOfUsePolicy } from './policy';
5
5
  import type { UserMembership } from './user-membership';
6
6
  export interface User {
7
+ custom?: {};
7
8
  /** @changeNotification taint */
8
9
  emailAddress?: string;
9
10
  /** For example 2019-01-01T12:00:00Z */
@@ -17,10 +18,11 @@ export interface User {
17
18
  support?: boolean;
18
19
  }
19
20
  export interface MyUser {
21
+ acceptedTermsOfUsePolicies?: AcceptedTermsOfUsePolicy[];
20
22
  custom?: {
21
- /** JSON Object with user colomns per company, For example: { "1111-2222-3333-4444-5555": ["status", "name", "lastOnline"]} */
23
+ /** JSON Object with user columns per company, For example: { "1111-2222-3333-4444-5555": ["status", "name", "lastOnline"]} */
22
24
  glbFltDeviceTableCols?: string;
23
- /** JSON Object with user colomns per company, For example: { "1111-2222-3333-4444-5555": ["status", "name", "lastOnline"]} */
25
+ /** JSON Object with user columns per company, For example: { "1111-2222-3333-4444-5555": ["status", "name", "lastOnline"]} */
24
26
  glbPrtDeviceTableCols?: string;
25
27
  /** JSON Object with view settings per company,
26
28
  * For example:
@@ -36,6 +38,7 @@ export interface MyUser {
36
38
  };
37
39
  emailAddress?: string;
38
40
  emailAddressChanges?: EmailAddressChange[];
41
+ hasPassword?: boolean;
39
42
  invites?: Invite[];
40
43
  language?: string;
41
44
  /** For example 2019-01-01T12:00:00Z */
@@ -0,0 +1,8 @@
1
+ import type { RscServer } from './rsc-server';
2
+ export interface VpnSession {
3
+ closed?: boolean;
4
+ rscServer?: RscServer | null;
5
+ sessionName?: string;
6
+ startedOn?: string;
7
+ vpnAddress?: string | null;
8
+ }
@@ -1,4 +1,5 @@
1
1
  export * from './resource-data-client';
2
2
  export * from './resource-data-query';
3
3
  export * from './resource-data-result';
4
+ export * from './resource-data-update';
4
5
  export * from './resource-data';
@@ -2,9 +2,11 @@
2
2
  import type { ResourceDataQuery, ResourceDataQuerySelector, ResourceDataTemplateQuery } from './resource-data-query';
3
3
  import type { ResourceDataResult } from './resource-data-result';
4
4
  import type { ResourceData } from './resource-data';
5
+ import type { ResourceDataUpdate, ResourceDataUpdateSelector } from './resource-data-update';
5
6
  interface ResultDataMap {
6
7
  Agent: ResourceData.Agent;
7
8
  Asset: ResourceData.Asset;
9
+ AssetAppConfig: ResourceData.AssetAppConfig;
8
10
  Branding: ResourceData.Branding;
9
11
  CustomPropertyList: ResourceData.CustomProperty[];
10
12
  GroupList: ResourceData.Group[];
@@ -59,5 +61,9 @@ export interface ResourceDataClient {
59
61
  * @returns {function()} Returns a deregistration function for the listener.
60
62
  */
61
63
  render(templates: ResourceDataTemplateQuery[], listener: (results: string[]) => void): () => void;
64
+ /**
65
+ * @returns {Promise} Returns a promise that resolves when the update succeeds.
66
+ */
67
+ update<T extends ResourceDataUpdateSelector>(update: ResourceDataUpdate<T>): Promise<void>;
62
68
  }
63
69
  export {};
@@ -1,5 +1,5 @@
1
1
  /** @module ResourceDataQuery */
2
- export type ResourceDataQuerySelector = 'Agent' | 'Asset' | 'Branding' | 'CustomPropertyList' | 'GroupList' | 'MyCompany' | 'MyUser' | 'PagePage' | 'PageVersion' | 'UserList';
2
+ export type ResourceDataQuerySelector = 'Agent' | 'Asset' | 'AssetAppConfig' | 'Branding' | 'CustomPropertyList' | 'GroupList' | '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
@@ -0,0 +1,11 @@
1
+ import type { ResourceData } from './resource-data';
2
+ type ResourceDataUpdateDataMap = {
3
+ AssetAppConfig: Partial<ResourceData.AssetAppConfig>;
4
+ };
5
+ export type ResourceDataUpdateSelector = keyof ResourceDataUpdateDataMap;
6
+ export type ResourceDataUpdate<T extends ResourceDataUpdateSelector = ResourceDataUpdateSelector> = {
7
+ _clientRef?: string;
8
+ selector: T;
9
+ data: ResourceDataUpdateDataMap[T];
10
+ };
11
+ export {};
@@ -4,7 +4,7 @@ interface AgentResourceData {
4
4
  name?: string;
5
5
  publicId: string;
6
6
  } | null;
7
- vpnAddress?: string;
7
+ vpnAddress?: string | null;
8
8
  } | null;
9
9
  connectedUsers?: {
10
10
  name?: string;
@@ -88,6 +88,11 @@ interface AssetResourceData {
88
88
  publicId: string;
89
89
  };
90
90
  }
91
+ interface AssetAppConfigResourceData {
92
+ publicId: string;
93
+ stateValues?: object | null;
94
+ values?: object | null;
95
+ }
91
96
  interface BrandingResourceData {
92
97
  logo?: string | null;
93
98
  publicId: string;
@@ -144,6 +149,7 @@ interface UserResourceData {
144
149
  export declare namespace ResourceData {
145
150
  type Agent = AgentResourceData;
146
151
  type Asset = AssetResourceData;
152
+ type AssetAppConfig = AssetAppConfigResourceData;
147
153
  type Branding = BrandingResourceData;
148
154
  type CustomProperty = CustomPropertyResourceData;
149
155
  type Group = GroupResourceData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/types",
3
- "version": "1.3.0",
3
+ "version": "1.4.0-next.1",
4
4
  "description": "",
5
5
  "main": "./dist/component-devkit/src/types/src/index.d.ts",
6
6
  "author": "",