@omnia/fx-models 8.0.68-dev → 8.0.69-dev

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/apps/App.d.ts CHANGED
@@ -113,6 +113,7 @@ export interface AppInstancePropertiesStorage {
113
113
  [name: string]: unknown;
114
114
  omniaPath?: string;
115
115
  omniaRoutePrefix?: string;
116
+ analyticsEnabled?: boolean;
116
117
  }
117
118
  export interface AppInstanceOutput {
118
119
  absoluteAppUrl: string;
@@ -1,14 +1,14 @@
1
1
  import { BusinessProfileProperty } from "../BusinessProfile";
2
2
  import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
3
- import { AnonymousAccessType } from "../auth";
3
+ import { AnonymousAccessType, LoginProvider } from "../auth";
4
4
  export declare class BusinessProfileAuthenticationSettings extends BusinessProfileProperty implements IBusinessProfileAuthenticationSettings {
5
5
  constructor();
6
- defaultLoginProvider?: GuidValue;
6
+ defaultLoginProvider?: LoginProvider;
7
7
  anonymousAccess: AnonymousAccessType;
8
8
  anonymousAppInstance?: GuidValue;
9
9
  }
10
10
  export interface IBusinessProfileAuthenticationSettings {
11
- defaultLoginProvider?: GuidValue;
11
+ defaultLoginProvider?: LoginProvider;
12
12
  anonymousAccess: AnonymousAccessType;
13
13
  anonymousAppInstance?: GuidValue;
14
14
  }
@@ -39,10 +39,14 @@ export interface IdentityCreationRequestUpdate {
39
39
  isEmailConfirmed: boolean;
40
40
  authenticationInformation: UserAuthenticationInformation;
41
41
  }
42
+ export interface IdentityEmailConfirmationRequest {
43
+ id: GuidValue;
44
+ magicLinkPublicKey: string;
45
+ }
42
46
  export declare enum ApprovalState {
43
- Approved = 0,
47
+ Pending = 0,
44
48
  Rejected = 1,
45
- Pending = 2
49
+ Approved = 2
46
50
  }
47
51
  export interface IdentityCreationRequestConfirmEmailResult {
48
52
  result: ConfirmEmailStatus;
@@ -11,9 +11,9 @@ var ConfirmEmailStatus;
11
11
  })(ConfirmEmailStatus || (exports.ConfirmEmailStatus = ConfirmEmailStatus = {}));
12
12
  var ApprovalState;
13
13
  (function (ApprovalState) {
14
- ApprovalState[ApprovalState["Approved"] = 0] = "Approved";
14
+ ApprovalState[ApprovalState["Pending"] = 0] = "Pending";
15
15
  ApprovalState[ApprovalState["Rejected"] = 1] = "Rejected";
16
- ApprovalState[ApprovalState["Pending"] = 2] = "Pending";
16
+ ApprovalState[ApprovalState["Approved"] = 2] = "Approved";
17
17
  })(ApprovalState || (exports.ApprovalState = ApprovalState = {}));
18
18
  class IdentityCreationRequestSettings {
19
19
  constructor() {
@@ -83,4 +83,9 @@ export interface UserAuthenticationInformation {
83
83
  validFrom?: Date;
84
84
  validTo?: Date;
85
85
  }
86
+ export interface UserAddWithAuthInfoReponse {
87
+ user: ResolvedUserIdentity;
88
+ setupAuthLink: string;
89
+ emailSent: boolean;
90
+ }
86
91
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.68-dev",
4
+ "version": "8.0.69-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -0,0 +1,9 @@
1
+ import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models/Guid";
2
+ import { PropertyDataSourceId } from "./DataSourceId";
3
+ import { DataSourceProperty } from "./DataSourceProperty";
4
+ export declare class AppDataSourceProperty extends DataSourceProperty {
5
+ readonly enterprisePropertyDefinitionId?: GuidValue;
6
+ readonly builtInId?: GuidValue;
7
+ readonly builtInInternalName?: string;
8
+ constructor(dataSourceId: PropertyDataSourceId, enterprisePropertyDefinitionId?: GuidValue, builtInId?: GuidValue, builtInInternalName?: string);
9
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AppDataSourceProperty = void 0;
4
+ const DataSourceProperty_1 = require("./DataSourceProperty");
5
+ class AppDataSourceProperty extends DataSourceProperty_1.DataSourceProperty {
6
+ constructor(dataSourceId, enterprisePropertyDefinitionId, builtInId, builtInInternalName) {
7
+ super(dataSourceId);
8
+ this.enterprisePropertyDefinitionId = enterprisePropertyDefinitionId;
9
+ this.builtInId = builtInId;
10
+ this.builtInInternalName = builtInInternalName;
11
+ }
12
+ }
13
+ exports.AppDataSourceProperty = AppDataSourceProperty;
@@ -1,6 +1,5 @@
1
1
  import { PropertyDataSourceId } from "./DataSourceId";
2
2
  export declare abstract class DataSourceProperty {
3
3
  readonly dataSourceId: PropertyDataSourceId;
4
- abstract isEqual: (property: DataSourceProperty) => boolean;
5
4
  constructor(dataSourceId: PropertyDataSourceId);
6
5
  }
@@ -1,4 +1,5 @@
1
1
  export * from "./DataSourceProperty";
2
2
  export * from "./DataSourceId";
3
3
  export * from "./DataSourcePropertyDisplayInformation";
4
+ export * from "./AppDataSourceProperty";
4
5
  export * from "./UserDataSourceProperty";
@@ -4,4 +4,5 @@ const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./DataSourceProperty"), exports);
5
5
  tslib_1.__exportStar(require("./DataSourceId"), exports);
6
6
  tslib_1.__exportStar(require("./DataSourcePropertyDisplayInformation"), exports);
7
+ tslib_1.__exportStar(require("./AppDataSourceProperty"), exports);
7
8
  tslib_1.__exportStar(require("./UserDataSourceProperty"), exports);