@omnia/management-system 7.10.0-preview.12 → 7.10.0-preview.13

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.
@@ -102,7 +102,9 @@ export declare module Enums {
102
102
  NoDocumentTypeError = 32,
103
103
  FailedMergeWithTemplate = 33,
104
104
  Deleted = 34,
105
- Archiving = 35
105
+ Archiving = 35,
106
+ ScheduledForPublishing = 36,
107
+ FailedScheduleForPublishing = 37
106
108
  }
107
109
  enum TaskContentType {
108
110
  Undefined = 0,
@@ -128,7 +130,8 @@ export declare module Enums {
128
130
  None = 0,
129
131
  AllTasksDone = 1,
130
132
  MeetDueDate = 2,
131
- Cancelled = 3
133
+ Cancelled = 3,
134
+ Failed = 4
132
135
  }
133
136
  enum DocumentRoles {
134
137
  View = 1,
@@ -164,7 +167,8 @@ export declare module Enums {
164
167
  ReviewReminderWorkflow = 6,
165
168
  DeletePublishedDocument = 7,
166
169
  RestoreDocument = 8,
167
- ChangeDraftComment = 9
170
+ ChangeDraftComment = 9,
171
+ ScheduledPublishing = 10
168
172
  }
169
173
  enum ReviewReminderTaskOutcome {
170
174
  Undefined = 0,
@@ -120,6 +120,8 @@ var Enums;
120
120
  LibraryDocumentStatus[LibraryDocumentStatus["FailedMergeWithTemplate"] = 33] = "FailedMergeWithTemplate";
121
121
  LibraryDocumentStatus[LibraryDocumentStatus["Deleted"] = 34] = "Deleted";
122
122
  LibraryDocumentStatus[LibraryDocumentStatus["Archiving"] = 35] = "Archiving";
123
+ LibraryDocumentStatus[LibraryDocumentStatus["ScheduledForPublishing"] = 36] = "ScheduledForPublishing";
124
+ LibraryDocumentStatus[LibraryDocumentStatus["FailedScheduleForPublishing"] = 37] = "FailedScheduleForPublishing";
123
125
  })(LibraryDocumentStatus = DocumentViewEnums.LibraryDocumentStatus || (DocumentViewEnums.LibraryDocumentStatus = {}));
124
126
  let TaskContentType;
125
127
  (function (TaskContentType) {
@@ -151,6 +153,7 @@ var Enums;
151
153
  WorkflowCompletedType[WorkflowCompletedType["AllTasksDone"] = 1] = "AllTasksDone";
152
154
  WorkflowCompletedType[WorkflowCompletedType["MeetDueDate"] = 2] = "MeetDueDate";
153
155
  WorkflowCompletedType[WorkflowCompletedType["Cancelled"] = 3] = "Cancelled";
156
+ WorkflowCompletedType[WorkflowCompletedType["Failed"] = 4] = "Failed";
154
157
  })(WorkflowCompletedType = DocumentViewEnums.WorkflowCompletedType || (DocumentViewEnums.WorkflowCompletedType = {}));
155
158
  let DocumentRoles;
156
159
  (function (DocumentRoles) {
@@ -190,6 +193,7 @@ var Enums;
190
193
  WorkflowType[WorkflowType["DeletePublishedDocument"] = 7] = "DeletePublishedDocument";
191
194
  WorkflowType[WorkflowType["RestoreDocument"] = 8] = "RestoreDocument";
192
195
  WorkflowType[WorkflowType["ChangeDraftComment"] = 9] = "ChangeDraftComment";
196
+ WorkflowType[WorkflowType["ScheduledPublishing"] = 10] = "ScheduledPublishing";
193
197
  })(WorkflowType = DocumentViewEnums.WorkflowType || (DocumentViewEnums.WorkflowType = {}));
194
198
  let ReviewReminderTaskOutcome;
195
199
  (function (ReviewReminderTaskOutcome) {
@@ -4,4 +4,5 @@ export interface SharePointDateTimeField extends SharePointField {
4
4
  type: PropertyIndexedType.DateTime;
5
5
  value: Date;
6
6
  isDateOnly: boolean;
7
+ keepUtc: boolean;
7
8
  }
@@ -18,4 +18,5 @@ export interface SharePointField {
18
18
  hidden?: boolean;
19
19
  type: PropertyIndexedType;
20
20
  description?: MultilingualString;
21
+ enterprisePropertyDefinitionId?: GuidValue;
21
22
  }
@@ -4,4 +4,5 @@ export interface ApprovalTask extends DocumentTaskDetail {
4
4
  taskOutcome: Enums.DocumentViewEnums.ApprovalTaskOutcome;
5
5
  taskOutcomeText: string;
6
6
  workflow: Workflow;
7
+ scheduledPublishDate?: Date;
7
8
  }
@@ -13,4 +13,5 @@ export interface WorkflowHistory {
13
13
  dueDate: Date;
14
14
  initiatorComment: string;
15
15
  workflowTasks: Array<WorkflowTaskHistory>;
16
+ scheduleWorkflow?: WorkflowHistory;
16
17
  }
@@ -7,6 +7,8 @@ export declare class PublishDocumentService {
7
7
  checkPrePublishCondition: (webUrl: string, spDocumentId: number, sqlId: GuidValue, status: Enums.DocumentViewEnums.LibraryDocumentStatus) => Promise<boolean>;
8
8
  validateUnacceptedChange: (webUrl: string, spDocumentId: number, sqlId: GuidValue, status: Enums.DocumentViewEnums.LibraryDocumentStatus) => Promise<boolean>;
9
9
  publishDocumentWithoutApproval: (request: PublishDocumentWithoutApprovalRequest) => Promise<void>;
10
+ scheduleDocumentPublishing: (request: PublishDocumentWithoutApprovalRequest) => Promise<void>;
11
+ cancelScheduledDocumentPublishing: (sqlDocumentId: GuidValue) => Promise<void>;
10
12
  previewPublishedDocument: (request: PreviewPublishedDocumentRequest) => Promise<void>;
11
13
  getReadReceiptSignOffByOdmDocId: (odmDocId: string, webUrl: string) => Promise<DocumentNotifiedPerson>;
12
14
  getReadReceiptHistory: (odmDocId: string, webUrl: string) => Promise<Array<DocumentReadReceiptsHistory>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/management-system",
3
3
  "license": "MIT",
4
- "version": "7.10.0-preview.12",
4
+ "version": "7.10.0-preview.13",
5
5
  "description": "Omnia Management System.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"