@omnia/management-system 7.6.7-preview → 7.6.8

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.
Files changed (64) hide show
  1. package/internal-do-not-import-from-here/apis/documents/DocumentLibraryCommandButtonApi.d.ts +1 -0
  2. package/internal-do-not-import-from-here/apis/documents/DocumentLibraryCommandButtonApi.manifest.d.ts +1 -0
  3. package/internal-do-not-import-from-here/constants.d.ts +86 -0
  4. package/internal-do-not-import-from-here/index.d.ts +1 -0
  5. package/internal-do-not-import-from-here/manifests/omnia.ms.fx.manifest.json +1 -1
  6. package/internal-do-not-import-from-here/models/ManifestIds.d.ts +2 -0
  7. package/internal-do-not-import-from-here/models/ManifestIds.js +2 -0
  8. package/internal-do-not-import-from-here/models/components/documentlibrary/DocumentLibraryCommandButtonApi.d.ts +38 -0
  9. package/internal-do-not-import-from-here/models/components/documentlibrary/DocumentLibraryCommandButtonApi.js +7 -0
  10. package/internal-do-not-import-from-here/models/components/documentlibrary/index.d.ts +1 -0
  11. package/internal-do-not-import-from-here/models/components/documentlibrary/index.js +1 -0
  12. package/internal-do-not-import-from-here/models/data/controlleddocuments/index.d.ts +1 -0
  13. package/internal-do-not-import-from-here/models/data/controlleddocuments/index.js +1 -0
  14. package/internal-do-not-import-from-here/models/data/controlleddocuments/taskbulkupdate/DocumentTaskBulkUpdateRequest.d.ts +7 -0
  15. package/internal-do-not-import-from-here/models/data/controlleddocuments/taskbulkupdate/DocumentTaskBulkUpdateRequest.js +2 -0
  16. package/internal-do-not-import-from-here/models/data/controlleddocuments/taskbulkupdate/DocumentTaskBulkUpdateStatus.d.ts +21 -0
  17. package/internal-do-not-import-from-here/models/data/controlleddocuments/taskbulkupdate/DocumentTaskBulkUpdateStatus.js +13 -0
  18. package/internal-do-not-import-from-here/models/data/controlleddocuments/taskbulkupdate/TaskBulkUpdateSearchResult.d.ts +10 -0
  19. package/internal-do-not-import-from-here/models/data/controlleddocuments/taskbulkupdate/TaskBulkUpdateSearchResult.js +2 -0
  20. package/internal-do-not-import-from-here/models/data/controlleddocuments/taskbulkupdate/TaskItem.d.ts +14 -0
  21. package/internal-do-not-import-from-here/models/data/controlleddocuments/taskbulkupdate/TaskItem.js +2 -0
  22. package/internal-do-not-import-from-here/models/data/controlleddocuments/taskbulkupdate/index.d.ts +4 -0
  23. package/internal-do-not-import-from-here/models/data/controlleddocuments/taskbulkupdate/index.js +7 -0
  24. package/internal-do-not-import-from-here/models/data/settings/DefaultControlSettings.d.ts +1 -0
  25. package/internal-do-not-import-from-here/models/data/shapedefinitions/ShapeDefinition.d.ts +0 -8
  26. package/internal-do-not-import-from-here/models/data/shapedefinitions/ShapeDefinition.js +1 -32
  27. package/internal-do-not-import-from-here/models/data/workflows/DocumentHistory.d.ts +1 -0
  28. package/internal-do-not-import-from-here/models/index.d.ts +1 -1
  29. package/internal-do-not-import-from-here/models/index.js +1 -1
  30. package/internal-do-not-import-from-here/models/readreceiptsignoff/DocumentNotifiedPerson.d.ts +16 -0
  31. package/internal-do-not-import-from-here/models/readreceiptsignoff/DocumentNotifiedPerson.js +2 -0
  32. package/internal-do-not-import-from-here/models/readreceiptsignoff/DocumentReadReceiptHistory.d.ts +9 -0
  33. package/internal-do-not-import-from-here/models/readreceiptsignoff/DocumentReadReceiptHistory.js +2 -0
  34. package/internal-do-not-import-from-here/models/readreceiptsignoff/index.d.ts +2 -0
  35. package/internal-do-not-import-from-here/models/readreceiptsignoff/index.js +5 -0
  36. package/internal-do-not-import-from-here/processshape/index.d.ts +1 -0
  37. package/internal-do-not-import-from-here/processshape/shapedefinitions/ShapeDefinitionData.d.ts +9 -0
  38. package/internal-do-not-import-from-here/processshape/shapedefinitions/index.d.ts +1 -0
  39. package/internal-do-not-import-from-here/services/UserService.d.ts +6 -0
  40. package/internal-do-not-import-from-here/services/document/DocumentService.d.ts +56 -0
  41. package/internal-do-not-import-from-here/services/document/DocumentTemplateService.d.ts +18 -0
  42. package/internal-do-not-import-from-here/services/document/DocumentTypeService.d.ts +15 -0
  43. package/internal-do-not-import-from-here/services/document/index.d.ts +3 -0
  44. package/internal-do-not-import-from-here/services/documentlibrary/ApprovalTaskService.d.ts +12 -0
  45. package/internal-do-not-import-from-here/services/documentlibrary/DocumentLibraryService.d.ts +21 -0
  46. package/internal-do-not-import-from-here/services/documentlibrary/PublishDocumentService.d.ts +15 -0
  47. package/internal-do-not-import-from-here/services/documentlibrary/ReviewReminderTaskService.d.ts +5 -0
  48. package/internal-do-not-import-from-here/services/documentlibrary/ReviewTaskService.d.ts +17 -0
  49. package/internal-do-not-import-from-here/services/documentlibrary/TaskService.d.ts +11 -0
  50. package/internal-do-not-import-from-here/services/documentlibrary/index.d.ts +6 -0
  51. package/internal-do-not-import-from-here/services/index.d.ts +3 -0
  52. package/internal-do-not-import-from-here/stores/documentlibrary/DocumentConversionStore.d.ts +14 -0
  53. package/internal-do-not-import-from-here/stores/documentlibrary/DocumentPropetiesStore.d.ts +32 -0
  54. package/internal-do-not-import-from-here/stores/documentlibrary/DocumentSharePointFieldStore.d.ts +22 -0
  55. package/internal-do-not-import-from-here/stores/documentlibrary/DocumentTemplateStore.d.ts +37 -0
  56. package/internal-do-not-import-from-here/stores/documentlibrary/DocumentTypeStore.d.ts +42 -0
  57. package/internal-do-not-import-from-here/stores/documentlibrary/LibraryStore.d.ts +85 -0
  58. package/internal-do-not-import-from-here/stores/documentlibrary/NewDocumentStore.d.ts +36 -0
  59. package/internal-do-not-import-from-here/stores/documentlibrary/index.d.ts +7 -0
  60. package/internal-do-not-import-from-here/stores/index.d.ts +1 -0
  61. package/internal-do-not-import-from-here/utils.d.ts +13 -1
  62. package/package.json +1 -1
  63. package/internal-do-not-import-from-here/models/Constants.d.ts +0 -33
  64. package/internal-do-not-import-from-here/models/Constants.js +0 -37
