@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.
- package/README.md +1 -1
- package/dist/component-devkit/src/types/src/index.d.ts +2 -0
- package/dist/types/component-context/index.d.ts +20 -17
- package/dist/types/component-context/input.d.ts +4 -2
- package/dist/types/ixapi/resources/access-recover.d.ts +10 -0
- package/dist/types/ixapi/resources/access-token.d.ts +29 -0
- package/dist/types/ixapi/resources/agent-activate.d.ts +9 -0
- package/dist/types/ixapi/resources/agent-config.d.ts +127 -0
- package/dist/types/ixapi/resources/agent-data-alarm.d.ts +44 -0
- package/dist/types/ixapi/resources/agent-data-alarming-app.d.ts +7 -0
- package/dist/types/ixapi/resources/agent-data-condition.d.ts +11 -0
- package/dist/types/ixapi/resources/agent-data-logging-app.d.ts +7 -0
- package/dist/types/ixapi/resources/agent-data-monitor.d.ts +6 -0
- package/dist/types/ixapi/resources/agent-data-report.d.ts +8 -0
- package/dist/types/ixapi/resources/agent-data-source.d.ts +16 -0
- package/dist/types/ixapi/resources/agent-data-tag.d.ts +22 -0
- package/dist/types/ixapi/resources/agent-data-variable.d.ts +24 -0
- package/dist/types/ixapi/resources/agent-device.d.ts +11 -0
- package/dist/types/ixapi/resources/agent-mdr-server.d.ts +4 -0
- package/dist/types/ixapi/resources/agent-membership.d.ts +6 -0
- package/dist/types/ixapi/resources/agent-network-value.d.ts +5 -0
- package/dist/types/ixapi/resources/agent-pull.d.ts +4 -0
- package/dist/types/ixapi/resources/agent-queue-report.d.ts +17 -0
- package/dist/types/ixapi/resources/agent-registration-profile-membership.d.ts +7 -0
- package/dist/types/ixapi/resources/agent-registration-profile.d.ts +9 -0
- package/dist/types/ixapi/resources/agent-router-lan-wan-access-rule.d.ts +11 -0
- package/dist/types/ixapi/resources/agent-router-vpn-access-rule.d.ts +8 -0
- package/dist/types/ixapi/resources/agent-router-vpn-config.d.ts +5 -0
- package/dist/types/ixapi/resources/agent-server.d.ts +26 -0
- package/dist/types/ixapi/resources/agent-template.d.ts +4 -0
- package/dist/types/ixapi/resources/agent-type-file.d.ts +10 -0
- package/dist/types/ixapi/resources/agent-type.d.ts +24 -0
- package/dist/types/ixapi/resources/agent.d.ts +152 -0
- package/dist/types/ixapi/resources/alarming-app.d.ts +5 -0
- package/dist/types/ixapi/resources/app-config.d.ts +4 -0
- package/dist/types/ixapi/resources/asset-app-config.d.ts +8 -0
- package/dist/types/ixapi/resources/asset-membership.d.ts +6 -0
- package/dist/types/ixapi/resources/asset-type.d.ts +5 -0
- package/dist/types/ixapi/resources/asset.d.ts +22 -0
- package/dist/types/ixapi/resources/audience.d.ts +6 -0
- package/dist/types/ixapi/resources/audit-log.d.ts +20 -0
- package/dist/types/ixapi/resources/auth-token.d.ts +5 -0
- package/dist/types/ixapi/resources/backend-component-function.d.ts +10 -0
- package/dist/types/ixapi/resources/backend-component-template-config.d.ts +10 -0
- package/dist/types/ixapi/resources/backend-component-template-share.d.ts +5 -0
- package/dist/types/ixapi/resources/backend-component-template-version.d.ts +16 -0
- package/dist/types/ixapi/resources/backend-component-template.d.ts +11 -0
- package/dist/types/ixapi/resources/branding.d.ts +27 -0
- package/dist/types/ixapi/resources/company.d.ts +56 -0
- package/dist/types/ixapi/resources/component-input.d.ts +33 -0
- package/dist/types/ixapi/resources/custom-property.d.ts +47 -0
- package/dist/types/ixapi/resources/data-protocol-applied.d.ts +72 -0
- package/dist/types/ixapi/resources/data-protocol.d.ts +17 -0
- package/dist/types/ixapi/resources/data.d.ts +43 -0
- package/dist/types/ixapi/resources/demo-device.d.ts +8 -0
- package/dist/types/ixapi/resources/discovery.d.ts +4 -0
- package/dist/types/ixapi/resources/email-address-change.d.ts +9 -0
- package/dist/types/ixapi/resources/file.d.ts +4 -0
- package/dist/types/ixapi/resources/group-role.d.ts +6 -0
- package/dist/types/ixapi/resources/group-type.d.ts +6 -0
- package/dist/types/ixapi/resources/group.d.ts +12 -0
- package/dist/types/ixapi/resources/historical-data-usage.d.ts +3 -0
- package/dist/types/ixapi/resources/index.d.ts +106 -0
- package/dist/types/ixapi/resources/invite.d.ts +25 -0
- package/dist/types/ixapi/resources/label.d.ts +7 -0
- package/dist/types/ixapi/resources/licence-bundle.d.ts +10 -0
- package/dist/types/ixapi/resources/licence-type.d.ts +13 -0
- package/dist/types/ixapi/resources/licence.d.ts +27 -0
- package/dist/types/ixapi/resources/location.d.ts +11 -0
- package/dist/types/ixapi/resources/logging-app.d.ts +5 -0
- package/dist/types/ixapi/resources/lsi-server.d.ts +4 -0
- package/dist/types/ixapi/resources/menu-item.d.ts +8 -0
- package/dist/types/ixapi/resources/message-filter.d.ts +18 -0
- package/dist/types/ixapi/resources/message.d.ts +35 -0
- package/dist/types/ixapi/resources/mqtt-broker-client.d.ts +11 -0
- package/dist/types/ixapi/resources/mqtt-broker.d.ts +12 -0
- package/dist/types/ixapi/resources/object-storage.d.ts +40 -0
- package/dist/types/ixapi/resources/otp-auth.d.ts +13 -0
- package/dist/types/ixapi/resources/page-component-template-category.d.ts +5 -0
- package/dist/types/ixapi/resources/page-component-template-config.d.ts +7 -0
- package/dist/types/ixapi/resources/page-component-template-manifest.d.ts +57 -0
- package/dist/types/ixapi/resources/page-component-template-version.d.ts +10 -0
- package/dist/types/ixapi/resources/page-component-template.d.ts +25 -0
- package/dist/types/ixapi/resources/page-component.d.ts +44 -0
- package/dist/types/ixapi/resources/page-link-group.d.ts +7 -0
- package/dist/types/ixapi/resources/page-link.d.ts +12 -0
- package/dist/types/ixapi/resources/page-page.d.ts +6 -0
- package/dist/types/ixapi/resources/page-version.d.ts +22 -0
- package/dist/types/ixapi/resources/page.d.ts +17 -0
- package/dist/types/ixapi/resources/password-change.d.ts +5 -0
- package/dist/types/ixapi/resources/permission.d.ts +3 -0
- package/dist/types/ixapi/resources/platform-server.d.ts +8 -0
- package/dist/types/ixapi/resources/policy.d.ts +23 -0
- package/dist/types/ixapi/resources/registration.d.ts +26 -0
- package/dist/types/ixapi/resources/report-schedule.d.ts +38 -0
- package/dist/types/ixapi/resources/res-link.d.ts +6 -0
- package/dist/types/ixapi/resources/role.d.ts +9 -0
- package/dist/types/ixapi/resources/rsc-server.d.ts +6 -0
- package/dist/types/ixapi/resources/sector.d.ts +31 -0
- package/dist/types/ixapi/resources/sso-authentication.d.ts +12 -0
- package/dist/types/ixapi/resources/sso-identity-provider.d.ts +7 -0
- package/dist/types/ixapi/resources/support-access.d.ts +5 -0
- package/dist/types/ixapi/resources/translation.d.ts +7 -0
- package/dist/types/ixapi/resources/user-membership.d.ts +11 -0
- package/dist/types/ixapi/resources/user-push-device.d.ts +10 -0
- package/dist/types/ixapi/resources/user.d.ts +55 -0
- package/dist/types/ixapi/resources/vpn-protocol.d.ts +1 -0
- package/dist/types/ixapi/resources/vpn-usage.d.ts +11 -0
- package/dist/types/ixapi/resources/web-access.d.ts +3 -0
- package/dist/types/ixapi/resources/webhook-subscription.d.ts +7 -0
- package/dist/types/ixapi/resources/webhook-trigger.d.ts +12 -0
- package/dist/types/logging-data/logging-data-value.d.ts +1 -0
- package/dist/types/object-storage/index.d.ts +1 -0
- package/dist/types/object-storage/object-storage-client.d.ts +58 -0
- package/dist/types/resource-data/resource-data-client.d.ts +4 -0
- 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,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,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,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,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';
|
|
@@ -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.
|