@ixon-cdk/types 1.6.0-next.2 → 1.7.0-next.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-token.d.ts +0 -3
- package/dist/types/ixapi/resources/agent-pull.d.ts +1 -0
- package/dist/types/ixapi/resources/asset.d.ts +7 -0
- package/dist/types/ixapi/resources/data.d.ts +1 -1
- package/dist/types/ixapi/resources/licence-type.d.ts +1 -1
- package/dist/types/ixapi/resources/otp-auth.d.ts +1 -0
- package/dist/types/ixapi/resources/sso-identity-provider.d.ts +1 -1
- package/dist/types/ixapi/resources/user.d.ts +3 -0
- package/dist/types/logging-data/logging-data-client.d.ts +3 -0
- package/dist/types/logging-data/logging-data-query.d.ts +1 -1
- package/dist/types/logging-data/logging-data-value.d.ts +28 -1
- package/dist/types/resource-data/resource-data.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import type { GeoLocation } from './location';
|
|
2
|
-
import type { ResLink } from './res-link';
|
|
3
2
|
import type { SsoAuthentication } from './sso-authentication';
|
|
4
3
|
import type { SsoIdentityProvider } from './sso-identity-provider';
|
|
5
4
|
import type { MyUser } from './user';
|
|
6
5
|
export interface AccessToken {
|
|
7
|
-
company?: ResLink | null;
|
|
8
6
|
created?: {
|
|
9
7
|
ip?: string | null;
|
|
10
8
|
/** I.e. "2019-01-01T12:00:00Z" */
|
|
@@ -27,7 +25,6 @@ export interface AccessTokenSsoCreate extends AccessTokenCreate {
|
|
|
27
25
|
ssoAuthentication: SsoAuthentication;
|
|
28
26
|
}
|
|
29
27
|
export interface AccessTokenCreateResponse {
|
|
30
|
-
company?: ResLink | null;
|
|
31
28
|
/** I.e. "2019-01-01T12:00:00Z" */
|
|
32
29
|
expiresOn: string;
|
|
33
30
|
publicId: string;
|
|
@@ -13,6 +13,8 @@ export interface Asset {
|
|
|
13
13
|
};
|
|
14
14
|
description?: string | null;
|
|
15
15
|
enabled?: boolean;
|
|
16
|
+
isLibraryAsset?: boolean;
|
|
17
|
+
libraryAsset?: ResLink | null;
|
|
16
18
|
memberships?: AssetMembership[];
|
|
17
19
|
name?: string;
|
|
18
20
|
order?: number;
|
|
@@ -21,3 +23,8 @@ export interface Asset {
|
|
|
21
23
|
publicId: string;
|
|
22
24
|
resourceVariant?: AssetType;
|
|
23
25
|
}
|
|
26
|
+
export interface AssetInstanceCreate {
|
|
27
|
+
libraryAsset: ResLink;
|
|
28
|
+
order?: number;
|
|
29
|
+
parent: ResLink;
|
|
30
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type LicenceTypeScope = 'agent' | 'company';
|
|
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' | 'landing-page' | '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';
|
|
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' | 'landing-page' | 'live-data' | 'logging' | 'main-pages' | 'm2m-cloud-cluster' | 'mobile-app' | 'mqtt-device' | 'object-storage' | 'premium-branding' | 'remote-access' | 'reporting' | 'sla' | 'subgroups' | 'temporary-access' | 'vpn-access-rule' | 'vpn-usage';
|
|
3
3
|
export interface LicenceType {
|
|
4
4
|
companyLimit?: number | null;
|
|
5
5
|
publicId: string;
|
|
@@ -44,6 +44,8 @@ export interface MyUser {
|
|
|
44
44
|
* }
|
|
45
45
|
*/
|
|
46
46
|
glbPrtDeviceViewSettings?: string;
|
|
47
|
+
/** JSON Object with timestamp of when the user skipped OTP setup, For example: "2019-01-01T12:00:00Z" */
|
|
48
|
+
glbSkippedOtpSetupOn?: string;
|
|
47
49
|
/** JSON Object with starred agents per company, For example: { "1111-2222-3333-4444-5555": ["ixagent00001", "ixagent00003"]} */
|
|
48
50
|
glbStarred?: string;
|
|
49
51
|
};
|
|
@@ -57,6 +59,7 @@ export interface MyUser {
|
|
|
57
59
|
localisation?: string | null;
|
|
58
60
|
name?: string;
|
|
59
61
|
otpAuth?: OtpAuth | null;
|
|
62
|
+
phoneNumber?: string | null;
|
|
60
63
|
publicId: string;
|
|
61
64
|
/** For example 2019-01-01T12:00:00Z */
|
|
62
65
|
registeredOn?: string;
|
|
@@ -3,6 +3,9 @@ import type { LoggingDataBlob } from './logging-data-blob';
|
|
|
3
3
|
import type { LoggingDataMetric } from './logging-data-metric';
|
|
4
4
|
import type { LoggingDataQuery } from './logging-data-query';
|
|
5
5
|
import type { LoggingDataQueryOptions } from './logging-data-query-options';
|
|
6
|
+
/**
|
|
7
|
+
* Client to query historical logging data and live logging data.
|
|
8
|
+
*/
|
|
6
9
|
export interface LoggingDataClient {
|
|
7
10
|
/**
|
|
8
11
|
* Destroy the client. Always call this when the client is not used anymore. When the context is
|
|
@@ -1,10 +1,37 @@
|
|
|
1
1
|
/** @module LoggingDataValue */
|
|
2
2
|
export interface LoggingDataValue {
|
|
3
|
+
/**
|
|
4
|
+
* Set the amount of decimals used when using `toString`
|
|
5
|
+
*
|
|
6
|
+
* @param newDecimals amount of decimals to use
|
|
7
|
+
*/
|
|
3
8
|
setDecimals(newDecimals: number): void;
|
|
4
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Set the value factor
|
|
11
|
+
*
|
|
12
|
+
* This method only has effect on `getFactor`
|
|
13
|
+
*
|
|
14
|
+
* @deprecated This method does not change the value. A new query should be
|
|
15
|
+
* created with the new factor
|
|
16
|
+
*/
|
|
5
17
|
setFactor(newFactor: number): void;
|
|
18
|
+
/**
|
|
19
|
+
* Overwrite the unit of measurement. Use in `toString`
|
|
20
|
+
*
|
|
21
|
+
* @param newUnit new unit to use
|
|
22
|
+
*/
|
|
6
23
|
setUnit(newUnit: string): void;
|
|
24
|
+
/**
|
|
25
|
+
* Get the values unit of measurement
|
|
26
|
+
*/
|
|
7
27
|
getUnit(): string;
|
|
28
|
+
/**
|
|
29
|
+
* Get the raw data value
|
|
30
|
+
*/
|
|
8
31
|
getValue(): boolean | number | string | null;
|
|
32
|
+
/**
|
|
33
|
+
* Get a pretty printed version of the data value. This includes the unit and
|
|
34
|
+
* uses the set amount of decimals
|
|
35
|
+
*/
|
|
9
36
|
toString(): string;
|
|
10
37
|
}
|