@ixon-cdk/types 1.2.1 → 1.3.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 (117) hide show
  1. package/README.md +1 -1
  2. package/dist/component-devkit/src/types/src/index.d.ts +2 -0
  3. package/dist/types/component-context/bottom-sheet.d.ts +14 -0
  4. package/dist/types/component-context/dialog.d.ts +48 -0
  5. package/dist/types/component-context/index.d.ts +64 -4
  6. package/dist/types/component-context/input.d.ts +4 -2
  7. package/dist/types/ixapi/resources/access-recover.d.ts +10 -0
  8. package/dist/types/ixapi/resources/access-token.d.ts +29 -0
  9. package/dist/types/ixapi/resources/agent-activate.d.ts +9 -0
  10. package/dist/types/ixapi/resources/agent-config.d.ts +125 -0
  11. package/dist/types/ixapi/resources/agent-data-alarm.d.ts +44 -0
  12. package/dist/types/ixapi/resources/agent-data-alarming-app.d.ts +7 -0
  13. package/dist/types/ixapi/resources/agent-data-condition.d.ts +11 -0
  14. package/dist/types/ixapi/resources/agent-data-logging-app.d.ts +7 -0
  15. package/dist/types/ixapi/resources/agent-data-monitor.d.ts +6 -0
  16. package/dist/types/ixapi/resources/agent-data-report.d.ts +8 -0
  17. package/dist/types/ixapi/resources/agent-data-source.d.ts +16 -0
  18. package/dist/types/ixapi/resources/agent-data-tag.d.ts +22 -0
  19. package/dist/types/ixapi/resources/agent-data-variable.d.ts +24 -0
  20. package/dist/types/ixapi/resources/agent-device.d.ts +11 -0
  21. package/dist/types/ixapi/resources/agent-mdr-server.d.ts +4 -0
  22. package/dist/types/ixapi/resources/agent-membership.d.ts +6 -0
  23. package/dist/types/ixapi/resources/agent-network-value.d.ts +5 -0
  24. package/dist/types/ixapi/resources/agent-pull.d.ts +4 -0
  25. package/dist/types/ixapi/resources/agent-queue-report.d.ts +16 -0
  26. package/dist/types/ixapi/resources/agent-router-lan-wan-access-rule.d.ts +11 -0
  27. package/dist/types/ixapi/resources/agent-router-vpn-access-rule.d.ts +8 -0
  28. package/dist/types/ixapi/resources/agent-server.d.ts +26 -0
  29. package/dist/types/ixapi/resources/agent-template.d.ts +3 -0
  30. package/dist/types/ixapi/resources/agent-type-file.d.ts +10 -0
  31. package/dist/types/ixapi/resources/agent-type.d.ts +24 -0
  32. package/dist/types/ixapi/resources/agent.d.ts +151 -0
  33. package/dist/types/ixapi/resources/alarming-app.d.ts +5 -0
  34. package/dist/types/ixapi/resources/app-config.d.ts +4 -0
  35. package/dist/types/ixapi/resources/asset-app-config.d.ts +8 -0
  36. package/dist/types/ixapi/resources/asset-membership.d.ts +6 -0
  37. package/dist/types/ixapi/resources/asset-type.d.ts +5 -0
  38. package/dist/types/ixapi/resources/asset.d.ts +22 -0
  39. package/dist/types/ixapi/resources/audience.d.ts +6 -0
  40. package/dist/types/ixapi/resources/audit-log.d.ts +20 -0
  41. package/dist/types/ixapi/resources/auth-token.d.ts +5 -0
  42. package/dist/types/ixapi/resources/backend-component-function.d.ts +10 -0
  43. package/dist/types/ixapi/resources/backend-component-template-config.d.ts +10 -0
  44. package/dist/types/ixapi/resources/backend-component-template-share.d.ts +5 -0
  45. package/dist/types/ixapi/resources/backend-component-template-version.d.ts +16 -0
  46. package/dist/types/ixapi/resources/backend-component-template.d.ts +10 -0
  47. package/dist/types/ixapi/resources/branding.d.ts +27 -0
  48. package/dist/types/ixapi/resources/company.d.ts +56 -0
  49. package/dist/types/ixapi/resources/component-input.d.ts +32 -0
  50. package/dist/types/ixapi/resources/custom-property.d.ts +47 -0
  51. package/dist/types/ixapi/resources/data-protocol-applied.d.ts +72 -0
  52. package/dist/types/ixapi/resources/data-protocol.d.ts +17 -0
  53. package/dist/types/ixapi/resources/data.d.ts +43 -0
  54. package/dist/types/ixapi/resources/demo-device.d.ts +8 -0
  55. package/dist/types/ixapi/resources/discovery.d.ts +4 -0
  56. package/dist/types/ixapi/resources/email-address-change.d.ts +9 -0
  57. package/dist/types/ixapi/resources/file.d.ts +4 -0
  58. package/dist/types/ixapi/resources/group-role.d.ts +6 -0
  59. package/dist/types/ixapi/resources/group-type.d.ts +6 -0
  60. package/dist/types/ixapi/resources/group.d.ts +11 -0
  61. package/dist/types/ixapi/resources/historical-data-usage.d.ts +3 -0
  62. package/dist/types/ixapi/resources/index.d.ts +103 -0
  63. package/dist/types/ixapi/resources/invite.d.ts +25 -0
  64. package/dist/types/ixapi/resources/label.d.ts +7 -0
  65. package/dist/types/ixapi/resources/licence-bundle.d.ts +10 -0
  66. package/dist/types/ixapi/resources/licence-type.d.ts +13 -0
  67. package/dist/types/ixapi/resources/licence.d.ts +27 -0
  68. package/dist/types/ixapi/resources/location.d.ts +11 -0
  69. package/dist/types/ixapi/resources/logging-app.d.ts +5 -0
  70. package/dist/types/ixapi/resources/lsi-server.d.ts +4 -0
  71. package/dist/types/ixapi/resources/menu-item.d.ts +8 -0
  72. package/dist/types/ixapi/resources/message-filter.d.ts +18 -0
  73. package/dist/types/ixapi/resources/message.d.ts +35 -0
  74. package/dist/types/ixapi/resources/mqtt-broker-client.d.ts +11 -0
  75. package/dist/types/ixapi/resources/mqtt-broker.d.ts +12 -0
  76. package/dist/types/ixapi/resources/object-storage.d.ts +40 -0
  77. package/dist/types/ixapi/resources/otp-auth.d.ts +13 -0
  78. package/dist/types/ixapi/resources/page-component-template-category.d.ts +5 -0
  79. package/dist/types/ixapi/resources/page-component-template-config.d.ts +7 -0
  80. package/dist/types/ixapi/resources/page-component-template-manifest.d.ts +57 -0
  81. package/dist/types/ixapi/resources/page-component-template-version.d.ts +10 -0
  82. package/dist/types/ixapi/resources/page-component-template.d.ts +25 -0
  83. package/dist/types/ixapi/resources/page-component.d.ts +44 -0
  84. package/dist/types/ixapi/resources/page-link-group.d.ts +7 -0
  85. package/dist/types/ixapi/resources/page-link.d.ts +12 -0
  86. package/dist/types/ixapi/resources/page-page.d.ts +6 -0
  87. package/dist/types/ixapi/resources/page-version.d.ts +22 -0
  88. package/dist/types/ixapi/resources/page.d.ts +17 -0
  89. package/dist/types/ixapi/resources/password-change.d.ts +5 -0
  90. package/dist/types/ixapi/resources/permission.d.ts +3 -0
  91. package/dist/types/ixapi/resources/platform-server.d.ts +8 -0
  92. package/dist/types/ixapi/resources/policy.d.ts +23 -0
  93. package/dist/types/ixapi/resources/registration.d.ts +26 -0
  94. package/dist/types/ixapi/resources/report-schedule.d.ts +37 -0
  95. package/dist/types/ixapi/resources/res-link.d.ts +6 -0
  96. package/dist/types/ixapi/resources/role.d.ts +9 -0
  97. package/dist/types/ixapi/resources/rsc-server.d.ts +6 -0
  98. package/dist/types/ixapi/resources/sector.d.ts +31 -0
  99. package/dist/types/ixapi/resources/sso-authentication.d.ts +12 -0
  100. package/dist/types/ixapi/resources/sso-identity-provider.d.ts +7 -0
  101. package/dist/types/ixapi/resources/support-access.d.ts +5 -0
  102. package/dist/types/ixapi/resources/translation.d.ts +7 -0
  103. package/dist/types/ixapi/resources/user-membership.d.ts +11 -0
  104. package/dist/types/ixapi/resources/user-push-device.d.ts +10 -0
  105. package/dist/types/ixapi/resources/user.d.ts +55 -0
  106. package/dist/types/ixapi/resources/vpn-protocol.d.ts +1 -0
  107. package/dist/types/ixapi/resources/vpn-usage.d.ts +11 -0
  108. package/dist/types/ixapi/resources/web-access.d.ts +3 -0
  109. package/dist/types/ixapi/resources/webhook-subscription.d.ts +7 -0
  110. package/dist/types/ixapi/resources/webhook-trigger.d.ts +12 -0
  111. package/dist/types/logging-data/logging-data-value.d.ts +1 -0
  112. package/dist/types/object-storage/index.d.ts +1 -0
  113. package/dist/types/object-storage/object-storage-client.d.ts +58 -0
  114. package/dist/types/resource-data/resource-data-client.d.ts +6 -0
  115. package/dist/types/resource-data/resource-data-query.d.ts +1 -1
  116. package/dist/types/resource-data/resource-data.d.ts +14 -0
  117. package/package.json +1 -1
