@omnia/fx-models 8.0.338-dev → 8.0.340-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/Constants.d.ts CHANGED
@@ -196,6 +196,7 @@ export declare const Constants: {
196
196
  omniaPublishingCore: guid;
197
197
  omniaTeamworkCore: guid;
198
198
  aiEngine: guid;
199
+ seoCore: guid;
199
200
  };
200
201
  app: {
201
202
  tableName: string;
package/Constants.js CHANGED
@@ -227,7 +227,8 @@ exports.Constants = {
227
227
  omniaCommunitiesCore: (0, models_1.guid)("8c2d5ec7-9454-46ef-8039-0aa9cb834d48"),
228
228
  omniaPublishingCore: (0, models_1.guid)("dcf426dd-1488-46ca-b7b1-6c174b29d28b"),
229
229
  omniaTeamworkCore: (0, models_1.guid)("a3bdc65e-ef63-4f8e-92fd-f9c8b527fe8d"),
230
- aiEngine: (0, models_1.guid)("f976ad6f-987f-44e6-973a-097d81f73fc7")
230
+ aiEngine: (0, models_1.guid)("f976ad6f-987f-44e6-973a-097d81f73fc7"),
231
+ seoCore: (0, models_1.guid)("27448096-ad28-49a3-9b3d-bb12abb5a182")
231
232
  },
232
233
  app: {
233
234
  tableName: "AppInstances",
package/Exposes.d.ts CHANGED
@@ -146,6 +146,7 @@ export * from "./redirect";
146
146
  export * from "./command-palette";
147
147
  export * from "./semanticsearch";
148
148
  export * from "./aiengine";
149
+ export * from "./analytics";
149
150
  export * from "./FileIdentifier";
150
151
  export * from "./FilePicker";
151
152
  export * from "./LoginLogFilter";
package/Exposes.js CHANGED
@@ -158,6 +158,7 @@ tslib_1.__exportStar(require("./redirect"), exports);
158
158
  tslib_1.__exportStar(require("./command-palette"), exports);
159
159
  tslib_1.__exportStar(require("./semanticsearch"), exports);
160
160
  tslib_1.__exportStar(require("./aiengine"), exports);
161
+ tslib_1.__exportStar(require("./analytics"), exports);
161
162
  //************************************************************************************ */
162
163
  // End of folder exports
163
164
  //************************************************************************************ */
@@ -0,0 +1,10 @@
1
+ import { IDataSourcePropertySelection } from "@omnia/fx/ux";
2
+ export interface AnalyticsDimensionMapping {
3
+ dimensionId: number;
4
+ mappedProperty: IDataSourcePropertySelection;
5
+ scope: AnalyticsDimensionScopes;
6
+ }
7
+ export declare enum AnalyticsDimensionScopes {
8
+ visit = 0,
9
+ action = 1
10
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AnalyticsDimensionScopes = void 0;
4
+ var AnalyticsDimensionScopes;
5
+ (function (AnalyticsDimensionScopes) {
6
+ AnalyticsDimensionScopes[AnalyticsDimensionScopes["visit"] = 0] = "visit";
7
+ AnalyticsDimensionScopes[AnalyticsDimensionScopes["action"] = 1] = "action";
8
+ })(AnalyticsDimensionScopes || (exports.AnalyticsDimensionScopes = AnalyticsDimensionScopes = {}));
@@ -0,0 +1,8 @@
1
+ import { EventAction } from "./EventAction";
2
+ export interface AnalyticsSettings {
3
+ enableEventTracking: boolean;
4
+ eventCategory: string;
5
+ eventName: string;
6
+ eventActions?: Array<EventAction>;
7
+ eventActionTemplate?: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import { AnalyticsDimensionMapping } from "./AnalyticsDimensionMappings";
2
+ import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
3
+ import { BusinessProfileProperty } from "./../BusinessProfile";
4
+ export declare class BusinessProfileAnalyticsSettings extends BusinessProfileProperty {
5
+ enabled: boolean;
6
+ idSite: number;
7
+ mappings: AnalyticsDimensionMapping[];
8
+ shared: boolean;
9
+ connectedBusinessProfileId?: guid;
10
+ constructor();
11
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BusinessProfileAnalyticsSettings = void 0;
4
+ const models_1 = require("@omnia/fx-models/internal-do-not-import-from-here/shared/models");
5
+ const BusinessProfile_1 = require("./../BusinessProfile");
6
+ class BusinessProfileAnalyticsSettings extends BusinessProfile_1.BusinessProfileProperty {
7
+ constructor() {
8
+ super((0, models_1.guid)("39df27aa-95f1-4a23-b3f6-8b231afcda82"), "bpanalyticssettings");
9
+ this.enabled = false;
10
+ this.idSite = -1;
11
+ this.mappings = [];
12
+ this.shared = false;
13
+ }
14
+ }
15
+ exports.BusinessProfileAnalyticsSettings = BusinessProfileAnalyticsSettings;
@@ -0,0 +1,6 @@
1
+ import { guid } from "@omnia/fx-models";
2
+ export interface EventAction {
3
+ id: guid;
4
+ name: string;
5
+ customName?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export * from "./AnalyticsDimensionMappings";
2
+ export * from "./BusinessProfileAnalyticsSettings";
3
+ export * from "./AnalyticsSettings";
4
+ export * from "./EventAction";
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./AnalyticsDimensionMappings"), exports);
5
+ tslib_1.__exportStar(require("./BusinessProfileAnalyticsSettings"), exports);
6
+ tslib_1.__exportStar(require("./AnalyticsSettings"), exports);
7
+ tslib_1.__exportStar(require("./EventAction"), exports);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.338-dev",
4
+ "version": "8.0.340-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"