@@ -4,6 +4,8 @@ import { ShapeTemplate } from "./models/data/shapetemplates/ShapeTemplate";
4
4
  import { Version } from "./models/shared/Version";
5
5
  import { ContentBlockSettings, LinksBlockSettings, TitleBlockSettings, TasksBlockSettings, PropertiesBlockSettings, ProcessNavigationBlockSettings, DrawingBlockSettings, ProcessLayoutBlockSettings } from "./models";
6
6
  import { ActionHandlerRegistrationId } from "@omnia/fx/models";
7
+ export declare const ODMRecentDocumentTypesLocalStorageKey = "odm_recentdocumenttypes_key";
8
+ export declare const OWA_QUERY_PARAMETER = "?Web=1";
7
9
  export declare class ODMFeatureIds {
8
10
  static get ControlledDocument(): Guid;
9
11
  static get CreateNewDocumentInLibrary(): Guid;
@@ -103,6 +105,57 @@ export declare const ShapeHighlightProperties: {
103
105
  strokeDashArray: number[];
104
106
  };
105
107
  };
108
+ export declare const ODMFieldNameConstants: {
109
+ readonly ODMDocId: string;
110
+ readonly ODMDocIdNumber: string;
111
+ readonly ODMEdition: string;
112
+ readonly ODMRevision: string;
113
+ readonly ODMPublished: string;
114
+ readonly ODMReviewDate: string;
115
+ readonly ODMEditionComment: string;
116
+ readonly ODMApprovedBy: string;
117
+ readonly ODMApproved: string;
118
+ readonly ODMContentLanguage: string;
119
+ readonly ODMDocumentType: string;
120
+ readonly ODMDocumentTypeId: string;
121
+ readonly ODMIsFirstDraftVersion: string;
122
+ readonly ODMAppendixForDocumentId: string;
123
+ readonly ODMDocumentHistory: string;
124
+ readonly ODMIsPublished: string;
125
+ readonly ODMIsRecord: string;
126
+ readonly ODMIsArchived: string;
127
+ readonly ODMRelatedDocuments: string;
128
+ readonly ODMSignedDocuments: string;
129
+ readonly ODMAppendices: string;
130
+ readonly ODMIsAllowToBeUsedAsTemplate: string;
131
+ readonly ODMIsAllowSignedCopy: string;
132
+ readonly ODMProperties: string;
133
+ readonly ODMTemplateDocumentIdNumber: string;
134
+ readonly ODMTemplateDocumentEditionNumber: string;
135
+ readonly Title: string;
136
+ readonly ODMIsLimitedAccess: string;
137
+ readonly ODMLimitedUsers: string;
138
+ readonly ODMIsConvertedPDF: string;
139
+ readonly ODMIsNotifiedUsers: string;
140
+ readonly ODMListNotifiedUsers: string;
141
+ readonly ODMIsRequireReadReceipt: string;
142
+ readonly ODMTemplateId: string;
143
+ readonly ODMReviewReminderDate: string;
144
+ readonly ODMIsPreview: string;
145
+ readonly ODMRetentionDate: string;
146
+ readonly ODMPublishedBy: string;
147
+ readonly ODMTableDocId: string;
148
+ readonly ODMDeletedAt: string;
149
+ readonly ODMDeletedBy: string;
150
+ };
151
+ export declare const DocumentLibrariesUrl: {
152
+ readonly Drafts: string;
153
+ readonly Published: string;
154
+ readonly Tasks: string;
155
+ readonly Unprocessed: string;
156
+ readonly Archived: string;
157
+ readonly RecycleBin: string;
158
+ };
106
159
  export declare const ProcessDefaultData: {
107
160
  readonly canvasDefinition: CanvasDefinition;
108
161
  };
@@ -143,3 +196,36 @@ export declare const ImageFolders: {
143
196
  readonly legacy: string;
144
197
  };
145
198
  export declare const WebEmojiIcons: Array<string>;
199
+ export declare const OPMEnterprisePropertyInternalNames: {
200
+ readonly OPMEdition: string;
201
+ readonly OPMRevision: string;
202
+ readonly OPMProcessType: string;
203
+ readonly OPMProcessIdNumber: string;
204
+ readonly OPMPublished: string;
205
+ readonly OPMApprovedBy: string;
206
+ readonly OPMIsArchived: string;
207
+ readonly OPMIsPublished: string;
208
+ };
209
+ export declare const OPMProcessProperty: {
210
+ readonly Id: string;
211
+ };
212
+ export declare module Security {
213
+ const OPMRoleDefinitions: {
214
+ readonly Author: string;
215
+ readonly Reader: string;
216
+ readonly Approver: string;
217
+ readonly Reviewer: string;
218
+ };
219
+ const OPMResourceEvaluators: {
220
+ readonly SecurityResourceIdResource: string;
221
+ readonly OPMProcessIdResource: string;
222
+ };
223
+ const Parameters: {
224
+ readonly OPMProcessId: string;
225
+ readonly SecurityResourceId: string;
226
+ };
227
+ const ODMRoleDefinitions: {
228
+ readonly AppInstanceAuthor: string;
229
+ readonly AppInstanceReader: string;
230
+ };
231
+ }
@@ -7,3 +7,4 @@ export * from "./routing";
7
7
  export * from "./settingsprovider";
8
8
  export * from "./apis";
9
9
  export * from "./messaging";
