@omnia/fx-models 8.0.96-dev → 8.0.97-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.
@@ -0,0 +1,8 @@
1
+ export declare const AuthenticationLayoutProvider: IAuthenticationLayoutProvider;
2
+ export interface IAuthenticationLayoutProvider {
3
+ authenticationLayout: string;
4
+ }
5
+ declare module "@omnia/fx-models" {
6
+ interface ILayoutDependencyProvider extends IAuthenticationLayoutProvider {
7
+ }
8
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthenticationLayoutProvider = void 0;
4
+ exports.AuthenticationLayoutProvider = {
5
+ authenticationLayout: "authenticationLayout"
6
+ };
package/Constants.d.ts CHANGED
@@ -225,11 +225,15 @@ export declare const Constants: {
225
225
  token: string;
226
226
  };
227
227
  layoutTypeIds: {
228
- signIn: Guid;
228
+ authentication: Guid;
229
229
  userTypePublic: Guid;
230
230
  userTypePrivate: Guid;
231
+ system: Guid;
231
232
  };
232
233
  statusCodeLayout: {
233
234
  settingKey: string;
234
235
  };
236
+ systemLayout: {
237
+ settingKey: string;
238
+ };
235
239
  };
package/Constants.js CHANGED
@@ -37,7 +37,7 @@ exports.Constants = {
37
37
  selectedValuesAreaPosition: filterengine_1.FilterEngineDefaultPosition.Top,
38
38
  selectedDialogPosition: sidepanel_1.SidePanelPosition.Right,
39
39
  showPropertyLabel: false,
40
- maxVisibleSelections: 0,
40
+ maxVisibleSelections: 1,
41
41
  outlinedStyle: false,
42
42
  roundedStyle: false,
43
43
  filledStyle: true,
@@ -260,11 +260,15 @@ exports.Constants = {
260
260
  token: "{Text}"
261
261
  },
262
262
  layoutTypeIds: {
263
- signIn: new models_1.Guid("736b3eeb-6376-4e21-9ded-0ee6e4b63707"),
263
+ authentication: new models_1.Guid("736b3eeb-6376-4e21-9ded-0ee6e4b63707"),
264
264
  userTypePublic: new models_1.Guid("a6d64433-ec96-4006-9ea7-ba68222d1095"),
265
- userTypePrivate: new models_1.Guid("8491ce70-2349-4a35-adb9-72ea520e6716")
265
+ userTypePrivate: new models_1.Guid("8491ce70-2349-4a35-adb9-72ea520e6716"),
266
+ system: new models_1.Guid("2cf7033c-0f65-4a65-9ce7-489b00835361")
266
267
  },
267
268
  statusCodeLayout: {
268
269
  settingKey: "omnia.httpstatuscode.layout",
270
+ },
271
+ systemLayout: {
272
+ settingKey: "omnia.system.layout"
269
273
  }
270
274
  };
