@ixon-cdk/types 1.3.0-next.0 → 1.3.0-next.2

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 (116) 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/index.d.ts +20 -17
  4. package/dist/types/component-context/input.d.ts +4 -2
  5. package/dist/types/ixapi/resources/access-recover.d.ts +10 -0
  6. package/dist/types/ixapi/resources/access-token.d.ts +29 -0
  7. package/dist/types/ixapi/resources/agent-activate.d.ts +9 -0
  8. package/dist/types/ixapi/resources/agent-config.d.ts +127 -0
  9. package/dist/types/ixapi/resources/agent-data-alarm.d.ts +44 -0
  10. package/dist/types/ixapi/resources/agent-data-alarming-app.d.ts +7 -0
  11. package/dist/types/ixapi/resources/agent-data-condition.d.ts +11 -0
  12. package/dist/types/ixapi/resources/agent-data-logging-app.d.ts +7 -0
  13. package/dist/types/ixapi/resources/agent-data-monitor.d.ts +6 -0
  14. package/dist/types/ixapi/resources/agent-data-report.d.ts +8 -0
  15. package/dist/types/ixapi/resources/agent-data-source.d.ts +16 -0
  16. package/dist/types/ixapi/resources/agent-data-tag.d.ts +22 -0
  17. package/dist/types/ixapi/resources/agent-data-variable.d.ts +24 -0
  18. package/dist/types/ixapi/resources/agent-device.d.ts +11 -0
  19. package/dist/types/ixapi/resources/agent-mdr-server.d.ts +4 -0
  20. package/dist/types/ixapi/resources/agent-membership.d.ts +6 -0
  21. package/dist/types/ixapi/resources/agent-network-value.d.ts +5 -0
  22. package/dist/types/ixapi/resources/agent-pull.d.ts +4 -0
  23. package/dist/types/ixapi/resources/agent-queue-report.d.ts +17 -0
  24. package/dist/types/ixapi/resources/agent-registration-profile-membership.d.ts +7 -0
  25. package/dist/types/ixapi/resources/agent-registration-profile.d.ts +9 -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-router-vpn-config.d.ts +5 -0
  29. package/dist/types/ixapi/resources/agent-server.d.ts +26 -0
  30. package/dist/types/ixapi/resources/agent-template.d.ts +4 -0
  31. package/dist/types/ixapi/resources/agent-type-file.d.ts +10 -0
  32. package/dist/types/ixapi/resources/agent-type.d.ts +24 -0
  33. package/dist/types/ixapi/resources/agent.d.ts +152 -0
  34. package/dist/types/ixapi/resources/alarming-app.d.ts +5 -0
  35. package/dist/types/ixapi/resources/app-config.d.ts +4 -0
  36. package/dist/types/ixapi/resources/asset-app-config.d.ts +8 -0
  37. package/dist/types/ixapi/resources/asset-membership.d.ts +6 -0
  38. package/dist/types/ixapi/resources/asset-type.d.ts +5 -0
  39. package/dist/types/ixapi/resources/asset.d.ts +22 -0
  40. package/dist/types/ixapi/resources/audience.d.ts +6 -0
  41. package/dist/types/ixapi/resources/audit-log.d.ts +20 -0
  42. package/dist/types/ixapi/resources/auth-token.d.ts +5 -0
  43. package/dist/types/ixapi/resources/backend-component-function.d.ts +10 -0
  44. package/dist/types/ixapi/resources/backend-component-template-config.d.ts +10 -0
  45. package/dist/types/ixapi/resources/backend-component-template-share.d.ts +5 -0
  46. package/dist/types/ixapi/resources/backend-component-template-version.d.ts +16 -0
  47. package/dist/types/ixapi/resources/backend-component-template.d.ts +11 -0
  48. package/dist/types/ixapi/resources/branding.d.ts +27 -0
  49. package/dist/types/ixapi/resources/company.d.ts +56 -0
  50. package/dist/types/ixapi/resources/component-input.d.ts +33 -0
  51. package/dist/types/ixapi/resources/custom-property.d.ts +47 -0
  52. package/dist/types/ixapi/resources/data-protocol-applied.d.ts +72 -0
  53. package/dist/types/ixapi/resources/data-protocol.d.ts +17 -0
  54. package/dist/types/ixapi/resources/data.d.ts +43 -0
  55. package/dist/types/ixapi/resources/demo-device.d.ts +8 -0
  56. package/dist/types/ixapi/resources/discovery.d.ts +4 -0
  57. package/dist/types/ixapi/resources/email-address-change.d.ts +9 -0
  58. package/dist/types/ixapi/resources/file.d.ts +4 -0
  59. package/dist/types/ixapi/resources/group-role.d.ts +6 -0
  60. package/dist/types/ixapi/resources/group-type.d.ts +6 -0
  61. package/dist/types/ixapi/resources/group.d.ts +12 -0
  62. package/dist/types/ixapi/resources/historical-data-usage.d.ts +3 -0
  63. package/dist/types/ixapi/resources/index.d.ts +106 -0
  64. package/dist/types/ixapi/resources/invite.d.ts +25 -0
  65. package/dist/types/ixapi/resources/label.d.ts +7 -0
  66. package/dist/types/ixapi/resources/licence-bundle.d.ts +10 -0
  67. package/dist/types/ixapi/resources/licence-type.d.ts +13 -0
  68. package/dist/types/ixapi/resources/licence.d.ts +27 -0
  69. package/dist/types/ixapi/resources/location.d.ts +11 -0
  70. package/dist/types/ixapi/resources/logging-app.d.ts +5 -0
  71. package/dist/types/ixapi/resources/lsi-server.d.ts +4 -0
  72. package/dist/types/ixapi/resources/menu-item.d.ts +8 -0
  73. package/dist/types/ixapi/resources/message-filter.d.ts +18 -0
  74. package/dist/types/ixapi/resources/message.d.ts +35 -0
  75. package/dist/types/ixapi/resources/mqtt-broker-client.d.ts +11 -0
  76. package/dist/types/ixapi/resources/mqtt-broker.d.ts +12 -0
  77. package/dist/types/ixapi/resources/object-storage.d.ts +40 -0
  78. package/dist/types/ixapi/resources/otp-auth.d.ts +13 -0
  79. package/dist/types/ixapi/resources/page-component-template-category.d.ts +5 -0
  80. package/dist/types/ixapi/resources/page-component-template-config.d.ts +7 -0
  81. package/dist/types/ixapi/resources/page-component-template-manifest.d.ts +57 -0
  82. package/dist/types/ixapi/resources/page-component-template-version.d.ts +10 -0
  83. package/dist/types/ixapi/resources/page-component-template.d.ts +25 -0
  84. package/dist/types/ixapi/resources/page-component.d.ts +44 -0
  85. package/dist/types/ixapi/resources/page-link-group.d.ts +7 -0
  86. package/dist/types/ixapi/resources/page-link.d.ts +12 -0
  87. package/dist/types/ixapi/resources/page-page.d.ts +6 -0
  88. package/dist/types/ixapi/resources/page-version.d.ts +22 -0
  89. package/dist/types/ixapi/resources/page.d.ts +17 -0
  90. package/dist/types/ixapi/resources/password-change.d.ts +5 -0
  91. package/dist/types/ixapi/resources/permission.d.ts +3 -0
  92. package/dist/types/ixapi/resources/platform-server.d.ts +8 -0
  93. package/dist/types/ixapi/resources/policy.d.ts +23 -0
  94. package/dist/types/ixapi/resources/registration.d.ts +26 -0
  95. package/dist/types/ixapi/resources/report-schedule.d.ts +38 -0
  96. package/dist/types/ixapi/resources/res-link.d.ts +6 -0
  97. package/dist/types/ixapi/resources/role.d.ts +9 -0
  98. package/dist/types/ixapi/resources/rsc-server.d.ts +6 -0
  99. package/dist/types/ixapi/resources/sector.d.ts +31 -0
  100. package/dist/types/ixapi/resources/sso-authentication.d.ts +12 -0
  101. package/dist/types/ixapi/resources/sso-identity-provider.d.ts +7 -0
  102. package/dist/types/ixapi/resources/support-access.d.ts +5 -0
  103. package/dist/types/ixapi/resources/translation.d.ts +7 -0
  104. package/dist/types/ixapi/resources/user-membership.d.ts +11 -0
  105. package/dist/types/ixapi/resources/user-push-device.d.ts +10 -0
  106. package/dist/types/ixapi/resources/user.d.ts +55 -0
  107. package/dist/types/ixapi/resources/vpn-protocol.d.ts +1 -0
  108. package/dist/types/ixapi/resources/vpn-usage.d.ts +11 -0
  109. package/dist/types/ixapi/resources/web-access.d.ts +3 -0
  110. package/dist/types/ixapi/resources/webhook-subscription.d.ts +7 -0
  111. package/dist/types/ixapi/resources/webhook-trigger.d.ts +12 -0
  112. package/dist/types/logging-data/logging-data-value.d.ts +1 -0
  113. package/dist/types/object-storage/index.d.ts +1 -0
  114. package/dist/types/object-storage/object-storage-client.d.ts +58 -0
  115. package/dist/types/resource-data/resource-data-client.d.ts +4 -0
  116. package/package.json +1 -1
