@ixon-cdk/types 1.2.0-next.2 → 1.2.0-next.3

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 (73) hide show
  1. package/dist/component-devkit/src/types/src/index.d.ts +7 -0
  2. package/dist/types/backend-component/backend-component-call.d.ts +18 -0
  3. package/dist/types/backend-component/backend-component-client.d.ts +12 -0
  4. package/dist/types/backend-component/backend-component-result.d.ts +6 -0
  5. package/dist/types/backend-component/index.d.ts +3 -0
  6. package/dist/types/component-context/app-data.d.ts +32 -0
  7. package/dist/types/component-context/index.d.ts +169 -0
  8. package/dist/types/component-context/input.d.ts +19 -0
  9. package/dist/types/component-context/tooltip.d.ts +14 -0
  10. package/dist/types/ixapi/index.d.ts +12 -0
  11. package/dist/types/ixapi/resources/agent-config.d.ts +115 -0
  12. package/dist/types/ixapi/resources/agent-data-condition.d.ts +11 -0
  13. package/dist/types/ixapi/resources/agent-data-source.d.ts +14 -0
  14. package/dist/types/ixapi/resources/agent-data-tag.d.ts +22 -0
  15. package/dist/types/ixapi/resources/agent-data-variable.d.ts +24 -0
  16. package/dist/types/ixapi/resources/agent-device.d.ts +11 -0
  17. package/dist/types/ixapi/resources/agent-mdr-server.d.ts +4 -0
  18. package/dist/types/ixapi/resources/agent-membership.d.ts +6 -0
  19. package/dist/types/ixapi/resources/agent-network-value.d.ts +5 -0
  20. package/dist/types/ixapi/resources/agent-router-vpn-access-rule.d.ts +8 -0
  21. package/dist/types/ixapi/resources/agent-server.d.ts +22 -0
  22. package/dist/types/ixapi/resources/agent-template.d.ts +3 -0
  23. package/dist/types/ixapi/resources/agent-type.d.ts +24 -0
  24. package/dist/types/ixapi/resources/agent.d.ts +148 -0
  25. package/dist/types/ixapi/resources/alarming-app.d.ts +5 -0
  26. package/dist/types/ixapi/resources/asset-membership.d.ts +6 -0
  27. package/dist/types/ixapi/resources/asset-type.d.ts +5 -0
  28. package/dist/types/ixapi/resources/asset.d.ts +19 -0
  29. package/dist/types/ixapi/resources/audience.d.ts +6 -0
  30. package/dist/types/ixapi/resources/branding.d.ts +27 -0
  31. package/dist/types/ixapi/resources/company.d.ts +55 -0
  32. package/dist/types/ixapi/resources/custom-property.d.ts +47 -0
  33. package/dist/types/ixapi/resources/data-protocol-applied.d.ts +72 -0
  34. package/dist/types/ixapi/resources/demo-device.d.ts +8 -0
  35. package/dist/types/ixapi/resources/email-address-change.d.ts +9 -0
  36. package/dist/types/ixapi/resources/group-type.d.ts +6 -0
  37. package/dist/types/ixapi/resources/group.d.ts +10 -0
  38. package/dist/types/ixapi/resources/invite.d.ts +25 -0
  39. package/dist/types/ixapi/resources/licence-type.d.ts +13 -0
  40. package/dist/types/ixapi/resources/licence.d.ts +25 -0
  41. package/dist/types/ixapi/resources/location.d.ts +11 -0
  42. package/dist/types/ixapi/resources/logging-app.d.ts +5 -0
  43. package/dist/types/ixapi/resources/lsi-server.d.ts +4 -0
  44. package/dist/types/ixapi/resources/otp-auth.d.ts +13 -0
  45. package/dist/types/ixapi/resources/page-component.d.ts +44 -0
  46. package/dist/types/ixapi/resources/page-link-group.d.ts +7 -0
  47. package/dist/types/ixapi/resources/page-link.d.ts +12 -0
  48. package/dist/types/ixapi/resources/page-page.d.ts +6 -0
  49. package/dist/types/ixapi/resources/page-version.d.ts +22 -0
  50. package/dist/types/ixapi/resources/platform-server.d.ts +8 -0
  51. package/dist/types/ixapi/resources/policy.d.ts +23 -0
  52. package/dist/types/ixapi/resources/res-link.d.ts +6 -0
  53. package/dist/types/ixapi/resources/rsc-server.d.ts +6 -0
  54. package/dist/types/ixapi/resources/sector.d.ts +31 -0
  55. package/dist/types/ixapi/resources/user-membership.d.ts +11 -0
  56. package/dist/types/ixapi/resources/user.d.ts +55 -0
  57. package/dist/types/ixapi/resources/vpn-protocol.d.ts +1 -0
  58. package/dist/types/logging-data/index.d.ts +8 -0
  59. package/dist/types/logging-data/logging-data-blob.d.ts +9 -0
  60. package/dist/types/logging-data/logging-data-client.d.ts +30 -0
  61. package/dist/types/logging-data/logging-data-metric.d.ts +17 -0
  62. package/dist/types/logging-data/logging-data-query-options.d.ts +29 -0
  63. package/dist/types/logging-data/logging-data-query-ref.d.ts +10 -0
  64. package/dist/types/logging-data/logging-data-query.d.ts +103 -0
  65. package/dist/types/logging-data/logging-data-time-range.d.ts +7 -0
  66. package/dist/types/logging-data/logging-data-value.d.ts +9 -0
  67. package/dist/types/resource-data/index.d.ts +4 -0
  68. package/dist/types/resource-data/resource-data-client.d.ts +57 -0
  69. package/dist/types/resource-data/resource-data-query.d.ts +38 -0
  70. package/dist/types/resource-data/resource-data-result.d.ts +6 -0
  71. package/dist/types/resource-data/resource-data.d.ts +67 -0
  72. package/dist/types/vpn-client/index.d.ts +19 -0
  73. package/package.json +1 -1