@@ -0,0 +1,23 @@
1
+ import type { ResLink } from './res-link';
2
+ import type { Sector } from './sector';
3
+ export interface PolicyLanguage {
4
+ body?: string;
5
+ languageCode?: string;
6
+ publicId: string;
7
+ policy?: ResLink;
8
+ }
9
+ export interface PolicyBase {
10
+ company?: ResLink | null;
11
+ createdOn?: string;
12
+ downloadUrl?: string;
13
+ latest?: boolean;
14
+ languages?: PolicyLanguage[];
15
+ publicId: string;
16
+ publishedOn?: string | null;
17
+ sector?: Sector;
18
+ version?: string;
19
+ }
20
+ export interface TermsOfUsePolicy extends PolicyBase {
21
+ }
22
+ export interface PrivacyStatement extends PolicyBase {
23
+ }
@@ -0,0 +1,26 @@
1
+ import type { SsoAuthentication } from './sso-authentication';
2
+ interface RegistrationBaseCreate {
3
+ companyName: string;
4
+ language?: string;
5
+ localisation?: string;
6
+ termsOfUsePolicy: {
7
+ publicId: string;
8
+ } | null;
9
+ timeZone?: string;
10
+ }
11
+ export interface MyRegistration {
12
+ companyName?: string;
13
+ emailAddress?: string;
14
+ language?: string;
15
+ name?: string;
16
+ publicId: string;
17
+ }
18
+ export interface RegistrationCreate extends RegistrationBaseCreate {
19
+ emailAddress: string;
20
+ name: string;
21
+ password: string;
22
+ }
23
+ export interface RegistrationSsoCreate extends RegistrationBaseCreate {
24
+ ssoAuthentication: SsoAuthentication;
25
+ }
26
+ export {};
@@ -0,0 +1,37 @@
1
+ import type { ResLink } from './res-link';
2
+ export interface ReportSchedule {
3
+ agent?: ResLink;
4
+ /** I.e. "12:00:00" */
5
+ deliveryTime?: string;
6
+ publicId: string;
7
+ recurrence?: ReportRecurrenceUnion;
8
+ report?: ResLink;
9
+ /** I.e. "2019-01-01T12:00:00Z" */
10
+ start?: string;
11
+ timeZone?: string;
12
+ }
13
+ export interface ReportRecurrenceWeekly {
14
+ frequency?: 'weekly';
15
+ interval?: number;
16
+ monday?: boolean;
17
+ tuesday?: boolean;
18
+ wednesday?: boolean;
19
+ thursday?: boolean;
20
+ friday?: boolean;
21
+ saturday?: boolean;
22
+ sunday?: boolean;
23
+ }
24
+ export interface ReportRecurrenceMonthly {
25
+ frequency?: 'monthly';
26
+ interval?: number;
27
+ occurrence?: number;
28
+ monday?: boolean;
29
+ tuesday?: boolean;
30
+ wednesday?: boolean;
31
+ thursday?: boolean;
32
+ friday?: boolean;
33
+ saturday?: boolean;
34
+ sunday?: boolean;
35
+ }
36
+ export type ReportRecurrenceUnion = ReportRecurrenceWeekly | ReportRecurrenceMonthly;
37
+ export type ReportRecurrenceFrequency = 'weekly' | 'monthly';
@@ -0,0 +1,6 @@
1
+ export interface ResLink {
2
+ publicId: string;
3
+ reference?: {
4
+ name: string;
5
+ };
6
+ }
@@ -0,0 +1,9 @@
1
+ import type { Audience } from './audience';
2
+ import type { Permission } from './permission';
3
+ export interface Role {
4
+ audiences?: Audience[];
5
+ enforce2fa?: boolean;
6
+ name?: string;
7
+ permissions?: Permission[];
8
+ publicId: string;
9
+ }
@@ -0,0 +1,6 @@
1
+ import type { PlatformServer } from './platform-server';
2
+ export interface RscServer extends PlatformServer {
3
+ entryPoint?: string;
4
+ supportedLayers?: NetworkLayer[];
5
+ }
6
+ export type NetworkLayer = 'tap' | 'tun';
@@ -0,0 +1,31 @@
1
+ import type { Branding } from './branding';
2
+ import type { PrivacyStatement } from './policy';
3
+ export interface Sector {
4
+ allowCustomPrivacyStatement?: boolean;
5
+ allowCustomTermsOfUse?: boolean;
6
+ branding?: Branding | null;
7
+ corporateWebsite?: string | null;
8
+ custom?: {
9
+ glbRouterConfigName?: string;
10
+ glbShowCustomComponents?: boolean;
11
+ /** @deprecated */
12
+ glbSlaDownloadUrl?: string;
13
+ glbSupportedPlatforms?: string;
14
+ glbVpnClientReleaseNotesUrl?: string;
15
+ };
16
+ defaultCountry?: string;
17
+ emailFromAddress?: string;
18
+ feedbackTo?: string;
19
+ latestPrivacyStatement?: PrivacyStatement;
20
+ name?: string;
21
+ poweredBy?: SectorPoweredBy;
22
+ premiumBrandingDomain?: string;
23
+ publicId: string;
24
+ supportEmailAddress?: string | null;
25
+ }
26
+ export interface SectorPoweredBy {
27
+ hide?: boolean;
28
+ logo?: string;
29
+ name?: string;
30
+ url?: string;
31
+ }
@@ -0,0 +1,12 @@
1
+ import type { ResLink } from './res-link';
2
+ export interface SsoAuthenticationRequest {
3
+ url: string;
4
+ }
5
+ export interface SsoAuthenticationRequestCreate {
6
+ identityProvider: ResLink;
7
+ redirectUrl: string;
8
+ }
9
+ export interface SsoAuthentication {
10
+ code: string;
11
+ state: string;
12
+ }
@@ -0,0 +1,7 @@
1
+ import type { ResLink } from './res-link';
2
+ export interface SsoIdentityProvider {
3
+ company?: ResLink | null;
4
+ logo?: string;
5
+ name?: string;
6
+ publicId: string;
7
+ }
@@ -0,0 +1,5 @@
1
+ export interface SupportAccess {
2
+ expiresOn?: string /** "2021-01-01T12:00:00Z" */;
3
+ caseNumber?: string;
4
+ message?: string;
5
+ }
@@ -0,0 +1,7 @@
1
+ export interface Translation {
2
+ publicId: string;
3
+ key?: string;
4
+ languages?: {
5
+ [languageCode: string]: string;
6
+ };
7
+ }
@@ -0,0 +1,11 @@
1
+ import type { ResLink } from './res-link';
2
+ export interface UserMembership {
3
+ expiresOn?: string | null;
4
+ group?: ResLink;
5
+ /** null for users */
6
+ invite?: ResLink | null;
7
+ publicId: string;
8
+ role?: ResLink | null;
9
+ /** null for invites */
10
+ user?: ResLink | null;
11
+ }
@@ -0,0 +1,10 @@
1
+ export interface UserPushDevice {
2
+ createdOn?: string;
3
+ deactivated?: boolean;
4
+ deviceId: string;
5
+ name?: string;
6
+ publicId: string;
7
+ token?: string;
8
+ user?: string;
9
+ userAgent?: string;
10
+ }
@@ -0,0 +1,55 @@
1
+ import type { EmailAddressChange } from './email-address-change';
2
+ import type { Invite } from './invite';
3
+ import type { OtpAuth } from './otp-auth';
4
+ import type { TermsOfUsePolicy } from './policy';
5
+ import type { UserMembership } from './user-membership';
6
+ export interface User {
7
+ /** @changeNotification taint */
8
+ emailAddress?: string;
9
+ /** For example 2019-01-01T12:00:00Z */
10
+ lastSeenOn?: string;
11
+ memberships?: UserMembership[];
12
+ /** @changeNotification taint */
13
+ name?: string;
14
+ /** Whether the user has two-factor authentication activated for their account. */
15
+ otpauthRequired?: boolean;
16
+ publicId: string;
17
+ support?: boolean;
18
+ }
19
+ export interface MyUser {
20
+ custom?: {
21
+ /** JSON Object with user colomns per company, For example: { "1111-2222-3333-4444-5555": ["status", "name", "lastOnline"]} */
22
+ glbFltDeviceTableCols?: string;
23
+ /** JSON Object with user colomns per company, For example: { "1111-2222-3333-4444-5555": ["status", "name", "lastOnline"]} */
24
+ glbPrtDeviceTableCols?: string;
25
+ /** JSON Object with view settings per company,
26
+ * For example:
27
+ * {
28
+ * "1111-2222-3333-4444-5555": {
29
+ * "type": { "gtSm": "list", "ltSm": "card"}, cardSortBy: { "gtSm": "name;asc", "ltSm": "groupType.AAAAAAAAAAAA;desc" }, deviceMapState: { "gtSm": "closed", "ltSm": "open" }, deviceMapHeight: { "gtSm": "100" }
30
+ * }
31
+ * }
32
+ */
33
+ glbPrtDeviceViewSettings?: string;
34
+ /** JSON Object with starred agents per company, For example: { "1111-2222-3333-4444-5555": ["ixagent00001", "ixagent00003"]} */
35
+ glbStarred?: string;
36
+ };
37
+ emailAddress?: string;
38
+ emailAddressChanges?: EmailAddressChange[];
39
+ invites?: Invite[];
40
+ language?: string;
41
+ /** For example 2019-01-01T12:00:00Z */
42
+ lastSeenOn?: string;
43
+ localisation?: string | null;
44
+ name?: string;
45
+ otpAuth?: OtpAuth | null;
46
+ publicId: string;
47
+ /** For example 2019-01-01T12:00:00Z */
48
+ registeredOn?: string;
49
+ support?: boolean;
50
+ termsOfUsePolicy?: TermsOfUsePolicy | null;
51
+ /** For example 2019-01-01T12:00:00Z */
52
+ termsOfUsePolicyAcceptedOn?: string | null;
53
+ timeZone?: string | null;
54
+ unreadMessagesCount?: number;
55
+ }
@@ -0,0 +1 @@
1
+ export type VpnProtocol = 'tcp' | 'udp';
@@ -0,0 +1,11 @@
1
+ export interface VpnUsage {
2
+ bytesReceived: number;
3
+ bytesSent: number;
4
+ /** value between 1-31 */
5
+ day?: number;
6
+ /** value between 0-23 */
7
+ hour?: number;
8
+ year: number;
9
+ /** value between 1-12 */
10
+ month?: number;
11
+ }
@@ -0,0 +1,3 @@
1
+ export interface WebAccess {
2
+ url: string;
3
+ }
@@ -0,0 +1,7 @@
1
+ export interface WebhookSubscription {
2
+ callbackUrl?: string;
3
+ createdOn?: string;
4
+ name?: string | null;
5
+ publicId: string;
6
+ timeout?: number;
7
+ }
@@ -0,0 +1,12 @@
1
+ import type { ResLink } from './res-link';
2
+ export interface WebhookTrigger {
3
+ ok?: boolean;
4
+ retrying?: boolean;
5
+ tryCount?: number;
6
+ lastTry?: string;
7
+ nextTry?: string;
8
+ publicId: string;
9
+ status?: WebhookTriggerStatus;
10
+ subscription?: ResLink;
11
+ }
12
+ export type WebhookTriggerStatus = 'ok' | 'timeout' | 'could-not-connect' | 'invalid-https' | 'too-many-redirects' | 'non-ok-response-code';
@@ -4,6 +4,7 @@ export interface LoggingDataValue {
4
4
  /** @deprecated */
5
5
  setFactor(newFactor: number): void;
6
6
  setUnit(newUnit: string): void;
7
+ getUnit(): string;
7
8
  getValue(): boolean | number | string | null;
8
9
  toString(): string;
9
10
  }
