@omnia/management-system 7.6.26-preview → 8.0.0-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/internal-do-not-import-from-here/constants.d.ts +22 -23
- package/internal-do-not-import-from-here/index.d.ts +1 -0
- package/internal-do-not-import-from-here/manifests/omnia.ms.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/Constants.d.ts +8 -7
- package/internal-do-not-import-from-here/models/Constants.js +8 -7
- package/internal-do-not-import-from-here/models/Enums.d.ts +18 -22
- package/internal-do-not-import-from-here/models/Enums.js +12 -17
- package/internal-do-not-import-from-here/models/Enums.tooling.d.ts +12 -0
- package/internal-do-not-import-from-here/models/Enums.tooling.js +150 -0
- package/internal-do-not-import-from-here/models/ManifestIds.d.ts +143 -143
- package/internal-do-not-import-from-here/models/ManifestIds.js +144 -144
- package/internal-do-not-import-from-here/models/Properties.d.ts +4 -5
- package/internal-do-not-import-from-here/models/Properties.js +1 -4
- package/internal-do-not-import-from-here/models/components/documentlibrary/DocumentLibraryCommandButtonApi.d.ts +3 -3
- package/internal-do-not-import-from-here/models/components/documentlibrary/DocumentLibraryCommandButtonApi.js +1 -1
- package/internal-do-not-import-from-here/models/components/documentlibrary/DocumentLibrarySettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/components/documentlibrary/DocumentLibraryViewSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/components/documentpicker/DocumentPickerQueryResult.d.ts +3 -3
- package/internal-do-not-import-from-here/models/components/documentpicker/DocumentPickerSettings.d.ts +3 -3
- package/internal-do-not-import-from-here/models/components/documentpicker/DocumentResult.d.ts +2 -2
- package/internal-do-not-import-from-here/models/components/documentrollup/DocumentRollupBlockBreakPointSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/components/documentrollup/DocumentRollupBlockSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/components/documentrollup/DocumentRollupTaxonomyPropFilterValue.d.ts +2 -2
- package/internal-do-not-import-from-here/models/components/feedbackbutton/ProcessFeedbackButtonBlock.d.ts +3 -3
- package/internal-do-not-import-from-here/models/components/processlibrary/ProcessLibrarySettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/components/processrollup/ProcessRollupBlockSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/components/viewprocess/breadcrumbblock/BreadcrumbBlockSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/components/viewprocess/contentblock/ContentBlockSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/components/viewprocess/drawingblock/DrawingBlockSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/components/viewprocess/linksblock/LinksBlockSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/components/viewprocess/processcontextblock/ProcessContextBlockSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/components/viewprocess/processlayoutblock/ProcessLayoutBlockSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/components/viewprocess/processnavigation/ProcessNavigationBlockSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/components/viewprocess/propertiesblock/PropertiesBlockData.js +1 -1
- package/internal-do-not-import-from-here/models/components/viewprocess/propertiesblock/PropertiesBlockSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/components/viewprocess/tasksblock/TasksBlockSettings.d.ts +3 -3
- package/internal-do-not-import-from-here/models/components/viewprocess/titleblock/TitleBlockSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/contexts/OPMContext.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/controlleddocuments/ControlledDocument.d.ts +3 -3
- package/internal-do-not-import-from-here/models/data/controlleddocuments/DocumentMetadataStatus.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/controlleddocuments/DocumentRequest.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/controlleddocuments/RelatedDocument.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/controlleddocuments/SqlDocument.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/controlleddocuments/requests/DeleteDraftsRequest.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/controlleddocuments/requests/PublishDocumentWithoutApprovalRequest.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/controlleddocuments/requests/fields/UpdateDocumentFieldsRequest.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/controlleddocuments/taskbulkupdate/DocumentTaskBulkUpdateStatus.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/controlleddocuments/taskbulkupdate/DocumentTaskBulkUpdateStatus.js +1 -1
- package/internal-do-not-import-from-here/models/data/documentrollup/DocumentQueryResult.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/documentrollup/DocumentRollupRequest.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/documentrollup/RollupDocument.d.ts +3 -3
- package/internal-do-not-import-from-here/models/data/documenttemplates/DocumentTemplate.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/documenttemplates/DocumentTemplateCategory.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/documenttemplates/content/DocumentTemplateContent.js +1 -1
- package/internal-do-not-import-from-here/models/data/documenttemplates/content/UploadedDocumentTemplateContent.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/documenttemplates/settings/DocumentTemplateSettings.js +1 -1
- package/internal-do-not-import-from-here/models/data/documenttemplates/settings/NormalDocumentDocumentTemplateSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/documenttype/DocumentType.d.ts +3 -3
- package/internal-do-not-import-from-here/models/data/documenttype/DocumentTypeGroupSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/documenttype/DocumentTypeItemSettings.d.ts +6 -6
- package/internal-do-not-import-from-here/models/data/documenttype/DocumentTypeItemSettings.js +3 -2
- package/internal-do-not-import-from-here/models/data/documenttype/DocumentTypeSettings.d.ts +4 -4
- package/internal-do-not-import-from-here/models/data/documenttype/DocumentTypeSettings.js +1 -1
- package/internal-do-not-import-from-here/models/data/documenttype/DocumentTypeTermSynchronizationStatus.js +1 -1
- package/internal-do-not-import-from-here/models/data/documenttype/ReviewReminder.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/documenttype/ReviewReminderTask.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/documenttype/retentions/RetentionSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/documenttype/retentions/RetentionSettings.js +1 -1
- package/internal-do-not-import-from-here/models/data/drawingdefinitions/CustomLinkDrawingShape.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/drawingdefinitions/DrawingShape.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/drawingdefinitions/DrawingShape.js +1 -1
- package/internal-do-not-import-from-here/models/data/drawingdefinitions/ExternalProcessStepDrawingShape.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/drawingdefinitions/ProcessStepDrawingShape.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/enums/Enums.js +10 -10
- package/internal-do-not-import-from-here/models/data/newdocument/NewDocumentInControlledLibraryRequest.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/newdocument/NewDocumentUploadedTemplateInfo.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/processdocumentrelationship/ProcessDocumentRelationship.d.ts +4 -4
- package/internal-do-not-import-from-here/models/data/processes/ExternalProcessStep.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/processes/Link.d.ts +3 -2
- package/internal-do-not-import-from-here/models/data/processes/Process.d.ts +5 -6
- package/internal-do-not-import-from-here/models/data/processes/ProcessRelatedDocumentSuggestionEmail.d.ts +4 -4
- package/internal-do-not-import-from-here/models/data/processes/ProcessStep.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/processes/Task.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/processfeedback/ProcessFeedback.d.ts +4 -4
- package/internal-do-not-import-from-here/models/data/processtemplates/ProcessTemplate.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/processtypes/ProcessReviewReminder.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/processtypes/ProcessType.d.ts +3 -3
- package/internal-do-not-import-from-here/models/data/processtypes/ProcessTypeGroupSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/processtypes/ProcessTypeItemSettings.d.ts +4 -5
- package/internal-do-not-import-from-here/models/data/processtypes/ProcessTypeItemSettings.js +2 -1
- package/internal-do-not-import-from-here/models/data/processtypes/ProcessTypeSettings.d.ts +3 -3
- package/internal-do-not-import-from-here/models/data/processtypes/ProcessTypeSettings.js +1 -1
- package/internal-do-not-import-from-here/models/data/processtypes/ProcessTypeTermSynchronizationStatus.js +1 -1
- package/internal-do-not-import-from-here/models/data/processtypes/ReviewReminderTaskSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/processworkflows/CreateDraftProcessRequest.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/processworkflows/ProcessWorkflow.d.ts +3 -3
- package/internal-do-not-import-from-here/models/data/processworkflows/ProcessWorkflowTask.d.ts +4 -4
- package/internal-do-not-import-from-here/models/data/processworkflows/PublishProcessWithApprovalRequest.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/processworkflows/PublishProcessWithoutApprovalRequest.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/processworkflows/SetProcessCommentRequest.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/propertysetItemsettings/PropertySetEnterpriseKeywordsItemSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/propertysetItemsettings/PropertySetItemSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/propertysetItemsettings/PropertySetTaxonomyItemSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/publishingapprovalsettings/PersonPropertyPublishingApprovalSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/publishingapprovalsettings/PublishingApprovalSettings.js +1 -1
- package/internal-do-not-import-from-here/models/data/publishingapprovalsettings/TermDrivenPublishingApprovalSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/retention/Retention.d.ts +3 -3
- package/internal-do-not-import-from-here/models/data/reviewreminderschedule/PropertySchedule.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/reviewreminderschedule/ReviewReminderSchedule.js +1 -1
- package/internal-do-not-import-from-here/models/data/security/AuthorAndDefaultReaderUpdateInput.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/settings/DefaultControlSettings.d.ts +3 -3
- package/internal-do-not-import-from-here/models/data/settings/DefaultControlSettings.js +1 -1
- package/internal-do-not-import-from-here/models/data/settings/GlobalSettings.js +1 -1
- package/internal-do-not-import-from-here/models/data/settings/ProcessGlobalSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/shapedefinitions/DrawingShapeDefinitionProperties.d.ts +12 -11
- package/internal-do-not-import-from-here/models/data/shapedefinitions/ShapeDefinition.d.ts +4 -4
- package/internal-do-not-import-from-here/models/data/shapedefinitions/ShapeDefinition.js +17 -16
- package/internal-do-not-import-from-here/models/data/shapetemplates/ShapeTemplate.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/shapetemplates/ShapeTemplate.js +1 -1
- package/internal-do-not-import-from-here/models/data/sharepoint/fields/SharePointField.d.ts +3 -3
- package/internal-do-not-import-from-here/models/data/sharepoint/fields/SharePointTaxonomyField.d.ts +3 -3
- package/internal-do-not-import-from-here/models/data/sharepointtasks/SharePointTask.d.ts +3 -3
- package/internal-do-not-import-from-here/models/data/tasks/DocumentTask.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/tasks/ReviewTask.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/tasks/ReviewTaskParams.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/workflows/Workflow.d.ts +3 -3
- package/internal-do-not-import-from-here/models/data/workflows/WorkflowHistory.d.ts +2 -2
- package/internal-do-not-import-from-here/models/data/workflows/WorkflowTask.d.ts +3 -3
- package/internal-do-not-import-from-here/models/data/workflows/WorkflowTaskHistory.d.ts +2 -2
- package/internal-do-not-import-from-here/models/filterengine/Shared.d.ts +4 -4
- package/internal-do-not-import-from-here/models/filterengine/Shared.js +1 -1
- package/internal-do-not-import-from-here/models/graph/GraphApiPlannerPlan.d.ts +2 -2
- package/internal-do-not-import-from-here/models/graph/GraphApiPlannerTask.js +1 -1
- package/internal-do-not-import-from-here/models/index.d.ts +0 -1
- package/internal-do-not-import-from-here/models/index.js +0 -1
- package/internal-do-not-import-from-here/models/messaging/DocumentLibraryViewRegistration.d.ts +2 -2
- package/internal-do-not-import-from-here/models/messaging/DocumentRollupViewRegistration.d.ts +2 -2
- package/internal-do-not-import-from-here/models/messaging/ProcessRollupViewRegistration.d.ts +2 -2
- package/internal-do-not-import-from-here/models/processes/ProcessCustomButton.d.ts +2 -2
- package/internal-do-not-import-from-here/models/processes/ProcessCustomButton.js +2 -2
- package/internal-do-not-import-from-here/models/processes/ProcessMoveInfo.d.ts +2 -1
- package/internal-do-not-import-from-here/models/processes/ProcessPropertyInfo.d.ts +2 -2
- package/internal-do-not-import-from-here/models/processes/ProcessReference.d.ts +5 -5
- package/internal-do-not-import-from-here/models/processes/ProcessTaskProvider.d.ts +3 -3
- package/internal-do-not-import-from-here/models/processes/ProcessTaxonomyPropertyInfo.d.ts +3 -3
- package/internal-do-not-import-from-here/models/processes/ProcessTemplateLayoutDefinition.js +1 -1
- package/internal-do-not-import-from-here/models/processstepstatuses/ProcessStepStatus.js +1 -1
- package/internal-do-not-import-from-here/models/processtaskassignments/ProcessTaskAssignment.d.ts +5 -5
- package/internal-do-not-import-from-here/models/processtaskassignments/ProcessTaskAssignment.js +1 -1
- package/internal-do-not-import-from-here/models/route/OPMRoute.d.ts +3 -3
- package/internal-do-not-import-from-here/models/styles/ProcessDesignerStyles.d.ts +1 -1
- package/internal-do-not-import-from-here/models/styles/ProcessDesignerStyles.js +1 -1
- package/internal-do-not-import-from-here/models/styles/ProcessNavigationBlockStyles.d.ts +3 -3
- package/internal-do-not-import-from-here/models/styles/ShapeSelectionStyles.d.ts +1 -1
- package/internal-do-not-import-from-here/services/ImageService.d.ts +2 -2
- package/internal-do-not-import-from-here/services/PermissionService.d.ts +2 -2
- package/internal-do-not-import-from-here/services/ProcessDocumentRelationshipService.d.ts +3 -3
- package/internal-do-not-import-from-here/services/ProcessFeedbackService.d.ts +3 -3
- package/internal-do-not-import-from-here/services/ProcessService.d.ts +31 -31
- package/internal-do-not-import-from-here/services/ProcessTaskService.d.ts +2 -2
- package/internal-do-not-import-from-here/services/ProcessTemplateService.d.ts +3 -3
- package/internal-do-not-import-from-here/services/ProcessTypeService.d.ts +5 -5
- package/internal-do-not-import-from-here/services/ShapeTemplateService.d.ts +3 -3
- package/internal-do-not-import-from-here/services/document/DocumentService.d.ts +7 -7
- package/internal-do-not-import-from-here/services/document/DocumentTypeService.d.ts +8 -8
- package/internal-do-not-import-from-here/services/documentlibrary/DocumentLibraryService.d.ts +2 -2
- package/internal-do-not-import-from-here/services/documentlibrary/PublishDocumentService.d.ts +6 -6
- package/internal-do-not-import-from-here/services/documentlibrary/TaskService.d.ts +3 -3
- package/internal-do-not-import-from-here/stores/CurrentProcessStore.d.ts +7 -6
- package/internal-do-not-import-from-here/stores/ProcessStore.d.ts +20 -20
- package/internal-do-not-import-from-here/stores/ProcessTemplateStore.d.ts +2 -2
- package/internal-do-not-import-from-here/stores/ProcessTypeStore.d.ts +5 -5
- package/internal-do-not-import-from-here/stores/ShapeTemplateStore.d.ts +3 -3
- package/internal-do-not-import-from-here/stores/documentlibrary/DocumentPropetiesStore.d.ts +2 -2
- package/internal-do-not-import-from-here/stores/documentlibrary/DocumentSharePointFieldStore.d.ts +2 -2
- package/internal-do-not-import-from-here/stores/documentlibrary/DocumentTypeStore.d.ts +9 -9
- package/internal-do-not-import-from-here/stores/documentlibrary/LibraryStore.d.ts +9 -9
- package/internal-do-not-import-from-here/stores/documentlibrary/NewDocumentStore.d.ts +3 -3
- package/internal-do-not-import-from-here/utils.d.ts +11 -11
- package/internal-do-not-import-from-here/ux/MSMediaPickerStorageProviderContext.d.ts +12 -0
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/process/ProcessPropertyRenderer.d.ts +25 -13
- package/internal-do-not-import-from-here/ux/filterengine/components/selectionarea/process/SelectionsAreaProcessRenderer.d.ts +30 -17
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/process/ProcessPropertyDefaultValueInput.d.ts +49 -25
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/process/ProcessPropertySettings.d.ts +54 -29
- package/internal-do-not-import-from-here/ux/filterengine/handler/ProcessFilterEngineHandler.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/index.d.ts +1 -0
- package/internal-do-not-import-from-here/wctypings.d.ts +235 -0
- package/package.json +1 -1
- package/task.js +6 -5
- package/task.ts +7 -6
- package/internal-do-not-import-from-here/models/mediapicker/MediaPickerProviderContext.d.ts +0 -15
- package/internal-do-not-import-from-here/models/mediapicker/MediaPickerProviderContext.js +0 -24
- package/internal-do-not-import-from-here/models/mediapicker/index.d.ts +0 -1
- package/internal-do-not-import-from-here/models/mediapicker/index.js +0 -4
- package/internal-do-not-import-from-here/wcdefinitions.json +0 -1
@@ -1,5 +1,5 @@
|
|
1
|
-
import { MultilingualString,
|
2
|
-
import {
|
1
|
+
import { MultilingualString, guid } from "@omnia/fx-models";
|
2
|
+
import { useColorSchemaStore } from "@omnia/fx/ux";
|
3
3
|
import { FabricShapeData } from "../../../processshape";
|
4
4
|
export declare enum ShapeDefinitionTypes {
|
5
5
|
Heading = 1,
|
@@ -12,7 +12,7 @@ export declare enum ShapeMovingDirection {
|
|
12
12
|
Right = 3
|
13
13
|
}
|
14
14
|
export interface ShapeDefinition {
|
15
|
-
id:
|
15
|
+
id: guid;
|
16
16
|
type: ShapeDefinitionTypes;
|
17
17
|
title: MultilingualString;
|
18
18
|
description?: MultilingualString;
|
@@ -24,5 +24,5 @@ export interface ShapeDefinition {
|
|
24
24
|
* To ensure it fully react on view
|
25
25
|
* */
|
26
26
|
export declare const ShapeDefinitionFactory: {
|
27
|
-
createDefaultProcessTemplate(
|
27
|
+
createDefaultProcessTemplate(colors: ReturnType<typeof useColorSchemaStore>, type?: ShapeDefinitionTypes): ShapeDefinition;
|
28
28
|
};
|
@@ -8,7 +8,7 @@ var ShapeDefinitionTypes;
|
|
8
8
|
(function (ShapeDefinitionTypes) {
|
9
9
|
ShapeDefinitionTypes[ShapeDefinitionTypes["Heading"] = 1] = "Heading";
|
10
10
|
ShapeDefinitionTypes[ShapeDefinitionTypes["Drawing"] = 2] = "Drawing";
|
11
|
-
})(ShapeDefinitionTypes
|
11
|
+
})(ShapeDefinitionTypes || (exports.ShapeDefinitionTypes = ShapeDefinitionTypes = {}));
|
12
12
|
/* Shape keyboard move direction */
|
13
13
|
var ShapeMovingDirection;
|
14
14
|
(function (ShapeMovingDirection) {
|
@@ -16,31 +16,32 @@ var ShapeMovingDirection;
|
|
16
16
|
ShapeMovingDirection[ShapeMovingDirection["Down"] = 1] = "Down";
|
17
17
|
ShapeMovingDirection[ShapeMovingDirection["Left"] = 2] = "Left";
|
18
18
|
ShapeMovingDirection[ShapeMovingDirection["Right"] = 3] = "Right";
|
19
|
-
})(ShapeMovingDirection
|
19
|
+
})(ShapeMovingDirection || (exports.ShapeMovingDirection = ShapeMovingDirection = {}));
|
20
20
|
/**
|
21
21
|
* NOTE: whenever an new property is added in settings, we need to define its initial value in factory
|
22
22
|
* To ensure it fully react on view
|
23
23
|
* */
|
24
24
|
exports.ShapeDefinitionFactory = {
|
25
|
-
createDefaultProcessTemplate(
|
25
|
+
createDefaultProcessTemplate(colors, type) {
|
26
26
|
const shapeDefinition = {
|
27
27
|
type: type ? type : ShapeDefinitionTypes.Drawing,
|
28
28
|
title: { isMultilingualString: true },
|
29
|
-
id: fx_models_1.
|
29
|
+
id: (0, fx_models_1.guid)()
|
30
30
|
};
|
31
31
|
if (shapeDefinition.type == ShapeDefinitionTypes.Drawing) {
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
32
|
+
const drawingShapeDefinition = shapeDefinition;
|
33
|
+
drawingShapeDefinition.shapeTemplateId = constants_1.ShapeTemplatesConstants.Diamond.id;
|
34
|
+
drawingShapeDefinition.shapeTemplateType = constants_1.ShapeTemplatesConstants.Diamond.settings.type;
|
35
|
+
drawingShapeDefinition.title = constants_1.ShapeTemplatesConstants.Diamond.title;
|
36
|
+
drawingShapeDefinition.fontSize = 20;
|
37
|
+
drawingShapeDefinition.backgroundColor = colors.get.colorValue(colors.get.onBase.color);
|
38
|
+
drawingShapeDefinition.textColor = colors.get.colorValue(colors.get.base.color);
|
39
|
+
drawingShapeDefinition.width = 100;
|
40
|
+
drawingShapeDefinition.height = 100;
|
41
|
+
drawingShapeDefinition.textPosition = enums_1.TextPosition.On;
|
42
|
+
drawingShapeDefinition.textAlignment = enums_1.TextAlignment.Center;
|
43
|
+
drawingShapeDefinition.textHorizontalAdjustment = 0;
|
44
|
+
drawingShapeDefinition.textVerticalAdjustment = 0;
|
44
45
|
}
|
45
46
|
return shapeDefinition;
|
46
47
|
}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { guid, MultilingualString } from "@omnia/fx-models";
|
2
2
|
import { ShapeTemplateSettings } from "./ShapeTemplateSettings";
|
3
3
|
export interface ShapeTemplate {
|
4
|
-
id:
|
4
|
+
id: guid;
|
5
5
|
title: MultilingualString;
|
6
6
|
settings: ShapeTemplateSettings;
|
7
7
|
builtIn: boolean;
|
@@ -10,7 +10,7 @@ const Enums_1 = require("../enums/Enums");
|
|
10
10
|
exports.ShapeTemplateFactory = {
|
11
11
|
createDefaultShapeTemplate() {
|
12
12
|
const shapeTemplate = {
|
13
|
-
id: fx_models_1.
|
13
|
+
id: (0, fx_models_1.guid)(),
|
14
14
|
title: { isMultilingualString: true },
|
15
15
|
settings: {
|
16
16
|
type: Enums_1.ShapeTemplateType.FreeformShape
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
import { MultilingualString } from "@omnia/fx/models";
|
1
|
+
import { PropertyIndexedType } from "@omnia/fx-models";
|
2
|
+
import { MultilingualString, guid } from "@omnia/fx/models";
|
3
3
|
export interface SharePointField {
|
4
|
-
id:
|
4
|
+
id: guid;
|
5
5
|
/**
|
6
6
|
* SharePoint field title
|
7
7
|
* If we want to show title on UI, check whether it is mapped to our Enterprise Property or not by InternalName to get multilingual title
|
package/internal-do-not-import-from-here/models/data/sharepoint/fields/SharePointTaxonomyField.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { SharePointField } from "./SharePointField";
|
2
|
-
import {
|
2
|
+
import { guid, PropertyIndexedType } from "@omnia/fx-models";
|
3
3
|
export interface SharePointTaxonomyField extends SharePointField {
|
4
4
|
type: PropertyIndexedType.Taxonomy;
|
5
5
|
multiple: boolean;
|
6
|
-
termSetId:
|
7
|
-
termIds: Array<
|
6
|
+
termSetId: guid;
|
7
|
+
termIds: Array<guid>;
|
8
8
|
parentInternalName?: string;
|
9
9
|
limitLevel?: number;
|
10
10
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Enums } from "../..";
|
2
|
-
import {
|
2
|
+
import { guid } from "@omnia/fx-models";
|
3
3
|
export interface SharePointTask {
|
4
4
|
id: number;
|
5
5
|
title: string;
|
@@ -8,7 +8,7 @@ export interface SharePointTask {
|
|
8
8
|
assignedTo: string;
|
9
9
|
created: Date;
|
10
10
|
createdBy: string;
|
11
|
-
listId:
|
11
|
+
listId: guid;
|
12
12
|
contentType: Enums.TaskContentType;
|
13
13
|
status: string;
|
14
14
|
percentComplete: number;
|
@@ -17,5 +17,5 @@ export interface SharePointTask {
|
|
17
17
|
isCurrentResponsible: boolean;
|
18
18
|
description: string;
|
19
19
|
webUrl: string;
|
20
|
-
opmProcessId:
|
20
|
+
opmProcessId: guid;
|
21
21
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
import { Enums } from "../..";
|
3
3
|
export interface DocumentTask {
|
4
4
|
id: number;
|
@@ -8,7 +8,7 @@ export interface DocumentTask {
|
|
8
8
|
assignedTo: string;
|
9
9
|
created: Date;
|
10
10
|
createdBy: string;
|
11
|
-
listId:
|
11
|
+
listId: guid;
|
12
12
|
contentType: Enums.DocumentViewEnums.TaskContentType;
|
13
13
|
status: string;
|
14
14
|
percentComplete: number;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { DocumentTaskDetail } from ".";
|
2
|
-
import {
|
2
|
+
import { guid } from "@omnia/fx-models";
|
3
3
|
import { Workflow } from "..";
|
4
4
|
export interface ReviewTask extends DocumentTaskDetail {
|
5
|
-
workflowTaskId:
|
5
|
+
workflowTaskId: guid;
|
6
6
|
workflow: Workflow;
|
7
7
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
export interface ReviewTaskParams {
|
3
3
|
id: number;
|
4
4
|
reviewers: Array<string>;
|
@@ -7,6 +7,6 @@ export interface ReviewTaskParams {
|
|
7
7
|
webUrl: string;
|
8
8
|
serverRelativeUrl: string;
|
9
9
|
spDocumentId: number;
|
10
|
-
sqlDocumentId:
|
10
|
+
sqlDocumentId: guid;
|
11
11
|
odmDocId: string;
|
12
12
|
}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { AuditingInformation, WorkflowTask } from "..";
|
2
|
-
import {
|
2
|
+
import { guid } from "@omnia/fx-models";
|
3
3
|
import { Enums } from "../..";
|
4
4
|
export interface Workflow extends AuditingInformation {
|
5
|
-
id:
|
6
|
-
documentId:
|
5
|
+
id: guid;
|
6
|
+
documentId: guid;
|
7
7
|
comment: string;
|
8
8
|
dueDate: Date;
|
9
9
|
isCompleted: boolean;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { WorkflowTaskHistory } from "./WorkflowTaskHistory";
|
2
|
-
import {
|
2
|
+
import { guid } from "@omnia/fx-models";
|
3
3
|
import { Enums } from "../..";
|
4
4
|
export interface WorkflowHistory {
|
5
|
-
workflowId:
|
5
|
+
workflowId: guid;
|
6
6
|
workflowType: Enums.DocumentViewEnums.WorkflowType;
|
7
7
|
isCompleted: boolean;
|
8
8
|
startDate: Date;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { guid, Identity } from "@omnia/fx-models";
|
2
2
|
export interface WorkflowTask {
|
3
|
-
id:
|
4
|
-
workflowId:
|
3
|
+
id: guid;
|
4
|
+
workflowId: guid;
|
5
5
|
comment: string;
|
6
6
|
isCompleted: boolean;
|
7
7
|
assignedUser: Identity;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
import { TaskOutcome } from "../enums";
|
3
3
|
export interface WorkflowTaskHistory {
|
4
|
-
workflowTaskId:
|
4
|
+
workflowTaskId: guid;
|
5
5
|
assignedUserName: string;
|
6
6
|
taskOutcome: TaskOutcome;
|
7
7
|
isCompleted: boolean;
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import {
|
2
|
-
import { FilterEngineDefaultPosition, FilterEngineOperator,
|
1
|
+
import { guid } from "@omnia/fx/models";
|
2
|
+
import { FilterEngineDefaultPosition, FilterEngineOperator, PropertyIndexedType, Refinement } from "@omnia/fx/models";
|
3
3
|
export declare enum FilterEngineRenderType {
|
4
4
|
Dropdown = 0,
|
5
5
|
List = 1,
|
6
6
|
Tags = 2,
|
7
7
|
IconButtons = 3
|
8
8
|
}
|
9
|
-
export type BaseFilterEnginePropertyType = PropertyIndexedType |
|
9
|
+
export type BaseFilterEnginePropertyType = PropertyIndexedType | guid;
|
10
10
|
export interface BaseFilterEngineProperty {
|
11
11
|
value: unknown;
|
12
12
|
name: string;
|
@@ -18,7 +18,7 @@ export interface BaseFilterEngineProperty {
|
|
18
18
|
entries?: Array<Refinement>;
|
19
19
|
}
|
20
20
|
export interface ProcessFilterEngineProperty extends BaseFilterEngineProperty {
|
21
|
-
value: Array<
|
21
|
+
value: Array<guid>;
|
22
22
|
type: PropertyIndexedType.Text;
|
23
23
|
operator: FilterEngineOperator;
|
24
24
|
}
|
@@ -7,4 +7,4 @@ var FilterEngineRenderType;
|
|
7
7
|
FilterEngineRenderType[FilterEngineRenderType["List"] = 1] = "List";
|
8
8
|
FilterEngineRenderType[FilterEngineRenderType["Tags"] = 2] = "Tags";
|
9
9
|
FilterEngineRenderType[FilterEngineRenderType["IconButtons"] = 3] = "IconButtons";
|
10
|
-
})(FilterEngineRenderType
|
10
|
+
})(FilterEngineRenderType || (exports.FilterEngineRenderType = FilterEngineRenderType = {}));
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
export interface GraphApiPlannerPlan {
|
3
3
|
id: string;
|
4
4
|
title: string;
|
5
|
-
owner:
|
5
|
+
owner: guid;
|
6
6
|
buckets: GraphApiPlannerBucket[];
|
7
7
|
}
|
8
8
|
export interface GraphApiPlannerBucket {
|
@@ -6,4 +6,4 @@ var GraphApiPlannerTaskProgress;
|
|
6
6
|
GraphApiPlannerTaskProgress[GraphApiPlannerTaskProgress["NotStarted"] = 0] = "NotStarted";
|
7
7
|
GraphApiPlannerTaskProgress[GraphApiPlannerTaskProgress["InProgress"] = 1] = "InProgress";
|
8
8
|
GraphApiPlannerTaskProgress[GraphApiPlannerTaskProgress["Completed"] = 2] = "Completed";
|
9
|
-
})(GraphApiPlannerTaskProgress
|
9
|
+
})(GraphApiPlannerTaskProgress || (exports.GraphApiPlannerTaskProgress = GraphApiPlannerTaskProgress = {}));
|
@@ -12,7 +12,6 @@ export * from "./contexts";
|
|
12
12
|
export * from "./Constants";
|
13
13
|
export * from "./paging";
|
14
14
|
export * from "./richtexteditorextensions";
|
15
|
-
export * from "./mediapicker";
|
16
15
|
export * from "./graph";
|
17
16
|
export * from "./processtaskassignments";
|
18
17
|
export * from "./processstepstatuses";
|
@@ -16,7 +16,6 @@ tslib_1.__exportStar(require("./contexts"), exports);
|
|
16
16
|
tslib_1.__exportStar(require("./Constants"), exports);
|
17
17
|
tslib_1.__exportStar(require("./paging"), exports);
|
18
18
|
tslib_1.__exportStar(require("./richtexteditorextensions"), exports);
|
19
|
-
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);
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { MultilingualString, guid } from "@omnia/fx/models";
|
2
2
|
import { DrawingShapeDefinition } from "../data";
|
3
3
|
import { ProcessDesignerStore } from "internal/processdesigner/stores";
|
4
4
|
export declare enum ProcessButtonType {
|
@@ -20,7 +20,7 @@ export interface IProcessButtonRenderer {
|
|
20
20
|
/**
|
21
21
|
* If you set this value the modelContentManifest will be opened in a dialog
|
22
22
|
*/
|
23
|
-
modelContentManifestId?:
|
23
|
+
modelContentManifestId?: guid;
|
24
24
|
/**
|
25
25
|
* @param currentStore From this you can get the current state of the process and shapes when the button is clicked
|
26
26
|
*/
|
@@ -5,9 +5,9 @@ var ProcessButtonType;
|
|
5
5
|
(function (ProcessButtonType) {
|
6
6
|
ProcessButtonType[ProcessButtonType["ShapeButton"] = 0] = "ShapeButton";
|
7
7
|
ProcessButtonType[ProcessButtonType["ProcessButton"] = 1] = "ProcessButton";
|
8
|
-
})(ProcessButtonType
|
8
|
+
})(ProcessButtonType || (exports.ProcessButtonType = ProcessButtonType = {}));
|
9
9
|
var DisplayProcessButtonType;
|
10
10
|
(function (DisplayProcessButtonType) {
|
11
11
|
DisplayProcessButtonType[DisplayProcessButtonType["SingleButton"] = 0] = "SingleButton";
|
12
12
|
DisplayProcessButtonType[DisplayProcessButtonType["GroupButton"] = 1] = "GroupButton";
|
13
|
-
})(DisplayProcessButtonType
|
13
|
+
})(DisplayProcessButtonType || (exports.DisplayProcessButtonType = DisplayProcessButtonType = {}));
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
export interface ProcessReference {
|
3
|
-
processId:
|
4
|
-
opmProcessId:
|
5
|
-
processStepId:
|
6
|
-
shortcutProcessStepId?:
|
3
|
+
processId: guid;
|
4
|
+
opmProcessId: guid;
|
5
|
+
processStepId: guid;
|
6
|
+
shortcutProcessStepId?: guid;
|
7
7
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { OmniaContext } from "@omnia/fx";
|
2
|
-
import { ApiPath,
|
3
|
-
export type ProcessTaskProviderId =
|
2
|
+
import { ApiPath, guid } from "@omnia/fx/models";
|
3
|
+
export type ProcessTaskProviderId = guid;
|
4
4
|
export declare abstract class ProcessTaskProvider {
|
5
5
|
id: ProcessTaskProviderId;
|
6
6
|
title: string;
|
7
|
-
rendererManifestId:
|
7
|
+
rendererManifestId: guid;
|
8
8
|
isRenderable: (omniaContext: OmniaContext) => boolean | Promise<boolean>;
|
9
9
|
}
|
10
10
|
export interface IProcessTaskApi {
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
1
|
+
import { guid, PropertyIndexedType } from "@omnia/fx-models";
|
2
2
|
import { ProcessPropertyInfo } from "./ProcessPropertyInfo";
|
3
3
|
export interface ProcessTaxonomyPropertyInfo extends ProcessPropertyInfo {
|
4
4
|
type: PropertyIndexedType.Taxonomy;
|
5
5
|
multiple: boolean;
|
6
|
-
termSetId:
|
7
|
-
termIds: Array<
|
6
|
+
termSetId: guid;
|
7
|
+
termIds: Array<guid>;
|
8
8
|
parentInternalName?: string;
|
9
9
|
limitLevel?: number;
|
10
10
|
}
|
package/internal-do-not-import-from-here/models/processes/ProcessTemplateLayoutDefinition.js
CHANGED
@@ -4,7 +4,7 @@ exports.ProcessTemplateLayoutDefinition = void 0;
|
|
4
4
|
const models_1 = require("@omnia/fx/models");
|
5
5
|
class ProcessTemplateLayoutDefinition extends models_1.VersionedLayoutDefinition {
|
6
6
|
constructor() {
|
7
|
-
super("9b99018a-cd87-4292-9814-0d88820efa3a");
|
7
|
+
super((0, models_1.guid)("9b99018a-cd87-4292-9814-0d88820efa3a"));
|
8
8
|
this.settings = {
|
9
9
|
shapeDefinitions: [],
|
10
10
|
canvas: {
|
@@ -7,4 +7,4 @@ var ProcessStepStatusType;
|
|
7
7
|
ProcessStepStatusType[ProcessStepStatusType["InProgress"] = 1] = "InProgress";
|
8
8
|
ProcessStepStatusType[ProcessStepStatusType["Completed"] = 2] = "Completed";
|
9
9
|
ProcessStepStatusType[ProcessStepStatusType["OnHold"] = 3] = "OnHold";
|
10
|
-
})(ProcessStepStatusType
|
10
|
+
})(ProcessStepStatusType || (exports.ProcessStepStatusType = ProcessStepStatusType = {}));
|
package/internal-do-not-import-from-here/models/processtaskassignments/ProcessTaskAssignment.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx/models";
|
2
2
|
import { Task } from "../data";
|
3
3
|
import { GraphApiPlannerTask } from "../graph";
|
4
4
|
export interface ProcessTaskAssignment {
|
5
|
-
taskId:
|
5
|
+
taskId: guid;
|
6
6
|
contextIdentifier: string;
|
7
7
|
data: ProcessTaskAssignmentData;
|
8
|
-
processId:
|
8
|
+
processId: guid;
|
9
9
|
}
|
10
10
|
export declare enum ProcessTaskAssignmentDataType {
|
11
11
|
Planner = 0
|
@@ -19,7 +19,7 @@ export interface PlannerTaskAssignmentData extends ProcessTaskAssignmentData {
|
|
19
19
|
taskId: string;
|
20
20
|
}
|
21
21
|
export interface CreatePlannerTaskAssignmentRequest {
|
22
|
-
processId:
|
22
|
+
processId: guid;
|
23
23
|
contextIdentifier: string;
|
24
24
|
planId: string;
|
25
25
|
bucketId: string;
|
@@ -40,5 +40,5 @@ export interface GetPlannerTaskAssignmentResponse {
|
|
40
40
|
plannerTasks: {
|
41
41
|
[taskId: string]: GraphApiPlannerTask;
|
42
42
|
};
|
43
|
-
unassignedTaskIds:
|
43
|
+
unassignedTaskIds: guid[];
|
44
44
|
}
|
package/internal-do-not-import-from-here/models/processtaskassignments/ProcessTaskAssignment.js
CHANGED
@@ -4,4 +4,4 @@ exports.ProcessTaskAssignmentDataType = void 0;
|
|
4
4
|
var ProcessTaskAssignmentDataType;
|
5
5
|
(function (ProcessTaskAssignmentDataType) {
|
6
6
|
ProcessTaskAssignmentDataType[ProcessTaskAssignmentDataType["Planner"] = 0] = "Planner";
|
7
|
-
})(ProcessTaskAssignmentDataType
|
7
|
+
})(ProcessTaskAssignmentDataType || (exports.ProcessTaskAssignmentDataType = ProcessTaskAssignmentDataType = {}));
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { TokenBasedRoute,
|
1
|
+
import { TokenBasedRoute, guid } from "@omnia/fx-models";
|
2
2
|
import { Version } from "../shared";
|
3
3
|
export interface OPMRoute extends TokenBasedRoute {
|
4
4
|
externalParents: Array<{
|
5
|
-
processStepId:
|
5
|
+
processStepId: guid;
|
6
6
|
version?: Version;
|
7
7
|
}>;
|
8
|
-
processStepId:
|
8
|
+
processStepId: guid;
|
9
9
|
globalRenderer: boolean;
|
10
10
|
/***
|
11
11
|
* - NULL : Preview Version (defined in OPMSpecialRouteVersion)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { types } from "typestyle";
|
2
2
|
import { OmniaTheming } from "@omnia/fx/ux";
|
3
|
-
export declare
|
3
|
+
export declare namespace ProcessDesignerStyles {
|
4
4
|
const PanelStyles: {
|
5
5
|
settingsPanel?: (backgroundColor: any) => types.NestedCSSProperties;
|
6
6
|
shortcutSettingsPanel?: types.NestedCSSProperties;
|
@@ -6,4 +6,4 @@ var ProcessDesignerStyles;
|
|
6
6
|
ProcessDesignerStyles.PanelStyles = {};
|
7
7
|
ProcessDesignerStyles.BlockWithToolbarStyles = {};
|
8
8
|
ProcessDesignerStyles.ProcessDocumentsListingStyles = {};
|
9
|
-
})(ProcessDesignerStyles
|
9
|
+
})(ProcessDesignerStyles || (exports.ProcessDesignerStyles = ProcessDesignerStyles = {}));
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { types } from "typestyle";
|
2
|
-
import { Theming,
|
2
|
+
import { Theming, Spacing } from "@omnia/fx-models";
|
3
3
|
export declare const ProcessNavigationBlockStyles: {
|
4
|
-
blockPadding?: (spacing:
|
4
|
+
blockPadding?: (spacing: Spacing) => types.NestedCSSProperties;
|
5
5
|
levelIndentationIconWrapper?: types.NestedCSSProperties;
|
6
6
|
wrapper: types.NestedCSSProperties;
|
7
|
-
headerWrapper: (level: number, indentation: number, isRoutePath: boolean, theming: Theming, padding:
|
7
|
+
headerWrapper: (level: number, indentation: number, isRoutePath: boolean, theming: Theming, padding: Spacing, isRightToLeft: boolean) => types.NestedCSSProperties;
|
8
8
|
rightIcon: types.NestedCSSProperties;
|
9
9
|
arrowBtnCollapsedDefault: types.NestedCSSProperties;
|
10
10
|
arrowBtnExpanded: types.NestedCSSProperties;
|
@@ -3,7 +3,7 @@ import { OmniaTheming } from "@omnia/fx/ux";
|
|
3
3
|
export declare const ShapeSelectionStyles: {
|
4
4
|
shapesWrapper?: types.NestedCSSProperties;
|
5
5
|
shapeDefinitionItem?: (size: number) => types.NestedCSSProperties;
|
6
|
-
canvasWrapper?: (theme: OmniaTheming, size
|
6
|
+
canvasWrapper?: (theme: OmniaTheming, size?: number) => types.NestedCSSProperties;
|
7
7
|
iconWrapper?: (size: number) => types.NestedCSSProperties;
|
8
8
|
selectionShapeWrapper?: (height: number) => types.NestedCSSProperties;
|
9
9
|
canvasStyle?: types.NestedCSSProperties;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx/models";
|
2
2
|
export declare class ImageService {
|
3
3
|
private opmHttpClient;
|
4
4
|
constructor();
|
5
|
-
getLegacyShapeTemplateContent: (shapeTemplateId:
|
5
|
+
getLegacyShapeTemplateContent: (shapeTemplateId: guid) => Promise<string>;
|
6
6
|
}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx/models";
|
2
2
|
import { AuthorAndDefaultReaderUpdateInput } from "../models";
|
3
3
|
export declare class PermissionService {
|
4
4
|
private httpClient;
|
5
5
|
constructor();
|
6
6
|
updateOPMPermissions: (updateInput: AuthorAndDefaultReaderUpdateInput) => Promise<void>;
|
7
|
-
syncODMPermissions: (teamAppId:
|
7
|
+
syncODMPermissions: (teamAppId: guid) => Promise<void>;
|
8
8
|
}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx/models";
|
2
2
|
import { ProcessDocumentRelationship, DocumentsRelatedProcesses, ProcessRelatedDocumentSuggestionEmail, ProcessRelatedControlledDocument } from "../models";
|
3
3
|
export declare class ProcessDocumentRelationshipService {
|
4
4
|
private httpClient;
|
5
5
|
constructor();
|
6
6
|
add: (relationship: ProcessDocumentRelationship) => Promise<ProcessDocumentRelationship>;
|
7
|
-
getProcessStepDocuments: (processId:
|
8
|
-
delete: (processId:
|
7
|
+
getProcessStepDocuments: (processId: guid, processStepId: guid, includeSuggestions?: boolean) => Promise<Array<ProcessRelatedControlledDocument>>;
|
8
|
+
delete: (processId: guid, processStepId: guid, documentIdNumber: number) => Promise<boolean>;
|
9
9
|
getDocumentsRelatedProcesses: (documentIdNumbers: Array<number>, includeSuggestions?: boolean) => Promise<DocumentsRelatedProcesses[]>;
|
10
10
|
sendSuggestionNotification: (suggestionEmail: ProcessRelatedDocumentSuggestionEmail) => Promise<void>;
|
11
11
|
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx/models";
|
2
2
|
import { ProcessFeedbackRecipients, ProcessFeedback } from "../models";
|
3
3
|
export declare class ProcessFeedbackService {
|
4
4
|
private httpClient;
|
5
5
|
constructor();
|
6
6
|
create: (feedback: ProcessFeedbackRecipients) => Promise<ProcessFeedback>;
|
7
|
-
getByOpmProcessId: (opmProcessId:
|
8
|
-
remove: (id:
|
7
|
+
getByOpmProcessId: (opmProcessId: guid) => Promise<Array<ProcessFeedback>>;
|
8
|
+
remove: (id: guid) => Promise<boolean>;
|
9
9
|
}
|