package/Enums.d.ts CHANGED
@@ -524,7 +524,14 @@ export declare enum ThemeType {
524
524
  * The endpoints can be used directly in href without any context value
525
525
  * */
526
526
  export declare enum StaticEndpoint {
527
- SignOut = "/signout"
527
+ Logout = "/logout",
528
+ AuthSetup = "/authsetup",
529
+ Login = "/login",
530
+ RequestAccount = "/requestaccount",
531
+ MagicLinkLogin = "/api/magiclink/complete",
532
+ MagicLinkSuccess = "/api/magiclink/success",
533
+ MagicLinkFailure = "/api/magiclink/failure",
534
+ MagicLink = "/api/magiclink"
528
535
  }
529
536
  export declare enum QueueMessageStatus {
530
537
  Unassigned = 0,
package/Enums.js CHANGED
@@ -435,7 +435,14 @@ var ThemeType;
435
435
  * */
436
436
  var StaticEndpoint;
437
437
  (function (StaticEndpoint) {
438
- StaticEndpoint["SignOut"] = "/signout";
438
+ StaticEndpoint["Logout"] = "/logout";
439
+ StaticEndpoint["AuthSetup"] = "/authsetup";
440
+ StaticEndpoint["Login"] = "/login";
441
+ StaticEndpoint["RequestAccount"] = "/requestaccount";
442
+ StaticEndpoint["MagicLinkLogin"] = "/api/magiclink/complete";
443
+ StaticEndpoint["MagicLinkSuccess"] = "/api/magiclink/success";
444
+ StaticEndpoint["MagicLinkFailure"] = "/api/magiclink/failure";
445
+ StaticEndpoint["MagicLink"] = "/api/magiclink";
439
446
  })(StaticEndpoint || (exports.StaticEndpoint = StaticEndpoint = {}));
440
447
  var QueueMessageStatus;
441
448
  (function (QueueMessageStatus) {
package/Exposes.d.ts CHANGED
@@ -22,6 +22,7 @@ export * from "./MicrosoftStreamModel";
22
22
  export * from "./WebImage";
23
23
  export * from "./Theming";
24
24
  export * from "./ExternalLayoutProvider";
25
+ export * from "./AuthenticationLayout";
25
26
  export * from "./NamedProperty";
26
27
  export * from "./ServiceParam";
27
28
  export * from "./Feature";
@@ -129,7 +130,7 @@ export * from "./mediaflow";
129
130
  export * from "./media-gallery";
130
131
  export * from "./omniasearch";
131
132
  export * from "./businessprofilesettings";
132
- export * from "./signin";
133
+ export * from "./authentication";
133
134
  export * from "./bulkimportusers";
134
135
  export * from "./linkstatus";
135
136
  export * from "./statuscodelayout";
package/Exposes.js CHANGED
@@ -29,6 +29,7 @@ tslib_1.__exportStar(require("./MicrosoftStreamModel"), exports);
29
29
  tslib_1.__exportStar(require("./WebImage"), exports);
30
30
  tslib_1.__exportStar(require("./Theming"), exports);
31
31
  tslib_1.__exportStar(require("./ExternalLayoutProvider"), exports);
32
+ tslib_1.__exportStar(require("./AuthenticationLayout"), exports);
32
33
  tslib_1.__exportStar(require("./NamedProperty"), exports);
33
34
  tslib_1.__exportStar(require("./ServiceParam"), exports);
34
35
  tslib_1.__exportStar(require("./Feature"), exports);
@@ -141,7 +142,7 @@ tslib_1.__exportStar(require("./mediaflow"), exports);
141
142
  tslib_1.__exportStar(require("./media-gallery"), exports);
142
143
  tslib_1.__exportStar(require("./omniasearch"), exports);
143
144
  tslib_1.__exportStar(require("./businessprofilesettings"), exports);
144
- tslib_1.__exportStar(require("./signin"), exports);
145
+ tslib_1.__exportStar(require("./authentication"), exports);
145
146
  tslib_1.__exportStar(require("./bulkimportusers"), exports);
146
147
  tslib_1.__exportStar(require("./linkstatus"), exports);
147
148
  tslib_1.__exportStar(require("./statuscodelayout"), exports);
package/ManifestIds.d.ts CHANGED
@@ -13,6 +13,7 @@ export declare class OmniaGroupManifests {
13
13
  static get LayoutCanvasGroup(): Guid;
14
14
  }
15
15
  export declare class OmniaResourceManifests {
16
+ static get SplitPaneLib(): Guid;
16
17
  static get ProsemirrorPackage(): Guid;
17
18
  static get AuthSetupCore(): Guid;
18
19
  static get LayoutCanvasShared(): Guid;
@@ -66,6 +67,7 @@ export declare class OmniaResourceManifests {
66
67
  static get SpfxWebpart(): Guid;
67
68
  static get FxUxVuetifySwitch(): Guid;
68
69
  static get FxUx(): Guid;
70
+ static get FxUxLibs(): Guid;
69
71
  static get FxUxVDialog(): Guid;
70
72
  static get FxUxVuetifyAvatar(): Guid;
71
73
  static get FxUxVTreeView(): Guid;
@@ -135,12 +137,13 @@ export declare class OmniaResourceManifests {
135
137
  export declare class OmniaWebComponentManifests {
136
138
  static get JourneyBladeComponent(): Guid;
137
139
  static get AuthSetup(): Guid;
138
- static get SignInBlock(): Guid;
139
- static get SignInCore(): Guid;
140
- static get SignInOmniaRenderer(): Guid;
141
- static get SignInIdentityCreationRequestRenderer(): Guid;
142
- static get SignOut(): Guid;
143
- static get MagicLinkSignIn(): Guid;
140
+ static get AuthenticationBlock(): Guid;
141
+ static get AuthenticationCore(): Guid;
142
+ static get LoginOmniaView(): Guid;
143
+ static get LoginOmniaRenderer(): Guid;
144
+ static get LoginIdentityCreationRequestRenderer(): Guid;
145
+ static get Logout(): Guid;
146
+ static get MagicLinkLogin(): Guid;
144
147
  static get MagicLinkSuccess(): Guid;
145
148
  static get MagicLinkFailure(): Guid;
146
149
  static get LayoutRendererCanvas(): Guid;
package/ManifestIds.js CHANGED
@@ -36,6 +36,9 @@ class OmniaGroupManifests {
36
36
  }
37
37
  exports.OmniaGroupManifests = OmniaGroupManifests;
38
38
  class OmniaResourceManifests {
39
+ static get SplitPaneLib() {
40
+ return new models_1.Guid("6db9b7b1-bb33-40dd-b88c-f71057793666");
41
+ }
39
42
  static get ProsemirrorPackage() {
40
43
  return new models_1.Guid("3fa51aee-4528-4427-8ad5-376c94724d01");
41
44
  }
@@ -224,6 +227,9 @@ class OmniaResourceManifests {
224
227
  static get FxUx() {
225
228
  return new models_1.Guid("dee030cc-4ab3-4158-bb06-8049f5c67542");
226
229
  }
230
+ static get FxUxLibs() {
231
+ return new models_1.Guid("0fe5c5f2-8d89-485b-afd4-36fe3ff5943a");
232
+ }
227
233
  static get FxUxVDialog() {
228
234
  return new models_1.Guid("0bf6198c-32c6-4cec-90bd-7988a979c9b0");
229
235
  }
@@ -426,22 +432,25 @@ class OmniaWebComponentManifests {
426
432
  static get AuthSetup() {
427
433
  return new models_1.Guid("e4889269-c6ad-440d-a65f-3acdf5bb6152");
428
434
  }
429
- static get SignInBlock() {
430
- return new models_1.Guid("e4b25c06-803a-417a-9c4a-a4b7280a599b");
435
+ static get AuthenticationBlock() {
436
+ return new models_1.Guid("b273791e-a562-4033-97cd-c0a1c0f907cb");
431
437
  }
432
- static get SignInCore() {
438
+ static get AuthenticationCore() {
433
439
  return new models_1.Guid("21a9b2ca-f7c1-44b8-b744-5b0a9bcf99d0");
434
440
  }
435
- static get SignInOmniaRenderer() {
441
+ static get LoginOmniaView() {
442
+ return new models_1.Guid("535ac075-2846-46ec-a569-a78457213e6f");
443
+ }
444
+ static get LoginOmniaRenderer() {
436
445
  return new models_1.Guid("bc3b9409-639d-4582-9a6e-58a4295bc470");
437
446
  }
438
- static get SignInIdentityCreationRequestRenderer() {
447
+ static get LoginIdentityCreationRequestRenderer() {
439
448
  return new models_1.Guid("2B741F02-03A5-4CB5-A7BE-72E204EBECC8");
440
449
  }
441
- static get SignOut() {
450
+ static get Logout() {
442
451
  return new models_1.Guid("f297290b-5ea4-409a-9738-ca880f1ea612");
443
452
  }
444
- static get MagicLinkSignIn() {
453
+ static get MagicLinkLogin() {
445
454
  return new models_1.Guid("106dba3f-206e-4ad7-bbb2-8e574e3da49e");
446
455
  }
447
456
  static get MagicLinkSuccess() {
@@ -0,0 +1,4 @@
1
+ import { VersionedLayoutDefinition } from "../versionedlayout";
2
+ export declare class AuthenticationLayoutDefinition extends VersionedLayoutDefinition {
3
+ constructor();
4
+ }
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SignInLayoutDefinition = void 0;
3
+ exports.AuthenticationLayoutDefinition = void 0;
4
4
  const versionedlayout_1 = require("../versionedlayout");
5
- class SignInLayoutDefinition extends versionedlayout_1.VersionedLayoutDefinition {
5
+ class AuthenticationLayoutDefinition extends versionedlayout_1.VersionedLayoutDefinition {
6
6
  constructor() {
7
7
  super("736b3eeb-6376-4e21-9ded-0ee6e4b63707");
8
8
  }
9
9
  }
10
- exports.SignInLayoutDefinition = SignInLayoutDefinition;
10
+ exports.AuthenticationLayoutDefinition = AuthenticationLayoutDefinition;
@@ -0,0 +1 @@
1
+ export * from "./Authentication";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./SignIn"), exports);
4
+ tslib_1.__exportStar(require("./Authentication"), exports);
@@ -0,0 +1,15 @@
1
+ import { BusinessProfileProperty } from "../BusinessProfile";
2
+ import { VersionedLayoutId } from "../versionedlayout";
3
+ export declare class BusinessProfileAuthenticationScreensSettings extends BusinessProfileProperty implements IBusinessProfileAuthenticationScreensSettings {
4
+ constructor();
5
+ loginScreen: VersionedLayoutId;
6
+ requestAccount: VersionedLayoutId;
7
+ setupAccount: VersionedLayoutId;
8
+ logoutConfirmation: VersionedLayoutId;
9
+ }
10
+ export interface IBusinessProfileAuthenticationScreensSettings {
11
+ loginScreen: VersionedLayoutId;
12
+ requestAccount: VersionedLayoutId;
13
+ setupAccount: VersionedLayoutId;
14
+ logoutConfirmation: VersionedLayoutId;
15
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BusinessProfileAuthenticationScreensSettings = void 0;
4
+ const BusinessProfile_1 = require("../BusinessProfile");
5
+ const ManifestIds_1 = require("../ManifestIds");
6
+ class BusinessProfileAuthenticationScreensSettings extends BusinessProfile_1.BusinessProfileProperty {
7
+ constructor() {
8
+ super(ManifestIds_1.OmniaService.Id, "BusinessProfileAuthenticationScreensSettings");
9
+ }
10
+ }
11
+ exports.BusinessProfileAuthenticationScreensSettings = BusinessProfileAuthenticationScreensSettings;
@@ -1 +1,2 @@
1
1
  export * from "./BusinessProfileAuthenticationSettings";
2
+ export * from "./BusinessProfileAuthenticationScreensSettings";
@@ -2,3 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./BusinessProfileAuthenticationSettings"), exports);
5
+ tslib_1.__exportStar(require("./BusinessProfileAuthenticationScreensSettings"), exports);
@@ -33,6 +33,7 @@ export declare class IdentityCreationRequest extends IdentityCreationRequestBase
33
33
  ownerId: GuidValue;
34
34
  authenticationInformation: UserAuthenticationInformation;
35
35
  captchaResponse: string;
36
+ redirectUrl: string;
36
37
  }
37
38
  export interface IdentityCreationRequestCreatedResponse extends IdentityCreationRequest {
38
39
  magicLinkPublicKey: string;
@@ -47,6 +48,7 @@ export interface IdentityCreationRequestUpdate {
47
48
  export interface IdentityEmailConfirmationRequest {
48
49
  id: GuidValue;
49
50
  magicLinkPublicKey: string;
51
+ redirectUrl: string;
50
52
  }
51
53
  export declare enum ApprovalState {
52
54
  Pending = 0,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.96-dev",
4
+ "version": "8.0.97-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -10,6 +10,11 @@ export interface TenantStatusCodeLayoutSettings {
10
10
  unauthorizedLayout: Layout;
11
11
  notFoundLayout: Layout;
12
12
  }
13
- export interface BusinessProfileStatusCodeLayoutSettings extends TenantStatusCodeLayoutSettings {
13
+ export interface TenantSystemLayoutSettings {
14
+ unauthorizedVersionedLayoutId: number;
15
+ notFoundVersionedLayoutId: number;
16
+ authenticationVersionedLayoutId: number;
17
+ }
18
+ export interface BusinessProfileSystemLayoutSettings extends TenantSystemLayoutSettings {
14
19
  inherit: boolean;
15
20
  }
@@ -1,4 +1,4 @@
1
1
  import { VersionedLayoutDefinition } from "../versionedlayout";
2
- export declare class SignInLayoutDefinition extends VersionedLayoutDefinition {
2
+ export declare class SystemLayoutDefinition extends VersionedLayoutDefinition {
3
3
  constructor();
4
4
  }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SystemLayoutDefinition = void 0;
4
+ const versionedlayout_1 = require("../versionedlayout");
5
+ class SystemLayoutDefinition extends versionedlayout_1.VersionedLayoutDefinition {
6
+ constructor() {
7
+ super("2cf7033c-0f65-4a65-9ce7-489b00835361");
8
+ }
9
+ }
10
+ exports.SystemLayoutDefinition = SystemLayoutDefinition;
@@ -1,2 +1,3 @@
1
1
  export * from "./StatusCodeLayoutProvider";
2
2
  export * from "./StatusCodeLayoutSettings";
3
+ export * from "./SystemLayout";
@@ -3,3 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./StatusCodeLayoutProvider"), exports);
5
5
  tslib_1.__exportStar(require("./StatusCodeLayoutSettings"), exports);
6
+ tslib_1.__exportStar(require("./SystemLayout"), exports);
package/SignInLayout.d.ts DELETED
@@ -1,8 +0,0 @@
1
- export declare const SignLayoutProvider: ISignInLayoutProvider;
2
- export interface ISignInLayoutProvider {
3
- signInLayout: string;
4
- }
5
- declare module "./Layout" {
6
- interface ILayoutDependencyProvider extends ISignInLayoutProvider {
7
- }
8
- }
package/SignInLayout.js DELETED
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SignLayoutProvider = void 0;
4
- exports.SignLayoutProvider = {
5
- signInLayout: "signInLayout"
6
- };
package/signin/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./SignIn";