@ixon-cdk/types 1.6.0-next.1 → 1.6.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.
@@ -1,5 +1,6 @@
1
1
  import type { GeoLocation } from './location';
2
2
  import type { SsoAuthentication } from './sso-authentication';
3
+ import type { SsoIdentityProvider } from './sso-identity-provider';
3
4
  import type { MyUser } from './user';
4
5
  export interface AccessToken {
5
6
  created?: {
@@ -13,6 +14,7 @@ export interface AccessToken {
13
14
  geoLocation?: GeoLocation | null;
14
15
  publicId: string;
15
16
  scope?: AccessTokenScopesUnion;
17
+ ssoIdentityProvider?: SsoIdentityProvider | null;
16
18
  }
17
19
  export interface AccessTokenCreate {
18
20
  /** In seconds. */
@@ -27,6 +29,7 @@ export interface AccessTokenCreateResponse {
27
29
  expiresOn: string;
28
30
  publicId: string;
29
31
  secretId: string;
32
+ ssoIdentityProvider?: SsoIdentityProvider | null;
30
33
  user: MyUser;
31
34
  }
32
35
  export interface AccessTokenScopeUnrestricted {
@@ -3,6 +3,7 @@ export interface OtpAuth {
3
3
  registeredOn?: string | null;
4
4
  required?: boolean;
5
5
  tokenExpiresOn?: string | null;
6
+ type?: 'app' | 'sms' | null;
6
7
  }
7
8
  export interface OtpAuthEnableResponse {
8
9
  secret: string;
@@ -1,6 +1,6 @@
1
1
  import type { ResLink } from './res-link';
2
2
  export interface SsoIdentityProvider {
3
- company?: ResLink | null;
3
+ companies?: ResLink[];
4
4
  logo?: string | null;
5
5
  name?: string;
6
6
  publicId: string;
@@ -57,6 +57,7 @@ export interface MyUser {
57
57
  localisation?: string | null;
58
58
  name?: string;
59
59
  otpAuth?: OtpAuth | null;
60
+ phoneNumber?: string | null;
60
61
  publicId: string;
61
62
  /** For example 2019-01-01T12:00:00Z */
62
63
  registeredOn?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/types",
3
- "version": "1.6.0-next.1",
3
+ "version": "1.6.0",
4
4
  "description": "",
5
5
  "main": "./dist/component-devkit/src/types/src/index.d.ts",
6
6
  "author": "",