@ixon-cdk/types 1.4.0-next.1 → 1.4.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.
@@ -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
  }
@@ -16,12 +16,13 @@ export interface Branding {
16
16
  theme?: BrandingTheme | null;
17
17
  }
18
18
  export interface BrandingTheme {
19
- accentColor?: string;
20
- accentTextColor?: string;
21
- dark?: boolean;
22
- headerColor?: string;
23
- headerLineColor?: string;
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
- publicId: string;
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
- /** Defaults to 2 */
17
+ /** Default is 2 */
18
18
  decimals?: number;
19
- /** Defaults to false */
19
+ /** Default is false */
20
20
  extendedBoundary?: boolean;
21
21
  factor?: number;
22
- /** Defaults to 5000 */
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;
@@ -1,4 +1,4 @@
1
1
  export interface Discovery {
2
- rel: string;
3
2
  href: string;
3
+ rel: string;
4
4
  }
@@ -1,6 +1,6 @@
1
- import type { ResLink } from './res-link';
1
+ import type { Group } from './group';
2
2
  import type { Role } from './role';
3
3
  export interface GroupRole {
4
- group: ResLink | null;
4
+ group: Group | null;
5
5
  roles: Role[];
6
6
  }
@@ -1,4 +1,5 @@
1
1
  export interface GroupType {
2
+ custom?: {};
2
3
  description?: string | null;
3
4
  name?: string;
4
5
  order?: number;
@@ -2,6 +2,7 @@ import type { GroupType } from './group-type';
2
2
  import type { ResLink } from './res-link';
3
3
  export interface Group {
4
4
  agent?: ResLink | null;
5
+ custom?: {};
5
6
  isCompanyGroup?: boolean;
6
7
  managedBy?: ManagedByGroup | null;
7
8
  name?: string | null;
@@ -89,6 +89,7 @@ export * from './permission';
89
89
  export * from './platform-server';
90
90
  export * from './policy';
91
91
  export * from './registration';
92
+ export * from './report-recurrence';
92
93
  export * from './report-schedule';
93
94
  export * from './res-link';
94
95
  export * from './role';
@@ -1,6 +1,8 @@
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?: ResLink | null;
5
+ boundVersion?: PageComponentTemplateVersion | null;
4
6
  /** @deprecated Switch to dimensions! */
5
7
  cols?: number;
6
8
  dimensions?: PageComponentDimensionsUnion;
@@ -9,7 +11,7 @@ export interface PageComponent {
9
11
  left?: number;
10
12
  /** @deprecated Switch to dimensions! */
11
13
  mobileHeight?: number | null;
12
- pagePage?: ResLink;
14
+ pagePage?: PagePage | null;
13
15
  pageVersion?: ResLink;
14
16
  publicId: string;
15
17
  /** @deprecated Switch to dimensions! */
@@ -9,6 +9,7 @@ export interface PageVersion {
9
9
  /** String reference for a material design named icon. */
10
10
  glbMatIcon?: string;
11
11
  };
12
+ defaultRefreshRate?: number | null;
12
13
  page?: ResLink;
13
14
  periodSelectorEnabled?: boolean;
14
15
  periodSpec?: string | null;
@@ -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
- /** Defaults to "sheet" */
5
+ /** Default is "sheet" */
6
6
  applicationType?: PageApplicationType;
7
7
  company?: ResLink | null;
8
8
  custom?: {};
@@ -1,3 +1,4 @@
1
1
  export interface Permission {
2
+ custom?: {};
2
3
  publicId: string;
3
4
  }
@@ -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';
@@ -2,6 +2,8 @@ import type { Audience } from './audience';
2
2
  import type { Permission } from './permission';
3
3
  export interface Role {
4
4
  audiences?: Audience[];
5
+ custom?: {};
6
+ description?: string | null;
5
7
  enforce2fa?: boolean;
6
8
  name?: string;
7
9
  permissions?: Permission[];
@@ -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,5 +1,6 @@
1
1
  export interface SupportAccess {
2
- expiresOn?: string /** "2021-01-01T12:00:00Z" */;
3
2
  caseNumber?: string;
3
+ /** I.e. "2019-01-01T12:00:00Z" */
4
+ expiresOn?: string;
4
5
  message?: string;
5
6
  }
@@ -22,6 +22,15 @@ export interface MyUser {
22
22
  custom?: {
23
23
  /** JSON Object with user columns per company, For example: { "1111-2222-3333-4444-5555": ["status", "name", "lastOnline"]} */
24
24
  glbFltDeviceTableCols?: string;
25
+ /** JSON Object with view settings per company,
26
+ * For example:
27
+ * {
28
+ * "1111-2222-3333-4444-5555": {
29
+ * "devices": {sort: {"field": "name", "direction": "asc"}}, "assets": {sort: {"field": "name", "direction": "asc"}}, "deviceTemplates": {sort: {"field": "name", "direction": "asc"}}, "registrationProfiles": {sort: {"field": "name", "direction": "asc"}},
30
+ * }
31
+ * }
32
+ */
33
+ glbFltViewSettings?: string;
25
34
  /** JSON Object with user columns per company, For example: { "1111-2222-3333-4444-5555": ["status", "name", "lastOnline"]} */
26
35
  glbPrtDeviceTableCols?: string;
27
36
  /** JSON Object with view settings per company,
@@ -2,10 +2,10 @@ export interface VpnUsage {
2
2
  bytesReceived: number;
3
3
  bytesSent: number;
4
4
  /** value between 1-31 */
5
- day?: number;
5
+ day: number | null;
6
6
  /** value between 0-23 */
7
- hour?: number;
8
- year: number;
7
+ hour: number | null;
9
8
  /** value between 1-12 */
10
- month?: number;
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
- status?: WebhookTriggerStatus;
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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/types",
3
- "version": "1.4.0-next.1",
3
+ "version": "1.4.0-next.2",
4
4
  "description": "",
5
5
  "main": "./dist/component-devkit/src/types/src/index.d.ts",
6
6
  "author": "",