@ixon-cdk/types 1.25.0-next.0 → 1.25.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.
@@ -67,6 +67,7 @@ export interface ComponentInput {
67
67
  */
68
68
  resource?: {
69
69
  type: string;
70
+ allowedTypes?: ('bool' | 'int' | 'float' | 'str')[];
70
71
  };
71
72
  /**
72
73
  * Only applicable to type `File`.
@@ -59,15 +59,15 @@ export * from './company';
59
59
  export * from './controlled-device';
60
60
  export * from './controlled-device-membership';
61
61
  export * from './custom-property';
62
+ export * from './data';
62
63
  export * from './data-deletion-request';
63
- export * from './data-protocol-applied';
64
64
  export * from './data-protocol';
65
- export * from './data';
65
+ export * from './data-protocol-applied';
66
66
  export * from './demo-device';
67
67
  export * from './discovery';
68
+ export * from './edge-app';
68
69
  export * from './edge-app-file';
69
70
  export * from './edge-app-version';
70
- export * from './edge-app';
71
71
  export * from './email-address-change';
72
72
  export * from './file';
73
73
  export * from './file-upload';
@@ -115,6 +115,7 @@ export * from './res-link';
115
115
  export * from './role';
116
116
  export * from './rsc-server';
117
117
  export * from './sector';
118
+ export * from './service-account';
118
119
  export * from './session-recording';
119
120
  export * from './sso-authentication';
120
121
  export * from './sso-identity-provider';
@@ -0,0 +1,9 @@
1
+ import type { ResLink } from './res-link';
2
+ export interface ServiceAccountCreate {
3
+ name: string;
4
+ }
5
+ export interface ServiceAccountCreateResponse {
6
+ publicId: string;
7
+ apiApplication: ResLink;
8
+ token: string;
9
+ }
@@ -7,22 +7,27 @@ import type { ResLink } from './res-link';
7
7
  import type { SsoAuthentication } from './sso-authentication';
8
8
  import type { UserMembership } from './user-membership';
9
9
  export interface User {
10
+ apiApplications?: ApiApplication[];
10
11
  custom?: {};
11
12
  /** @changeNotification taint */
12
13
  emailAddress?: string | null;
13
14
  /** For example 2019-01-01T12:00:00Z */
14
- lastSeenOn?: string;
15
+ lastSeenOn?: string | null;
15
16
  memberships?: UserMembership[];
16
17
  /** @changeNotification taint */
17
18
  name?: string;
18
19
  /** Whether the user has two-factor authentication activated for their account. */
19
20
  otpauthRequired?: boolean;
20
21
  publicId: string;
22
+ registeredBy?: User | null;
23
+ /** For example 2019-01-01T12:00:00Z */
24
+ registeredOn?: string | null;
21
25
  support?: boolean;
22
26
  type?: 'person' | 'service_account';
23
27
  }
24
28
  export interface MyUser {
25
29
  acceptedTermsOfUsePolicies?: AcceptedTermsOfUsePolicy[];
30
+ apiApplications?: ApiApplication[];
26
31
  custom?: {
27
32
  /** JSON Object with view settings per company, For example: { "1111-2222-3333-4444-5555": { "subgroupHierarchyLayout": "top"}} */
28
33
  glbAdmViewSettings?: string;
@@ -11,6 +11,7 @@ interface ResultDataMap {
11
11
  AgentDataVariableList: ResourceData.AgentDataVariable[];
12
12
  AppConfig: ResourceData.AppConfig;
13
13
  Asset: ResourceData.Asset;
14
+ AssetList: ResourceData.Asset[];
14
15
  AssetAppConfig: ResourceData.AssetAppConfig;
15
16
  AssetAppConfigList: ResourceData.AssetAppConfig[];
16
17
  Branding: ResourceData.Branding;
@@ -1,5 +1,5 @@
1
1
  /** @module ResourceDataQuery */
2
- export type ResourceDataQuerySelector = 'Agent' | 'AgentDataTagList' | 'AgentDataVariableList' | 'AppConfig' | 'Asset' | 'AssetAppConfig' | 'AssetAppConfigList' | 'Branding' | 'CustomPropertyList' | 'GroupList' | 'LicenceList' | 'MyCompany' | 'MyUser' | 'Page' | 'PagePage' | 'PageVersion' | 'UserList';
2
+ export type ResourceDataQuerySelector = 'Agent' | 'AgentDataTagList' | 'AgentDataVariableList' | 'AppConfig' | 'Asset' | 'AssetList' | 'AssetAppConfig' | 'AssetAppConfigList' | 'Branding' | 'CustomPropertyList' | 'GroupList' | 'LicenceList' | 'MyCompany' | 'MyUser' | 'Page' | '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.
@@ -136,10 +136,10 @@ interface AssetResourceData {
136
136
  isLibraryAsset?: boolean;
137
137
  libraryAsset?: {
138
138
  publicId: string;
139
- };
139
+ } | null;
140
140
  libraryVersion?: {
141
141
  publicId: string;
142
- };
142
+ } | null;
143
143
  memberships?: {
144
144
  group?: {
145
145
  publicId: string;
@@ -158,6 +158,9 @@ interface AssetResourceData {
158
158
  root?: {
159
159
  publicId: string;
160
160
  } | null;
161
+ appConfigs?: {
162
+ publicId: string;
163
+ }[];
161
164
  }
162
165
  interface AssetAppConfigResourceData<TValues = unknown, TStateValues = unknown, TResourceValues = unknown, TResourceStateValues = unknown> {
163
166
  app?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/types",
3
- "version": "1.25.0-next.0",
3
+ "version": "1.25.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/component-devkit/src/types/src/index.d.ts",