@@ -0,0 +1 @@
1
+ export * from './object-storage-client';
@@ -0,0 +1,58 @@
1
+ /** @module ObjectStorageClient */
2
+ import type { BackendComponentFunctionCallArgs, ObjectStorageObjectMeta, ObjectStorageTags } from '../ixapi/resources';
3
+ /**
4
+ * Client to store and retrieve Objects
5
+ */
6
+ export interface ObjectStorageClient {
7
+ /**
8
+ * Get a list of object in the store
9
+ *
10
+ * @param options Request options
11
+ */
12
+ getList(options?: ObjectStorageOptions): Promise<ObjectStorageListResponse>;
13
+ /**
14
+ * Get an Object
15
+ *
16
+ * @param objectMeta Object meta information
17
+ * @param options Request options
18
+ */
19
+ getBlob(objectMeta: ObjectStorageObjectMeta, options?: ObjectStorageGetBlobOptions): Promise<Blob>;
20
+ /**
21
+ * Store an object in storage
22
+ *
23
+ * @param object The contents of the object to store
24
+ * @param options Request options
25
+ */
26
+ store(object: Blob, options?: ObjectStorageStoreOptions): Promise<ObjectStorageResponse>;
27
+ /**
28
+ * Delete an object
29
+ *
30
+ * @param objectMeta Object meta information
31
+ * @param options Request options
32
+ */
33
+ delete(objectMeta: ObjectStorageObjectMeta, options?: ObjectStorageOptions): Promise<void>;
34
+ /**
35
+ * Destroy the client. Always call this when the client is not used anymore. When the context is
36
+ * destroyed, this is called automatically
37
+ */
38
+ destroy(): void;
39
+ }
40
+ export interface ObjectStorageOptions {
41
+ /**
42
+ * Extra arguments for Cloud Functions.
43
+ */
44
+ args?: BackendComponentFunctionCallArgs;
45
+ }
46
+ export interface ObjectStorageStoreOptions extends ObjectStorageOptions {
47
+ abortSignal?: AbortSignal;
48
+ tags?: ObjectStorageTags;
49
+ }
50
+ export interface ObjectStorageGetBlobOptions extends ObjectStorageOptions {
51
+ abortSignal?: AbortSignal;
52
+ }
53
+ export interface ObjectStorageResponse {
54
+ identifier: string;
55
+ }
56
+ export interface ObjectStorageListResponse {
57
+ entries: Array<ObjectStorageObjectMeta>;
58
+ }
@@ -8,11 +8,17 @@ interface ResultDataMap {
8
8
  Branding: ResourceData.Branding;
9
9
  CustomPropertyList: ResourceData.CustomProperty[];
10
10
  GroupList: ResourceData.Group[];
11
+ MyCompany: ResourceData.MyCompany;
11
12
  MyUser: ResourceData.MyUser;
12
13
  PagePage: ResourceData.PagePage;
13
14
  PageVersion: ResourceData.PageVersion;
15
+ UserList: ResourceData.User[];
14
16
  }
