2024-03-21 14:09:55 +00:00
|
|
|
// (c) Copyright Ascensio System SIA 2009-2024
|
2024-03-18 09:54:09 +00:00
|
|
|
//
|
2024-03-17 23:13:02 +00:00
|
|
|
// This program is a free software product.
|
|
|
|
// You can redistribute it and/or modify it under the terms
|
|
|
|
// of the GNU Affero General Public License (AGPL) version 3 as published by the Free Software
|
|
|
|
// Foundation. In accordance with Section 7(a) of the GNU AGPL its Section 15 shall be amended
|
|
|
|
// to the effect that Ascensio System SIA expressly excludes the warranty of non-infringement of
|
|
|
|
// any third-party rights.
|
2024-03-18 09:54:09 +00:00
|
|
|
//
|
2024-03-17 23:13:02 +00:00
|
|
|
// This program is distributed WITHOUT ANY WARRANTY, without even the implied warranty
|
|
|
|
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For details, see
|
|
|
|
// the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
2024-03-18 09:54:09 +00:00
|
|
|
//
|
2024-03-17 23:13:02 +00:00
|
|
|
// You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia, EU, LV-1021.
|
2024-03-18 09:54:09 +00:00
|
|
|
//
|
2024-03-17 23:13:02 +00:00
|
|
|
// The interactive user interfaces in modified source and object code versions of the Program must
|
|
|
|
// display Appropriate Legal Notices, as required under Section 5 of the GNU AGPL version 3.
|
2024-03-18 09:54:09 +00:00
|
|
|
//
|
2024-03-17 23:13:02 +00:00
|
|
|
// Pursuant to Section 7(b) of the License you must retain the original Product logo when
|
|
|
|
// distributing the program. Pursuant to Section 7(e) we decline to grant you any rights under
|
|
|
|
// trademark law for use of our trademarks.
|
2024-03-18 09:54:09 +00:00
|
|
|
//
|
2024-03-17 23:13:02 +00:00
|
|
|
// All the Product's GUI elements, including illustrations and icon sets, as well as technical writing
|
|
|
|
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
|
|
|
|
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
|
|
|
|
2024-05-28 11:05:49 +00:00
|
|
|
export const enum ScopeType {
|
|
|
|
read = "read",
|
|
|
|
write = "write",
|
|
|
|
openid = "openid",
|
|
|
|
}
|
|
|
|
|
|
|
|
export const enum ScopeGroup {
|
|
|
|
files = "files",
|
|
|
|
accounts = "accounts",
|
|
|
|
profiles = "profiles",
|
|
|
|
rooms = "rooms",
|
|
|
|
openid = "openid",
|
|
|
|
}
|
|
|
|
|
|
|
|
export const enum AuthenticationMethod {
|
|
|
|
none = "none",
|
|
|
|
"client_secret_post" = "client_secret_post",
|
|
|
|
}
|
|
|
|
|
2023-12-29 07:06:37 +00:00
|
|
|
/**
|
|
|
|
* Enum for employee activation status.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum EmployeeActivationStatus {
|
|
|
|
NotActivated = 0,
|
|
|
|
Activated = 1,
|
|
|
|
Pending = 2,
|
|
|
|
AutoGenerated = 4,
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* Enum for employee status.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum EmployeeStatus {
|
|
|
|
Active = 1,
|
|
|
|
Disabled = 2,
|
2024-06-13 12:22:52 +00:00
|
|
|
Pending = 4, // NEW STATUS from server
|
2023-12-29 07:06:37 +00:00
|
|
|
}
|
|
|
|
/**
|
|
|
|
* Enum for employee type.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum EmployeeType {
|
|
|
|
User = 1,
|
|
|
|
Guest = 2,
|
|
|
|
Admin = 3,
|
|
|
|
Collaborator = 4,
|
|
|
|
UserString = "user",
|
|
|
|
RoomAdmin = "manager",
|
2024-06-14 10:25:48 +00:00
|
|
|
PortalAdmin = "admin",
|
2023-12-29 07:06:37 +00:00
|
|
|
Owner = "Owner",
|
|
|
|
CollaboratorString = "collaborator",
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* Enum for user payments type.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum PaymentsType {
|
|
|
|
Paid = "0",
|
|
|
|
Free = "1",
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* Enum for account login type.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum AccountLoginType {
|
|
|
|
SSO = "0",
|
|
|
|
LDAP = "1",
|
|
|
|
STANDART = "2",
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* Enum for files selector filter.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum ApplyFilterOption {
|
|
|
|
All = "All",
|
|
|
|
Files = "Files",
|
|
|
|
Folder = "Folder",
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* Enum for files selector filter.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum FilesSelectorFilterTypes {
|
|
|
|
DOCX = "DOCX",
|
2024-03-13 10:24:41 +00:00
|
|
|
PDF = "PDF",
|
2023-12-29 07:06:37 +00:00
|
|
|
IMG = "IMG",
|
|
|
|
GZ = "GZ",
|
|
|
|
DOCXF = "DOCXF",
|
|
|
|
XLSX = "XLSX",
|
|
|
|
ALL = "ALL",
|
|
|
|
BackupOnly = "BackupOnly",
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* Enum for filter subject.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum FilterSubject {
|
|
|
|
Owner = "0",
|
|
|
|
Member = "1",
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* Enum for filter type.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum FilterType {
|
|
|
|
None = 0,
|
|
|
|
FilesOnly = 1,
|
|
|
|
FoldersOnly = 2,
|
|
|
|
DocumentsOnly = 3,
|
|
|
|
PresentationsOnly = 4,
|
|
|
|
SpreadsheetsOnly = 5,
|
|
|
|
ImagesOnly = 7,
|
|
|
|
ByUser = 8,
|
|
|
|
ByDepartment = 9,
|
|
|
|
ArchiveOnly = 10,
|
|
|
|
ByExtension = 11,
|
|
|
|
MediaOnly = 12,
|
2024-07-11 14:38:12 +00:00
|
|
|
FillingFormsRooms = 13,
|
|
|
|
EditingRooms = 14,
|
|
|
|
ReviewRooms = 15,
|
|
|
|
ReadOnlyRooms = 16,
|
|
|
|
CustomRooms = 17,
|
|
|
|
PublicRooms = 20,
|
|
|
|
FormRooms = 21,
|
|
|
|
Pdf = 22,
|
2024-07-16 10:51:04 +00:00
|
|
|
PDFForm = 23,
|
2023-12-29 07:06:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for file type.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum FileType {
|
|
|
|
Unknown = 0,
|
|
|
|
Archive = 1,
|
|
|
|
Video = 2,
|
|
|
|
Audio = 3,
|
|
|
|
Image = 4,
|
|
|
|
Spreadsheet = 5,
|
|
|
|
Presentation = 6,
|
|
|
|
Document = 7,
|
|
|
|
OFormTemplate = 8,
|
|
|
|
OForm = 9,
|
2024-03-11 14:59:33 +00:00
|
|
|
PDF = 10,
|
2023-12-29 07:06:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for room provider type.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum RoomsProviderType {
|
|
|
|
Box = 1,
|
2024-03-05 11:37:12 +00:00
|
|
|
DropboxV2 = 2,
|
2023-12-29 07:06:37 +00:00
|
|
|
GoogleDrive = 3,
|
|
|
|
kDrive = 4,
|
|
|
|
OneDrive = 5,
|
|
|
|
SharePoint = 6,
|
|
|
|
WebDav = 7,
|
|
|
|
Yandex = 8,
|
2024-04-11 12:32:32 +00:00
|
|
|
Storage = 9,
|
2023-12-29 07:06:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for room search area.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum RoomSearchArea {
|
|
|
|
Any = "Any",
|
|
|
|
Active = "Active",
|
|
|
|
Archive = "Archive",
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* Enum for file action.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum FileAction {
|
|
|
|
Create = 0,
|
|
|
|
Rename = 1,
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
|
|
|
|
export const enum PageType {
|
|
|
|
account = "account",
|
|
|
|
customization = "customization",
|
|
|
|
security = "security",
|
|
|
|
backup = "backup",
|
|
|
|
restore = "restore",
|
|
|
|
integration = "integration",
|
|
|
|
developerTools = "developerTools",
|
|
|
|
portalDeletion = "portalDeletion",
|
|
|
|
payments = "payments",
|
|
|
|
bonus = "bonus",
|
2024-02-13 11:16:29 +00:00
|
|
|
dataImport = "dataImport",
|
2024-01-19 10:53:35 +00:00
|
|
|
storageManagement = "storageManagement",
|
2023-12-29 07:06:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for root folders type.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum FolderType {
|
|
|
|
DEFAULT = 0,
|
|
|
|
COMMON = 1,
|
|
|
|
BUNCH = 2,
|
|
|
|
TRASH = 3,
|
|
|
|
USER = 5,
|
|
|
|
SHARE = 6,
|
|
|
|
Projects = 8,
|
|
|
|
Favorites = 10,
|
|
|
|
Recent = 11,
|
|
|
|
Templates = 12,
|
|
|
|
Privacy = 13,
|
|
|
|
Rooms = 14,
|
2024-03-13 10:55:55 +00:00
|
|
|
FormRoom = 15,
|
|
|
|
EditingRoom = 16,
|
|
|
|
ReviewRoom = 17,
|
|
|
|
ReadOnlyRoom = 18,
|
|
|
|
CustomRoom = 19,
|
2023-12-29 07:06:37 +00:00
|
|
|
Archive = 20,
|
2024-08-02 14:59:32 +00:00
|
|
|
PublicRoom = 22,
|
2024-01-18 15:31:46 +00:00
|
|
|
Done = 25,
|
|
|
|
InProgress = 26,
|
|
|
|
SubFolderDone = 27,
|
|
|
|
SubFolderInProgress = 28,
|
2023-12-29 07:06:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export const enum ShareAccessRights {
|
|
|
|
None = 0,
|
|
|
|
FullAccess = 1,
|
|
|
|
ReadOnly = 2,
|
|
|
|
DenyAccess = 3,
|
|
|
|
Varies = 4,
|
|
|
|
Review = 5,
|
|
|
|
Comment = 6,
|
|
|
|
FormFilling = 7,
|
|
|
|
CustomFilter = 8,
|
|
|
|
RoomManager = 9,
|
|
|
|
Editing = 10,
|
|
|
|
Collaborator = 11,
|
|
|
|
}
|
|
|
|
export const enum ConflictResolveType {
|
|
|
|
Skip = 0,
|
|
|
|
Overwrite = 1,
|
|
|
|
Duplicate = 2,
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for third-party storages.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum ThirdPartyStorages {
|
|
|
|
GoogleId = "googlecloud",
|
|
|
|
RackspaceId = "rackspace",
|
|
|
|
SelectelId = "selectel",
|
|
|
|
AmazonId = "s3",
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* Enum for backup types.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum BackupStorageType {
|
|
|
|
DocumentModuleType = 0,
|
|
|
|
ResourcesModuleType = 1,
|
|
|
|
LocalFileModuleType = 3,
|
|
|
|
TemporaryModuleType = 4,
|
|
|
|
StorageModuleType = 5,
|
|
|
|
}
|
|
|
|
|
|
|
|
export const enum AutoBackupPeriod {
|
|
|
|
EveryDayType = 0,
|
|
|
|
EveryWeekType = 1,
|
|
|
|
EveryMonthType = 2,
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for Tenant trusted domains on registration.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum TenantTrustedDomainsType {
|
|
|
|
None = 0,
|
|
|
|
Custom = 1,
|
|
|
|
All = 2,
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for file status.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum FileStatus {
|
|
|
|
None = 0,
|
|
|
|
IsEditing = 1,
|
|
|
|
IsNew = 2,
|
|
|
|
IsConverting = 4,
|
|
|
|
IsOriginal = 8,
|
|
|
|
IsEditingAlone = 16,
|
|
|
|
IsFavorite = 32,
|
|
|
|
IsTemplate = 64,
|
|
|
|
IsFillFormDraft = 128,
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for tenant status.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum TenantStatus {
|
|
|
|
PortalDeactivate = 1,
|
|
|
|
PortalRestore = 4,
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for theme keys.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum ThemeKeys {
|
|
|
|
Base = "0",
|
|
|
|
BaseStr = "Base",
|
|
|
|
Dark = "1",
|
|
|
|
DarkStr = "Dark",
|
|
|
|
System = "2",
|
|
|
|
SystemStr = "System",
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for global events.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum Events {
|
|
|
|
CREATE = "create",
|
|
|
|
RENAME = "rename",
|
|
|
|
ROOM_CREATE = "create_room",
|
|
|
|
ROOM_EDIT = "edit_room",
|
2024-02-14 12:35:17 +00:00
|
|
|
GROUP_CREATE = "create_group",
|
|
|
|
GROUP_EDIT = "edit_group",
|
2023-12-29 07:06:37 +00:00
|
|
|
CHANGE_COLUMN = "change_column",
|
|
|
|
CHANGE_USER_TYPE = "change_user_type",
|
2024-01-23 05:12:08 +00:00
|
|
|
CHANGE_QUOTA = "change_quota",
|
2023-12-29 07:06:37 +00:00
|
|
|
CREATE_PLUGIN_FILE = "create_plugin_file",
|
2024-04-02 10:52:56 +00:00
|
|
|
CREATE_PDF_FORM_FILE = "create_pdf_form_file",
|
2024-05-29 11:48:03 +00:00
|
|
|
Share_PDF_Form = "share_pdf_form",
|
2023-12-29 07:06:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for feed action types.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum FeedActionTypes {
|
|
|
|
Create = 0,
|
|
|
|
Update = 1,
|
|
|
|
Rename = 2,
|
|
|
|
Move = 3,
|
|
|
|
Delete = 4,
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for feed item types.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum FeedItemTypes {
|
|
|
|
File = "file",
|
|
|
|
Folder = "folder",
|
|
|
|
Room = "room",
|
|
|
|
Tag = "tag",
|
|
|
|
User = "sharedRoom",
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for theme keys.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum TariffState {
|
|
|
|
Trial = 0,
|
|
|
|
Paid = 1,
|
|
|
|
Delay = 2,
|
|
|
|
NotPaid = 3,
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for theme keys.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum PortalFeaturesLimitations {
|
|
|
|
Limitless = -1,
|
|
|
|
Unavailable = 0,
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for notifications.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum NotificationsType {
|
|
|
|
Badges = 0,
|
|
|
|
RoomsActivity = 1,
|
|
|
|
DailyFeed = 2,
|
|
|
|
UsefulTips = 3,
|
|
|
|
}
|
|
|
|
|
|
|
|
export const enum FilterGroups {
|
|
|
|
filterType = "filter-filterType",
|
|
|
|
filterAuthor = "filter-author",
|
|
|
|
filterFolders = "filter-folders",
|
|
|
|
filterRoom = "filter-room",
|
|
|
|
filterContent = "filter-withContent",
|
2024-01-24 08:53:37 +00:00
|
|
|
filterQuota = "filter-quota",
|
2023-12-29 07:06:37 +00:00
|
|
|
roomFilterProviderType = "filter-provider-type",
|
|
|
|
roomFilterType = "filter-type",
|
|
|
|
roomFilterSubject = "filter-subject",
|
|
|
|
roomFilterOwner = "filter-owner",
|
|
|
|
roomFilterTags = "filter-tags",
|
|
|
|
roomFilterFolders = "filter-withSubfolders",
|
|
|
|
roomFilterContent = "filter-content",
|
2024-02-13 20:48:47 +00:00
|
|
|
filterGroup = "filter-group",
|
|
|
|
groupsFilterMember = "filter-group-member",
|
|
|
|
groupsFilterManager = "filter-group-manager",
|
2023-12-29 07:06:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export const enum FilterKeys {
|
|
|
|
withSubfolders = "withSubfolders",
|
|
|
|
excludeSubfolders = "excludeSubfolders",
|
|
|
|
withContent = "withContent",
|
|
|
|
me = "me",
|
|
|
|
other = "other",
|
|
|
|
user = "user",
|
2024-02-13 20:48:47 +00:00
|
|
|
withoutGroup = "withoutGroup",
|
|
|
|
selectedGroup = "selectedGroup",
|
|
|
|
byManager = "byManager",
|
2024-01-24 08:53:37 +00:00
|
|
|
customQuota = "2",
|
|
|
|
defaultQuota = "1",
|
2023-12-29 07:06:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export const enum IndexedDBStores {
|
|
|
|
images = "images",
|
|
|
|
}
|
|
|
|
|
|
|
|
export const enum FilterSelectorTypes {
|
|
|
|
people = "people-selector",
|
|
|
|
rooms = "rooms-selector",
|
2024-02-13 20:48:47 +00:00
|
|
|
groups = "groups-selector",
|
2023-12-29 07:06:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export const enum DeviceType {
|
|
|
|
mobile = "mobile",
|
|
|
|
tablet = "tablet",
|
|
|
|
desktop = "desktop",
|
|
|
|
}
|
|
|
|
|
2023-11-24 07:43:45 +00:00
|
|
|
export const enum ParseErrorTypes {
|
2023-11-23 15:25:24 +00:00
|
|
|
None = 0,
|
|
|
|
EmptyRecipients = 1,
|
|
|
|
IncorrectEmail = 2,
|
|
|
|
}
|
|
|
|
|
2023-12-21 14:41:01 +00:00
|
|
|
export const enum ButtonKeys {
|
2024-08-16 08:03:16 +00:00
|
|
|
enter = "Enter",
|
2024-08-14 15:48:15 +00:00
|
|
|
numpadEnter = "NumpadEnter",
|
2024-04-23 09:41:11 +00:00
|
|
|
esc = "Escape",
|
2023-12-25 08:49:09 +00:00
|
|
|
tab = "Tab",
|
2023-12-21 14:41:01 +00:00
|
|
|
}
|
|
|
|
|
2023-11-24 07:43:45 +00:00
|
|
|
export const enum ErrorKeys {
|
2023-11-23 15:25:24 +00:00
|
|
|
LocalDomain = "LocalDomain",
|
|
|
|
IncorrectDomain = "IncorrectDomain",
|
|
|
|
DomainIpAddress = "DomainIpAddress",
|
|
|
|
PunycodeDomain = "PunycodeDomain",
|
|
|
|
PunycodeLocalPart = "PunycodeLocalPart",
|
|
|
|
IncorrectLocalPart = "IncorrectLocalPart",
|
|
|
|
SpacesInLocalPart = "SpacesInLocalPart",
|
|
|
|
MaxLengthExceeded = "MaxLengthExceeded",
|
|
|
|
IncorrectEmail = "IncorrectEmail",
|
|
|
|
ManyEmails = "ManyEmails",
|
|
|
|
EmptyEmail = "EmptyEmail",
|
|
|
|
}
|
2023-12-15 08:31:10 +00:00
|
|
|
|
2023-12-29 07:06:37 +00:00
|
|
|
export enum RoomsType {
|
2024-06-17 09:24:26 +00:00
|
|
|
PublicRoom = 6,
|
2024-01-18 15:31:46 +00:00
|
|
|
FormRoom = 1,
|
2023-12-29 07:06:37 +00:00
|
|
|
// FillingFormsRoom= 1, //TODO: Restore when certs will be done
|
2023-12-15 08:31:10 +00:00
|
|
|
EditingRoom = 2,
|
|
|
|
// ReviewRoom: 3, //TODO: Restore when certs will be done
|
|
|
|
// ReadOnlyRoom: 4, //TODO: Restore when certs will be done
|
|
|
|
CustomRoom = 5,
|
|
|
|
}
|
2024-02-14 12:35:17 +00:00
|
|
|
|
2024-06-06 13:12:25 +00:00
|
|
|
export const enum RecaptchaType {
|
|
|
|
Default = 0,
|
|
|
|
AndroidV2 = 1,
|
|
|
|
iOSV2 = 2,
|
|
|
|
hCaptcha = 3,
|
|
|
|
}
|
|
|
|
|
2024-02-14 12:35:17 +00:00
|
|
|
export enum AccountsSearchArea {
|
|
|
|
People = "0",
|
|
|
|
Groups = "1",
|
|
|
|
Any = "2",
|
|
|
|
}
|
2024-03-04 15:46:28 +00:00
|
|
|
|
|
|
|
export enum MembersSubjectType {
|
|
|
|
User = 0,
|
|
|
|
ExternalLink = 1,
|
|
|
|
Group = 2,
|
|
|
|
InvitationLink = 3,
|
|
|
|
PrimaryExternalLink = 4,
|
|
|
|
}
|
2024-03-11 18:59:56 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for open url action.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum UrlActionType {
|
|
|
|
Download = 0,
|
|
|
|
Link = 1,
|
|
|
|
}
|
2024-03-19 12:55:09 +00:00
|
|
|
|
|
|
|
export const enum WhiteLabelLogoType {
|
|
|
|
LightSmall = 1,
|
|
|
|
LoginPage = 2,
|
|
|
|
Favicon = 3,
|
|
|
|
DocsEditor = 4,
|
|
|
|
DocsEditorEmbed = 5,
|
|
|
|
LeftMenu = 6,
|
|
|
|
AboutPage = 7,
|
|
|
|
Notification = 8,
|
|
|
|
}
|
2024-04-02 13:30:45 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for files selector filter extended.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const enum FilesSelectorExtendedFilterTypes {
|
2024-04-29 20:47:49 +00:00
|
|
|
Folders = "Folders",
|
2024-04-02 13:30:45 +00:00
|
|
|
Documents = "Documents",
|
|
|
|
Presentations = "Presentations",
|
|
|
|
Spreadsheets = "Spreadsheets",
|
|
|
|
Images = "Images",
|
|
|
|
Media = "Media",
|
|
|
|
Archives = "Archives",
|
2024-04-29 20:47:49 +00:00
|
|
|
AllFiles = "AllFiles",
|
|
|
|
Forms = "Forms",
|
2024-04-02 13:30:45 +00:00
|
|
|
}
|
2024-04-09 10:07:00 +00:00
|
|
|
|
2024-03-27 10:28:07 +00:00
|
|
|
export const enum EditorConfigErrorType {
|
|
|
|
System = "System.Exception",
|
|
|
|
LinkScope = "ASC.Files.Core.Exceptions.LinkScopeException",
|
2024-04-02 06:47:50 +00:00
|
|
|
NotFoundScope = "System.IO.FileNotFoundException",
|
|
|
|
AccessDeniedScope = "System.Security.SecurityException",
|
2024-04-19 11:17:03 +00:00
|
|
|
TenantQuotaException = "ASC.Core.Tenants.TenantQuotaException",
|
2024-03-27 10:28:07 +00:00
|
|
|
}
|
2024-05-14 10:10:25 +00:00
|
|
|
|
|
|
|
export const enum RoomsStorageFilter {
|
|
|
|
internal = 1,
|
|
|
|
thirdparty = 2,
|
|
|
|
}
|
2024-05-28 15:18:16 +00:00
|
|
|
|
2024-06-05 09:28:17 +00:00
|
|
|
export const enum LDAPOperation {
|
2024-05-28 15:18:16 +00:00
|
|
|
SaveAndSync = "Save",
|
|
|
|
Sync = "Sync",
|
|
|
|
}
|
2024-05-31 12:40:30 +00:00
|
|
|
|
|
|
|
export const enum LDAPCertificateProblem {
|
|
|
|
CertExpired = -2146762495,
|
|
|
|
CertValidityPeriodNesting = -2146762494,
|
|
|
|
CertRole = -2146762493,
|
|
|
|
CertPathLenConst = -2146762492,
|
|
|
|
CertCritical = -2146762491,
|
|
|
|
CertPurpose = -2146762490,
|
|
|
|
CertIssuerChaining = -2146762489,
|
|
|
|
CertMalformed = -2146762488,
|
|
|
|
CertUntrustedRoot = -2146762487,
|
|
|
|
CertChainnig = -2146762486,
|
|
|
|
CertRevoked = -2146762484,
|
|
|
|
CertUntrustedTestRoot = -2146762483,
|
|
|
|
CertRevocationFailure = -2146762482,
|
|
|
|
CertCnNoMatch = -2146762481,
|
|
|
|
CertWrongUsage = -2146762480,
|
|
|
|
CertUntrustedCa = -2146762478,
|
|
|
|
CertUnrecognizedError = -2146762477,
|
|
|
|
}
|
2024-07-17 10:11:49 +00:00
|
|
|
|
|
|
|
export enum FileExtensions {
|
|
|
|
PDF = "pdf",
|
|
|
|
DOC = "doc",
|
|
|
|
DOCX = "docx",
|
|
|
|
DOCXF = "docxf",
|
|
|
|
XLSX = "xlsx",
|
|
|
|
PPTX = "pptx",
|
|
|
|
}
|
2024-08-02 10:17:03 +00:00
|
|
|
|
|
|
|
export enum ValidationStatus {
|
|
|
|
Ok = 0,
|
|
|
|
Invalid = 1,
|
|
|
|
Expired = 2,
|
|
|
|
Password = 3,
|
|
|
|
InvalidPassword = 4,
|
|
|
|
ExternalAccessDenied = 5,
|
|
|
|
}
|