@@ -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,38 @@
1
+ import type { ResLink } from './res-link';
2
+ export interface ReportSchedule {
3
+ agent?: ResLink | null;
4
+ asset?: ResLink | null;
5
+ /** I.e. "12:00:00" */
6
+ deliveryTime?: string;
7
+ publicId: string;
8
+ recurrence?: ReportRecurrenceUnion;
9
+ report?: ResLink;
10
+ /** I.e. "2019-01-01T12:00:00Z" */
11
+ start?: string;
12
+ timeZone?: string;
13
+ }
14
+ export interface ReportRecurrenceWeekly {
15
+ frequency?: 'weekly';
16
+ interval?: number;
17
+ monday?: boolean;
18
+ tuesday?: boolean;
19
+ wednesday?: boolean;
20
+ thursday?: boolean;
21
+ friday?: boolean;
22
+ saturday?: boolean;
23
+ sunday?: boolean;
24
+ }
25
+ export interface ReportRecurrenceMonthly {
26
+ frequency?: 'monthly';
27
+ interval?: number;
28
+ occurrence?: number;
29
+ monday?: boolean;
30
+ tuesday?: boolean;
31
+ wednesday?: boolean;
32
+ thursday?: boolean;
33
+ friday?: boolean;
34
+ saturday?: boolean;
35
+ sunday?: boolean;
36
+ }
37
+ export type ReportRecurrenceUnion = ReportRecurrenceWeekly | ReportRecurrenceMonthly;
38
+ 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
+ }
@@ -15,6 +15,10 @@ interface ResultDataMap {
15
15
  UserList: ResourceData.User[];
16
16
  }
17
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
+ */
18
22
  destroy(): void;
19
23
  /**
20
24
  * @returns {function()} Returns a deregistration function for the listener.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/types",
3
- "version": "1.3.0-next.0",
3
+ "version": "1.3.0-next.2",
4
4
  "description": "",
5
5
  "main": "./dist/component-devkit/src/types/src/index.d.ts",
6
6
  "author": "",