15
17
  export interface ResourceDataClient {
18
+ /**
19
+ * Destroy the client. Always call this when the client is not used anymore. When the context is
20
+ * destroyed, this is called automatically
21
+ */
16
22
  destroy(): void;
17
23
  /**
18
24
  * @returns {function()} Returns a deregistration function for the listener.
@@ -1,5 +1,5 @@
1
1
  /** @module ResourceDataQuery */
2
- export type ResourceDataQuerySelector = 'Agent' | 'Asset' | 'Branding' | 'CustomPropertyList' | 'GroupList' | 'MyUser' | 'PagePage' | 'PageVersion';
2
+ export type ResourceDataQuerySelector = 'Agent' | 'Asset' | '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
@@ -44,6 +44,7 @@ interface AgentResourceData {
44
44
  }[];
45
45
  mqttChangedOn?: string | null;
46
46
  name?: string;
47
+ permissions?: string[];
47
48
  publicId: string;
48
49
  rateLimiting?: {
49
50
  configMqttCommandCounter?: number;
@@ -81,6 +82,7 @@ interface AssetResourceData {
81
82
  publicId: string;
82
83
  }[];
83
84
  name?: string;
85
+ permissions?: string[];
84
86
  publicId: string;
85
87
  resourceVariant?: {
86
88
  publicId: string;
@@ -111,10 +113,16 @@ interface GroupResourceData {
111
113
  publicId: string;
112
114
  } | null;
113
115
  }
116
+ interface MyCompanyResourceData {
117
+ name?: string;
118
+ permissions?: string[];
119
+ publicId: string;
120
+ }
114
121
  interface MyUserResourceData {
115
122
  custom?: Record<string, any>;
116
123
  name?: string;
117
124
  publicId: string;
125
+ support?: boolean;
118
126
  unreadMessagesCount?: number;
119
127
  }
120
128
  interface PagePageResourceData {
@@ -129,14 +137,20 @@ interface PageVersionResourceData {
129
137
  publicId: string;
130
138
  title?: string | null;
131
139
  }
140
+ interface UserResourceData {
141
+ name?: string;
142
+ publicId: string;
143
+ }
132
144
  export declare namespace ResourceData {
133
145
  type Agent = AgentResourceData;
134
146
  type Asset = AssetResourceData;
135
147
  type Branding = BrandingResourceData;
136
148
  type CustomProperty = CustomPropertyResourceData;
137
149
  type Group = GroupResourceData;
150
+ type MyCompany = MyCompanyResourceData;
138
151
  type MyUser = MyUserResourceData;
139
152
  type PagePage = PagePageResourceData;
140
153
  type PageVersion = PageVersionResourceData;
154
+ type User = UserResourceData;
141
155
  }
142
156
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/types",
3
- "version": "1.2.1",
3
+ "version": "1.3.0-next.1",
4
4
  "description": "",
5
5
  "main": "./dist/component-devkit/src/types/src/index.d.ts",
6
6
  "author": "",