@ixon-cdk/types 1.4.0-next.1 → 1.4.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.
- package/dist/types/ixapi/resources/access-recover.d.ts +1 -2
- package/dist/types/ixapi/resources/access-token.d.ts +2 -2
- package/dist/types/ixapi/resources/agent-activate.d.ts +1 -1
- package/dist/types/ixapi/resources/agent-config.d.ts +19 -19
- package/dist/types/ixapi/resources/agent-data-alarm.d.ts +2 -2
- package/dist/types/ixapi/resources/agent-data-tag.d.ts +2 -2
- package/dist/types/ixapi/resources/agent-data-variable.d.ts +1 -2
- package/dist/types/ixapi/resources/agent-pull.d.ts +2 -0
- package/dist/types/ixapi/resources/agent-registration-profile-membership.d.ts +2 -2
- package/dist/types/ixapi/resources/agent-registration-profile.d.ts +3 -2
- package/dist/types/ixapi/resources/agent-router-vpn-config.d.ts +1 -1
- package/dist/types/ixapi/resources/agent-server.d.ts +1 -1
- package/dist/types/ixapi/resources/agent-type.d.ts +1 -1
- package/dist/types/ixapi/resources/agent.d.ts +10 -10
- package/dist/types/ixapi/resources/api-application.d.ts +5 -0
- package/dist/types/ixapi/resources/app-config.d.ts +1 -1
- package/dist/types/ixapi/resources/audit-log.d.ts +30 -13
- package/dist/types/ixapi/resources/auth-token.d.ts +13 -1
- package/dist/types/ixapi/resources/backend-component-template-share.d.ts +1 -1
- package/dist/types/ixapi/resources/backend-component-template-version.d.ts +2 -5
- package/dist/types/ixapi/resources/backend-component-template.d.ts +7 -1
- package/dist/types/ixapi/resources/branding.d.ts +7 -6
- package/dist/types/ixapi/resources/company.d.ts +6 -6
- package/dist/types/ixapi/resources/component-input.d.ts +1 -0
- package/dist/types/ixapi/resources/data.d.ts +11 -9
- package/dist/types/ixapi/resources/demo-device.d.ts +0 -1
- package/dist/types/ixapi/resources/discovery.d.ts +1 -1
- package/dist/types/ixapi/resources/group-role.d.ts +2 -2
- package/dist/types/ixapi/resources/group-type.d.ts +1 -0
- package/dist/types/ixapi/resources/group.d.ts +1 -0
- package/dist/types/ixapi/resources/index.d.ts +2 -2
- package/dist/types/ixapi/resources/invite.d.ts +7 -3
- package/dist/types/ixapi/resources/licence-type.d.ts +1 -6
- package/dist/types/ixapi/resources/licence.d.ts +0 -2
- package/dist/types/ixapi/resources/message-filter.d.ts +0 -2
- package/dist/types/ixapi/resources/mqtt-broker-client.d.ts +1 -0
- package/dist/types/ixapi/resources/object-storage.d.ts +13 -13
- package/dist/types/ixapi/resources/page-component-template.d.ts +9 -0
- package/dist/types/ixapi/resources/page-component.d.ts +4 -12
- package/dist/types/ixapi/resources/page-version.d.ts +1 -0
- package/dist/types/ixapi/resources/page.d.ts +1 -1
- package/dist/types/ixapi/resources/permission.d.ts +1 -0
- package/dist/types/ixapi/resources/platform-server.d.ts +1 -1
- package/dist/types/ixapi/resources/policy.d.ts +5 -7
- package/dist/types/ixapi/resources/registration.d.ts +3 -4
- package/dist/types/ixapi/resources/report-recurrence.d.ts +25 -0
- package/dist/types/ixapi/resources/report-schedule.d.ts +1 -25
- package/dist/types/ixapi/resources/role.d.ts +2 -0
- package/dist/types/ixapi/resources/rsc-server.d.ts +3 -3
- package/dist/types/ixapi/resources/sector.d.ts +9 -7
- package/dist/types/ixapi/resources/sso-identity-provider.d.ts +1 -1
- package/dist/types/ixapi/resources/support-access.d.ts +2 -1
- package/dist/types/ixapi/resources/user-push-device.d.ts +1 -2
- package/dist/types/ixapi/resources/user.d.ts +17 -4
- package/dist/types/ixapi/resources/vpn-usage.d.ts +4 -4
- package/dist/types/ixapi/resources/webhook-trigger.d.ts +7 -6
- package/dist/types/resource-data/resource-data-client.d.ts +1 -0
- package/dist/types/resource-data/resource-data-query.d.ts +1 -1
- package/dist/types/resource-data/resource-data.d.ts +6 -6
- package/package.json +1 -1
- package/dist/types/ixapi/resources/agent-data-monitor.d.ts +0 -6
- package/dist/types/ixapi/resources/agent-data-report.d.ts +0 -8
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export interface AccessRecover {
|
|
2
2
|
emailAddress?: string;
|
|
3
3
|
}
|
|
4
|
-
export interface AccessRecoverCreate {
|
|
5
|
-
emailAddress: string;
|
|
4
|
+
export interface AccessRecoverCreate extends Required<Pick<AccessRecover, 'emailAddress'>> {
|
|
6
5
|
}
|
|
7
6
|
export interface AccessRecoverFinish {
|
|
8
7
|
deleteAccessTokens: boolean;
|
|
@@ -3,10 +3,10 @@ import type { SsoAuthentication } from './sso-authentication';
|
|
|
3
3
|
import type { MyUser } from './user';
|
|
4
4
|
export interface AccessToken {
|
|
5
5
|
created?: {
|
|
6
|
-
ip?: string;
|
|
6
|
+
ip?: string | null;
|
|
7
7
|
/** I.e. "2019-01-01T12:00:00Z" */
|
|
8
8
|
on?: string;
|
|
9
|
-
userAgent?: string;
|
|
9
|
+
userAgent?: string | null;
|
|
10
10
|
};
|
|
11
11
|
/** I.e. "2019-01-01T12:00:00Z" */
|
|
12
12
|
expiresOn?: string;
|
|
@@ -8,8 +8,6 @@ export interface AgentConfig {
|
|
|
8
8
|
configFileServer?: string | null;
|
|
9
9
|
configPushedOn?: string | null;
|
|
10
10
|
configReportedOn?: string | null;
|
|
11
|
-
/** @deprecated */
|
|
12
|
-
configsAreDifferent?: boolean;
|
|
13
11
|
differentConfigs?: boolean;
|
|
14
12
|
differentStewardConfigs?: boolean;
|
|
15
13
|
differentWanConfigs?: boolean;
|
|
@@ -21,11 +19,9 @@ export interface AgentConfig {
|
|
|
21
19
|
routerPortForwards?: AgentRouterPortForward[];
|
|
22
20
|
routerVpn?: AgentRouterVpnConfig;
|
|
23
21
|
routerWan?: AgentConfigRouterWan | null;
|
|
24
|
-
stewardConfigFileReported?: string;
|
|
25
|
-
stewardConfigFileServer?: string;
|
|
22
|
+
stewardConfigFileReported?: string | null;
|
|
23
|
+
stewardConfigFileServer?: string | null;
|
|
26
24
|
stewardConfigReportedOn?: string | null;
|
|
27
|
-
/** @deprecated */
|
|
28
|
-
stewardConfigsAreDifferent?: boolean;
|
|
29
25
|
}
|
|
30
26
|
export interface AgentRouterAdditionalSubnet {
|
|
31
27
|
agent?: ResLink;
|
|
@@ -43,8 +39,8 @@ export interface AgentConfigRouterLan {
|
|
|
43
39
|
agent?: ResLink;
|
|
44
40
|
bacnetBbmd?: string[] | null;
|
|
45
41
|
dhcpServerEnabled?: boolean;
|
|
46
|
-
dhcpServerRangeFrom?: string;
|
|
47
|
-
dhcpServerRangeTo?: string;
|
|
42
|
+
dhcpServerRangeFrom?: string | null;
|
|
43
|
+
dhcpServerRangeTo?: string | null;
|
|
48
44
|
forwardLanWan?: AgentConfigRouterForwardLanWan;
|
|
49
45
|
gatewayLessRouting?: boolean;
|
|
50
46
|
ipAddress?: string;
|
|
@@ -78,35 +74,39 @@ export interface AgentConfigRouterWan {
|
|
|
78
74
|
cellularApn?: string | null;
|
|
79
75
|
cellularMtu?: number | null;
|
|
80
76
|
cellularPincode?: string | null;
|
|
81
|
-
|
|
82
|
-
|
|
77
|
+
/** @hidden */
|
|
78
|
+
cellularPassword?: string | null;
|
|
79
|
+
cellularTrackInterval?: number | null;
|
|
83
80
|
cellularTrackIps?: string[];
|
|
84
81
|
cellularUsername?: string | null;
|
|
85
|
-
digitalInputMode?: AgentConfigRouterWanDigitalInputMode;
|
|
82
|
+
digitalInputMode?: AgentConfigRouterWanDigitalInputMode | null;
|
|
86
83
|
dnsRebindProtectionEnabled?: boolean | null;
|
|
87
|
-
|
|
84
|
+
/** @deprecated */
|
|
85
|
+
dnsServer?: string | null;
|
|
88
86
|
dnsServers?: string[] | null;
|
|
89
87
|
httpProxyAddress?: string | null;
|
|
90
88
|
httpProxyAuthentication?: 'none' | 'basic' | 'ntlm' | null;
|
|
91
89
|
httpProxyIsSocks5?: boolean | null;
|
|
92
|
-
|
|
90
|
+
/** @hidden */
|
|
91
|
+
httpProxyPassword?: string | null;
|
|
93
92
|
httpProxyPort?: number | null;
|
|
94
93
|
httpProxyUsername?: string | null;
|
|
95
94
|
ipAddress?: string | null;
|
|
96
95
|
ipGateway?: string | null;
|
|
97
96
|
ipNetMask?: string | null;
|
|
98
|
-
ipUseDhcp?: boolean;
|
|
99
|
-
multiwanPolicy?: AgentConfigRouterMultiwanPolicy;
|
|
100
|
-
wanTrackInterval?: number;
|
|
97
|
+
ipUseDhcp?: boolean | null;
|
|
98
|
+
multiwanPolicy?: AgentConfigRouterMultiwanPolicy | null;
|
|
99
|
+
wanTrackInterval?: number | null;
|
|
101
100
|
wanTrackIps?: string[];
|
|
102
101
|
wlanDnsServers?: string[] | null;
|
|
103
102
|
wlanIpAddress?: string | null;
|
|
104
103
|
wlanIpGateway?: string | null;
|
|
105
104
|
wlanIpNetMask?: string | null;
|
|
106
105
|
wlanIpUseDhcp?: boolean | null;
|
|
107
|
-
|
|
106
|
+
/** @hidden */
|
|
107
|
+
wlanKey?: string | null;
|
|
108
108
|
wlanSsid?: string | null;
|
|
109
|
-
wlanTrackInterval?: number;
|
|
109
|
+
wlanTrackInterval?: number | null;
|
|
110
110
|
wlanTrackIps?: string[];
|
|
111
111
|
}
|
|
112
112
|
export interface AgentConfigRouterCellular {
|
|
@@ -126,4 +126,4 @@ export interface AgentConfigRouterWlan {
|
|
|
126
126
|
wlanIpUseDhcp?: boolean | null;
|
|
127
127
|
}
|
|
128
128
|
export type AgentConfigRouterMultiwanPolicy = 'eth_cell_wifi' | 'cell_eth_wifi' | 'eth_wifi_cell' | 'wifi_eth_cell' | 'cell_wifi_eth' | 'wifi_cell_eth';
|
|
129
|
-
export type AgentConfigRouterWanDigitalInputMode = 'disable_vpn_high' | 'disable_vpn_low' | 'disable_wan_high' | 'disable_wan_low'
|
|
129
|
+
export type AgentConfigRouterWanDigitalInputMode = 'disable_vpn_high' | 'disable_vpn_low' | 'disable_wan_high' | 'disable_wan_low';
|
|
@@ -4,7 +4,7 @@ export interface AgentDataAlarm {
|
|
|
4
4
|
audience?: ResLink | null;
|
|
5
5
|
autoAcknowledge?: boolean | null;
|
|
6
6
|
booleanNormalValue?: boolean | null;
|
|
7
|
-
device?: ResLink;
|
|
7
|
+
device?: ResLink | null;
|
|
8
8
|
/** For example: "$2 8 >=" (when variable 2 is greater than or equal to 8) */
|
|
9
9
|
formula?: string;
|
|
10
10
|
name?: string;
|
|
@@ -20,6 +20,6 @@ export interface AgentDataAlarm {
|
|
|
20
20
|
outOfService?: boolean | null;
|
|
21
21
|
publicId: string;
|
|
22
22
|
severity?: 'low' | 'medium' | 'high' | null;
|
|
23
|
-
source?: ResLink;
|
|
23
|
+
source?: ResLink | null;
|
|
24
24
|
type?: 'unary' | 'boolean' | 'error_bits' | 'threshold' | 'rate_of_change' | 'bit_pattern';
|
|
25
25
|
}
|
|
@@ -8,12 +8,12 @@ export interface AgentDataTag {
|
|
|
8
8
|
/** When set to null will revert to "last", "shortest" and "longest" only applicable to strings */
|
|
9
9
|
edgeAggregator?: 'any' | 'avg' | 'min' | 'max' | 'first' | 'last' | 'shortest' | 'longest' | 'increase' | null;
|
|
10
10
|
logEvent?: 'interval' | 'change' | 'trigger';
|
|
11
|
-
loggingInterval?: string;
|
|
11
|
+
loggingInterval?: string | null;
|
|
12
12
|
logTrigger?: ResLink | null;
|
|
13
13
|
name?: string;
|
|
14
14
|
onChangeExpiry?: string | null;
|
|
15
15
|
publicId: string;
|
|
16
|
-
retentionPolicy?: string;
|
|
16
|
+
retentionPolicy?: string | null;
|
|
17
17
|
slug?: string | null;
|
|
18
18
|
source?: ResLink;
|
|
19
19
|
tagId?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AgentRegistrationProfileGroup } from
|
|
2
|
-
import type { ResLink } from
|
|
1
|
+
import type { AgentRegistrationProfileGroup } from './group';
|
|
2
|
+
import type { ResLink } from './res-link';
|
|
3
3
|
export interface AgentRegistrationProfileMembership {
|
|
4
4
|
group?: AgentRegistrationProfileGroup;
|
|
5
5
|
profile?: ResLink;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AgentRegistrationProfileMembership } from
|
|
2
|
-
import type { AgentRegistrationProfileAgentTemplate } from
|
|
1
|
+
import type { AgentRegistrationProfileMembership } from './agent-registration-profile-membership';
|
|
2
|
+
import type { AgentRegistrationProfileAgentTemplate } from './agent-template';
|
|
3
3
|
export interface AgentRegistrationProfile {
|
|
4
4
|
agentActivationName?: string | null;
|
|
5
5
|
memberships?: AgentRegistrationProfileMembership[];
|
|
@@ -7,3 +7,4 @@ export interface AgentRegistrationProfile {
|
|
|
7
7
|
publicId: string;
|
|
8
8
|
template?: AgentRegistrationProfileAgentTemplate | null;
|
|
9
9
|
}
|
|
10
|
+
export type AgentRegistrationProfileReference = Pick<AgentRegistrationProfile, 'publicId' | 'name' | 'agentActivationName'>;
|
|
@@ -14,7 +14,7 @@ export interface AgentServer {
|
|
|
14
14
|
publicId: string;
|
|
15
15
|
readOnly?: boolean | null;
|
|
16
16
|
serviceGroup?: string | null;
|
|
17
|
-
template?: AgentServerTemplate;
|
|
17
|
+
template?: AgentServerTemplate | null;
|
|
18
18
|
type?: AgentServerType;
|
|
19
19
|
username?: string | null;
|
|
20
20
|
useSsl?: boolean;
|
|
@@ -4,6 +4,7 @@ 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 { AgentRegistrationProfileReference } from './agent-registration-profile';
|
|
7
8
|
import type { AgentRouterLanWanAccessRule } from './agent-router-lan-wan-access-rule';
|
|
8
9
|
import type { AgentRouterOneToOneNatRule } from './agent-router-one-to-one-nat-rule';
|
|
9
10
|
import type { AgentRouterVpnAccessRule } from './agent-router-vpn-access-rule';
|
|
@@ -13,11 +14,10 @@ import type { AgentType } from './agent-type';
|
|
|
13
14
|
import type { AlarmingApp } from './alarming-app';
|
|
14
15
|
import type { Audience } from './audience';
|
|
15
16
|
import type { DemoDevice } from './demo-device';
|
|
16
|
-
import type { Invite } from './invite';
|
|
17
17
|
import type { Licence } from './licence';
|
|
18
|
-
import type { LsiServer } from './lsi-server';
|
|
19
18
|
import type { GeoLocation, Location } from './location';
|
|
20
19
|
import type { LoggingApp } from './logging-app';
|
|
20
|
+
import type { LsiServer } from './lsi-server';
|
|
21
21
|
import type { PageLink } from './page-link';
|
|
22
22
|
import type { ResLink } from './res-link';
|
|
23
23
|
import type { User } from './user';
|
|
@@ -35,7 +35,6 @@ export interface Agent extends AgentLike {
|
|
|
35
35
|
deviceId?: string | null;
|
|
36
36
|
fixedVpnAddress?: string | null;
|
|
37
37
|
geoLocation?: GeoLocation | null;
|
|
38
|
-
invitesWithAccess?: Invite[];
|
|
39
38
|
lastSeenAgentUserAgent?: AgentUserAgent | null;
|
|
40
39
|
location?: Location | null;
|
|
41
40
|
loggingApp?: LoggingApp;
|
|
@@ -53,6 +52,7 @@ export interface Agent extends AgentLike {
|
|
|
53
52
|
preferLocationOverGeoip?: boolean;
|
|
54
53
|
pullCodeGeneratedOn?: string | null;
|
|
55
54
|
rateLimiting?: AgentRateLimiting;
|
|
55
|
+
registrationProfile?: AgentRegistrationProfileReference | null;
|
|
56
56
|
replaceMacAddress?: string | null;
|
|
57
57
|
replaceRegistration?: boolean;
|
|
58
58
|
reRegistration?: boolean;
|
|
@@ -71,7 +71,7 @@ export interface AgentLike {
|
|
|
71
71
|
description?: string | null;
|
|
72
72
|
devices?: AgentDevice[];
|
|
73
73
|
lanWanAccessRules?: AgentRouterLanWanAccessRule[];
|
|
74
|
-
name?: string;
|
|
74
|
+
name?: string | null;
|
|
75
75
|
oneToOneNatRules?: AgentRouterOneToOneNatRule[];
|
|
76
76
|
pageLinks?: PageLink[];
|
|
77
77
|
publicId: string;
|
|
@@ -127,14 +127,14 @@ export interface AgentUserAgent {
|
|
|
127
127
|
wifi?: boolean;
|
|
128
128
|
}
|
|
129
129
|
export interface AgentRateLimiting {
|
|
130
|
-
configMqttCommandCounter?: number;
|
|
131
|
-
configMqttCommandLastHit?: string;
|
|
130
|
+
configMqttCommandCounter?: number | null;
|
|
131
|
+
configMqttCommandLastHit?: string | null;
|
|
132
132
|
configMqttCommandLimit?: AgentRateLimitingStatus;
|
|
133
|
-
configMqttDataCounter?: number;
|
|
134
|
-
configMqttDataLastHit?: string;
|
|
133
|
+
configMqttDataCounter?: number | null;
|
|
134
|
+
configMqttDataLastHit?: string | null;
|
|
135
135
|
configMqttDataLimit?: AgentRateLimitingStatus;
|
|
136
|
-
configOpenvpnCounter?: number;
|
|
137
|
-
configOpenvpnLastHit?: string;
|
|
136
|
+
configOpenvpnCounter?: number | null;
|
|
137
|
+
configOpenvpnLastHit?: string | null;
|
|
138
138
|
configOpenvpnLimit?: AgentRateLimitingStatus;
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
@@ -1,20 +1,37 @@
|
|
|
1
1
|
export interface AuditLog {
|
|
2
2
|
action: AuditLogAction;
|
|
3
|
-
actor:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
after: any[];
|
|
8
|
-
application?: {
|
|
3
|
+
actor: AuditLogActor;
|
|
4
|
+
after: any[] | null;
|
|
5
|
+
application: {
|
|
9
6
|
name: string;
|
|
10
|
-
};
|
|
11
|
-
before: any[];
|
|
7
|
+
} | null;
|
|
8
|
+
before: any[] | null;
|
|
12
9
|
publicId: string;
|
|
13
|
-
request?:
|
|
14
|
-
fromName: string;
|
|
15
|
-
};
|
|
10
|
+
request?: AuditLogRequest;
|
|
16
11
|
target: string;
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
/** I.e. "2019-01-01T12:00:00Z" */
|
|
13
|
+
time: string;
|
|
14
|
+
topic: AuditLogTopic;
|
|
19
15
|
}
|
|
20
16
|
export type AuditLogAction = 'CREATE' | 'UPDATE' | 'DELETE' | 'TRIGGER';
|
|
17
|
+
interface AuditLogRequest {
|
|
18
|
+
fromName: string | null;
|
|
19
|
+
ipAddress: string;
|
|
20
|
+
}
|
|
21
|
+
interface AuditLogActor {
|
|
22
|
+
resource: AuditLogActorResource;
|
|
23
|
+
type: AuditLogActorType;
|
|
24
|
+
}
|
|
25
|
+
interface AuditLogActorResource {
|
|
26
|
+
name: string;
|
|
27
|
+
publicId: string;
|
|
28
|
+
type: string;
|
|
29
|
+
}
|
|
30
|
+
type AuditLogActorType = 'agent' | 'client' | 'support' | 'webshopintegration';
|
|
31
|
+
interface AuditLogTopic {
|
|
32
|
+
agent?: string | null;
|
|
33
|
+
asset?: string | null;
|
|
34
|
+
company?: string;
|
|
35
|
+
user?: string | null;
|
|
36
|
+
}
|
|
37
|
+
export {};
|
|
@@ -1,5 +1,17 @@
|
|
|
1
|
+
export type AuthTokenPurpose = 'change-notifications' | 'data';
|
|
1
2
|
export interface AuthToken {
|
|
2
|
-
|
|
3
|
+
created?: {
|
|
4
|
+
ip?: string | null;
|
|
5
|
+
/** I.e. "2019-01-01T12:00:00Z" */
|
|
6
|
+
on?: string;
|
|
7
|
+
userAgent?: string | null;
|
|
8
|
+
};
|
|
9
|
+
expiresOn?: string;
|
|
10
|
+
publicId: string;
|
|
11
|
+
purpose?: AuthTokenPurpose;
|
|
12
|
+
}
|
|
13
|
+
export interface AuthTokenCreateResponse {
|
|
14
|
+
expiresOn?: string;
|
|
3
15
|
publicId: string;
|
|
4
16
|
secretId: string;
|
|
5
17
|
}
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import type { ResLink } from './res-link';
|
|
2
|
-
export interface BackendComponentTemplateConfiguredVersion {
|
|
3
|
-
publicId: string;
|
|
4
|
-
number?: string;
|
|
5
|
-
}
|
|
6
2
|
export interface BackendComponentTemplateVersion {
|
|
7
3
|
template?: ResLink;
|
|
8
4
|
publicId: string;
|
|
9
5
|
number?: string;
|
|
10
|
-
publishedOn?: string;
|
|
6
|
+
publishedOn?: string | null;
|
|
11
7
|
createdOn?: string;
|
|
12
8
|
}
|
|
9
|
+
export type BackendComponentTemplateConfiguredVersion = Pick<BackendComponentTemplateVersion, 'number' | 'publicId'>;
|
|
13
10
|
export interface BackendComponentTemplateVersionUpdate {
|
|
14
11
|
publicId: string;
|
|
15
12
|
published?: boolean;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
+
import type { ApiApplication } from './api-application';
|
|
2
|
+
import type { BackendComponentTemplateConfiguredVersion } from './backend-component-template-version';
|
|
1
3
|
import type { CompanyReference } from './company';
|
|
2
4
|
import type { ResLink } from './res-link';
|
|
3
5
|
export interface BackendComponentTemplate {
|
|
6
|
+
accessTokenScope?: string | null;
|
|
7
|
+
apiApplication?: ApiApplication;
|
|
4
8
|
company?: CompanyReference | null;
|
|
9
|
+
configuredVersion?: BackendComponentTemplateConfiguredVersion | null;
|
|
5
10
|
description?: string | null;
|
|
6
11
|
draft?: ResLink | null;
|
|
7
12
|
name?: string;
|
|
8
|
-
ownerName?: string;
|
|
13
|
+
ownerName?: string | null;
|
|
14
|
+
private?: boolean;
|
|
9
15
|
publicId: string;
|
|
10
16
|
published?: ResLink | null;
|
|
11
17
|
}
|
|
@@ -11,17 +11,18 @@ export interface Branding {
|
|
|
11
11
|
fqdn?: string | null;
|
|
12
12
|
googlePlayStoreLink?: string | null;
|
|
13
13
|
logo?: string | null;
|
|
14
|
-
name?: string;
|
|
14
|
+
name?: string | null;
|
|
15
15
|
publicId: string;
|
|
16
16
|
theme?: BrandingTheme | null;
|
|
17
17
|
}
|
|
18
18
|
export interface BrandingTheme {
|
|
19
|
-
accentColor?: string;
|
|
20
|
-
accentTextColor?: string;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
accentColor?: string | null;
|
|
20
|
+
accentTextColor?: string | null;
|
|
21
|
+
headerColor?: string | null;
|
|
22
|
+
headerLineColor?: string | null;
|
|
23
|
+
/** Default is false */
|
|
24
24
|
logoHasBackgroundColor?: boolean;
|
|
25
25
|
primaryColor?: string;
|
|
26
|
+
/** Default is "#ffffff" */
|
|
26
27
|
primaryTextColor?: string;
|
|
27
28
|
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import type { Branding } from './branding';
|
|
2
2
|
import type { Licence } from './licence';
|
|
3
|
+
import type { PrivacyStatement, TermsOfUsePolicy } from './policy';
|
|
3
4
|
import type { ResLink } from './res-link';
|
|
4
5
|
export interface Company {
|
|
5
6
|
branding?: Branding | null;
|
|
6
7
|
custom?: {};
|
|
7
8
|
customPrivacyStatement?: 'sector' | 'company' | 'disabled';
|
|
8
9
|
customTermsOfUse?: 'sector' | 'company' | 'disabled';
|
|
10
|
+
latestPrivacyStatement?: PrivacyStatement;
|
|
11
|
+
latestTermsOfUse?: TermsOfUsePolicy;
|
|
9
12
|
name?: string;
|
|
10
13
|
publicId: string;
|
|
11
14
|
}
|
|
12
|
-
export interface MyCompany {
|
|
15
|
+
export interface MyCompany extends Company {
|
|
13
16
|
alarmingTrialUsed?: boolean;
|
|
17
|
+
appOwnerName?: string | null;
|
|
14
18
|
/** @deprecated */
|
|
15
19
|
assetManagementLicence?: Licence | null;
|
|
16
|
-
branding?: Branding | null;
|
|
17
20
|
country?: string | null;
|
|
18
21
|
custom?: {
|
|
19
22
|
glbPrtDeviceTableColsDefault?: string | null;
|
|
20
23
|
};
|
|
21
|
-
customPrivacyStatement?: 'sector' | 'company' | 'disabled';
|
|
22
|
-
customTermsOfUse?: 'sector' | 'company' | 'disabled';
|
|
23
24
|
defaultUserInviteLanguage?: string;
|
|
24
25
|
licenceModel?: 'legacy' | 'modules';
|
|
25
26
|
loggingTrialUsed?: boolean;
|
|
26
27
|
/** @deprecated */
|
|
27
28
|
mobileAppLicence?: Licence | null;
|
|
28
29
|
mobileAppLicenceStatus?: 'not-configured' | 'pending' | 'activated' | null;
|
|
29
|
-
name?: string;
|
|
30
30
|
/** @deprecated */
|
|
31
31
|
reportingLicence?: Licence | null;
|
|
32
32
|
/** @deprecated */
|
|
33
33
|
premiumLicence?: Licence | null;
|
|
34
34
|
premiumLicenceStatus?: 'not-configured' | 'pending' | 'activated' | null;
|
|
35
|
-
|
|
35
|
+
requireDedicatedMdrServer?: boolean;
|
|
36
36
|
requireDedicatedRscServer?: boolean;
|
|
37
37
|
screensaver?: ResLink | null;
|
|
38
38
|
shellAgentLimit?: number | null;
|
|
@@ -1,37 +1,39 @@
|
|
|
1
1
|
import type { ResLink } from './res-link';
|
|
2
2
|
export interface Data {
|
|
3
|
-
points: DataPoint[];
|
|
4
3
|
end: string;
|
|
4
|
+
points: DataPoint[];
|
|
5
5
|
source: ResLink;
|
|
6
6
|
start: string;
|
|
7
7
|
timeZone: string;
|
|
8
8
|
}
|
|
9
9
|
export interface DataPoint {
|
|
10
|
+
/** "2019-01-01T12:00:00Z" */
|
|
11
|
+
time: string;
|
|
10
12
|
values: {
|
|
11
13
|
[ref: string]: any;
|
|
12
14
|
};
|
|
13
|
-
/** "2019-01-01T12:00:00Z" */
|
|
14
|
-
time: string;
|
|
15
15
|
}
|
|
16
16
|
export interface DataQuery {
|
|
17
|
-
/**
|
|
17
|
+
/** Default is 2 */
|
|
18
18
|
decimals?: number;
|
|
19
|
-
/**
|
|
19
|
+
/** Default is false */
|
|
20
20
|
extendedBoundary?: boolean;
|
|
21
21
|
factor?: number;
|
|
22
|
-
/**
|
|
22
|
+
/** Default is 5000 */
|
|
23
23
|
limit?: number;
|
|
24
|
+
offset?: number;
|
|
25
|
+
operator?: string;
|
|
24
26
|
postAggr: string;
|
|
25
27
|
ref: string;
|
|
26
28
|
step?: number;
|
|
27
|
-
offset?: number;
|
|
28
|
-
operator?: string;
|
|
29
29
|
}
|
|
30
30
|
export interface DataRequest {
|
|
31
|
+
end?: string;
|
|
31
32
|
source: ResLink;
|
|
32
33
|
start?: string;
|
|
33
|
-
end?: string;
|
|
34
34
|
tags: Tag[];
|
|
35
|
+
/** Default is "UTC" */
|
|
36
|
+
timeZone?: string;
|
|
35
37
|
}
|
|
36
38
|
export type Tag = {
|
|
37
39
|
preAggr?: string;
|
|
@@ -8,8 +8,6 @@ export * from './agent-data-alarm-occurrence';
|
|
|
8
8
|
export * from './agent-data-alarming-app';
|
|
9
9
|
export * from './agent-data-condition';
|
|
10
10
|
export * from './agent-data-logging-app';
|
|
11
|
-
export * from './agent-data-monitor';
|
|
12
|
-
export * from './agent-data-report';
|
|
13
11
|
export * from './agent-data-source';
|
|
14
12
|
export * from './agent-data-tag';
|
|
15
13
|
export * from './agent-data-variable';
|
|
@@ -30,6 +28,7 @@ export * from './agent-template';
|
|
|
30
28
|
export * from './agent-type';
|
|
31
29
|
export * from './agent-type-file';
|
|
32
30
|
export * from './alarming-app';
|
|
31
|
+
export * from './api-application';
|
|
33
32
|
export * from './app-config';
|
|
34
33
|
export * from './asset';
|
|
35
34
|
export * from './asset-app-config';
|
|
@@ -89,6 +88,7 @@ export * from './permission';
|
|
|
89
88
|
export * from './platform-server';
|
|
90
89
|
export * from './policy';
|
|
91
90
|
export * from './registration';
|
|
91
|
+
export * from './report-recurrence';
|
|
92
92
|
export * from './report-schedule';
|
|
93
93
|
export * from './res-link';
|
|
94
94
|
export * from './role';
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import type { Company } from './company';
|
|
2
2
|
import type { ResLink } from './res-link';
|
|
3
|
-
import type {
|
|
3
|
+
import type { MyUser } from './user';
|
|
4
4
|
import type { UserMembership } from './user-membership';
|
|
5
|
+
interface UserBase extends Pick<MyUser, 'emailAddress' | 'language' | 'localisation' | 'name' | 'publicId' | 'timeZone'> {
|
|
6
|
+
custom?: Record<string, unknown>;
|
|
7
|
+
}
|
|
8
|
+
/** @check Invite&MyInvite&MyUserInvite */
|
|
5
9
|
export interface Invite {
|
|
6
10
|
company?: Company | null;
|
|
7
11
|
emailAddress?: string;
|
|
@@ -9,13 +13,12 @@ export interface Invite {
|
|
|
9
13
|
language?: string;
|
|
10
14
|
memberships?: UserMembership[];
|
|
11
15
|
publicId: string;
|
|
12
|
-
user?:
|
|
16
|
+
user?: UserBase;
|
|
13
17
|
}
|
|
14
18
|
export interface InviteCreate {
|
|
15
19
|
emailAddress: string;
|
|
16
20
|
groupRoles: InviteCreateGroupRole[];
|
|
17
21
|
language?: string;
|
|
18
|
-
managedBy?: ResLink;
|
|
19
22
|
message?: string;
|
|
20
23
|
}
|
|
21
24
|
export interface InviteCreateGroupRole {
|
|
@@ -23,3 +26,4 @@ export interface InviteCreateGroupRole {
|
|
|
23
26
|
group: ResLink;
|
|
24
27
|
role: ResLink;
|
|
25
28
|
}
|
|
29
|
+
export {};
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
import type { Company } from './company';
|
|
2
|
-
import type { Sector } from './sector';
|
|
3
1
|
export type LicenceTypeScope = 'agent' | 'company';
|
|
4
2
|
export type LicenceUsageType = 'advanced-user-management' | 'agent-registration-profile' | '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' | 'object-storage' | 'premium-branding' | 'remote-access' | 'reporting' | 'sla' | 'temporary-access' | 'vpn-access-rule' | 'vpn-usage';
|
|
5
3
|
export interface LicenceType {
|
|
6
|
-
|
|
7
|
-
company?: Company;
|
|
8
|
-
companyLimit?: number;
|
|
4
|
+
companyLimit?: number | null;
|
|
9
5
|
publicId: string;
|
|
10
6
|
scope?: LicenceTypeScope;
|
|
11
|
-
sector?: Sector;
|
|
12
7
|
usageType?: LicenceUsageType;
|
|
13
8
|
}
|
|
@@ -13,12 +13,10 @@ export interface Licence {
|
|
|
13
13
|
bundle?: LicenceBundle | null;
|
|
14
14
|
expiresOn?: string | null;
|
|
15
15
|
hasAgent?: boolean;
|
|
16
|
-
isExpired?: boolean;
|
|
17
16
|
locked?: boolean | null;
|
|
18
17
|
maxRetentionPolicy?: string | null;
|
|
19
18
|
publicId: string;
|
|
20
19
|
serialNumber: string;
|
|
21
|
-
timeLeft?: number | null;
|
|
22
20
|
trial?: boolean;
|
|
23
21
|
type?: LicenceType;
|
|
24
22
|
value?: string | null;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { MessageSystemLabel } from './message';
|
|
2
|
-
import type { User } from './user';
|
|
3
2
|
export interface MessageFilter {
|
|
4
3
|
actions?: MessageFilterAction[];
|
|
5
4
|
companyPublicIds?: string[];
|
|
@@ -13,6 +12,5 @@ export interface MessageFilter {
|
|
|
13
12
|
publicId: string;
|
|
14
13
|
shortContains?: string | null;
|
|
15
14
|
systemLabels?: MessageSystemLabel[];
|
|
16
|
-
user?: User;
|
|
17
15
|
}
|
|
18
16
|
export type MessageFilterAction = 'delete' | 'dont-forward-to-mail' | 'dont-send-push-notification' | 'dont-send-webhook-trigger' | 'forward-to-mail' | 'mark-as-read';
|
|
@@ -6,35 +6,35 @@ export declare const enum ObjectStorageUploadUrlTypeEnum {
|
|
|
6
6
|
}
|
|
7
7
|
export type ObjectStorageUploadUrlType = 'azure-blob-storage';
|
|
8
8
|
export interface ObjectStorageUpload {
|
|
9
|
-
template?: ResLink;
|
|
10
|
-
uuid?: string;
|
|
11
9
|
arguments?: BackendComponentFunctionCallArgs | null;
|
|
10
|
+
template: ResLink;
|
|
11
|
+
uuid: string;
|
|
12
12
|
}
|
|
13
13
|
export interface ObjectStorageDownload {
|
|
14
|
-
template?: ResLink;
|
|
15
|
-
uuid?: string;
|
|
16
14
|
arguments?: BackendComponentFunctionCallArgs | null;
|
|
15
|
+
template: ResLink;
|
|
16
|
+
uuid: string;
|
|
17
17
|
}
|
|
18
18
|
export interface ObjectStorageList {
|
|
19
|
-
template?: ResLink;
|
|
20
19
|
arguments?: BackendComponentFunctionCallArgs | null;
|
|
20
|
+
template: ResLink;
|
|
21
21
|
}
|
|
22
22
|
export interface ObjectStorageDelete {
|
|
23
|
-
template?: ResLink;
|
|
24
|
-
uuid?: string;
|
|
25
23
|
arguments?: BackendComponentFunctionCallArgs | null;
|
|
24
|
+
template: ResLink;
|
|
25
|
+
uuid: string;
|
|
26
26
|
}
|
|
27
27
|
export interface ObjectStorageUploadResponse {
|
|
28
|
-
type
|
|
29
|
-
url
|
|
28
|
+
type: ObjectStorageUploadUrlType;
|
|
29
|
+
url: string;
|
|
30
30
|
}
|
|
31
31
|
export interface ObjectStorageDownloadResponse {
|
|
32
|
-
url
|
|
32
|
+
url: string;
|
|
33
33
|
}
|
|
34
34
|
export interface ObjectStorageObjectMeta {
|
|
35
|
-
uuid?: string;
|
|
36
|
-
size?: number;
|
|
37
35
|
agent?: ResLink | null;
|
|
38
36
|
asset?: ResLink | null;
|
|
39
|
-
|
|
37
|
+
size: number;
|
|
38
|
+
tags: ObjectStorageTags;
|
|
39
|
+
uuid: string;
|
|
40
40
|
}
|
|
@@ -3,6 +3,8 @@ import type { PageComponentTemplateCardSettings, PageComponentTemplateSheetSetti
|
|
|
3
3
|
import type { PageComponentTemplateVersion } from './page-component-template-version';
|
|
4
4
|
import type { ResLink } from './res-link';
|
|
5
5
|
export interface PageComponentTemplate {
|
|
6
|
+
/** @deprecated */
|
|
7
|
+
author?: string | null;
|
|
6
8
|
backendComponent?: ResLink | null;
|
|
7
9
|
/** @deprecated Moved to PageComponentTemplateManifest */
|
|
8
10
|
cardSettings?: PageComponentTemplateCardSettings | null;
|
|
@@ -13,7 +15,12 @@ export interface PageComponentTemplate {
|
|
|
13
15
|
/** Reference to the 'draft' version of this template */
|
|
14
16
|
draft?: ResLink | null;
|
|
15
17
|
intent?: PageComponentTemplateIntent[];
|
|
18
|
+
/** @deprecated */
|
|
19
|
+
inputs?: string | null;
|
|
20
|
+
/** @deprecated */
|
|
21
|
+
licence?: string | null;
|
|
16
22
|
name?: string;
|
|
23
|
+
private?: boolean;
|
|
17
24
|
publicId: string;
|
|
18
25
|
/** Reference to the 'published' version of this template */
|
|
19
26
|
published?: ResLink | null;
|
|
@@ -21,5 +28,7 @@ export interface PageComponentTemplate {
|
|
|
21
28
|
sheetSettings?: PageComponentTemplateSheetSettings | null;
|
|
22
29
|
static?: boolean;
|
|
23
30
|
url?: string | null;
|
|
31
|
+
/** @deprecated */
|
|
32
|
+
version?: string | null;
|
|
24
33
|
}
|
|
25
34
|
export type PageComponentTemplateIntent = 'asset-configuration';
|
|
@@ -1,22 +1,14 @@
|
|
|
1
|
+
import type { PageComponentTemplateVersion } from './page-component-template-version';
|
|
2
|
+
import type { PagePage } from './page-page';
|
|
1
3
|
import type { ResLink } from './res-link';
|
|
2
4
|
export interface PageComponent {
|
|
3
|
-
boundVersion?:
|
|
4
|
-
/** @deprecated Switch to dimensions! */
|
|
5
|
-
cols?: number;
|
|
5
|
+
boundVersion?: PageComponentTemplateVersion | null;
|
|
6
6
|
dimensions?: PageComponentDimensionsUnion;
|
|
7
7
|
inputs?: string;
|
|
8
|
-
|
|
9
|
-
left?: number;
|
|
10
|
-
/** @deprecated Switch to dimensions! */
|
|
11
|
-
mobileHeight?: number | null;
|
|
12
|
-
pagePage?: ResLink;
|
|
8
|
+
pagePage?: PagePage | null;
|
|
13
9
|
pageVersion?: ResLink;
|
|
14
10
|
publicId: string;
|
|
15
|
-
/** @deprecated Switch to dimensions! */
|
|
16
|
-
rows?: number;
|
|
17
11
|
template?: ResLink | null;
|
|
18
|
-
/** @deprecated Switch to dimensions! */
|
|
19
|
-
top?: number;
|
|
20
12
|
}
|
|
21
13
|
export interface PageComponentDimensionsSheet {
|
|
22
14
|
cols?: number;
|
|
@@ -2,7 +2,7 @@ import type { Label } from './label';
|
|
|
2
2
|
import type { PageVersion } from './page-version';
|
|
3
3
|
import type { ResLink } from './res-link';
|
|
4
4
|
export interface Page {
|
|
5
|
-
/**
|
|
5
|
+
/** Default is "sheet" */
|
|
6
6
|
applicationType?: PageApplicationType;
|
|
7
7
|
company?: ResLink | null;
|
|
8
8
|
custom?: {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ResLink } from './res-link';
|
|
2
|
-
import type { Sector } from './sector';
|
|
3
2
|
export interface PolicyLanguage {
|
|
4
3
|
body?: string;
|
|
5
4
|
languageCode?: string;
|
|
@@ -8,17 +7,15 @@ export interface PolicyLanguage {
|
|
|
8
7
|
updateSummary?: string | null;
|
|
9
8
|
}
|
|
10
9
|
export type PolicyType = 'privacystatement' | 'termsofuse';
|
|
11
|
-
|
|
10
|
+
interface PolicyBase {
|
|
12
11
|
company?: ResLink | null;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
latest?: boolean;
|
|
12
|
+
downloadUrl?: string | null;
|
|
13
|
+
latest?: boolean | null;
|
|
16
14
|
languages?: PolicyLanguage[];
|
|
17
15
|
publicId: string;
|
|
18
16
|
publishedOn?: string | null;
|
|
19
|
-
sector?: Sector;
|
|
20
17
|
type?: PolicyType;
|
|
21
|
-
version?: string;
|
|
18
|
+
version?: string | null;
|
|
22
19
|
}
|
|
23
20
|
export interface TermsOfUsePolicy extends PolicyBase {
|
|
24
21
|
}
|
|
@@ -30,3 +27,4 @@ export interface AcceptedTermsOfUsePolicy {
|
|
|
30
27
|
policy?: TermsOfUsePolicy;
|
|
31
28
|
publicId: string;
|
|
32
29
|
}
|
|
30
|
+
export {};
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
+
import type { ResLink } from './res-link';
|
|
1
2
|
import type { SsoAuthentication } from './sso-authentication';
|
|
2
3
|
interface RegistrationBaseCreate {
|
|
3
4
|
companyName: string;
|
|
4
5
|
language?: string;
|
|
5
6
|
localisation?: string;
|
|
6
|
-
termsOfUsePolicy:
|
|
7
|
-
publicId: string;
|
|
8
|
-
} | null;
|
|
7
|
+
termsOfUsePolicy: ResLink | null;
|
|
9
8
|
timeZone?: string;
|
|
10
9
|
}
|
|
11
10
|
export interface MyRegistration {
|
|
12
11
|
companyName?: string;
|
|
13
12
|
emailAddress?: string;
|
|
14
|
-
language?: string;
|
|
13
|
+
language?: string | null;
|
|
15
14
|
name?: string;
|
|
16
15
|
publicId: string;
|
|
17
16
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface ReportRecurrenceWeekly {
|
|
2
|
+
frequency?: 'weekly';
|
|
3
|
+
interval?: number;
|
|
4
|
+
monday?: boolean;
|
|
5
|
+
tuesday?: boolean;
|
|
6
|
+
wednesday?: boolean;
|
|
7
|
+
thursday?: boolean;
|
|
8
|
+
friday?: boolean;
|
|
9
|
+
saturday?: boolean;
|
|
10
|
+
sunday?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface ReportRecurrenceMonthly {
|
|
13
|
+
frequency?: 'monthly';
|
|
14
|
+
interval?: number;
|
|
15
|
+
occurrence?: 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 type ReportRecurrenceUnion = ReportRecurrenceWeekly | ReportRecurrenceMonthly;
|
|
25
|
+
export type ReportRecurrenceFrequency = 'weekly' | 'monthly';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ReportRecurrenceUnion } from './report-recurrence';
|
|
1
2
|
import type { ResLink } from './res-link';
|
|
2
3
|
export interface ReportSchedule {
|
|
3
4
|
agent?: ResLink | null;
|
|
@@ -11,28 +12,3 @@ export interface ReportSchedule {
|
|
|
11
12
|
start?: string;
|
|
12
13
|
timeZone?: string;
|
|
13
14
|
}
|
|
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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PlatformServer } from './platform-server';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
type NetworkLayer = 'tap' | 'tun';
|
|
3
|
+
export interface RscServer extends Omit<PlatformServer, 'type'> {
|
|
4
4
|
supportedLayers?: NetworkLayer[];
|
|
5
5
|
}
|
|
6
|
-
export
|
|
6
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Branding } from './branding';
|
|
2
|
-
import type { PrivacyStatement } from './policy';
|
|
2
|
+
import type { PrivacyStatement, TermsOfUsePolicy } from './policy';
|
|
3
3
|
export interface Sector {
|
|
4
4
|
allowCustomPrivacyStatement?: boolean;
|
|
5
5
|
allowCustomTermsOfUse?: boolean;
|
|
@@ -13,19 +13,21 @@ export interface Sector {
|
|
|
13
13
|
glbSupportedPlatforms?: string;
|
|
14
14
|
glbVpnClientReleaseNotesUrl?: string;
|
|
15
15
|
};
|
|
16
|
+
cdnDomain?: string | null;
|
|
16
17
|
defaultCountry?: string;
|
|
17
18
|
emailFromAddress?: string;
|
|
18
|
-
feedbackTo?: string;
|
|
19
|
+
feedbackTo?: string | null;
|
|
19
20
|
latestPrivacyStatement?: PrivacyStatement;
|
|
21
|
+
latestTermsOfUse?: TermsOfUsePolicy;
|
|
20
22
|
name?: string;
|
|
21
|
-
poweredBy?: SectorPoweredBy;
|
|
22
|
-
premiumBrandingDomain?: string;
|
|
23
|
+
poweredBy?: SectorPoweredBy | null;
|
|
24
|
+
premiumBrandingDomain?: string | null;
|
|
23
25
|
publicId: string;
|
|
24
26
|
supportEmailAddress?: string | null;
|
|
25
27
|
}
|
|
26
28
|
export interface SectorPoweredBy {
|
|
27
29
|
hide?: boolean;
|
|
28
|
-
logo?: string;
|
|
29
|
-
name?: string;
|
|
30
|
-
url?: string;
|
|
30
|
+
logo?: string | null;
|
|
31
|
+
name?: string | null;
|
|
32
|
+
url?: string | null;
|
|
31
33
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
+
/** @check userpushdevice:UserPushDevice&UserPushDeviceActivate */
|
|
1
2
|
export interface UserPushDevice {
|
|
2
3
|
createdOn?: string;
|
|
3
4
|
deactivated?: boolean;
|
|
4
5
|
deviceId: string;
|
|
5
|
-
name?: string;
|
|
6
6
|
publicId: string;
|
|
7
7
|
token?: string;
|
|
8
|
-
user?: string;
|
|
9
8
|
userAgent?: string;
|
|
10
9
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
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 { AcceptedTermsOfUsePolicy
|
|
4
|
+
import type { AcceptedTermsOfUsePolicy } from './policy';
|
|
5
|
+
import type { ResLink } from './res-link';
|
|
6
|
+
import type { SsoAuthentication } from './sso-authentication';
|
|
5
7
|
import type { UserMembership } from './user-membership';
|
|
6
8
|
export interface User {
|
|
7
9
|
custom?: {};
|
|
@@ -22,6 +24,15 @@ export interface MyUser {
|
|
|
22
24
|
custom?: {
|
|
23
25
|
/** JSON Object with user columns per company, For example: { "1111-2222-3333-4444-5555": ["status", "name", "lastOnline"]} */
|
|
24
26
|
glbFltDeviceTableCols?: string;
|
|
27
|
+
/** JSON Object with view settings per company,
|
|
28
|
+
* For example:
|
|
29
|
+
* {
|
|
30
|
+
* "1111-2222-3333-4444-5555": {
|
|
31
|
+
* "devices": {sort: {"field": "name", "direction": "asc"}}, "assets": {sort: {"field": "name", "direction": "asc"}}, "deviceTemplates": {sort: {"field": "name", "direction": "asc"}}, "registrationProfiles": {sort: {"field": "name", "direction": "asc"}},
|
|
32
|
+
* }
|
|
33
|
+
* }
|
|
34
|
+
*/
|
|
35
|
+
glbFltViewSettings?: string;
|
|
25
36
|
/** JSON Object with user columns per company, For example: { "1111-2222-3333-4444-5555": ["status", "name", "lastOnline"]} */
|
|
26
37
|
glbPrtDeviceTableCols?: string;
|
|
27
38
|
/** JSON Object with view settings per company,
|
|
@@ -50,9 +61,11 @@ export interface MyUser {
|
|
|
50
61
|
/** For example 2019-01-01T12:00:00Z */
|
|
51
62
|
registeredOn?: string;
|
|
52
63
|
support?: boolean;
|
|
53
|
-
termsOfUsePolicy?: TermsOfUsePolicy | null;
|
|
54
|
-
/** For example 2019-01-01T12:00:00Z */
|
|
55
|
-
termsOfUsePolicyAcceptedOn?: string | null;
|
|
56
64
|
timeZone?: string | null;
|
|
57
65
|
unreadMessagesCount?: number;
|
|
58
66
|
}
|
|
67
|
+
export interface MyUserCreate extends Pick<MyUser, 'name' | 'language' | 'localisation' | 'timeZone'> {
|
|
68
|
+
password?: string;
|
|
69
|
+
ssoAuthentication?: SsoAuthentication;
|
|
70
|
+
termsOfUsePolicy?: ResLink | null;
|
|
71
|
+
}
|
|
@@ -2,10 +2,10 @@ export interface VpnUsage {
|
|
|
2
2
|
bytesReceived: number;
|
|
3
3
|
bytesSent: number;
|
|
4
4
|
/** value between 1-31 */
|
|
5
|
-
day
|
|
5
|
+
day: number | null;
|
|
6
6
|
/** value between 0-23 */
|
|
7
|
-
hour
|
|
8
|
-
year: number;
|
|
7
|
+
hour: number | null;
|
|
9
8
|
/** value between 1-12 */
|
|
10
|
-
month
|
|
9
|
+
month: number | null;
|
|
10
|
+
year: number;
|
|
11
11
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { ResLink } from './res-link';
|
|
2
2
|
export interface WebhookTrigger {
|
|
3
|
+
/** I.e. "2019-01-01T12:00:00Z" */
|
|
4
|
+
lastTry?: string | null;
|
|
5
|
+
/** I.e. "2019-01-01T12:00:00Z" */
|
|
6
|
+
nextTry?: string | null;
|
|
3
7
|
ok?: boolean;
|
|
4
|
-
retrying?: boolean;
|
|
5
|
-
tryCount?: number;
|
|
6
|
-
lastTry?: string;
|
|
7
|
-
nextTry?: string;
|
|
8
8
|
publicId: string;
|
|
9
|
-
|
|
9
|
+
retrying?: boolean;
|
|
10
|
+
status?: string | null;
|
|
10
11
|
subscription?: ResLink;
|
|
12
|
+
tryCount?: number;
|
|
11
13
|
}
|
|
12
|
-
export type WebhookTriggerStatus = 'ok' | 'timeout' | 'could-not-connect' | 'invalid-https' | 'too-many-redirects' | 'non-ok-response-code';
|
|
@@ -7,6 +7,7 @@ interface ResultDataMap {
|
|
|
7
7
|
Agent: ResourceData.Agent;
|
|
8
8
|
Asset: ResourceData.Asset;
|
|
9
9
|
AssetAppConfig: ResourceData.AssetAppConfig;
|
|
10
|
+
AssetAppConfigList: ResourceData.AssetAppConfig[];
|
|
10
11
|
Branding: ResourceData.Branding;
|
|
11
12
|
CustomPropertyList: ResourceData.CustomProperty[];
|
|
12
13
|
GroupList: ResourceData.Group[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @module ResourceDataQuery */
|
|
2
|
-
export type ResourceDataQuerySelector = 'Agent' | 'Asset' | 'AssetAppConfig' | 'Branding' | 'CustomPropertyList' | 'GroupList' | 'MyCompany' | 'MyUser' | 'PagePage' | 'PageVersion' | 'UserList';
|
|
2
|
+
export type ResourceDataQuerySelector = 'Agent' | 'Asset' | 'AssetAppConfig' | 'AssetAppConfigList' | '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
|
|
@@ -47,14 +47,14 @@ interface AgentResourceData {
|
|
|
47
47
|
permissions?: string[];
|
|
48
48
|
publicId: string;
|
|
49
49
|
rateLimiting?: {
|
|
50
|
-
configMqttCommandCounter?: number;
|
|
51
|
-
configMqttCommandLastHit?: string;
|
|
50
|
+
configMqttCommandCounter?: number | null;
|
|
51
|
+
configMqttCommandLastHit?: string | null;
|
|
52
52
|
configMqttCommandLimit?: 'soft' | 'hard' | 'lock' | null;
|
|
53
|
-
configMqttDataCounter?: number;
|
|
54
|
-
configMqttDataLastHit?: string;
|
|
53
|
+
configMqttDataCounter?: number | null;
|
|
54
|
+
configMqttDataLastHit?: string | null;
|
|
55
55
|
configMqttDataLimit?: 'soft' | 'hard' | 'lock' | null;
|
|
56
|
-
configOpenvpnCounter?: number;
|
|
57
|
-
configOpenvpnLastHit?: string;
|
|
56
|
+
configOpenvpnCounter?: number | null;
|
|
57
|
+
configOpenvpnLastHit?: string | null;
|
|
58
58
|
configOpenvpnLimit?: 'soft' | 'hard' | 'lock' | null;
|
|
59
59
|
};
|
|
60
60
|
serialNumber?: string | null;
|
package/package.json
CHANGED