@@ -0,0 +1,148 @@
1
+ import type { AgentConfig } from './agent-config';
2
+ import type { AgentDataSource } from './agent-data-source';
3
+ import type { AgentDevice } from './agent-device';
4
+ import type { AgentMdrServer } from './agent-mdr-server';
5
+ import type { AgentMembership } from './agent-membership';
6
+ import type { AgentNetworkValue } from './agent-network-value';
7
+ import type { AgentServer } from './agent-server';
8
+ import type { AgentTemplate } from './agent-template';
9
+ import type { AgentType } from './agent-type';
10
+ import type { AlarmingApp } from './alarming-app';
11
+ import type { Audience } from './audience';
12
+ import type { DemoDevice } from './demo-device';
13
+ import type { Invite } from './invite';
14
+ import type { Licence } from './licence';
15
+ import type { LsiServer } from './lsi-server';
16
+ import type { GeoLocation, Location } from './location';
17
+ import type { LoggingApp } from './logging-app';
18
+ import type { PageLink } from './page-link';
19
+ import type { ResLink } from './res-link';
20
+ import type { RscServer } from './rsc-server';
21
+ import type { User } from './user';
22
+ import type { VpnProtocol } from './vpn-protocol';
23
+ import type { AgentRouterVpnAccessRule } from './agent-router-vpn-access-rule';
24
+ export interface Agent extends AgentLike {
25
+ activationLicence?: Licence | null;
26
+ activeStatus?: 'active' | 'inactive';
27
+ activeVpnSession?: AgentVpnSession | null;
28
+ alarmingApp?: AlarmingApp;
29
+ company?: ResLink;
30
+ connectedUsers?: User[];
31
+ demoDevice?: DemoDevice | null;
32
+ deviceId?: string | null;
33
+ fixedVpnAddress?: string | null;
34
+ geoLocation?: GeoLocation | null;
35
+ invitesWithAccess?: Invite[];
36
+ lastSeenAgentUserAgent?: AgentUserAgent | null;
37
+ location?: Location | null;
38
+ loggingApp?: LoggingApp;
39
+ loggingMdrServer?: AgentMdrServer | null;
40
+ loggingMqttChangedOn?: string | null;
41
+ lsiServer?: LsiServer | null;
42
+ macAddress?: string | null;
43
+ mdrServer?: AgentMdrServer | null;
44
+ memberships?: AgentMembership[];
45
+ mqttChangedOn?: string | null;
46
+ networkReportedOn?: string | null;
47
+ networkValues?: AgentNetworkValue[] | null;
48
+ pendingRegistration?: boolean | null;
49
+ /** default: false */
50
+ preferLocationOverGeoip?: boolean;
51
+ pullCodeGeneratedOn?: string | null;
52
+ rateLimiting?: AgentRateLimiting;
53
+ replaceMacAddress?: string | null;
54
+ replaceRegistration?: boolean;
55
+ reRegistration?: boolean;
56
+ serialNumber?: string | null;
57
+ timeZone?: string | null;
58
+ valuesPerHour?: number;
59
+ vpnAccessRules?: AgentRouterVpnAccessRule[];
60
+ }
61
+ export interface AgentLike {
62
+ card?: ResLink | null;
63
+ config?: AgentConfig | null;
64
+ custom?: {
65
+ [key: string]: any;
66
+ };
67
+ dataAudience?: Audience | null;
68
+ dataSources?: AgentDataSource[];
69
+ description?: string | null;
70
+ devices?: AgentDevice[];
71
+ name?: string;
72
+ pageLinks?: PageLink[];
73
+ publicId: string;
74
+ servers?: AgentServer[];
75
+ type?: AgentType;
76
+ /** default: false */
77
+ useStunnel?: boolean;
78
+ preferLocationOverGeoip?: boolean;
79
+ vpnAudience?: Audience | null;
80
+ /** default: 'tcp' */
81
+ vpnProtocol?: VpnProtocol;
82
+ }
83
+ export interface AgentLocalIp {
84
+ reportedOn?: string;
85
+ dnsServers?: string[];
86
+ addresses?: string[];
87
+ gateways?: string[];
88
+ }
89
+ export interface AgentUserAgent {
90
+ appName?: string;
91
+ appVersion?: string | null;
92
+ configName?: string | null;
93
+ configVersion?: string | null;
94
+ firmwareVersion?: string | null;
95
+ hardware?: string | null;
96
+ hardwareCode?: string | null;
97
+ hardwareVersion?: string | null;
98
+ libixagentVersion?: string;
99
+ libixloggerVersion?: string;
100
+ opensslVersion?: string | null;
101
+ osName?: string | null;
102
+ osVersion?: string | null;
103
+ publicId: string;
104
+ }
105
+ export interface AgentRateLimiting {
106
+ configMqttCommandCounter?: number;
107
+ configMqttCommandLastHit?: string;
108
+ configMqttCommandLimit?: AgentRateLimitingStatus;
109
+ configMqttDataCounter?: number;
110
+ configMqttDataLastHit?: string;
111
+ configMqttDataLimit?: AgentRateLimitingStatus;
112
+ configOpenvpnCounter?: number;
113
+ configOpenvpnLastHit?: string;
114
+ configOpenvpnLimit?: AgentRateLimitingStatus;
115
+ }
116
+ /**
117
+ * - `null` when ratelimiting is not applicable.
118
+ * - `"soft"` when it is periodically retrying.
119
+ * - `"hard"` when a user must manually force a retry.
120
+ * - `"lock"` when it manually locked by R&D and the user unable to retry.
121
+ */
122
+ export type AgentRateLimitingStatus = null | 'soft' | 'hard' | 'lock';
123
+ export interface AgentVpnSession {
124
+ bytesReceived?: number;
125
+ bytesSent?: number;
126
+ duration?: number;
127
+ startedOn?: number;
128
+ rscServer?: RscServer | null;
129
+ vpnAddress?: string;
130
+ }
131
+ export interface AgentFromTemplate {
132
+ publicId: string;
133
+ template: AgentTemplate;
134
+ importLanSettings: boolean;
135
+ importFirewallSettings: boolean;
136
+ importPageLinks: boolean;
137
+ importServices: boolean;
138
+ importDataSettings: boolean;
139
+ importCustomProperties: boolean;
140
+ }
141
+ export interface ShellAgentCreate {
142
+ registrationCode: string;
143
+ name?: string | null;
144
+ couponCode?: string | null;
145
+ licence?: ResLink | null;
146
+ groups?: ResLink[];
147
+ template?: ResLink | null;
148
+ }
@@ -0,0 +1,5 @@
1
+ import type { Licence } from './licence';
2
+ export interface AlarmingApp {
3
+ enabled?: boolean;
4
+ licence?: Licence | null;
5
+ }
@@ -0,0 +1,6 @@
1
+ import type { ResLink } from './res-link';
2
+ export interface AssetMembership {
3
+ asset?: ResLink;
4
+ group?: ResLink;
5
+ publicId: string;
6
+ }
@@ -0,0 +1,5 @@
1
+ export interface AssetType {
2
+ name?: string;
3
+ order?: number;
4
+ publicId: string;
5
+ }
@@ -0,0 +1,19 @@
1
+ import type { AssetMembership } from './asset-membership';
2
+ import type { AssetType } from './asset-type';
3
+ import type { PageLink } from './page-link';
4
+ import type { ResLink } from './res-link';
5
+ export interface Asset {
6
+ card?: ResLink;
7
+ custom?: {
8
+ [key: string]: any;
9
+ };
10
+ description?: string | null;
11
+ enabled?: boolean;
12
+ memberships?: AssetMembership[];
13
+ name?: string;
14
+ order?: number;
15
+ pageLinks?: PageLink[];
16
+ parent?: ResLink | null;
17
+ publicId: string;
18
+ resourceVariant?: AssetType;
19
+ }
@@ -0,0 +1,6 @@
1
+ export interface Audience {
2
+ default?: boolean;
3
+ description?: string | null;
4
+ name?: string;
5
+ publicId: string;
6
+ }
@@ -0,0 +1,27 @@
1
+ export interface Branding {
2
+ appleAppStoreLink?: string | null;
3
+ /** @deprecated */
4
+ appleTouchIcon?: string | null;
5
+ custom?: {
6
+ /** @deprecated */
7
+ glbAppleMobileWebAppTitle?: string | null;
8
+ glbBrowserTitle?: string | null;
9
+ };
10
+ favicon?: string | null;
11
+ fqdn?: string | null;
12
+ googlePlayStoreLink?: string | null;
13
+ logo?: string | null;
14
+ name?: string;
15
+ publicId: string;
16
+ theme?: BrandingTheme | null;
17
+ }
18
+ export interface BrandingTheme {
19
+ accentColor?: string;
20
+ accentTextColor?: string;
21
+ dark?: boolean;
22
+ headerColor?: string;
23
+ headerLineColor?: string;
24
+ logoHasBackgroundColor?: boolean;
25
+ primaryColor?: string;
26
+ primaryTextColor?: string;
27
+ }
@@ -0,0 +1,55 @@
1
+ import type { Branding } from './branding';
2
+ import type { Licence } from './licence';
3
+ import type { ResLink } from './res-link';
4
+ export interface Company {
5
+ branding?: Branding | null;
6
+ custom?: {};
7
+ customPrivacyStatement?: 'sector' | 'company' | 'disabled';
8
+ customTermsOfUse?: 'sector' | 'company' | 'disabled';
9
+ name?: string;
10
+ publicId: string;
11
+ }
12
+ export interface MyCompany {
13
+ alarmingTrialUsed?: boolean;
14
+ /** @deprecated */
15
+ assetManagementLicence?: Licence | null;
16
+ branding?: Branding | null;
17
+ country?: string | null;
18
+ custom?: {
19
+ glbPrtDeviceTableColsDefault?: string | null;
20
+ };
21
+ customPrivacyStatement?: 'sector' | 'company' | 'disabled';
22
+ customTermsOfUse?: 'sector' | 'company' | 'disabled';
23
+ defaultUserInviteLanguage?: string;
24
+ licenceModel?: 'legacy' | 'modules';
25
+ loggingTrialUsed?: boolean;
26
+ /** @deprecated */
27
+ mobileAppLicence?: Licence | null;
28
+ mobileAppLicenceStatus?: 'not-configured' | 'pending' | 'activated' | null;
29
+ name?: string;
30
+ /** @deprecated */
31
+ reportingLicence?: Licence | null;
32
+ /** @deprecated */
33
+ premiumLicence?: Licence | null;
34
+ premiumLicenceStatus?: 'not-configured' | 'pending' | 'activated' | null;
35
+ publicId: string;
36
+ requireDedicatedRscServer?: boolean;
37
+ screensaver?: ResLink | null;
38
+ shellAgentLimit?: number | null;
39
+ /** @deprecated */
40
+ slaLicence?: Licence | null;
41
+ supportAccessExpiresOn?: string | null /** "2021-01-01T12:00:00Z" */;
42
+ /** @deprecated */
43
+ vpnAccessRuleLicence?: Licence | null;
44
+ /** @deprecated */
45
+ vpnUsageLicence?: Licence | null;
46
+ }
47
+ export interface LegacyCompany {
48
+ branding?: {
49
+ fqdn: null | string;
50
+ } | null;
51
+ name?: string;
52
+ parentCompany?: LegacyCompany | null;
53
+ publicId: string;
54
+ starred?: boolean;
55
+ }
@@ -0,0 +1,47 @@
1
+ export interface CustomProperty {
2
+ description?: string | null;
3
+ flags?: string[];
4
+ name?: string;
5
+ publicId: string;
6
+ required?: boolean;
7
+ resourceType?: string;
8
+ resourceVariant?: string | null;
9
+ scopeType?: CustomPropertyScopeType;
10
+ slug?: string;
11
+ validation?: CustomPropertyValidationUnion;
12
+ }
13
+ export interface CustomPropertyValidationBool {
14
+ type: 'bool';
15
+ }
16
+ export interface CustomPropertyValidationDateTime {
17
+ type: 'datetime';
18
+ }
19
+ export interface CustomPropertyValidationEmailAddress {
20
+ type: 'emailaddress';
21
+ }
22
+ export interface CustomPropertyValidationInt {
23
+ type: 'int';
24
+ minValue?: number | null;
25
+ maxValue?: number | null;
26
+ }
27
+ export interface CustomPropertyValidationLocale {
28
+ type: 'locale';
29
+ }
30
+ export interface CustomPropertyValidationEnum {
31
+ type: 'enum';
32
+ options?: string[];
33
+ }
34
+ export interface CustomPropertyValidationStr {
35
+ type: 'str';
36
+ minLength?: number | null;
37
+ maxLength?: number | null;
38
+ regex?: string | null;
39
+ }
40
+ export interface CustomPropertyValidationTimeZone {
41
+ type: 'timezone';
42
+ }
43
+ export interface CustomPropertyValidationUrl {
44
+ type: 'url';
45
+ }
46
+ export type CustomPropertyScopeType = 'glb' | 'app' | 'sct' | 'usr' | 'com';
47
+ export type CustomPropertyValidationUnion = CustomPropertyValidationBool | CustomPropertyValidationDateTime | CustomPropertyValidationEmailAddress | CustomPropertyValidationEnum | CustomPropertyValidationInt | CustomPropertyValidationLocale | CustomPropertyValidationStr | CustomPropertyValidationTimeZone | CustomPropertyValidationUrl;
@@ -0,0 +1,72 @@
1
+ export type EthernetIpCpu = 'compactlogix' | 'controllogix' | 'flexlogix' | 'micro800' | 'micrologix' | 'micrologix800';
2
+ export type McProtocolAuthenticationType = 'none' | 'password';
3
+ export type McProtocolCpu = 'FX5U' | 'IQR' | 'L' | 'Q' | 'QNUCPU';
4
+ export type McProtocolProtocol = 'TCP' | 'UDP';
5
+ export type ModbusFormat = 'ABCD' | 'BADC' | 'CDAB' | 'DCBA';
6
+ export type OpcUaAuthenticationType = 'anonymous' | 'username' | 'certificate';
7
+ export interface DataProtocolAppliedBacnetIp {
8
+ publicId: 'bacnet-ip';
9
+ }
10
+ export interface DataProtocolAppliedCustom {
11
+ password?: string | null;
12
+ publicId: 'custom';
13
+ }
14
+ export interface DataProtocolAppliedEthernetIp {
15
+ cpu: EthernetIpCpu | null;
16
+ publicId: 'ethernet-ip';
17
+ /** only used when cpu in [compactlogix|controllogix|flexlogix]. default is 0 */
18
+ rack?: number | null;
19
+ /** only used when cpu in [compactlogix|controllogix|flexlogix]. default is 0 */
20
+ slot?: number | null;
21
+ }
22
+ export interface DataProtocolAppliedHost {
23
+ publicId: 'host';
24
+ }
25
+ export interface DataProtocolAppliedMcProtocol {
26
+ authenticationType?: McProtocolAuthenticationType;
27
+ /** default is "Q" */
28
+ cpu?: McProtocolCpu | null;
29
+ /** default is 120 */
30
+ maxBlocks?: number;
31
+ /** default is 960 */
32
+ maxPoints?: number;
33
+ /** default is 0 */
34
+ networkNo?: number;
35
+ /** defualt is "" */
36
+ password?: string;
37
+ /** default is "FF" */
38
+ pcNo?: string;
39
+ /** default is "TCP" */
40
+ protocol?: McProtocolProtocol;
41
+ publicId: 'mc-protocol';
42
+ /** default is 500 */
43
+ reconnectDelay?: number;
44
+ /** default is "03FF" */
45
+ requestDestIoNr?: string;
46
+ /** default is 0 */
47
+ requestDestModuleStatNr?: number;
48
+ }
49
+ export interface DataProtocolAppliedModbus {
50
+ /** default is "CDAB" */
51
+ format?: ModbusFormat;
52
+ publicId: 'modbus';
53
+ /** default is 0 */
54
+ slave?: number;
55
+ readMode?: 'single_value' | 'consecutive_values' | 'gapped_values' | null;
56
+ }
57
+ export interface DataProtocolAppliedOpcUa {
58
+ authenticationType?: OpcUaAuthenticationType;
59
+ password?: string;
60
+ publicId: 'opc-ua';
61
+ username?: string;
62
+ }
63
+ export interface DataProtocolAppliedSiemensStep7 {
64
+ /** default is 0 */
65
+ pdu?: number;
66
+ publicId: 'siemens-step7';
67
+ /** range is 0-7. default is 0 */
68
+ rack?: number | null;
69
+ /** range is 0-31. default is 0 */
70
+ slot?: number | null;
71
+ }
72
+ export type DataProtocolAppliedUnion = DataProtocolAppliedBacnetIp | DataProtocolAppliedCustom | DataProtocolAppliedEthernetIp | DataProtocolAppliedHost | DataProtocolAppliedMcProtocol | DataProtocolAppliedModbus | DataProtocolAppliedOpcUa | DataProtocolAppliedSiemensStep7;
@@ -0,0 +1,8 @@
1
+ import type { AgentType } from './agent-type';
2
+ export interface DemoDevice {
3
+ agentType?: AgentType;
4
+ containerId?: string;
5
+ dmvServer?: any;
6
+ expiresOn?: string;
7
+ publicId: string;
8
+ }
@@ -0,0 +1,9 @@
1
+ export interface EmailAddressChange {
2
+ expiresOn?: string /** "2019-01-01T12:00:00Z" */;
3
+ newEmailAddress?: string;
4
+ oldEmailAddress?: string;
5
+ publicId: string;
6
+ }
7
+ export interface EmailAddressChangeCreate {
8
+ newEmailAddress: string;
9
+ }
@@ -0,0 +1,6 @@
1
+ export interface GroupType {
2
+ description?: string | null;
3
+ name?: string;
4
+ order?: number;
5
+ publicId: string;
6
+ }
@@ -0,0 +1,10 @@
1
+ import type { GroupType } from './group-type';
2
+ import type { ResLink } from './res-link';
3
+ export interface Group {
4
+ agent?: ResLink | null;
5
+ isCompanyGroup?: boolean;
6
+ managedBy?: ResLink | null;
7
+ name?: string | null;
8
+ publicId: string;
9
+ type?: GroupType | null;
10
+ }
@@ -0,0 +1,25 @@
1
+ import type { Company } from './company';
2
+ import type { ResLink } from './res-link';
3
+ import type { User } from './user';
4
+ import type { UserMembership } from './user-membership';
5
+ export interface Invite {
6
+ company?: Company | null;
7
+ emailAddress?: string;
8
+ expiresOn?: string;
9
+ language?: string;
10
+ memberships?: UserMembership[];
11
+ publicId: string;
12
+ user?: User;
13
+ }
14
+ export interface InviteCreate {
15
+ emailAddress: string;
16
+ groupRoles: InviteCreateGroupRole[];
17
+ language?: string;
18
+ managedBy?: ResLink;
19
+ message?: string;
20
+ }
21
+ export interface InviteCreateGroupRole {
22
+ expiresOn?: string | null;
23
+ group: ResLink;
24
+ role: ResLink;
25
+ }
@@ -0,0 +1,13 @@
1
+ import type { Company } from './company';
2
+ import type { Sector } from './sector';
3
+ export type LicenceTypeScope = 'agent' | 'company';
4
+ export type LicenceUsageType = 'alarming' | 'api-integrations' | 'app-engine-level-1' | 'app-engine-level-2' | 'asset-management' | 'card-view' | 'connection-monitoring' | 'custom-branding' | 'custom-domain' | 'custom-fields' | 'custom-legal' | 'custom-legal-legacy' | 'custom-sso' | 'ixagent' | 'live-data' | 'logging' | 'main-pages' | 'm2m-cloud-cluster' | 'mobile-app' | 'mqtt-device' | 'premium-branding' | 'remote-access' | 'reporting' | 'sla' | 'temporary-access' | 'vpn-access-rule' | 'vpn-usage';
5
+ export interface LicenceType {
6
+ bound?: boolean;
7
+ company?: Company;
8
+ companyLimit?: number;
9
+ publicId: string;
10
+ scope?: LicenceTypeScope;
11
+ sector?: Sector;
12
+ usageType?: LicenceUsageType;
13
+ }
@@ -0,0 +1,25 @@
1
+ import type { Agent } from './agent';
2
+ import type { AgentType } from './agent-type';
3
+ import type { LicenceType } from './licence-type';
4
+ import type { ResLink } from './res-link';
5
+ export interface Licence {
6
+ activated?: boolean;
7
+ agent?: Agent | null;
8
+ agentType?: AgentType | null;
9
+ expiresOn?: string | null;
10
+ hasAgent?: boolean;
11
+ isExpired?: boolean;
12
+ locked?: boolean | null;
13
+ maxRetentionPolicy?: string | null;
14
+ publicId: string;
15
+ serialNumber: string;
16
+ timeLeft?: number | null;
17
+ trial?: boolean;
18
+ type?: LicenceType;
19
+ value?: string | null;
20
+ }
21
+ export interface LicenceExtend {
22
+ couponCode?: string;
23
+ licence?: ResLink;
24
+ publicId: string;
25
+ }
@@ -0,0 +1,11 @@
1
+ export interface Location {
2
+ latitude?: string;
3
+ longitude?: string;
4
+ name?: string | null;
5
+ }
6
+ export interface GeoLocation {
7
+ city?: string;
8
+ country?: string | null;
9
+ latitude?: string;
10
+ longitude?: string;
11
+ }
@@ -0,0 +1,5 @@
1
+ import type { Licence } from './licence';
2
+ export interface LoggingApp {
3
+ enabled?: boolean;
4
+ licence?: Licence | null;
5
+ }
@@ -0,0 +1,4 @@
1
+ export interface LsiServer {
2
+ name?: string;
3
+ publicId: string;
4
+ }
@@ -0,0 +1,13 @@
1
+ export interface OtpAuth {
2
+ deviceName?: string | null;
3
+ registeredOn?: string | null;
4
+ required?: boolean;
5
+ tokenExpiresOn?: string | null;
6
+ }
7
+ export interface OtpAuthEnableResponse {
8
+ secret: string;
9
+ }
10
+ export interface OtpAuthVerify {
11
+ deviceName: string;
12
+ oneTimePassword: string;
13
+ }
@@ -0,0 +1,44 @@
1
+ import type { ResLink } from './res-link';
2
+ export interface PageComponent {
3
+ boundVersion?: ResLink | null;
4
+ /** @deprecated Switch to dimensions! */
5
+ cols?: number;
6
+ dimensions?: PageComponentDimensionsUnion;
7
+ inputs?: string;
8
+ /** @deprecated Switch to dimensions! */
9
+ left?: number;
10
+ /** @deprecated Switch to dimensions! */
11
+ mobileHeight?: number | null;
12
+ pagePage?: ResLink;
13
+ pageVersion?: ResLink;
14
+ publicId: string;
15
+ /** @deprecated Switch to dimensions! */
16
+ rows?: number;
17
+ template?: ResLink | null;
18
+ /** @deprecated Switch to dimensions! */
19
+ top?: number;
20
+ }
21
+ export interface PageComponentDimensionsSheet {
22
+ cols?: number;
23
+ left?: number;
24
+ mobileCols?: number | null;
25
+ mobileHeight?: number | null;
26
+ mobileLeft?: number | null;
27
+ mobileOrder?: number | null;
28
+ rows?: number;
29
+ top?: number;
30
+ type?: 'sheet';
31
+ }
32
+ export interface PageComponentDimensionsCard {
33
+ height?: number;
34
+ order?: number;
35
+ type?: 'card';
36
+ }
37
+ export interface PageComponentDimensionsReport {
38
+ cols?: number;
39
+ left?: number;
40
+ rows?: number;
41
+ top?: number;
42
+ type?: 'report';
43
+ }
44
+ export type PageComponentDimensionsUnion = PageComponentDimensionsSheet | PageComponentDimensionsCard | PageComponentDimensionsReport;
@@ -0,0 +1,7 @@
1
+ import type { ResLink } from './res-link';
2
+ export interface PageLinkGroup {
3
+ agent?: ResLink | null;
4
+ asset?: ResLink | null;
5
+ name?: string;
6
+ publicId: string;
7
+ }
@@ -0,0 +1,12 @@
1
+ import type { Audience } from './audience';
2
+ import type { PageLinkGroup } from './page-link-group';
3
+ import type { ResLink } from './res-link';
4
+ export interface PageLink {
5
+ agent?: ResLink | null;
6
+ asset?: ResLink | null;
7
+ audience?: Audience | null;
8
+ group?: PageLinkGroup | null;
9
+ order?: number;
10
+ page?: ResLink;
11
+ publicId: string;
12
+ }
@@ -0,0 +1,6 @@
1
+ import type { ResLink } from './res-link';
2
+ export interface PagePage {
3
+ order?: number | null;
4
+ pageVersion?: ResLink;
5
+ publicId: string;
6
+ }
@@ -0,0 +1,22 @@
1
+ import type { PageComponent } from './page-component';
2
+ import type { PagePage } from './page-page';
3
+ import type { ResLink } from './res-link';
4
+ export interface PageVersion {
5
+ components?: PageComponent[];
6
+ createdBy?: ResLink | null;
7
+ createdOn?: string;
8
+ custom?: {
9
+ /** String reference for a material design named icon. */
10
+ glbMatIcon?: string;
11
+ };
12
+ page?: ResLink;
13
+ periodSelectorEnabled?: boolean;
14
+ periodSpec?: string | null;
15
+ previewAgent?: ResLink | null;
16
+ previewAsset?: ResLink | null;
17
+ publicId: string;
18
+ pagePages?: PagePage[];
19
+ title?: string | null;
20
+ updatedBy?: ResLink | null;
21
+ updatedOn?: string | null;
22
+ }
@@ -0,0 +1,8 @@
1
+ import type { Location } from './location';
2
+ export interface PlatformServer {
3
+ location?: Location;
4
+ name?: string;
5
+ publicId: string;
6
+ type?: string;
7
+ vpnRange?: string;
8
+ }