10
+ export * from "./processshape";
@@ -1 +1 @@
1
- {"name":"omniaWebpackJsonp['b3d13ef7-5ff8-4496-a283-81a742080aef']['54a125ba-c2f8-4c4c-b549-ce0c3861026b']","content":{"./node_modules/@omnia/management-system/messaging/InternalOPMTopics.js":{"id":"./node_modules/@omnia/management-system/messaging/internalopmtopics.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalOPMTopics"]},"./node_modules/@omnia/management-system/services/index.js":{"id":"./node_modules/@omnia/management-system/services/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ImageService","MoveProcessService","PermissionService","ProcessDocumentRelationshipService","ProcessFeedbackService","ProcessRollupService","ProcessService","ProcessTaskService","ProcessTemplateService","ProcessTypeService","QueryablePropertiesService","SettingsService","ShapeTemplateService","SharePointTaskService","TeamAppPropertyService"]},"./node_modules/@omnia/management-system/models/index.js":{"id":"711e87d2-a76a-42d5-8658-eb2d0f74135a","buildMeta":{"exportsType":"namespace"},"expo.js":["AddShapePanelStyles","ArchiveFactory","CenterConfigurableHeightDialogStyles","CenterScrollableDialogStyles","DateTimeMode","DefaultControlSettings","DisplayProcessButtonType","DocumentApproverId","DocumentAuthorsType","DocumentConversions","DocumentTemplateCategoryFactory","DocumentTemplateContentFactory","DocumentTemplateContentTypes","DocumentTemplateFactory","DocumentTemplateSettingsFactory","DocumentTemplateSettingsTypes","DocumentTypeFactory","DocumentTypeSettingsTypes","DocumentTypeTermSynchronizationStatusStatuses","DrawingCanvasSettingsStyles","DrawingShapeTypes","DynamicKeySetting","Enums","FreeformPickerStyles","GlobalSettings","GraphApiPlannerTaskProgress","MSService","MediaPickerStyles","NavigationNodeStyles","ODMResourceManifests","ODMWebComponentManifests","OPMEnterprisePropertyInternalNames","OPMProcessProperty","OPMResourceManifests","OPMWebComponentManifests","PagingServerQuery","ProcessApproverId","ProcessButtonType","ProcessDefaultControlSettings","ProcessDesignerStyles","ProcessFieldDisplayStyles","ProcessGlobalSettings","ProcessLayoutProvider","ProcessMediaPickerProviderContext","ProcessNavigationBlockStyles","ProcessPickerStyles","ProcessReviewReminderFactory","ProcessStepDrawingStyles","ProcessStepPickerStyles","ProcessStepStatusType","ProcessStepType","ProcessTaskAssignmentDataType","ProcessTaskProvider","ProcessTemplateFactory","ProcessTemplateLayoutDefinition","ProcessTypeFactory","ProcessTypeSettingsTypes","ProcessTypeTermSynchronizationStatusStatuses","ProcessVersionType","ProcessWorkflowType","ProcessWorkingStatus","PropertySelectionListType","PublishingApprovalSettingsFactory","PublishingApprovalSettingsTypes","RetentionFactory","RetentionTypes","ReviewReminderFactory","ReviewReminderScheduleFactory","ReviewReminderScheduleTypes","ReviewReminderTaskFactory","ReviewReminderTaskSettingsFactory","Security","Setting","ShapeDefinitionFactory","ShapeDefinitionTypes","ShapeGalleryDefaultSettingStyles","ShapeMovingDirection","ShapeSelectionStyles","ShapeSettingsStyles","ShapeTemplateFactory","ShapeTemplateMediaPickerProviderContext","ShapeTemplateType","ShapeTypeStyles","SiteGroupIdSettings","TargetControlIdentifierType","TaskOutcome","TextAlignment","TextPosition","TitleBlockStyles","UnpublishProcessDialogStyles","VDialogScrollableDialogStyles","WorkflowCompletedType"]},"./node_modules/@omnia/management-system/index.js":{"id":"c91869c1-7bd3-46b4-9e71-21d5b16a5460","buildMeta":{"exportsType":"namespace"},"expo.js":["BuiltInActionButtonHandlers","ContentBlockConfigurationFactory","CurrentProcessStore","DefaultDateFormat","DocumentRollupSettingsProvider","DocumentsBlockDataSettingsKey","DrawingBlockConfigurationFactory","FabricShapeDataTypes","ImageFolders","ImageService","InternalOPMTopics","LinksBlockConfigurationFactory","MoveProcessService","ODMDocumentRollupDisplayFields","ODMFeatureIds","OPMFeatureIds","OPMPublicTopics","OPMRouter","OPMSpecialRouteVersion","OPMUtils","OdmPublicTopics","PageRollupSettingsProvider","PagesBlockDataSettingsKey","PermissionService","ProcessDefaultData","ProcessDocumentRelationshipService","ProcessFeedbackService","ProcessLayoutBlockConfigurationFactory","ProcessNavigationConfigurationFactory","ProcessRendererOptions","ProcessRollupConstants","ProcessRollupService","ProcessService","ProcessStore","ProcessTableColumnsConstants","ProcessTaskProviderIds","ProcessTaskService","ProcessTemplateLayoutStore","ProcessTemplateService","ProcessTemplateStore","ProcessTypeService","ProcessTypeStore","PropertiesBlockConfigurationFactory","QueryablePropertiesService","RootProcessStepDesignerItemIds","SettingsService","SettingsStore","ShapeFactory","ShapeHighlightProperties","ShapeTemplateService","ShapeTemplateStore","ShapeTemplatesConstants","SharePointFieldsConstants","SharePointTaskService","SystemProcessProperties","TasksBlockConfigurationFactory","TeamAppPropertyService","TextSpacingWithShape","TitleBlockConfigurationFactory","WebEmojiIcons"]}}}
1
+ {"name":"omniaWebpackJsonp['b3d13ef7-5ff8-4496-a283-81a742080aef']['54a125ba-c2f8-4c4c-b549-ce0c3861026b']","content":{"./node_modules/@omnia/management-system/constants.js":{"id":"./node_modules/@omnia/management-system/constants.js","buildMeta":{"exportsType":"namespace"},"expo.js":["BuiltInActionButtonHandlers","ContentBlockConfigurationFactory","DefaultDateFormat","DocumentLibrariesUrl","DocumentsBlockDataSettingsKey","DrawingBlockConfigurationFactory","ImageFolders","LinksBlockConfigurationFactory","ODMDocumentRollupDisplayFields","ODMFeatureIds","ODMFieldNameConstants","ODMRecentDocumentTypesLocalStorageKey","OPMEnterprisePropertyInternalNames","OPMFeatureIds","OPMProcessProperty","OPMSpecialRouteVersion","OWA_QUERY_PARAMETER","PagesBlockDataSettingsKey","ProcessDefaultData","ProcessLayoutBlockConfigurationFactory","ProcessNavigationConfigurationFactory","ProcessRollupConstants","ProcessTableColumnsConstants","ProcessTaskProviderIds","PropertiesBlockConfigurationFactory","RootProcessStepDesignerItemIds","Security","ShapeHighlightProperties","ShapeTemplatesConstants","SharePointFieldsConstants","SystemProcessProperties","TasksBlockConfigurationFactory","TextSpacingWithShape","TitleBlockConfigurationFactory","WebEmojiIcons"]},"./node_modules/@omnia/management-system/messaging/InternalOPMTopics.js":{"id":"./node_modules/@omnia/management-system/messaging/internalopmtopics.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalOPMTopics"]},"./node_modules/@omnia/management-system/processshape/fabricshape/FabricShapeData.js":{"id":"./node_modules/@omnia/management-system/processshape/fabricshape/fabricshapedata.js","buildMeta":{"exportsType":"namespace"},"expo.js":["FabricShapeDataTypes"]},"./node_modules/@omnia/management-system/processshape/fabricshape/index.js":{"id":"./node_modules/@omnia/management-system/processshape/fabricshape/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["FabricShapeDataTypes"]},"./node_modules/@omnia/management-system/processshape/index.js":{"id":"./node_modules/@omnia/management-system/processshape/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["FabricShapeDataTypes","ShapeDefinitionFactory","ShapeFactory"]},"./node_modules/@omnia/management-system/processshape/shapedefinitions/index.js":{"id":"./node_modules/@omnia/management-system/processshape/shapedefinitions/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ShapeDefinitionFactory"]},"./node_modules/@omnia/management-system/processshape/shapedefinitions/ShapeDefinitionData.js":{"id":"./node_modules/@omnia/management-system/processshape/shapedefinitions/shapedefinitiondata.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ShapeDefinitionFactory"]},"./node_modules/@omnia/management-system/processshape/shapes/index.js":{"id":"./node_modules/@omnia/management-system/processshape/shapes/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ShapeFactory"]},"./node_modules/@omnia/management-system/processshape/shapes/Shape.js":{"id":"./node_modules/@omnia/management-system/processshape/shapes/shape.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ShapeFactory"]},"./node_modules/@omnia/management-system/processshape/shapes/ShapeObject.js":{"id":"./node_modules/@omnia/management-system/processshape/shapes/shapeobject.js","buildMeta":{"exportsType":"namespace"},"expo.js":[]},"./node_modules/@omnia/management-system/services/index.js":{"id":"./node_modules/@omnia/management-system/services/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ApprovalTaskService","DocumentLibraryService","DocumentService","DocumentTemplateService","DocumentTypeService","ImageService","MoveProcessService","PermissionService","ProcessDocumentRelationshipService","ProcessFeedbackService","ProcessRollupService","ProcessService","ProcessTaskService","ProcessTemplateService","ProcessTypeService","PublishDocumentService","QueryablePropertiesService","ReviewReminderTaskService","ReviewTaskService","SettingsService","ShapeTemplateService","SharePointTaskService","TaskService","TeamAppPropertyService","UserService"]},"./node_modules/@omnia/management-system/models/index.js":{"id":"711e87d2-a76a-42d5-8658-eb2d0f74135a","buildMeta":{"exportsType":"namespace"},"expo.js":["AddShapePanelStyles","ArchiveFactory","CenterConfigurableHeightDialogStyles","CenterScrollableDialogStyles","DateTimeMode","DefaultControlSettings","DisplayProcessButtonType","DocumentApproverId","DocumentAuthorsType","DocumentConversions","DocumentLibraryViewType","DocumentTaskBulkUpdateTrackingStatusEnum","DocumentTemplateCategoryFactory","DocumentTemplateContentFactory","DocumentTemplateContentTypes","DocumentTemplateFactory","DocumentTemplateSettingsFactory","DocumentTemplateSettingsTypes","DocumentTypeFactory","DocumentTypeSettingsTypes","DocumentTypeTermSynchronizationStatusStatuses","DrawingCanvasSettingsStyles","DrawingShapeTypes","DynamicKeySetting","Enums","FreeformPickerStyles","GlobalSettings","GraphApiPlannerTaskProgress","MSService","MediaPickerStyles","NavigationNodeStyles","ODMResourceManifests","ODMWebComponentManifests","OPMResourceManifests","OPMWebComponentManifests","PagingServerQuery","ProcessApproverId","ProcessButtonType","ProcessDefaultControlSettings","ProcessDesignerStyles","ProcessFieldDisplayStyles","ProcessGlobalSettings","ProcessLayoutProvider","ProcessMediaPickerProviderContext","ProcessNavigationBlockStyles","ProcessPickerStyles","ProcessReviewReminderFactory","ProcessStepDrawingStyles","ProcessStepPickerStyles","ProcessStepStatusType","ProcessStepType","ProcessTaskAssignmentDataType","ProcessTaskProvider","ProcessTemplateFactory","ProcessTemplateLayoutDefinition","ProcessTypeFactory","ProcessTypeSettingsTypes","ProcessTypeTermSynchronizationStatusStatuses","ProcessVersionType","ProcessWorkflowType","ProcessWorkingStatus","PropertySelectionListType","PublishingApprovalSettingsFactory","PublishingApprovalSettingsTypes","RetentionFactory","RetentionTypes","ReviewReminderFactory","ReviewReminderScheduleFactory","ReviewReminderScheduleTypes","ReviewReminderTaskFactory","ReviewReminderTaskSettingsFactory","Setting","ShapeDefinitionTypes","ShapeGalleryDefaultSettingStyles","ShapeMovingDirection","ShapeSelectionStyles","ShapeSettingsStyles","ShapeTemplateFactory","ShapeTemplateMediaPickerProviderContext","ShapeTemplateType","ShapeTypeStyles","SiteGroupIdSettings","TargetControlIdentifierType","TaskOutcome","TextAlignment","TextPosition","TitleBlockStyles","UnpublishProcessDialogStyles","VDialogScrollableDialogStyles","WorkflowCompletedType"]},"./node_modules/@omnia/management-system/index.js":{"id":"c91869c1-7bd3-46b4-9e71-21d5b16a5460","buildMeta":{"exportsType":"namespace"},"expo.js":["ApprovalTaskService","BuiltInActionButtonHandlers","ContentBlockConfigurationFactory","CurrentProcessStore","DefaultDateFormat","DocumentConversionStore","DocumentLibrariesUrl","DocumentLibraryService","DocumentPropetiesStore","DocumentRollupSettingsProvider","DocumentService","DocumentSharePointFieldStore","DocumentTemplateService","DocumentTemplateStore","DocumentTypeService","DocumentTypeStore","DocumentsBlockDataSettingsKey","DrawingBlockConfigurationFactory","FabricShapeDataTypes","ImageFolders","ImageService","InternalOPMTopics","LibraryStore","LinksBlockConfigurationFactory","MoveProcessService","NewDocumentStore","ODMDocumentRollupDisplayFields","ODMFeatureIds","ODMFieldNameConstants","ODMRecentDocumentTypesLocalStorageKey","ODMUtils","OPMEnterprisePropertyInternalNames","OPMFeatureIds","OPMProcessProperty","OPMPublicTopics","OPMRouter","OPMSpecialRouteVersion","OPMUtils","OWA_QUERY_PARAMETER","OdmPublicTopics","PageRollupSettingsProvider","PagesBlockDataSettingsKey","PermissionService","ProcessDefaultData","ProcessDocumentRelationshipService","ProcessFeedbackService","ProcessLayoutBlockConfigurationFactory","ProcessNavigationConfigurationFactory","ProcessRendererOptions","ProcessRollupConstants","ProcessRollupService","ProcessService","ProcessStore","ProcessTableColumnsConstants","ProcessTaskProviderIds","ProcessTaskService","ProcessTemplateLayoutStore","ProcessTemplateService","ProcessTemplateStore","ProcessTypeService","ProcessTypeStore","PropertiesBlockConfigurationFactory","PublishDocumentService","QueryablePropertiesService","ReviewReminderTaskService","ReviewTaskService","RootProcessStepDesignerItemIds","Security","SettingsService","SettingsStore","ShapeDefinitionFactory","ShapeFactory","ShapeHighlightProperties","ShapeTemplateService","ShapeTemplateStore","ShapeTemplatesConstants","SharePointFieldsConstants","SharePointTaskService","SystemProcessProperties","TaskService","TasksBlockConfigurationFactory","TeamAppPropertyService","TextSpacingWithShape","TitleBlockConfigurationFactory","UserService","WebEmojiIcons"]}}}
@@ -58,6 +58,7 @@ export declare class OPMResourceManifests {
58
58
  static get ProcessFilterEngineRegistrationApi(): Guid;
59
59
  static get ProcessFilterEngineCore(): Guid;
60
60
  static get ProcessButtonApiRegistration(): Guid;
61
+ static get DocumentTaskBulkUpdateCore(): Guid;
61
62
  }
