1: | <?php |
2: | |
3: | |
4: | |
5: | |
6: | |
7: | |
8: | namespace Aurora\System; |
9: | |
10: | |
11: | |
12: | |
13: | |
14: | |
15: | |
16: | |
17: | class Notifications |
18: | { |
19: | public const InvalidToken = 101; |
20: | public const AuthError = 102; |
21: | public const InvalidInputParameter = 103; |
22: | public const DataBaseError = 104; |
23: | public const LicenseProblem = 105; |
24: | public const DemoAccount = 106; |
25: | public const CaptchaError = 107; |
26: | public const AccessDenied = 108; |
27: | public const UnknownEmail = 109; |
28: | public const HttpsApiAccess = 110; |
29: | public const UserAlreadyExists = 111; |
30: | public const SystemNotConfigured = 112; |
31: | public const ModuleNotFound = 113; |
32: | public const MethodNotFound = 114; |
33: | public const LicenseLimit = 115; |
34: | public const MethodAccessDenied= 116; |
35: | |
36: | public const CanNotSaveSettings = 501; |
37: | public const CanNotChangePassword = 502; |
38: | public const AccountOldPasswordNotCorrect = 503; |
39: | |
40: | public const CanNotCreateContact = 601; |
41: | public const CanNotCreateGroup = 602; |
42: | public const CanNotUpdateContact = 603; |
43: | public const CanNotUpdateGroup = 604; |
44: | public const ContactDataHasBeenModifiedByAnotherApplication = 605; |
45: | public const CanNotGetContact = 607; |
46: | |
47: | public const CanNotCreateAccount = 701; |
48: | public const AccountExists = 704; |
49: | |
50: | |
51: | public const RestOtherError = 710; |
52: | public const RestApiDisabled = 711; |
53: | public const RestUnknownMethod = 712; |
54: | public const RestInvalidParameters = 713; |
55: | public const RestInvalidCredentials = 714; |
56: | public const RestInvalidToken = 715; |
57: | public const RestTokenExpired = 716; |
58: | public const RestAccountFindFailed = 717; |
59: | public const RestTenantFindFailed = 719; |
60: | |
61: | public const CalendarsNotAllowed = 801; |
62: | public const FilesNotAllowed = 802; |
63: | public const ContactsNotAllowed = 803; |
64: | public const HelpdeskUserAlreadyExists = 804; |
65: | public const HelpdeskSystemUserExists = 805; |
66: | public const CanNotCreateHelpdeskUser = 806; |
67: | public const HelpdeskUnknownUser = 807; |
68: | public const HelpdeskUnactivatedUser = 808; |
69: | public const VoiceNotAllowed = 810; |
70: | public const IncorrectFileExtension = 811; |
71: | public const CanNotUploadFileQuota = 812; |
72: | public const FileAlreadyExists = 813; |
73: | public const FileNotFound = 814; |
74: | public const CanNotUploadFileLimit = 815; |
75: | public const CanNotUploadFileErrorData = 816; |
76: | |
77: | public const MailServerError = 901; |
78: | public const UnknownError = 999; |
79: | } |
80: | |