@omnia/wcm 7.10.0-preview.7 → 7.10.0-preview.9

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.
@@ -899,16 +899,23 @@ export declare module EditorLocalization {
899
899
  Save: string;
900
900
  Add: string;
901
901
  Cancel: string;
902
- SendEmailDialog: {
902
+ TestEmailDialog: {
903
903
  Title: string;
904
- Message: string;
904
+ Instruction: string;
905
+ InfoText: string;
905
906
  Buttons: {
906
907
  SendEmail: string;
907
908
  };
909
+ NoPagesFoundMessage: string;
908
910
  };
909
911
  EditRuleBtn: string;
910
912
  DeleteRuleBtn: string;
911
- SendEmailBtn: string;
913
+ TestEmailBtn: string;
914
+ Placeholders: {
915
+ Title: string;
916
+ Description: string;
917
+ };
918
+ EmailTemplate: string;
912
919
  };
913
920
  RemovePageReviewRuleSettings: {
914
921
  Title: string;
@@ -315,6 +315,13 @@ export declare module PublishingAppLocalization {
315
315
  Message: string;
316
316
  };
317
317
  EnableEditNotifications: string;
318
+ NotifyForEdit: {
319
+ SectionTitle: string;
320
+ NoteTitle: string;
321
+ NoteContent: string;
322
+ VariationAuthor: string;
323
+ PagePropertyUsers: string;
324
+ };
318
325
  };
319
326
  StatisticProvider: {
320
327
  SiteScript: string;
@@ -1,6 +1,7 @@
1
- import { AnalyticsSettings, EnterprisePropertyDefinition, EnterprisePropertyItemSettings, GuidValue, IconPickerModel, Identity, MultilingualString, TimePeriodSettings, DateOperator } from "@omnia/fx-models";
1
+ import { AnalyticsSettings, EnterprisePropertyDefinition, EnterprisePropertyItemSettings, GuidValue, IconPickerModel, Identity, MultilingualString, TimePeriodSettings, DateOperator, UserIdentity } from "@omnia/fx-models";
2
2
  import { RichTextEditorExtension } from "@omnia/fx/ux/richtexteditor";
3
3
  import { SharepointSyncPageSettings } from "../../../sp";
4
+ import { PageId } from "./Page";
4
5
  import { PageData } from "./PageData";
5
6
  /**
6
7
  * We should update to use nheritance interfaces pattern
@@ -91,8 +92,9 @@ export interface PageReviewRuleEvaluationResult {
91
92
  isSuspended: boolean;
92
93
  sendEmail: boolean;
93
94
  }
94
- export interface PageReviewRuleSendEmailRequest {
95
+ export interface PageReviewRuleTestMailTemplateRequest {
95
96
  ruleId: number;
96
97
  pageTypeId: number;
97
- reviewDate: Date;
98
+ identities: UserIdentity[];
99
+ pageIds: PageId[];
98
100
  }
@@ -22,6 +22,10 @@ export interface Variation {
22
22
  automaticMachineTranslation?: boolean;
23
23
  allowEditMachineTranslation?: boolean;
24
24
  activeRightToLeft?: boolean;
25
- editNotificationEnabled?: boolean;
25
+ editNotificationSettings?: VariationEditNotificationSettings;
26
+ }
27
+ export interface VariationEditNotificationSettings {
28
+ notifyVariationAuthorOnEdit?: boolean;
29
+ notifyPagePropertyUsersOnEdit?: boolean;
26
30
  editNotificationsUserPropertyId?: GuidValue;
27
31
  }
@@ -1,5 +1,6 @@
1
- import { MultilingualString, IIcon, Identity, GuidValue } from "@omnia/fx-models";
1
+ import { MultilingualString, IIcon, Identity } from "@omnia/fx-models";
2
2
  import { TargetingFilterProperty } from "@omnia/fx-sp";
3
+ import { VariationEditNotificationSettings } from "./Variation";
3
4
  export interface VariationCreationRequest {
4
5
  displayNames: MultilingualString;
5
6
  targetingFilterData: TargetingFilterProperty;
@@ -10,6 +11,5 @@ export interface VariationCreationRequest {
10
11
  * */
11
12
  author?: Identity;
12
13
  authors?: Array<Identity>;
13
- editNotificationEnabled?: boolean;
14
- editNotificationsUserPropertyId?: GuidValue;
14
+ editNotificationSettings: VariationEditNotificationSettings;
15
15
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "7.10.0-preview.7",
4
+ "version": "7.10.0-preview.9",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"