62
63
  export declare class OPMWebComponentManifests {
63
64
  static get MicrosoftPlannerProviderRenderer(): Guid;
@@ -148,4 +149,5 @@ export declare class OPMWebComponentManifests {
148
149
  static get UxFilterEngineProcessSelectionsAreaProperty(): Guid;
149
150
  static get UxFilterEngineProcessPropertySettings(): Guid;
150
151
  static get UxFilterEngineProcessPropertyDefaultValueInput(): Guid;
152
+ static get DocumentTaskBulkUpdateJourney(): Guid;
151
153
  }
@@ -65,6 +65,7 @@ class OPMResourceManifests {
65
65
  static get ProcessFilterEngineRegistrationApi() { return new fx_models_1.Guid("78D7E2D3-C142-44F7-8626-B545FA238EAC"); }
66
66
  static get ProcessFilterEngineCore() { return new fx_models_1.Guid("A2BD73A4-3309-4B2A-8AFD-78925396B98A"); }
67
67
  static get ProcessButtonApiRegistration() { return new fx_models_1.Guid("09b64832-a79b-4efd-b4c3-5915ff9dc117"); }
68
+ static get DocumentTaskBulkUpdateCore() { return new fx_models_1.Guid("28311829-e52a-4634-81bb-9fe95fa22098"); }
68
69
  }
69
70
  exports.OPMResourceManifests = OPMResourceManifests;
70
71
  class OPMWebComponentManifests {
@@ -156,5 +157,6 @@ class OPMWebComponentManifests {
156
157
  static get UxFilterEngineProcessSelectionsAreaProperty() { return new fx_models_1.Guid("124917E0-957E-49EF-A535-EFA10F9F9052"); }
157
158
  static get UxFilterEngineProcessPropertySettings() { return new fx_models_1.Guid("7B831A74-F787-414E-A18B-532274A2DF5C"); }
158
159
  static get UxFilterEngineProcessPropertyDefaultValueInput() { return new fx_models_1.Guid("DFA488B4-060C-4BC8-B53E-7FC28CC58389"); }
160
+ static get DocumentTaskBulkUpdateJourney() { return new fx_models_1.Guid("182a06fb-e24a-4caa-b725-f8f568da07d1"); }
159
161
  }
160
162
  exports.OPMWebComponentManifests = OPMWebComponentManifests;
@@ -0,0 +1,38 @@
1
+ import { Future, GuidValue, IExtendApiManifestWithConfiguration, IIcon } from "@omnia/fx/models";
2
+ import { ControlledDocument } from "../../data";
3
+ export declare enum DocumentLibraryViewType {
4
+ Draft = "4074dea2-4159-422a-8c02-df6f273d3e5f"
5
+ }
6
+ export interface ICommandButtonComponent<T extends ICommandButton = ICommandButton> {
7
+ button: T;
8
+ }
9
+ export interface ICommandButton {
10
+ id: GuidValue;
11
+ title: string;
12
+ order: number;
13
+ icon?: IIcon;
14
+ disabled?: boolean;
15
+ hidden?: boolean;
16
+ onInit?: () => Future<void>;
17
+ onClicked?: (documents: ControlledDocument[]) => Future<void>;
18
+ componentManifestId?: GuidValue;
19
+ }
20
+ export interface IDraftViewCommandButton extends ICommandButton {
21
+ onSelectionChanged?: (documents: ControlledDocument[]) => Future<void>;
22
+ }
23
+ export interface IDocumentLibraryCommandButtonApi {
24
+ addDraftViewButton: (items: IDraftViewCommandButton) => void;
25
+ getCommandButtonsByType: (viewType: DocumentLibraryViewType) => Future<Array<ICommandButton>>;
26
+ }
27
+ declare module "../../../apis/index" {
28
+ interface IMSApi {
29
+ documentLibraryCommandButton: {
30
+ registration: Promise<IDocumentLibraryCommandButtonApi>;
31
+ };
32
+ }
33
+ interface IMSExtendApiManifest {
34
+ documentLibraryCommandButton: {
35
+ registration: IExtendApiManifestWithConfiguration<DocumentLibraryViewType>;
36
+ };
37
+ }
38
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DocumentLibraryViewType = void 0;
4
+ var DocumentLibraryViewType;
5
+ (function (DocumentLibraryViewType) {
6
+ DocumentLibraryViewType["Draft"] = "4074dea2-4159-422a-8c02-df6f273d3e5f";
7
+ })(DocumentLibraryViewType = exports.DocumentLibraryViewType || (exports.DocumentLibraryViewType = {}));
@@ -1,3 +1,4 @@
1
1
  export * from "./DocumentLibraryDisplaySettings";
2
2
  export * from "./DocumentLibrarySettings";
3
3
  export * from "./DocumentLibraryViewSettings";
4
+ export * from "./DocumentLibraryCommandButtonApi";
@@ -4,3 +4,4 @@ const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./DocumentLibraryDisplaySettings"), exports);
5
5
  tslib_1.__exportStar(require("./DocumentLibrarySettings"), exports);
6
6
  tslib_1.__exportStar(require("./DocumentLibraryViewSettings"), exports);
7
+ tslib_1.__exportStar(require("./DocumentLibraryCommandButtonApi"), exports);
@@ -11,3 +11,4 @@ export * from "./SqlDocument";
11
11
  export * from "./TaskRequest";
12
12
  export * from "./GetTrimSecurityControlledDocumentsResponse";
13
13
  export * from "./DocumentTemplateMergeSettings";
14
+ export * from "./taskbulkupdate";
@@ -14,3 +14,4 @@ tslib_1.__exportStar(require("./SqlDocument"), exports);
14
14
  tslib_1.__exportStar(require("./TaskRequest"), exports);
15
15
  tslib_1.__exportStar(require("./GetTrimSecurityControlledDocumentsResponse"), exports);
16
16
  tslib_1.__exportStar(require("./DocumentTemplateMergeSettings"), exports);
17
+ tslib_1.__exportStar(require("./taskbulkupdate"), exports);
@@ -0,0 +1,7 @@
1
+ import { UserIdentity } from "@omnia/fx/models";
2
+ import { TaskItem } from "./TaskItem";
3
+ export interface DocumentTaskBulkUpdateRequest {
4
+ tasks: TaskItem[];
5
+ newAssignedToUser: UserIdentity;
6
+ resendEmail: boolean;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,21 @@
1
+ import { GuidValue, UserIdentity } from "@omnia/fx/models";
2
+ import { Enums } from "../../../Enums";
3
+ export declare enum DocumentTaskBulkUpdateTrackingStatusEnum {
4
+ NotStarted = 0,
5
+ Updating = 1,
6
+ Succeeded = 2,
7
+ Failed = 3,
8
+ InvalidSource = 4,
9
+ Locked = 5,
10
+ ResendEmailFailed = 6
11
+ }
12
+ export interface DocumentTaskBulkUpdateStatus {
13
+ id: GuidValue;
14
+ spItemId: number;
15
+ webUrl: string;
16
+ taskUrl: string;
17
+ taskType: Enums.DocumentViewEnums.TaskContentType;
18
+ status: DocumentTaskBulkUpdateTrackingStatusEnum;
19
+ oldAssignedToUser: UserIdentity;
20
+ newAssignedToUser: UserIdentity;
21
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DocumentTaskBulkUpdateTrackingStatusEnum = void 0;
4
+ var DocumentTaskBulkUpdateTrackingStatusEnum;
5
+ (function (DocumentTaskBulkUpdateTrackingStatusEnum) {
6
+ DocumentTaskBulkUpdateTrackingStatusEnum[DocumentTaskBulkUpdateTrackingStatusEnum["NotStarted"] = 0] = "NotStarted";
7
+ DocumentTaskBulkUpdateTrackingStatusEnum[DocumentTaskBulkUpdateTrackingStatusEnum["Updating"] = 1] = "Updating";
8
+ DocumentTaskBulkUpdateTrackingStatusEnum[DocumentTaskBulkUpdateTrackingStatusEnum["Succeeded"] = 2] = "Succeeded";
9
+ DocumentTaskBulkUpdateTrackingStatusEnum[DocumentTaskBulkUpdateTrackingStatusEnum["Failed"] = 3] = "Failed";
10
+ DocumentTaskBulkUpdateTrackingStatusEnum[DocumentTaskBulkUpdateTrackingStatusEnum["InvalidSource"] = 4] = "InvalidSource";
11
+ DocumentTaskBulkUpdateTrackingStatusEnum[DocumentTaskBulkUpdateTrackingStatusEnum["Locked"] = 5] = "Locked";
12
+ DocumentTaskBulkUpdateTrackingStatusEnum[DocumentTaskBulkUpdateTrackingStatusEnum["ResendEmailFailed"] = 6] = "ResendEmailFailed";
13
+ })(DocumentTaskBulkUpdateTrackingStatusEnum = exports.DocumentTaskBulkUpdateTrackingStatusEnum || (exports.DocumentTaskBulkUpdateTrackingStatusEnum = {}));
@@ -0,0 +1,10 @@
1
+ import { TaskItem } from "./TaskItem";
2
+ export interface TaskBulkUpdateSearchResult {
3
+ nextPageString: string;
4
+ previousPageString: string;
5
+ useThresholdQuery: boolean;
6
+ tasks: TaskItem[];
7
+ webTitles: {
8
+ [webUrl: string]: string;
9
+ };
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ import { UserIdentity } from "@omnia/fx/models";
2
+ import { Enums } from "../../../Enums";
3
+ export interface TaskItem {
4
+ id: number;
5
+ title: string;
6
+ assignedTo: UserIdentity;
7
+ created: Date;
8
+ type: Enums.DocumentViewEnums.TaskContentType;
9
+ status: string;
10
+ percentComplete: number;
11
+ documentId?: string;
12
+ taskUrl: string;
13
+ webUrl: string;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export * from "./TaskItem";
2
+ export * from "./TaskBulkUpdateSearchResult";
3
+ export * from "./DocumentTaskBulkUpdateRequest";
4
+ export * from "./DocumentTaskBulkUpdateStatus";
@@ -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("./TaskItem"), exports);
5
+ tslib_1.__exportStar(require("./TaskBulkUpdateSearchResult"), exports);
6
+ tslib_1.__exportStar(require("./DocumentTaskBulkUpdateRequest"), exports);
7
+ tslib_1.__exportStar(require("./DocumentTaskBulkUpdateStatus"), exports);
@@ -6,6 +6,7 @@ export interface MSTeamsAppTabTargetControlIdentifier extends TargetControlIdent
6
6
  channelId: string;
7
7
  threadId: string;
8
8
  tabId: string;
9
+ tabEntityId?: string;
9
10
  appId: GuidValue;
10
11
  }
11
12
  export interface AppLayoutTargetControlIdentifier extends TargetControlIdentifier {
@@ -1,5 +1,4 @@
1
1
  import { MultilingualString, GuidValue } from "@omnia/fx-models";
2
- import { OmniaTheming } from "@omnia/fx/ux";
3
2
  import { FabricShapeData } from "../../../processshape";
4
3
  export declare enum ShapeDefinitionTypes {
5
4
  Heading = 1,
@@ -19,10 +18,3 @@ export interface ShapeDefinition {
19
18
  multilingualTitle?: string;
20
19
  clonedNodes?: FabricShapeData[];
21
20
  }
22
- /**
23
- * NOTE: whenever an new property is added in settings, we need to define its initial value in factory
24
- * To ensure it fully react on view
25
- * */
26
- export declare const ShapeDefinitionFactory: {
27
- createDefaultProcessTemplate(theming: OmniaTheming, type?: ShapeDefinitionTypes): ShapeDefinition;
28
- };
@@ -1,9 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ShapeDefinitionFactory = exports.ShapeMovingDirection = exports.ShapeDefinitionTypes = void 0;
4
- const fx_models_1 = require("@omnia/fx-models");
5
- const constants_1 = require("../../../constants");
6
- const enums_1 = require("../enums");
3
+ exports.ShapeMovingDirection = exports.ShapeDefinitionTypes = void 0;
7
4
  var ShapeDefinitionTypes;
8
5
  (function (ShapeDefinitionTypes) {
9
6
  ShapeDefinitionTypes[ShapeDefinitionTypes["Heading"] = 1] = "Heading";
@@ -17,31 +14,3 @@ var ShapeMovingDirection;
17
14
  ShapeMovingDirection[ShapeMovingDirection["Left"] = 2] = "Left";
18
15
  ShapeMovingDirection[ShapeMovingDirection["Right"] = 3] = "Right";
19
16
  })(ShapeMovingDirection = exports.ShapeMovingDirection || (exports.ShapeMovingDirection = {}));
20
- /**
21
- * NOTE: whenever an new property is added in settings, we need to define its initial value in factory
22
- * To ensure it fully react on view
23
- * */
24
- exports.ShapeDefinitionFactory = {
25
- createDefaultProcessTemplate(theming, type) {
26
- const shapeDefinition = {
27
- type: type ? type : ShapeDefinitionTypes.Drawing,
28
- title: { isMultilingualString: true },
29
- id: fx_models_1.Guid.newGuid()
30
- };
31
- if (shapeDefinition.type == ShapeDefinitionTypes.Drawing) {
32
- shapeDefinition.shapeTemplateId = constants_1.ShapeTemplatesConstants.Diamond.id;
33
- shapeDefinition.shapeTemplateType = constants_1.ShapeTemplatesConstants.Diamond.settings.type;
34
- shapeDefinition.title = constants_1.ShapeTemplatesConstants.Diamond.title;
35
- shapeDefinition.fontSize = 20;
36
- shapeDefinition.backgroundColor = theming.promoted.header.background.base;
37
- shapeDefinition.textColor = theming.promoted.header.text.base;
38
- shapeDefinition.width = 100;
39
- shapeDefinition.height = 100;
40
- shapeDefinition.textPosition = enums_1.TextPosition.On;
41
- shapeDefinition.textAlignment = enums_1.TextAlignment.Center;
42
- shapeDefinition.textHorizontalAdjustment = 0;
43
- shapeDefinition.textVerticalAdjustment = 0;
44
- }
45
- return shapeDefinition;
46
- }
47
- };
@@ -7,4 +7,5 @@ export interface DocumentHistory {
7
7
  publishedBy: string;
8
8
  approvedBy: string;
9
9
  workflowHistory: Array<WorkflowHistory>;
10
+ signedCopy: string;
10
11
  }
@@ -9,10 +9,10 @@ export * from "./components";
9
9
  export * from "./styles";
10
10
  export * from "./shared";
11
11
  export * from "./contexts";
12
- export * from "./Constants";
13
12
  export * from "./paging";
14
13
  export * from "./richtexteditorextensions";
15
14
  export * from "./mediapicker";
16
15
  export * from "./graph";
17
16
  export * from "./processtaskassignments";
18
17
  export * from "./processstepstatuses";
18
+ export * from "./readreceiptsignoff";
@@ -13,10 +13,10 @@ tslib_1.__exportStar(require("./components"), exports);
13
13
  tslib_1.__exportStar(require("./styles"), exports);
14
14
  tslib_1.__exportStar(require("./shared"), exports);
15
15
  tslib_1.__exportStar(require("./contexts"), exports);
16
- tslib_1.__exportStar(require("./Constants"), exports);
17
16
  tslib_1.__exportStar(require("./paging"), exports);
18
17
  tslib_1.__exportStar(require("./richtexteditorextensions"), exports);
19
18
  tslib_1.__exportStar(require("./mediapicker"), exports);
20
19
  tslib_1.__exportStar(require("./graph"), exports);
21
20
  tslib_1.__exportStar(require("./processtaskassignments"), exports);
22
21
  tslib_1.__exportStar(require("./processstepstatuses"), exports);
22
+ tslib_1.__exportStar(require("./readreceiptsignoff"), exports);
@@ -0,0 +1,16 @@
1
+ import { GuidValue, Identity } from "@omnia/fx-models";
2
+ import { ControlledDocument } from "..";
3
+ export interface DocumentNotifiedPerson {
4
+ id: GuidValue;
5
+ documentId: GuidValue;
6
+ identity: Identity;
7
+ isReadReceiptRequired: boolean;
8
+ oDMDocId: string;
9
+ edition: number;
10
+ isReadAndUnderstood: boolean;
11
+ publishedDocument: ControlledDocument;
12
+ }
13
+ export interface DocumentNotifiedPersonUI extends DocumentNotifiedPerson {
14
+ displayName: string;
15
+ userEmail: string;
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { DocumentNotifiedPerson } from "./DocumentNotifiedPerson";
2
+ export interface DocumentReadReceiptsHistory {
3
+ edition: number;
4
+ published: Date;
5
+ isRequireReadReceipt: boolean;
6
+ notifiedUsers: Array<DocumentNotifiedPerson>;
7
+ numberOfSignedOffUsers: number;
8
+ title?: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./DocumentNotifiedPerson";
2
+ export * from "./DocumentReadReceiptHistory";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./DocumentNotifiedPerson"), exports);
5
+ tslib_1.__exportStar(require("./DocumentReadReceiptHistory"), exports);
@@ -1,2 +1,3 @@
1
1
  export * from "./shapes";
2
2
  export * from "./fabricshape";
3
+ export * from "./shapedefinitions";
@@ -0,0 +1,9 @@
1
+ import { OmniaTheming } from "@omnia/fx/ux";
2
+ import { ShapeDefinition, ShapeDefinitionTypes } from "../../models";
3
+ /**
4
+ * NOTE: whenever an new property is added in settings, we need to define its initial value in factory
5
+ * To ensure it fully react on view
6
+ * */
7
+ export declare const ShapeDefinitionFactory: {
8
+ createDefaultProcessTemplate(theming: OmniaTheming, type?: ShapeDefinitionTypes): ShapeDefinition;
9
+ };
@@ -0,0 +1 @@
1
+ export * from "./ShapeDefinitionData";
@@ -0,0 +1,6 @@
1
+ import { Identity } from "@omnia/fx/models";
2
+ export declare class UserService {
3
+ private httpClient;
4
+ constructor();
5
+ resolveIdentitiesBySPLookupIds: (webUrl: string, spLookupIds: Array<number>) => Promise<Identity[]>;
6
+ }
@@ -0,0 +1,56 @@
1
+ import { GuidValue } from "@omnia/fx/models";
2
+ import { CreateDraftFromPublishedRequest, GetDocumentFieldsRequest, GetDraftDocumentAppendicesRequest, GetDocumentFieldsResponse, SharePointField, AppendixWithSharePointFields, ControlledDocument, SqlDocument, Enums, DocumentRequest, ProcessDocumentAndMergeTemplateRequest, PagingRequest, GetControlledDocumentsResponse, DocumentMetadataStatus, ProcessExistedDocumentAndMergeTemplateRequest, PublishedDocumentSharepointStatus, DocumentSharepointStatus, SharePointUser, SetNewReviewDateRequest, SetNewChangeCommentRequest } from "../../models";
3
+ export declare class DocumentService {
4
+ private httpClient;
5
+ constructor();
6
+ updateDocumentFields: (siteUrl: string, documentUrl: string, sharePointFields: Array<SharePointField>, isUpdateDocId: boolean, isUpdateDocStatus: boolean, odmDocId?: string, sqlDocumentId?: GuidValue, mergeSettings?: ProcessExistedDocumentAndMergeTemplateRequest) => Promise<string>;
7
+ updateDocumentFieldsStatus: (siteUrl: string, sqlId: GuidValue, odmDocId: string, documentTypeId: GuidValue) => Promise<SqlDocument>;
8
+ unlockFile: (webUrl: string, spDocumentId: number, sqlId: GuidValue) => Promise<boolean>;
9
+ getFileLockedByUser: (webUrl: string, spDocumentId: number) => Promise<SharePointUser>;
10
+ getDocumentFields: (request: GetDocumentFieldsRequest) => Promise<GetDocumentFieldsResponse>;
11
+ getDraftDocumentAppendices: (request: GetDraftDocumentAppendicesRequest) => Promise<AppendixWithSharePointFields[]>;
12
+ deleteDraftDocuments: (webUrl: string, spDocumentIds: Array<number>, sqlIds?: Array<GuidValue>) => Promise<void>;
13
+ deleteAppendixDocuments: (webUrl: string, spDocumentIds: Array<number>) => Promise<void>;
14
+ permanentlyDeleteDocuments: (webUrl: string, documentIds: Array<string>) => Promise<void>;
15
+ setStatusPermanentlyDeleteDocuments: (webUrl: string, documentIds: Array<string>) => Promise<Array<DocumentMetadataStatus>>;
16
+ deleteSignedDocuments: (spUrl: string, documentSpId: number, odmDocId: string) => Promise<void>;
17
+ createDraftDocumentFrompUnprocessedEdition: (request: CreateDraftFromPublishedRequest) => Promise<ControlledDocument>;
18
+ createDraftAndMergeTemplate: (request: ProcessDocumentAndMergeTemplateRequest) => Promise<void>;
19
+ mergeDraftWithTemplate: (request: ProcessExistedDocumentAndMergeTemplateRequest) => Promise<void>;
20
+ previewMergeWithTemplate: (request: ProcessDocumentAndMergeTemplateRequest) => Promise<void>;
21
+ copyDocumentsToAppendices: (webUrl: string, selectedDocuments: Array<ControlledDocument>, documentId: number, isOverwrite: boolean) => Promise<void>;
22
+ createDraftDocumentFrompNewUploadedFile: (file: File, fileName: string, odmDocId: string, edition: number, webUrl: string, isRestoring?: boolean) => Promise<void>;
23
+ getExistingDraftDocument: (odmDocId: string, webUrl: string) => Promise<ControlledDocument>;
24
+ getLatestPublishedDocument: (documentId: string, webUrl: string) => Promise<SqlDocument>;
25
+ getDocumentByDocIdNumber: (docIdNumber: number, webUrl: string) => Promise<ControlledDocument>;
26
+ deletePublishDocument: (odmDocId: string, odmDocIdNumber: number, webUrl: string, documentTypeId: string, comment: string) => Promise<boolean>;
27
+ getCurrentUserRolesOfListItems(request: DocumentRequest, library: string): Promise<{
28
+ [key: number]: Enums.DocumentViewEnums.DocumentRoles[];
29
+ }[]>;
30
+ getCurrentUserRolesOfList(webUrl: string, library: string): Promise<Enums.DocumentViewEnums.DocumentRoles[]>;
31
+ canCurrentUserEditLibraryDocument: (webUrl: string, libraryName: string) => Promise<boolean>;
32
+ getExpireReviewsDocuments: (request: PagingRequest) => Promise<GetControlledDocumentsResponse>;
33
+ getDocumentsStatus(request: {
34
+ [key: string]: GuidValue;
35
+ }, library: string): Promise<DocumentMetadataStatus[]>;
36
+ getRecycleBinDocumentsStatus(request: {
37
+ [key: string]: GuidValue;
38
+ }): Promise<DocumentMetadataStatus[]>;
39
+ getPublishedDocumentsSharepointStatus(request: {
40
+ [key: number]: number;
41
+ }, webUrl: string, library: string, loadAppendix: boolean, loadSignedDocument: boolean): Promise<PublishedDocumentSharepointStatus[]>;
42
+ getDocumentsSharepointStatus(request: Array<number>, webUrl: string, library: string): Promise<{
43
+ [key: number]: DocumentSharepointStatus;
44
+ }>;
45
+ getDocumentsTitle(request: Array<number>, webUrl: string, library: string): Promise<{
46
+ [key: number]: string;
47
+ }>;
48
+ updateBulkUpdateCache(webUrl: string): Promise<void>;
49
+ retoreDraftDocuments(documentIds: string[]): Promise<void>;
50
+ createDocumentComparison: (webUrl: string, odmDocId: string, leftSideEdition: number, rightSideEdition?: number, draftDocumentSpId?: number, comparisonId?: string, leftSideFileSuffix?: string, rightSideFileSuffix?: string) => Promise<string>;
51
+ getDocumentComparisonInfo: (comparisonId: string) => Promise<any>;
52
+ getDocumentComparisonViewUrl: (comparisonId: string, wait?: boolean) => Promise<any>;
53
+ deleteDocumentComparison: (comparisonId: string) => Promise<any>;
54
+ setNewReviewDate: (request: SetNewReviewDateRequest) => Promise<ControlledDocument>;
55
+ setNewChangeComment: (request: SetNewChangeCommentRequest) => Promise<void>;
56
+ }
@@ -0,0 +1,18 @@
1
+ import { DocumentTemplate, DocumentTemplateCategory, UploadedDocumentTemplateContent, DocumentTemplateContent } from "../../models";
2
+ export declare class DocumentTemplateService {
3
+ private multilingualStore;
4
+ private httpClient;
5
+ constructor();
6
+ getAllDocumentTemplates: () => Promise<DocumentTemplate[]>;
7
+ addOrUpdateDocumentTemplate: (documentTemplate: DocumentTemplate, files: {
8
+ [id: string]: File;
9
+ }) => Promise<DocumentTemplate>;
10
+ deleteDocumentTemplate: (documentTemplate: DocumentTemplate) => Promise<void>;
11
+ getAllDocumentTemplateCategories: () => Promise<DocumentTemplateCategory[]>;
12
+ addOrUpdateDocumentTemplateCategory: (documentTemplateCategory: DocumentTemplateCategory) => Promise<DocumentTemplateCategory>;
13
+ deleteDocumentTemplateCategory: (documentTemplateCategory: DocumentTemplateCategory) => Promise<void>;
14
+ private generateDocumentTemplatesMultilingualText;
15
+ private generateDocumentTemplateCategoriesMultilingualText;
16
+ getUploadedDocumentDownloadUrl: (content: UploadedDocumentTemplateContent) => string;
17
+ checkHeaderFooterHasShape: (template: DocumentTemplateContent) => Promise<boolean>;
18
+ }