@omnia/management-system 7.7.19-preview → 7.7.20-preview
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.
@@ -69,6 +69,13 @@ var Enums;
|
|
69
69
|
ProcessingStatus[ProcessingStatus["Restored"] = 9] = "Restored";
|
70
70
|
ProcessingStatus[ProcessingStatus["RecycleBinDeleting"] = 10] = "RecycleBinDeleting";
|
71
71
|
})(ProcessingStatus = DocumentViewEnums.ProcessingStatus || (DocumentViewEnums.ProcessingStatus = {}));
|
72
|
+
let DocumentVersionType;
|
73
|
+
(function (DocumentVersionType) {
|
74
|
+
DocumentVersionType[DocumentVersionType["Draft"] = 0] = "Draft";
|
75
|
+
DocumentVersionType[DocumentVersionType["Published"] = 1] = "Published";
|
76
|
+
DocumentVersionType[DocumentVersionType["Unprocessed"] = 2] = "Unprocessed";
|
77
|
+
DocumentVersionType[DocumentVersionType["Appendix"] = 3] = "Appendix";
|
78
|
+
})(DocumentVersionType = DocumentViewEnums.DocumentVersionType || (DocumentViewEnums.DocumentVersionType = {}));
|
72
79
|
let LibraryDocumentStatus;
|
73
80
|
(function (LibraryDocumentStatus) {
|
74
81
|
LibraryDocumentStatus[LibraryDocumentStatus["Draft"] = 0] = "Draft";
|
package/internal-do-not-import-from-here/services/documentlibrary/DocumentLibraryService.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { GuidValue } from "@omnia/fx/models";
|
2
|
-
import { MergeMetadataRequest, DocumentRequest, SharePointField, SPList, GetControlledDocumentsResponse, WorkflowHistory, SPSite } from "../../models";
|
2
|
+
import { MergeMetadataRequest, DocumentRequest, SharePointField, SPList, GetControlledDocumentsResponse, WorkflowHistory, SPSite, Enums } from "../../models";
|
3
3
|
export declare class DocumentLibraryService {
|
4
4
|
private httpClient;
|
5
5
|
private emptyHttpClient;
|
@@ -15,7 +15,7 @@ export declare class DocumentLibraryService {
|
|
15
15
|
getTestFile: () => Promise<void>;
|
16
16
|
mergeMetadataToDocument: (mergeRequest: MergeMetadataRequest, fileData: ArrayBuffer) => Promise<void>;
|
17
17
|
testConvertToPDF: () => Promise<void>;
|
18
|
-
getWorkflowHistories: (sqlId
|
18
|
+
getWorkflowHistories: (sqlId?: GuidValue, documentId?: string, webUrl?: string, documentVersionType?: Enums.DocumentViewEnums.DocumentVersionType) => Promise<WorkflowHistory[]>;
|
19
19
|
isExistingDraftDocument: (webUrl: string, odmDocId: string) => Promise<boolean>;
|
20
20
|
resolveAuthoringSite: (webUrl: string) => Promise<SPSite>;
|
21
21
|
}
|
package/package.json
CHANGED