export declare module Enums { module DocumentViewEnums { enum PagingType { NoPaging = 1, Classic = 2, Scroll = 3 } enum BooleamFilterOption { Yes = 1, No = 2 } enum RefinerOrderBy { Count = 1, Alphabetic = 2 } enum Positions { Top = 1, Left = 2, Right = 3 } enum DateTimeMode { Normal = 1, Social = 2 } enum ManagedPropertyOption { Refinable = 1, Retrievable = 2, Sortable = 3, Queryable = 4 } enum DatePeriods { OneWeekFromToday = 1, TwoWeeksFromToday = 2, OneMonthFromToday = 3 } enum OrderDirection { Ascending = 1, Descending = 2 } enum VersionPublishingTypes { NewEdition = 1, NewRevision = 2 } enum ProcessingStatus { None = 0, Done = 1, SavingProperties = 2, FileIsLocked = 3, FailedUpdatingProperties = 4, Archiving = 5, Archived = 6, InRecyleBin = 7, Restoring = 8, Restored = 9, RecycleBinDeleting = 10, FailedBeforePublishingDocument = 100, FailedEnsureColumnsAndFolderWhenPublishingDocument = 101, FailedConvertPdfFileWhenPublishingDocument = 102, FailedCopyDocumentWhenPublishingDocument = 103, FailedEnsurePermissionWhenPublishingDocument = 104, FailedFinishingWhenPublishingDocument = 105 } enum DocumentVersionType { Draft = 0, Published = 1, Unprocessed = 2, Appendix = 3 } enum LibraryDocumentStatus { Draft = 0, Published = 1, SendingForReview = 2, SentForReview = 3, SendingForApproval = 4, WaitingForApproval = 5, CancellingReview = 6, SavingProperties = 7, Publishing = 8, CancellingApproval = 9, MovingToOtherSite = 10, ReceivingFromOtherSite = 11, MovedToOtherSite = 12, RepublishingBySystem = 13, NotFound = 14, UsingByOtherProcess = 15, IsNotLatestEdition = 16, FailedSendingForReview = 17, FailedSendingForApproval = 18, FailedCancellingReview = 19, FailedCancellingApproval = 20, FailedPublishing = 21, FailedConvertToPDF = 22, FailedMovingToOtherSite = 23, FailedRepublishingBySystem = 24, CreatingDraft = 25, FailedCreatingDraft = 26, FileIsLocked = 27, Archived = 28, Unprocessed = 29, HasDraftVersion = 30, RequiredFieldUpdateError = 31, NoDocumentTypeError = 32, FailedMergeWithTemplate = 33, Deleted = 34, Archiving = 35, ScheduledForPublishing = 36, FailedScheduleForPublishing = 37 } enum TaskContentType { Undefined = 0, ApprovalTask = 1, ReviewReminderTask = 2, ReviewTask = 3 } enum TaskViewType { AssignedToMe = 1, AssignedByMe = 2, CompletedTasks = 3 } enum StartPageTab { Drafts = 0, Tasks = 1, Published = 2 } enum DocumentAccessTypes { DefaultReaderGroup = 0, LimitedAccess = 1 } enum WorkflowCompletedType { None = 0, AllTasksDone = 1, MeetDueDate = 2, Cancelled = 3, Failed = 4 } enum DocumentRoles { View = 1, Edit = 2, Delete = 3, Approve = 4 } enum DocumentActions { View = 0, Edit = 1, Delete = 2, SendForReview = 3, Publish = 4, CreateDraft = 5, Unpublish = 6, ViewHistory = 7, MoveDocument = 8, RelatedDocuments = 9, Appendices = 10, ViewReadReceiptStatus = 11, RelatedProcesses = 12, CopyLink = 13, SignedCopy = 14, ChangeComment = 15, CreateSignOffRequest = 16 } enum WorkflowType { ReviewWorkflow = 1, PublishWorkflow = 2, CreateDraft = 3, MovedDocument = 4, PublishWithoutApproval = 5, ReviewReminderWorkflow = 6, DeletePublishedDocument = 7, RestoreDocument = 8, ChangeDraftComment = 9, ScheduledPublishing = 10 } enum ReviewReminderTaskOutcome { Undefined = 0, CreateDraft = 1, Unpublish = 2, SetNewReviewDate = 3 } enum ApprovalTaskOutcome { Approved = 1, Rejected = 2 } enum CreateDraftType { CurrentEdition = 1, PreviousEdition = 2, UploadNewFile = 3 } enum CreateDraftFromTemplateType { JustCreateDraft = 1 } enum ViewDocumentPropertyMode { Draft = 0, Publish = 1, ControlledDocument = 2, SearchResult = 3 } enum QueryScope { AllDocuments = 0, PublishedDocuments = 1, ArchivedDocuments = 2, ProcessDocuments = 3, SharePointLibrary = 4 } enum QueryConfigurationType { QueryBuilder = 0, PickDocuments = 1 } enum ProcessDocumentRelationStatus { Draft = 0, Published = 1, Archived = 2, Suggested = 3 } const ManualSortInternalName = "b1ddcf1c-4b9b-4e94-8427-edb67c0e3a9a"; } module DocumentStatisticsEnums { enum StatisticsType { DraftDocuments = 0, PublishedDocuments = 1, ArchivedDocuments = 2, PastReviewDate = 3, SentForComments = 4, WaitingForApproval = 5 } } module DocumentPicker { enum CategoryType { SharePointLibrary = 0, SearchProvider = 1, ControlledDocument = 2, FileUploader = 3 } enum ListItemResultType { Document = 0, Folder = 1 } enum UploadingFileStatus { checking = 0, invalid = 1, uploading = 2, finish = 3, fail = 4 } enum PickerMode { listingResult = 0, pickOnly = 1 } } module ProcessViewEnums { enum QueryScope { PublishedProcesses = 1, ArchivedProcesses = 2 } enum BuildInProcessTitleTextStyleFormatting { Normal = "afc69d06-73d4-4021-a692-8e0f3c80ba1f", Heading1 = "d0f88100-d170-4416-90b3-d20eacb25d60", Heading2 = "834d394c-6517-4134-8488-52b47ee2e32e", Heading3 = "3abb88f8-a937-49df-a346-f0465b265656", Heading4 = "9f717035-c3ce-45f6-9f66-76df59faf7fa", Heading5 = "2b4051d1-a9ed-450e-9bdf-1f6eaa6721e3", Heading6 = "f0b42e88-47e3-4b69-8d11-393683214810", Custom = "00000000-0000-0000-0000-000000000000" } /** * Only used in process rollup */ enum TaxonomyFilterType { FixedValue = 1, CurrentPage = 2, User = 3, CurrentProcess = 4, CurrentUser = 5, SelectedUser = 6 } enum OrderDirection { Ascending = 1, Descending = 2 } enum PagingType { NoPaging = 1, Classic = 2, Scroll = 3 } enum StartPageTab { Drafts = 0, Tasks = 1, Published = 2 } enum PropertyType { None = 0, Text = 1, Number = 2 } enum ProcessAccessTypes { DefaultReaderGroup = 0, LimitedAccess = 1 } enum Positions { Top = 1, Left = 2, Right = 3 } enum DatePeriods { OneWeekFromToday = 1, TwoWeeksFromToday = 2, OneMonthFromToday = 3, LaterThanToday = 4, EarlierThanToday = 5 } enum RefinerOrderBy { Count = 1, Alphabetic = 2 } enum BooleamFilterOption { Yes = 1, No = 2 } enum DateTimeMode { Normal = 1, Social = 2 } enum HeadingFormatting { Normal = 0, Heading1 = 1, Heading2 = 2, Heading3 = 3 } } enum ShapeTypes { None = 0, ProcessStep = 1, Link = 2 } module WorkflowEnums { enum VersionPublishingTypes { NewEdition = 1, NewRevision = 2 } } enum LinkType { CustomLink = 0, Heading = 1 } enum TaskContentType { Undefined = 0, ApprovalTask = 1, ReviewReminderTask = 2 } enum TaskViewType { AssignedToMe = 1, AssignedByMe = 2, CompletedTasks = 3 } enum OpenDocumentOptions { OpenInWeb = "OpenInWeb", OpenInWebNewTab = "OpenInWebNewTab", OpenInApp = "OpenInApp", Download = "Download" } }