diff --git a/EWSAutodiscover.php b/EWSAutodiscover.php index 8a334a2c..ca45dcbc 100644 --- a/EWSAutodiscover.php +++ b/EWSAutodiscover.php @@ -1,16 +1,13 @@ newEWS(); } - /** - * Perform an NTLM authenticated HTTPS POST to the top-level - * domain of the email address. + /** + * Perform an NTLM authenticated HTTPS POST to the top-level + * domain of the email address. * * @return An AUTODISCOVERED_VIA_* constant or FALSE on failure. */ @@ -426,7 +425,7 @@ public function tryTLD() } /** - * Perform an NTLM authenticated HTTPS POST to the 'autodiscover' + * Perform an NTLM authenticated HTTPS POST to the 'autodiscover' * subdomain of the email address' TLD. * * @return An AUTODISCOVERED_VIA_* constant or FALSE on failure. @@ -528,7 +527,7 @@ public function setCAInfo($path) /** * Set the path to the file to be used by CURLOPT_CAPATH. * - * @param string $path Path to a directory containing one or more CA + * @param string $path Path to a directory containing one or more CA * certificates. * @return self */ @@ -616,7 +615,7 @@ public function doNTLMPost($url, $timeout = 6) } /** - * Parse the Autoresponse Payload, particularly to determine if an + * Parse the Autoresponse Payload, particularly to determine if an * additional request is necessary. * * @return mixed FALSE if response isn't XML or parsed response array @@ -674,7 +673,7 @@ protected function setTLD() } /** - * Reset the response-related structures. Called before making a new + * Reset the response-related structures. Called before making a new * request. * * @return self @@ -760,7 +759,7 @@ public function responseToArray($xml) } /** - * Recursive method for parsing DOM nodes. + * Recursive method for parsing DOM nodes. * * @link https://github.com/gaarf/XML-string-to-PHP-array * @param object $node DOMNode object diff --git a/EWSType.php b/EWSType.php index 03b62f1f..62571be3 100644 --- a/EWSType.php +++ b/EWSType.php @@ -1,13 +1,12 @@ _; + } +} diff --git a/EWSType/AggregateOnType.php b/EWSType/AggregateOnType.php index d1eeae0e..97d07885 100644 --- a/EWSType/AggregateOnType.php +++ b/EWSType/AggregateOnType.php @@ -1,41 +1,54 @@ _; + } +} diff --git a/EWSType/ArrayOfArraysOfTrackingPropertiesType.php b/EWSType/ArrayOfArraysOfTrackingPropertiesType.php new file mode 100644 index 00000000..eb906dc5 --- /dev/null +++ b/EWSType/ArrayOfArraysOfTrackingPropertiesType.php @@ -0,0 +1,23 @@ +_; + } +} diff --git a/EWSType/BaseDelegateResponseMessageType.php b/EWSType/BaseDelegateResponseMessageType.php index 11f890b8..081bccaf 100644 --- a/EWSType/BaseDelegateResponseMessageType.php +++ b/EWSType/BaseDelegateResponseMessageType.php @@ -1,18 +1,22 @@ _; + } +} diff --git a/EWSType/BaseRequestType.php b/EWSType/BaseRequestType.php new file mode 100644 index 00000000..c045a8c1 --- /dev/null +++ b/EWSType/BaseRequestType.php @@ -0,0 +1,14 @@ +_; + } } diff --git a/EWSType/BodyTypeType.php b/EWSType/BodyTypeType.php index 097eaa0e..7b4aabaf 100644 --- a/EWSType/BodyTypeType.php +++ b/EWSType/BodyTypeType.php @@ -1,27 +1,47 @@ _; + } } diff --git a/EWSType/BusyType.php b/EWSType/BusyType.php new file mode 100644 index 00000000..f09ccd0c --- /dev/null +++ b/EWSType/BusyType.php @@ -0,0 +1,74 @@ +_; + } +} diff --git a/EWSType/CalendarEvent.php b/EWSType/CalendarEvent.php index bc8603e6..e8511bdc 100644 --- a/EWSType/CalendarEvent.php +++ b/EWSType/CalendarEvent.php @@ -1,39 +1,58 @@ _; + } +} diff --git a/EWSType/CalendarItemUpdateOperationType.php b/EWSType/CalendarItemUpdateOperationType.php index 19585708..8e022820 100644 --- a/EWSType/CalendarItemUpdateOperationType.php +++ b/EWSType/CalendarItemUpdateOperationType.php @@ -1,48 +1,80 @@ _ ; + } } diff --git a/EWSType/CalendarPermissionLevelType.php b/EWSType/CalendarPermissionLevelType.php new file mode 100644 index 00000000..a9ea657e --- /dev/null +++ b/EWSType/CalendarPermissionLevelType.php @@ -0,0 +1,150 @@ +_; + } +} diff --git a/EWSType/CalendarPermissionReadAccessType.php b/EWSType/CalendarPermissionReadAccessType.php new file mode 100644 index 00000000..223af9a8 --- /dev/null +++ b/EWSType/CalendarPermissionReadAccessType.php @@ -0,0 +1,71 @@ +_; + } +} diff --git a/EWSType/CalendarPermissionSetType.php b/EWSType/CalendarPermissionSetType.php index 3eaf4647..f418eb27 100644 --- a/EWSType/CalendarPermissionSetType.php +++ b/EWSType/CalendarPermissionSetType.php @@ -1,25 +1,29 @@ _; + } +} diff --git a/EWSType/ConflictResolutionType.php b/EWSType/ConflictResolutionType.php new file mode 100644 index 00000000..b060e357 --- /dev/null +++ b/EWSType/ConflictResolutionType.php @@ -0,0 +1,57 @@ +_; + } +} diff --git a/EWSType/ConflictResultsType.php b/EWSType/ConflictResultsType.php index d4330898..3bf60deb 100644 --- a/EWSType/ConflictResultsType.php +++ b/EWSType/ConflictResultsType.php @@ -1,18 +1,19 @@ _; + } +} diff --git a/EWSType/ConnectionStatusType.php b/EWSType/ConnectionStatusType.php new file mode 100644 index 00000000..da85a291 --- /dev/null +++ b/EWSType/ConnectionStatusType.php @@ -0,0 +1,47 @@ +_; + } +} diff --git a/EWSType/ConstantValueType.php b/EWSType/ConstantValueType.php index 275cf20e..13404f49 100644 --- a/EWSType/ConstantValueType.php +++ b/EWSType/ConstantValueType.php @@ -1,19 +1,20 @@ _; + } } diff --git a/EWSType/ContactsFolderType.php b/EWSType/ContactsFolderType.php index 78332282..cfc4cfae 100644 --- a/EWSType/ContactsFolderType.php +++ b/EWSType/ContactsFolderType.php @@ -1,20 +1,120 @@ _; + } +} diff --git a/EWSType/ConversationShapeType.php b/EWSType/ConversationShapeType.php new file mode 100755 index 00000000..fadb176b --- /dev/null +++ b/EWSType/ConversationShapeType.php @@ -0,0 +1,32 @@ +_; + } +} diff --git a/EWSType/CreateAttachmentResponseType.php b/EWSType/CreateAttachmentResponseType.php new file mode 100644 index 00000000..17abe041 --- /dev/null +++ b/EWSType/CreateAttachmentResponseType.php @@ -0,0 +1,23 @@ +_; + } +} diff --git a/EWSType/DayOfWeekIndexType.php b/EWSType/DayOfWeekIndexType.php new file mode 100644 index 00000000..03002f69 --- /dev/null +++ b/EWSType/DayOfWeekIndexType.php @@ -0,0 +1,74 @@ +_; + } +} diff --git a/EWSType/DayOfWeekType.php b/EWSType/DayOfWeekType.php index cf47769d..cbfddb4d 100644 --- a/EWSType/DayOfWeekType.php +++ b/EWSType/DayOfWeekType.php @@ -1,75 +1,92 @@ _; + } +} diff --git a/EWSType/DeclineItemType.php b/EWSType/DeclineItemType.php new file mode 100644 index 00000000..7a2779d6 --- /dev/null +++ b/EWSType/DeclineItemType.php @@ -0,0 +1,146 @@ +_; + } } diff --git a/EWSType/DelegateFolderPermissionLevelType.php b/EWSType/DelegateFolderPermissionLevelType.php new file mode 100644 index 00000000..37c67e25 --- /dev/null +++ b/EWSType/DelegateFolderPermissionLevelType.php @@ -0,0 +1,74 @@ +_; + } +} diff --git a/EWSType/DelegatePermissionsType.php b/EWSType/DelegatePermissionsType.php index 6d88625b..b1c7cf0a 100644 --- a/EWSType/DelegatePermissionsType.php +++ b/EWSType/DelegatePermissionsType.php @@ -1,55 +1,66 @@ _; + } +} diff --git a/EWSType/DictionaryURIType.php b/EWSType/DictionaryURIType.php new file mode 100644 index 00000000..3705bbbe --- /dev/null +++ b/EWSType/DictionaryURIType.php @@ -0,0 +1,119 @@ +_; + } +} diff --git a/EWSType/DisconnectPhoneCallResponseMessageType.php b/EWSType/DisconnectPhoneCallResponseMessageType.php new file mode 100644 index 00000000..9e2febed --- /dev/null +++ b/EWSType/DisconnectPhoneCallResponseMessageType.php @@ -0,0 +1,64 @@ +_; + } } diff --git a/EWSType/DistinguishedFolderIdType.php b/EWSType/DistinguishedFolderIdType.php index 25ea14e4..d40b2afe 100644 --- a/EWSType/DistinguishedFolderIdType.php +++ b/EWSType/DistinguishedFolderIdType.php @@ -1,34 +1,47 @@ _; + } +} diff --git a/EWSType/DistributionListType.php b/EWSType/DistributionListType.php index 1a606a39..1f3acc4b 100644 --- a/EWSType/DistributionListType.php +++ b/EWSType/DistributionListType.php @@ -1,34 +1,454 @@ _; + } +} diff --git a/EWSType/ExceptionPropertyURIType.php b/EWSType/ExceptionPropertyURIType.php new file mode 100644 index 00000000..c2709fd8 --- /dev/null +++ b/EWSType/ExceptionPropertyURIType.php @@ -0,0 +1,26 @@ +_; + } +} diff --git a/EWSType/ExcludesType.php b/EWSType/ExcludesType.php index 53d4cc55..e3bf5563 100644 --- a/EWSType/ExcludesType.php +++ b/EWSType/ExcludesType.php @@ -1,45 +1,52 @@ _; + } +} diff --git a/EWSType/FieldOrderType.php b/EWSType/FieldOrderType.php index 9aa580b3..1ac3ae4a 100644 --- a/EWSType/FieldOrderType.php +++ b/EWSType/FieldOrderType.php @@ -1,25 +1,47 @@ _; + } +} diff --git a/EWSType/FlaggedForActionType.php b/EWSType/FlaggedForActionType.php new file mode 100644 index 00000000..0fb394b3 --- /dev/null +++ b/EWSType/FlaggedForActionType.php @@ -0,0 +1,129 @@ +_; + } +} diff --git a/EWSType/FolderChangeDescriptionType.php b/EWSType/FolderChangeDescriptionType.php new file mode 100644 index 00000000..fb324142 --- /dev/null +++ b/EWSType/FolderChangeDescriptionType.php @@ -0,0 +1,14 @@ +_; + } } diff --git a/EWSType/FolderResponseShapeType.php b/EWSType/FolderResponseShapeType.php index 34ac3ded..b3adafc1 100644 --- a/EWSType/FolderResponseShapeType.php +++ b/EWSType/FolderResponseShapeType.php @@ -1,27 +1,33 @@ _; + } +} diff --git a/EWSType/GetAttachmentResponseType.php b/EWSType/GetAttachmentResponseType.php new file mode 100644 index 00000000..afd9d9df --- /dev/null +++ b/EWSType/GetAttachmentResponseType.php @@ -0,0 +1,23 @@ +_; + } +} diff --git a/EWSType/ImAddressDictionaryEntryType.php b/EWSType/ImAddressDictionaryEntryType.php index 20baaca7..4f08cf04 100644 --- a/EWSType/ImAddressDictionaryEntryType.php +++ b/EWSType/ImAddressDictionaryEntryType.php @@ -1,25 +1,31 @@ _; + } +} diff --git a/EWSType/InvalidRecipientType.php b/EWSType/InvalidRecipientType.php new file mode 100644 index 00000000..7c2f9a40 --- /dev/null +++ b/EWSType/InvalidRecipientType.php @@ -0,0 +1,47 @@ +_; + } } diff --git a/EWSType/ItemResponseShapeType.php b/EWSType/ItemResponseShapeType.php index 7fc3b9fd..fffa8848 100644 --- a/EWSType/ItemResponseShapeType.php +++ b/EWSType/ItemResponseShapeType.php @@ -1,41 +1,69 @@ _; + } +} diff --git a/EWSType/MailTipTypes.php b/EWSType/MailTipTypes.php new file mode 100644 index 00000000..0e93bad8 --- /dev/null +++ b/EWSType/MailTipTypes.php @@ -0,0 +1,120 @@ +_; + } +} diff --git a/EWSType/MailTips.php b/EWSType/MailTips.php new file mode 100644 index 00000000..e78cbbcc --- /dev/null +++ b/EWSType/MailTips.php @@ -0,0 +1,114 @@ +_; + } +} diff --git a/EWSType/MailboxStatisticsSearchResultType.php b/EWSType/MailboxStatisticsSearchResultType.php new file mode 100644 index 00000000..fc85cb2c --- /dev/null +++ b/EWSType/MailboxStatisticsSearchResultType.php @@ -0,0 +1,30 @@ +_; + } +} diff --git a/EWSType/ManagedFolderInformationType.php b/EWSType/ManagedFolderInformationType.php index 0b7e712c..527188f0 100644 --- a/EWSType/ManagedFolderInformationType.php +++ b/EWSType/ManagedFolderInformationType.php @@ -1,83 +1,104 @@ _; + } +} diff --git a/EWSType/MeetingCancellationMessageType.php b/EWSType/MeetingCancellationMessageType.php new file mode 100644 index 00000000..d8752b3d --- /dev/null +++ b/EWSType/MeetingCancellationMessageType.php @@ -0,0 +1,634 @@ +_; + } +} diff --git a/EWSType/MeetingResponseMessageType.php b/EWSType/MeetingResponseMessageType.php new file mode 100644 index 00000000..9c79363d --- /dev/null +++ b/EWSType/MeetingResponseMessageType.php @@ -0,0 +1,566 @@ +_; + } +} diff --git a/EWSType/MemberType.php b/EWSType/MemberType.php new file mode 100644 index 00000000..fb9b92d8 --- /dev/null +++ b/EWSType/MemberType.php @@ -0,0 +1,45 @@ +_; + } +} diff --git a/EWSType/MessageTrackingDeliveryStatusType.php b/EWSType/MessageTrackingDeliveryStatusType.php new file mode 100644 index 00000000..3ec03824 --- /dev/null +++ b/EWSType/MessageTrackingDeliveryStatusType.php @@ -0,0 +1,76 @@ +_; + } +} diff --git a/EWSType/MessageTrackingEventDescriptionType.php b/EWSType/MessageTrackingEventDescriptionType.php new file mode 100644 index 00000000..213f87eb --- /dev/null +++ b/EWSType/MessageTrackingEventDescriptionType.php @@ -0,0 +1,266 @@ +_; + } +} diff --git a/EWSType/MessageTrackingReportTemplateType.php b/EWSType/MessageTrackingReportTemplateType.php new file mode 100644 index 00000000..2b9bf660 --- /dev/null +++ b/EWSType/MessageTrackingReportTemplateType.php @@ -0,0 +1,49 @@ +_; + } +} diff --git a/EWSType/MessageTrackingReportType.php b/EWSType/MessageTrackingReportType.php new file mode 100644 index 00000000..bf237f60 --- /dev/null +++ b/EWSType/MessageTrackingReportType.php @@ -0,0 +1,78 @@ +_; + } +} diff --git a/EWSType/MonthlyRegeneratingPatternType.php b/EWSType/MonthlyRegeneratingPatternType.php new file mode 100644 index 00000000..886d0070 --- /dev/null +++ b/EWSType/MonthlyRegeneratingPatternType.php @@ -0,0 +1,23 @@ +_; + } +} diff --git a/EWSType/NotificationType.php b/EWSType/NotificationType.php index 79500120..fdfd44e2 100644 --- a/EWSType/NotificationType.php +++ b/EWSType/NotificationType.php @@ -1,83 +1,116 @@ _; + return $this->_; } } diff --git a/EWSType/OofState.php b/EWSType/OofState.php new file mode 100644 index 00000000..7dd9457d --- /dev/null +++ b/EWSType/OofState.php @@ -0,0 +1,57 @@ +_; + } +} diff --git a/EWSType/OpenAsAdminOrSystemServiceType.php b/EWSType/OpenAsAdminOrSystemServiceType.php new file mode 100644 index 00000000..31b77b84 --- /dev/null +++ b/EWSType/OpenAsAdminOrSystemServiceType.php @@ -0,0 +1,30 @@ +_; + } +} diff --git a/EWSType/PermissionLevelType.php b/EWSType/PermissionLevelType.php new file mode 100644 index 00000000..7ce7813b --- /dev/null +++ b/EWSType/PermissionLevelType.php @@ -0,0 +1,129 @@ +_; + } +} diff --git a/EWSType/PermissionReadAccessType.php b/EWSType/PermissionReadAccessType.php new file mode 100644 index 00000000..83b4b5be --- /dev/null +++ b/EWSType/PermissionReadAccessType.php @@ -0,0 +1,48 @@ +_; + } +} diff --git a/EWSType/PermissionSetType.php b/EWSType/PermissionSetType.php index 576382cd..922ec841 100644 --- a/EWSType/PermissionSetType.php +++ b/EWSType/PermissionSetType.php @@ -1,25 +1,29 @@ _; + } +} diff --git a/EWSType/PhoneNumberAttributedValueType.php b/EWSType/PhoneNumberAttributedValueType.php new file mode 100644 index 00000000..9f8a59f7 --- /dev/null +++ b/EWSType/PhoneNumberAttributedValueType.php @@ -0,0 +1,30 @@ +_; + } } diff --git a/EWSType/PhysicalAddressKeyType.php b/EWSType/PhysicalAddressKeyType.php index b6fc2b9c..7e64afca 100644 --- a/EWSType/PhysicalAddressKeyType.php +++ b/EWSType/PhysicalAddressKeyType.php @@ -1,47 +1,51 @@ _; + } +} diff --git a/EWSType/ReminderType.php b/EWSType/ReminderType.php new file mode 100644 index 00000000..b7e9f3b9 --- /dev/null +++ b/EWSType/ReminderType.php @@ -0,0 +1,99 @@ +_; + } +} diff --git a/EWSType/ResolveNamesType.php b/EWSType/ResolveNamesType.php index eb016427..e6b8654e 100644 --- a/EWSType/ResolveNamesType.php +++ b/EWSType/ResolveNamesType.php @@ -1,41 +1,78 @@ _; + } +} diff --git a/EWSType/ResponseCodeType.php b/EWSType/ResponseCodeType.php new file mode 100644 index 00000000..d9a602d8 --- /dev/null +++ b/EWSType/ResponseCodeType.php @@ -0,0 +1,4879 @@ + 0 and < 2083. + * - Protocol is http or https. + * - The URL can be parsed by the URI Microsoft .NET Framework class. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_PUSH_SUBSCRIPTION_URL = 'ErrorInvalidPushSubscriptionUrl'; + + /** + * This error indicates that the search folder has a recipient table filter + * that Exchange Web Services cannot represent. + * + * To get around this error, retrieve the folder without requesting the + * search parameters. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_RECIPIENT_SUBFILTER = 'ErrorInvalidRecipientSubfilter'; + + /** + * This error indicates that the search folder has a recipient table filter + * that Exchange Web Services cannot represent. + * + * To get around this error, retrieve the folder without requesting the + * search parameters. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_RECIPIENT_SUBFILTER_COMPARISON = 'ErrorInvalidRecipientSubfilterComparison'; + + /** + * This error indicates that the search folder has a recipient table filter + * that Exchange Web Services cannot represent. + * + * To get around this error, retrieve the folder without requesting the + * search parameters. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_RECIPIENT_SUBFILTER_ORDER = 'ErrorInvalidRecipientSubfilterOrder'; + + /** + * This error indicates that the search folder has a recipient table filter + * that Exchange Web Services cannot represent. + * + * To get around this error, retrieve the folder without requesting the + * search parameters. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_RECIPIENT_SUBFILTER_TEXT_FILTER = 'ErrorInvalidRecipientSubfilterTextFilter'; + + /** + * This error indicates that the recipient collection on your message or the + * attendee collection on your calendar item is invalid. + * + * For example, this error will be returned when an attempt is made to send + * an item that has no recipients. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_RECIPIENTS = 'ErrorInvalidRecipients'; + + /** + * This error occurs when the specified recurrence cannot be created. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_RECURRENCE = 'ErrorCalendarInvalidRecurrence'; + + /** + * This error is returned from the CreateItem Operation for Forward and + * Reply response objects when the referenced item is invalid. + * + * For example, this error may be returned in any of the following + * circumstances: + * - The referenced item identifier is not a Message, a CalendarItem, or a + * descendant of a Message or CalendarItem. + * - The reference item identifier is for a CalendarItem and the organizer + * is trying to Reply or ReplyAll to himself. + * - The message is a draft and Reply or ReplyAll is selected. + * - The reference item, for SuppressReadReceipt, is not a Message or a + * descendant of a Message. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_REFERENCE_ITEM = 'ErrorInvalidReferenceItem'; + + /** + * This error occurs when the SOAP request has a SOAP action header, but + * nothing in the SOAP body. + * + * Note that the SOAP Action header is not required as Exchange Web Services + * can determine the method to call from the local name of the root element + * in the SOAP body. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_REQUEST = 'ErrorInvalidRequest'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_RESTRICTION = 'ErrorInvalidRestriction'; + + /** + * Indicates that the retention tag GUID was invalid. + * + * @since Exchange 2013 + * + * @var string + */ + const INVALID_RETENTION_TAG_ID_GUID = 'ErrorInvalidRetentionTagIdGuid'; + + /** + * This error is returned when an attempt is made to set an implicit tag on + * the PolicyTag property. + * + * @since Exchange 2013 + * + * @var string + */ + const INVALID_RETENTION_TAG_INHERITANCE = 'ErrorInvalidRetentionTagInheritance'; + + /** + * This error is returned when an attempt is made to set a nonexistent or + * invisible tag on a PolicyTag property. + * + * @since Exchange 2013 + * + * @var string + */ + const INVALID_RETENTION_TAG_INVISIBLE = 'ErrorInvalidRetentionTagInvisible'; + + /** + * This error indicates that no retention tags were found for this user. + * + * @since Exchange 2013 + * + * @var string + */ + const INVALID_RETENTION_TAG_NONE = 'ErrorInvalidRetentionTagNone'; + + /** + * This error is returned when the specified retention tag has an incorrect + * action associated with it. + * + * @since Exchange 2013 + * + * @var string + */ + const INVALID_RETENTION_TAG_TYPE_MISMATCH = 'ErrorInvalidRetentionTagTypeMismatch'; + + /** + * This error occurs if the routing type that is passed for an + * EmailAddressType is invalid. + * + * Typically, the routing type is set to Simple Mail Transfer Protocol + * (SMTP). + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_ROUTING_TYPE = 'ErrorInvalidRoutingType'; + + /** + * This error occurs if the specified duration end time is not greater than + * the start time, or if the end time does not occur in the future. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_SCHEDULED_OOF_DURATION = 'ErrorInvalidScheduledOofDuration'; + + /** + * This error indicates that a proxy request that was sent to another server + * is not able to service the request due to a versioning mismatch. + * + * @since Exchange 2010 + * + * @var string + */ + const INVALID_SCHEMA_VERSION_FOR_MAILBOX_VERSION = 'ErrorInvalidSchemaVersionForMailboxVersion'; + + /** + * This error indicates that the Exchange security descriptor on the + * Calendar folder in the store is corrupted. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_SECURITY_DESCRIPTOR = 'ErrorInvalidSecurityDescriptor'; + + /** + * This error occurs during an attempt to send an item where the + * SavedItemFolderId is specified in the request but the SaveItemToFolder + * property is set to false. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_SEND_ITEM_SAVE_SETTINGS = 'ErrorInvalidSendItemSaveSettings'; + + /** + * This error indicates that the token that was passed in the header is + * malformed, does not refer to a valid account in the directory, or is + * missing the primary group ConnectingSID. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_SERIALIZED_ACCESS_TOKEN = 'ErrorInvalidSerializedAccessToken'; + + /** + * This error indicates that an invalid request server version was specified + * in the request. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_SERVER_VERSION = 'ErrorInvalidServerVersion'; + + /** + * This error indicates that the sharing metadata is not valid. + * + * This can be caused by invalid XML. + * + * @since Exchange 2010 + * + * @var string + */ + const INVALID_SHARING_DATA = 'ErrorInvalidSharingData'; + + /** + * This error indicates that the sharing message is not valid. + * + * This can be caused by a missing property. + * + * @since Exchange 2010 + * + * @var string + */ + const INVALID_SHARING_MESSAGE = 'ErrorInvalidSharingMessage'; + + /** + * This error occurs when an invalid SID is passed in a request. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_SID = 'ErrorInvalidSid'; + + /** + * This error indicates that the SIP name, dial plan, or the phone number + * are invalid SIP URI. + * + * @since Exchange 2010 + * + * @var string + */ + const INVALID_SIP_URI = 'ErrorInvalidSIPUri'; + + /** + * This error occurs when the SMTP address cannot be parsed. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_SMTP_ADDRESS = 'ErrorInvalidSmtpAddress'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_SUBFILTER_TYPE = 'ErrorInvalidSubfilterType'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_SUBFILTER_TYPE_NOT_ATTENDEE_TYPE = 'ErrorInvalidSubfilterTypeNotAttendeeType'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_SUBFILTER_TYPE_NOT_RECIPIENT_TYPE = 'ErrorInvalidSubfilterTypeNotRecipientType'; + + /** + * This error indicates that the subscription is no longer valid. + * + * This could be because the Client Access server is restarting or because + * the subscription is expired. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_SUBSCRIPTION = 'ErrorInvalidSubscription'; + + /** + * This error indicates that the subscribe request included multiple public + * folder IDs. + * + * A subscription can include multiple folders from the same mailbox or one + * public folder ID. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_SUBSCRIPTION_REQUEST = 'ErrorInvalidSubscriptionRequest'; + + /** + * This error is returned by SyncFolderItems or SyncFolderHierarchy if the + * SyncState data that is passed is invalid. + * + * To fix this error, you must resynchronize without the sync state. Make + * sure that if you are persisting sync state BLOBs, you are not + * accidentally truncating the BLOB. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_SYNC_STATE_DATA = 'ErrorInvalidSyncStateData'; + + /** + * This error indicates that the specified time interval is invalid. + * + * The start time must be greater than or equal to the end time. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_TIME_INTERVAL = 'ErrorInvalidTimeInterval'; + + /** + * This error occurs when an invalid time zone is encountered. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_TIMEZONE = 'ErrorCalendarInvalidTimeZone'; + + /** + * This error indicates that an internally inconsistent UserId was specified + * for a permissions operation. + * + * For example, if a distinguished user ID is specified (Default or + * Anonymous), this error is returned if you also try to specify a SID, or + * primary SMTP address or display name for this user. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_USER_INFO = 'ErrorInvalidUserInfo'; + + /** + * This error indicates that the user Out of Office (OOF) settings are + * invalid because of a missing internal or external reply. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_USER_OOF_SETTINGS = 'ErrorInvalidUserOofSettings'; + + /** + * This error occurs during Exchange Impersonation. + * + * The caller passed in an invalid UPN in the SOAP header that was not + * accessible in the directory. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_USER_PRINCIPAL_NAME = 'ErrorInvalidUserPrincipalName'; + + /** + * This error occurs when an invalid SID is passed in a request. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_USER_SID = 'ErrorInvalidUserSid'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_USER_SID_MISSING_UPN = 'ErrorInvalidUserSidMissingUPN'; + + /** + * This error indicates that the comparison value in the restriction is + * invalid for the property you are comparing against. + * + * For example, the comparison value of DateTimeCreated > true would return + * this response code. This response code is also returned if you specify an + * enumeration property in the comparison, but the value that you are + * comparing against is not a valid value for that enumeration. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_VALUE_FOR_PROPERTY = 'ErrorInvalidValueForProperty'; + + /** + * This error is caused by an invalid watermark. + * + * @since Exchange 2007 + * + * @var string + */ + const INVALID_WATERMARK = 'ErrorInvalidWatermark'; + + /** + * This error indicates that a valid VoIP gateway is not available. + * + * @since Exchange 2010 + * + * @var string + */ + const IP_GATEWAY_NOT_FOUND = 'ErrorIPGatewayNotFound'; + + /** + * This error indicates that conflict resolution was unable to resolve + * changes for the properties. + * + * The items in the store may have been changed and have to be updated. + * Retrieve the updated change key and try again. + * + * @since Exchange 2007 + * + * @var string + */ + const IRRESOLVABLE_CONFLICT = 'ErrorIrresolvableConflict'; + + /** + * This error indicates that the AcceptItem element is invalid for a + * calendar item that has been cancelled. + * + * @since Exchange 2010 + * + * @var string + */ + const ITEM_CANCELLED_FOR_ACCEPT = 'ErrorCalendarIsCancelledForAccept'; + + /** + * This error indicates that the DeclineItem element is invalid for a + * calendar item that has been cancelled. + * + * @since Exchange 2010 + * + * @var string + */ + const ITEM_CANCELLED_FOR_DECLINE = 'ErrorCalendarIsCancelledForDecline'; + + /** + * This error indicates that the RemoveItem element is invalid for a + * calendar item that has been cancelled. + * + * @since Exchange 2010 + * + * @var string + */ + const ITEM_CANCELLED_FOR_REMOVE = 'ErrorCalendarIsCancelledForRemove'; + + /** + * This error indicates that the TentativelyAcceptItem element is invalid + * for a calendar item that has been cancelled. + * + * @since Exchange 2010 + * + * @var string + */ + const ITEM_CANCELLED_FOR_TENTATIVE = 'ErrorCalendarIsCancelledForTentative'; + + /** + * This error indicates that the state of the object is corrupted and cannot + * be retrieved. + * + * When you are retrieving an item, only certain properties will be in this + * state, such as Body and MimeContent. Omit these properties and retry the + * operation. + * + * @since Exchange 2007 + * + * @var string + */ + const ITEM_CORRUPT = 'ErrorItemCorrupt'; + + /** + * This error indicates that the AcceptItem element is invalid for a + * calendar item or meeting request in a delegated scenario. + * + * @since Exchange 2007 SP1 + * + * @var string + */ + const ITEM_DELEGATED_FOR_ACCEPT = 'ErrorCalendarIsDelegatedForAccept'; + + /** + * This error indicates that the DeclineItem element is invalid for a + * calendar item or meeting request in a delegated scenario. + * + * @since Exchange 2007 SP1 + * + * @var string + */ + const ITEM_DELEGATED_FOR_DECLINE = 'ErrorCalendarIsDelegatedForDecline'; + + /** + * This error indicates that the RemoveItem element is invalid for a meeting + * cancellation in a delegated scenario. + * + * @since Exchange 2007 SP1 + * + * @var string + */ + const ITEM_DELEGATED_FOR_REMOVE = 'ErrorCalendarIsDelegatedForRemove'; + + /** + * This error indicates that the TentativelyAcceptItem element is invalid + * for a calendar item or meeting request in a delegated scenario. + * + * @since Exchange 2007 SP1 + * + * @var string + */ + const ITEM_DELEGATED_FOR_TENTATIVE = 'ErrorCalendarIsDelegatedForTentative'; + + /** + * This error occurs when the item was not found or you do not have + * permission to access the item. + * + * @since Exchange 2007 + * + * @var string + */ + const ITEM_NOT_FOUND = 'ErrorItemNotFound'; + + /** + * This error occurs if a property request on an item fails. The property + * may exist, but it could not be retrieved. + * + * @since Exchange 2007 + * + * @var string + */ + const ITEM_PROPERTY_REQUEST_FAILED = 'ErrorItemPropertyRequestFailed'; + + /** + * This error occurs when attempts to save the item or folder fail. + * + * @since Exchange 2007 + * + * @var string + */ + const ITEM_SAVE = 'ErrorItemSave'; + + /** + * This error occurs when attempts to save the item or folder fail because + * of invalid property values. + * + * The response code includes the path of the invalid properties. + * + * @since Exchange 2007 + * + * @var string + */ + const ITEM_SAVE_PROPERTY_ERROR = 'ErrorItemSavePropertyError'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const LEGACY_MAILBOX_FREE_BUSY_VIEW_TYPE_NOT_MERGED = 'ErrorLegacyMailboxFreeBusyViewTypeNotMerged'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const LOCAL_SERVER_OBJECT_NOT_FOUND = 'ErrorLocalServerObjectNotFound'; + + /** + * This error is intended for internal use only. + * + * @since Exchange 2013 + * + * @var string + */ + const LOCATION_SERVICES_DISABLED = 'ErrorLocationServicesDisabled'; + + /** + * This error is intended for internal use only. + * + * @since Exchange 2013 + * + * @var string + */ + const LOCATION_SERVICES_INVALID_REQUEST = 'ErrorLocationServicesInvalidRequest'; + + /** + * This error is intended for internal use only. + * + * @since Exchange 2013 + * + * @var string + */ + const LOCATION_SERVICES_REQUEST_FAILED = 'ErrorLocationServicesRequestFailed'; + + /** + * This error is intended for internal use only. + * + * @since Exchange 2013 + * + * @var string + */ + const LOCATION_SERVICES_REQUEST_TIMED_OUT = 'ErrorLocationServicesRequestTimedOut'; + + /** + * This error indicates that the Availability service was unable to log on + * as the network service to proxy requests to the appropriate sites or + * forests. + * + * This response typically indicates a configuration error. + * + * @since Exchange 2007 + * + * @var string + */ + const LOGON_AS_NETWORK_SERVICE_FAILED = 'ErrorLogonAsNetworkServiceFailed'; + + /** + * This error occurs if the MailboxData information cannot be mapped to a + * valid mailbox account. + * + * @since Exchange 2007 + * + * @var string + */ + const MAIL_RECIPIENT_NOT_FOUND = 'ErrorMailRecipientNotFound'; + + /** + * This error indicates that mail tips are disabled. + * + * @since Exchange 2010 + * + * @var string + */ + const MAIL_TIPS_DISABLED = 'ErrorMailTipsDisabled'; + + /** + * This error indicates that the mailbox information in AD DS is configured + * incorrectly. + * + * @since Exchange 2007 + * + * @var string + */ + const MAILBOX_CONFIGURATION_ERROR = 'ErrorMailboxConfiguration'; + + /** + * This error indicates that the MailboxDataArray property in the request is + * empty. + * + * You must supply at least one mailbox identifier. + * + * @since Exchange 2007 + * + * @var string + */ + const MAILBOX_DATA_ARRAY_EMPTY = 'ErrorMailboxDataArrayEmpty'; + + /** + * This error occurs when more than 100 entries are supplied in a + * MailboxDataArray. + * + * @since Exchange 2007 + * + * @var string + */ + const MAILBOX_DATA_ARRAY_TOO_BIG = 'ErrorMailboxDataArrayTooBig'; + + /** + * This error indicates that an attempt to access a mailbox failed because + * the mailbox is in a failover process. + * + * @since Exchange 2010 + * + * @var string + */ + const MAILBOX_FAILOVER = 'ErrorMailboxFailover'; + + /** + * Indicates that the mailbox hold was not found. + * + * @since Exchange 2013 + * + * @var string + */ + const MAILBOX_HOLD_NOT_FOUND = 'ErrorMailboxHoldNotFound'; + + /** + * This error occurs when the connection to the mailbox to get the calendar + * view information failed. + * + * @since Exchange 2007 + * + * @var string + */ + const MAILBOX_LOGON_FAILED = 'ErrorMailboxLogonFailed'; + + /** + * This error indicates that the mailbox is being moved to a different + * mailbox store or server. + * + * This error can also indicate that the mailbox is on another server or + * mailbox database. + * + * @since Exchange 2007 + * + * @var string + */ + const MAILBOX_MOVE_IN_PROGRESS = 'ErrorMailboxMoveInProgress'; + + /** + * This error is returned when a scoped search attempt is performed without + * using a QueryString (QueryStringType) element for a content indexing + * search. + * + * This is applicable to the SearchMailboxes and FindConversation + * operations. + * + * @since Exchange 2013 + * + * @var string + */ + const MAILBOX_SCOPE_NOT_ALLOWED_WITHOUT_QUERY_STRING = 'ErrorMailboxScopeNotAllowedWithoutQueryString'; + + /** + * This error indicates that the mailbox store is unavailable for one of + * several reasons. + * + * These reasons include: + * - The mailbox store is corrupt. + * - The mailbox store is being stopped. + * - The mailbox store is offline. + * - A network error occurred when an attempt was made to access the mailbox + * store. + * - The mailbox store is overloaded and cannot accept any more connections. + * - The mailbox store has been paused. + * + * @since Exchange 2007 + * + * @var string + */ + const MAILBOX_STORE_UNAVAILABLE = 'ErrorMailboxStoreUnavailable'; + + /** + * This error occurs when the caller specifies an Id attribute that is + * malformed. + * + * @since Exchange 2007 + * + * @var string + */ + const MALFORMED_ID = 'ErrorInvalidIdMalformed'; + + /** + * This error occurs if the managed folder that you are trying to create + * already exists in a mailbox. + * + * @since Exchange 2007 + * + * @var string + */ + const MANAGED_FOLDER_ALREADY_EXISTS = 'ErrorManagedFolderAlreadyExists'; + + /** + * This error occurs when the folder name that was specified in the request + * does not map to a managed folder definition in AD DS. + * + * You can only create instances of managed folders for folders that are + * defined in AD DS. Check the name and try again. + * + * @since Exchange 2007 + * + * @var string + */ + const MANAGED_FOLDER_NOT_FOUND = 'ErrorManagedFolderNotFound'; + + /** + * This error indicates that the managed folders root was deleted from the + * mailbox or that a folder exists in the same parent folder that has the + * name of the managed folder root. + * + * This will also occur if the attempt to create the root managed folder + * fails. + * + * @since Exchange 2007 + * + * @var string + */ + const MANAGED_FOLDERS_ROOT_FAILURE = 'ErrorManagedFoldersRootFailure'; + + /** + * This error indicates that a meeting request is out-of-date and cannot be + * updated. + * + * @since Exchange 2007 + * + * @var string + */ + const MEETING_REQUEST_OUT_OF_DATE = 'ErrorCalendarMeetingRequestIsOutOfDate'; + + /** + * This error indicates that the suggestions engine encountered a problem + * when it was trying to generate the suggestions. + * + * @since Exchange 2007 + * + * @var string + */ + const MEETING_SUGGESTION_GENERATION_FAILED = 'ErrorMeetingSuggestionGenerationFailed'; + + /** + * This error occurs if the MessageDisposition attribute is not set. + * + * This attribute is required for the following: + * - The CreateItem Operation and the UpdateItem Operation when the item + * being created or updated is a Message. + * - CancelCalendarItem, AcceptItem, DeclineItem, or TentativelyAcceptItem + * response objects. + * + * @since Exchange 2007 + * + * @var string + */ + const MESSAGE_DISPOSITION_REQUIRED = 'ErrorMessageDispositionRequired'; + + /** + * This error indicates that the message that you are trying to send exceeds + * the allowed limits. + * + * @since Exchange 2007 + * + * @var string + */ + const MESSAGE_SIZE_EXCEEDED = 'ErrorMessageSizeExceeded'; + + /** + * This error indicates that the given domain cannot be found. + * + * @since Exchange 2010 + * + * @var string + */ + const MESSAGE_TRACKING_NO_SUCH_DOMAIN = 'ErrorMessageTrackingNoSuchDomain'; + + /** + * This error indicates that the message tracking service cannot track the + * message. + * + * @since Exchange 2010 + * + * @var string + */ + const MESSAGE_TRACKING_PERMANENT_ERROR = 'ErrorMessageTrackingPermanentError'; + + /** + * This error indicates that the message tracking service is either down or + * busy. + * + * This error code indicates a transient error. Clients can retry to connect + * to the server when this error is received. + * + * @since Exchange 2010 + * + * @var string + */ + const MESSAGE_TRACKING_TRANSIENT_ERROR = 'ErrorMessageTrackingTransientError'; + + /** + * This error occurs when the MIME content is not a valid iCal for a + * CreateItem Operation. + * + * For a GetItem Operation, this response indicates that the MIME content + * could not be generated. + * + * @since Exchange 2007 + * + * @var string + */ + const MIME_CONTENT_CONVERSATION_FAILED = 'ErrorMimeContentConversionFailed'; + + /** + * This error occurs when the MIME content is invalid. + * + * @since Exchange 2007 + * + * @var string + */ + const MIME_CONTENT_INVALID = 'ErrorMimeContentInvalid'; + + /** + * This error occurs when the MIME content in the request is not a valid + * base 64 string. + * + * @since Exchange 2007 + * + * @var string + */ + const MIME_CONTENT_INVALID_BASE_64_STRING = 'ErrorMimeContentInvalidBase64String'; + + /** + * This error MUST be returned when event notifications are missed. + * + * @since Exchange 2010 + * + * @var string + */ + const MISSED_NOTIFICATION_EVENTS = 'ErrorMissedNotificationEvents'; + + /** + * This error indicates that a required argument was missing from the + * request. + * + * The response message text indicates which argument to check. + * + * @since Exchange 2007 + * + * @var string + */ + const MISSING_ARGUMENT = 'ErrorMissingArgument'; + + /** + * This error indicates that you specified a distinguished folder ID in the + * request, but the account that made the request does not have a mailbox on + * the system. + * + * In that case, you must supply a Mailbox sub-element under + * DistinguishedFolderId. + * + * @since Exchange 2007 + * + * @var string + */ + const MISSING_EMAIL_ADDRESS = 'ErrorMissingEmailAddress'; + + /** + * This error indicates that you specified a distinguished folder ID in the + * request, but the account that made the request does not have a mailbox on + * the system. + * + * In that case, you must supply a Mailbox sub-element under + * DistinguishedFolderId. This response is returned from the + * CreateManagedFolder Operation. + * + * @since Exchange 2007 + * + * @var string + */ + const MISSING_EMAIL_ADDRESS_FOR_MANAGED_FOLDER = 'ErrorMissingEmailAddressForManagedFolder'; + + /** + * This error occurs if the EmailAddress element is missing. + * + * @since Exchange 2007 + * + * @var string + */ + const MISSING_INFORMATION_EMAIL_ADDRESS = 'ErrorMissingInformationEmailAddress'; + + /** + * This error occurs if the ReferenceItemId is missing. + * + * @since Exchange 2007 + * + * @var string + */ + const MISSING_INFORMATION_REFERENCE_ITEM_ID = 'ErrorMissingInformationReferenceItemId'; + + /** + * This error code is never returned. + * + * @since Exchange 2010 + * + * @var string + */ + const MISSING_INFORMATION_SHARING_FOLDER_ID = 'ErrorMissingInformationSharingFolderId'; + + /** + * This error is returned when an attempt is made to not include the item + * element in the ItemAttachment element of a CreateAttachment Operation + * request. + * + * @since Exchange 2007 + * + * @var string + */ + const MISSING_ITEM_FOR_CREATE_ITEM_ATTACHMENT = 'ErrorMissingItemForCreateItemAttachment'; + + /** + * This error occurs when the policy IDs property, property tag 0x6732, for + * the folder is missing. + * + * You should consider this a corrupted folder. + * + * @since Exchange 2007 + * + * @var string + */ + const MISSING_MANAGED_FOLDER_ID = 'ErrorMissingManagedFolderId'; + + /** + * This error indicates that you tried to send an item without including + * recipients. + * + * Note that if you call the CreateItem Operation with a message disposition + * that causes the message to be sent, you will get the following response + * code: ErrorInvalidRecipients. + * + * @since Exchange 2007 + * + * @var string + */ + const MISSING_RECIPIENTS = 'ErrorMissingRecipients'; + + /** + * This error indicates that a UserId has not been fully specified in a + * permissions set. + * + * @since Exchange 2007 + * + * @var string + */ + const MISSING_USER_ID_INFORMATION = 'ErrorMissingUserIdInformation'; + + /** + * This error indicates that you have specified more than one + * ExchangeImpersonation property value within a request. + * + * @since Exchange 2007 + * + * @var string + */ + const MORE_THAN_ONE_ACCESS_MODE_SPECIFIED = 'ErrorMoreThanOneAccessModeSpecified'; + + /** + * This error indicates that the move or copy operation failed. + * + * Moving occurs in the CreateItem Operation when you accept a meeting + * request that is in the Deleted Items folder. In addition, if you decline + * a meeting request, cancel a calendar item, or remove a meeting from your + * calendar, it is moved to the Deleted Items folder. + * + * @since Exchange 2007 + * + * @var string + */ + const MOVE_COPY_FAILED = 'ErrorMoveCopyFailed'; + + /** + * This error occurs if you try to move a distinguished folder. + * + * @since Exchange 2007 + * + * @var string + */ + const MOVE_DISTINGUISHED_FOLDER = 'ErrorMoveDistinguishedFolder'; + + /** + * This error occurs when a request attempts to access multiple mailbox + * servers. + * + * @var since 2013 + * + * @var string + */ + const MULTI_LEGACY_MAILBOX_ACCESS = 'ErrorMultiLegacyMailboxAccess'; + + /** + * This error occurs if the ResolveNames Operation returns more than one + * result or the ambiguous name that you specified matches more than one + * object in the directory. + * + * The response code includes the matched names in the response data. + * + * @since Exchange 2007 + * + * @var string + */ + const NAME_RESOLUTION_MULTIPLE_RESULTS = 'ErrorNameResolutionMultipleResults'; + + /** + * This error indicates that the caller does not have a mailbox on the + * system. + * + * The ResolveNames Operation or ExpandDL Operation is invalid for + * connecting a user without a mailbox. + * + * @since Exchange 2007 + * + * @var string + */ + const NAME_RESOLUTION_NO_MAILBOX = 'ErrorNameResolutionNoMailbox'; + + /** + * This error indicates that the ResolveNames Operation returns no results. + * + * @since Exchange 2007 + * + * @var string + */ + const NAME_RESOLUTION_NO_RESULTS = 'ErrorNameResolutionNoResults'; + + /** + * This error MUST be returned to the first subscription connection if a + * second subscription connection is opened. + * + * @since Exchange 2010 + * + * @var string + */ + const NEW_EVENT_STREAM_CONNECTION_OPENED = 'ErrorNewEventStreamConnectionOpened'; + + /** + * This error code MUST be returned when the Web service cannot find a + * server to handle the request. + * + * @since Exchange 2010 + * + * @var string + */ + const NO_APPLICABLE_PROXY_CAS_SERVERS_AVAILABLE = 'ErrorNoApplicableProxyCASServersAvailable'; + + /** + * This error occurs if there is no Calendar folder for the mailbox. + * + * @since Exchange 2007 + * + * @var string + */ + const NO_CALENDAR = 'ErrorNoCalendar'; + + /** + * This error indicates that the request referred to a mailbox in another + * Active Directory site, but no Client Access servers in the destination + * site were configured for Windows Authentication, and therefore the + * request could not be proxied. + * + * @since Exchange 2007 + * + * @var string + */ + const NO_DESTINATION_CAS_DUE_TO_KERBEROS_REQUIREMENTS = 'ErrorNoDestinationCASDueToKerberosRequirements'; + + /** + * This error indicates that the request referred to a mailbox in another + * Active Directory site, but no Client Access servers in the destination + * site were configured for SSL connections, and therefore the request could + * not be proxied. + * + * @since Exchange 2007 + * + * @var string + */ + const NO_DESTINATION_CAS_DUE_TO_SSL_REQUIREMENTS = 'ErrorNoDestinationCASDueToSSLRequirements'; + + /** + * This error indicates that the request referred to a mailbox in another + * Active Directory site, but no Client Access servers in the destination + * site were of an acceptable product version to receive the request, and + * therefore the request could not be proxied. + * + * @since Exchange 2007 + * + * @var string + */ + const NO_DESTINATION_CAS_DUE_TO_VERSION_MISMATCH = 'ErrorNoDestinationCASDueToVersionMismatch'; + + /** + * No error occurred for the request. + * + * @since Exchange 2007 + * + * @var string + */ + const NO_ERROR = 'NoError'; + + /** + * This error indicates that the caller tried to grant permissions in its + * calendar or contacts folder to a user in another organization, and the + * attempt failed. + * + * @since Exchange 2010 + * + * @var string + */ + const NO_EXTERNAL_SHARING_ALLOWED_BY_POLICY = 'ErrorNotAllowedExternalSharingByPolicy'; + + /** + * This error occurs if you set the FolderClass property when you are + * creating an item other than a generic folder. + * + * For typed folders such as CalendarFolderType and TasksFolderType, the + * folder class is implied. Setting the folder class to a different folder + * type by using the UpdateFolder Operation results in the + * ErrorObjectTypeChanged response. Instead, use a generic folder type but + * set the folder class to the value that you require. Exchange Web Services + * will create the correct strongly typed folder. + * + * @since Exchange 2007 + * + * @var string + */ + const NO_FOLDER_CLASS_OVERRIDE = 'ErrorNoFolderClassOverride'; + + /** + * This error indicates that the caller does not have free/busy viewing + * rights on the Calendar folder in question. + * + * @since Exchange 2007 + * + * @var string + */ + const NO_FREE_BUSY_ACCESS = 'ErrorNoFreeBusyAccess'; + + /** + * This error indicates that MAPI properties in the custom range, 0x8000 and + * greater, cannot be referenced by property tags. + * + * You must use the PropertySetId property or the DistinguishedPropertySetId + * property together with the PropertyName or PropertyId properties. + * + * @since Exchange 2007 + * + * @var string + */ + const NO_PROPERTY_TAG_FOR_CUSTOM_PROPERTIES = 'ErrorNoPropertyTagForCustomProperties'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const NO_PUBLIC_FOLDER_REPLICA_AVAILABLE = 'ErrorNoPublicFolderReplicaAvailable'; + + /** + * This error code MUST be returned if no public folder server is available + * or if the caller does not have a home public server. + * + * @since Exchange 2010 + * + * @var string + */ + const NO_PUBLIC_FOLDER_SERVER_AVAILABLE = 'ErrorNoPublicFolderServerAvailable'; + + /** + * This error indicates that the request referred to a mailbox in another + * Active Directory site, but none of the Client Access servers in that site + * responded, and therefore the request could not be proxied. + * + * @since Exchange 2007 + * + * @var string + */ + const NO_RESPONDING_CAS_IN_DESTINATION_SITE = 'ErrorNoRespondingCASInDestinationSite'; + + /** + * This error is intended for internal use only. + * + * @since Exchange 2013 + * + * @var string + */ + const NO_SPEECH_DETECTED = 'ErrorNoSpeechDetected'; + + /** + * This error occurs when a mailbox could not be found for an email address. + * + * This error occurs in the following scenarios: + * - The e-mail address is empty in CreateManagedFolder. + * - The e-mail address does not refer to a valid account in a request that + * takes an e-mail address in the body or in the SOAP header, such as in an + * Exchange Impersonation call. + * + * @since Exchange 2007 + * + * @var string + */ + const NON_EXISTENT_MAILBOX = 'ErrorNonExistentMailbox'; + + /** + * This error occurs when a caller passes in a non-primary SMTP address. The + * response includes the correct SMTP address to use. + * + * @since Exchange 2007 + * + * @var string + */ + const NON_PRIMARY_SMTP_ADDRESS = 'ErrorNonPrimarySmtpAddress'; + + /** + * This error is returned whenever an ID that is not an item attachment ID + * is passed to a Web service method that expects an attachment ID. + * + * @since Exchange 2007 + * + * @var string + */ + const NOT_AN_ITEM_ATTACHMENT_ID = 'ErrorInvalidIdNotAnItemAttachmentId'; + + /** + * This error indicates that the user is not a delegate for the mailbox. + * + * It is returned by the GetDelegate Operation, the RemoveDelegate + * Operation, and the UpdateDelegate Operation when the specified delegate + * user is not found in the list of delegates. + * + * @since Exchange 2007 SP1 + * + * @var string + */ + const NOT_DELEGATE = 'ErrorNotDelegate'; + + /** + * This error indicates that the operation could not be completed because of + * insufficient memory. + * + * @since Exchange 2007 + * + * @var string + */ + const NOT_ENOUGH_MEMORY = 'ErrorNotEnoughMemory'; + + /** + * This error indicates that the operation (currently CancelItem) on the + * calendar item is not valid for an attendee; only the meeting organizer + * can cancel the meeting. + * + * @since Exchange 2007 + * + * @var string + */ + const NOT_ORGANIZER = 'ErrorCalendarIsNotOrganizer'; + + /** + * This error occurs if the object type changed. + * + * @since Exchange 2007 + * + * @var string + */ + const OBJECT_TYPE_CHANGED = 'ErrorObjectTypeChanged'; + + /** + * This error occurs when the Start or End time of an occurrence is updated + * so that the occurrence is scheduled to happen earlier or later than the + * corresponding previous or next occurrence. + * + * @since Exchange 2007 + * + * @var string + */ + const OCCURRENCE_CROSSING_BOUNDRY = 'ErrorOccurrenceCrossingBoundary'; + + /** + * This error indicates that the occurrence index does not point to an + * occurrence within the current recurrence. + * + * For example, if your recurrence pattern defines a set of three meeting + * occurrences and you try to access the fifth occurrence, this response + * code will result. + * + * @since Exchange 2007 + * + * @var string + */ + const OCCURRENCE_INDEX_OUT_OF_RANGE = 'ErrorCalendarOccurrenceIndexIsOutOfRecurrenceRange'; + + /** + * This error indicates that any operation on a deleted occurrence + * (addressed via recurring master ID and occurrence index) is invalid. + * + * @since Exchange 2007 + * + * @var string + */ + const OCCURRENCE_IS_DELETED = 'ErrorCalendarOccurrenceIsDeletedFromRecurrence'; + + /** + * This error indicates that the time allotment for a given occurrence + * overlaps with another occurrence of the same recurring item. + * + * This response also occurs when the length in minutes of a given + * occurrence is larger than Int32.MaxValue. + * + * @since Exchange 2007 + * + * @var string + */ + const OCCURRENCE_TIME_SPAN_TOO_BIG = 'ErrorOccurrenceTimeSpanTooBig'; + + /** + * This error indicates that the current operation is not valid for the + * public folder root. + * + * @since Exchange 2007 + * + * @var string + */ + const OPERATION_NOT_ALLOWED_WITH_PUBLIC_FOLDER_ROOT = 'ErrorOperationNotAllowedWithPublicFolderRoot'; + + /** + * This error indicates that the requester's organization is not federated + * so the requester cannot create sharing messages to send to an external + * user or cannot accept sharing messages received from an external user. + * + * @since Exchange 2010 + * + * @var string + */ + const ORGANIZATION_NOT_FEDERATED = 'ErrorOrganizationNotFederated'; + + /** + * This error indicates that AcceptItem is invalid for the organizer’s + * calendar item. + * + * @since Exchange 2007 + * + * @var string + */ + const ORGANIZER_FOR_ACCEPT = 'ErrorCalendarIsOrganizerForAccept'; + + /** + * This error indicates that DeclineItem is invalid for the organizer’s + * calendar item. + * + * @since Exchange 2007 + * + * @var string + */ + const ORGANIZER_FOR_DECLINE = 'ErrorCalendarIsOrganizerForDecline'; + + /** + * This error indicates that RemoveItem is invalid for the organizer’s + * calendar item. To remove a meeting from the calendar, the organizer must + * use CancelItem. + * + * @since Exchange 2007 + * + * @var string + */ + const ORGANIZER_FOR_REMOVE = 'ErrorCalendarIsOrganizerForRemove'; + + /** + * This error indicates that TentativelyAcceptItem is invalid for the + * organizer’s calendar item. + * + * @since Exchange 2007 + * + * @var string + */ + const ORGANIZER_FOR_TENTATIVE = 'ErrorCalendarIsOrganizerForTentative'; + + /** + * This error MUST be returned when an attempt to manage Inbox rules occurs + * after another client has accessed the Inbox rules. + * + * @since Exchange 2010 + * + * @var string + */ + const OUTLOOK_RULE_BLOB_EXISTS = 'ErrorOutlookRuleBlobExists'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const PARENT_FOLDER_ID_REQUIRED = 'ErrorParentFolderIdRequired'; + + /** + * This error occurs in the CreateFolder Operation when the parent folder is + * not found. + * + * @since Exchange 2007 + * + * @var string + */ + const PARENT_FOLDER_NOT_FOUND = 'ErrorParentFolderNotFound'; + + /** + * This error indicates that you must change your password before you can + * access this mailbox. + * + * This occurs when a new account has been created and the administrator + * indicated that the user must change the password at first logon. You + * cannot update the password by using Exchange Web Services. You must use a + * tool such as Microsoft Office Outlook Web App to change your password. + * + * @since Exchange 2007 + * + * @var string + */ + const PASSWORD_CHANGE_REQUIRED = 'ErrorPasswordChangeRequired'; + + /** + * This error indicates that the password has expired. + * + * You cannot change the password by using Exchange Web Services. You must + * use a tool such as Outlook Web App to change your password. + * + * @since Exchange 2007 + * + * @var string + */ + const PASSWORD_EXPIRED = 'ErrorPasswordExpired'; + + /** + * This error indicates that the requester tried to grant permissions in its + * calendar or contacts folder to an external user but the sharing policy + * assigned to the requester indicates that the requested permission level + * is higher than what the sharing policy allows. + * + * @since Exchange 2010 + * + * @var string + */ + const PERMISSION_NOT_ALLOWED_BY_POLICY = 'ErrorPermissionNotAllowedByPolicy'; + + /** + * This error Indicates that the telephone number was not in the correct + * form. + * + * @since Exchange 2010 + * + * @var string + */ + const PHONE_NUMBER_NOT_DIALABLE = 'ErrorPhoneNumberNotDialable'; + + /** + * This error is intended for internal use only. + * + * @since Exchange 2013 + * + * @var string + */ + const PROMPT_PUBLISHING_OPERATION_FAILED = 'ErrorPromptPublishingOperationFailed'; + + /** + * This error indicates that the update failed because of invalid property + * values. + * + * The response message includes the invalid property paths. + * + * @since Exchange 2007 + * + * @var string + */ + const PROPERTY_UPDATE_ERROR = 'ErrorPropertyUpdate'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const PROPERTY_VALIDATION_FAILURE = 'ErrorPropertyValidationFailure'; + + /** + * This error indicates that the request referred to a subscription that + * exists on another Client Access server, but an attempt to proxy the + * request to that Client Access server failed. + * + * @since Exchange 2007 + * + * @var string + */ + const PROXIED_SUBSCRIPTION_CALL_FAILURE = 'ErrorProxiedSubscriptionCallFailure'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const PROXY_CALL_FAILED = 'ErrorProxyCallFailed'; + + /** + * This error indicates that the request referred to a mailbox in another + * Active Directory site, and the original caller is a member of more than + * 3,000 groups. + * + * @since Exchange 2007 + * + * @var string + */ + const PROXY_GROUP_SID_LIMIT_EXCEEDED = 'ErrorProxyGroupSidLimitExceeded'; + + /** + * This error indicates that the request that Exchange Web Services sent to + * another Client Access server when trying to fulfill a GetUserAvailability + * request was invalid. + * + * This response code typically indicates that a configuration or rights + * error has occurred, or that someone tried unsuccessfully to mimic an + * availability proxy request. + * + * @since Exchange 2007 + * + * @var string + */ + const PROXY_REQUEST_NOT_ALLOWED = 'ErrorProxyRequestNotAllowed'; + + /** + * This error indicates that Exchange Web Services tried to proxy an + * availability request to another Client Access server for fulfillment, but + * the request failed. + * + * This response can be caused by network connectivity issues or request + * timeout issues. + * + * @since Exchange 2007 + * + * @var string + */ + const PROXY_REQUEST_PROCESSING_FAILED = 'ErrorProxyRequestProcessingFailed'; + + /** + * This error code must be returned if the Web service cannot determine + * whether the request is to run on the target server or will be proxied to + * another server. + * + * @since Exchange 2010 + * + * @var string + */ + const PROXY_SERVICE_DISCOVERY_FAILED = 'ErrorProxyServiceDiscoveryFailed'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const PROXY_TOKEN_EXPIRED = 'ErrorProxyTokenExpired'; + + /** + * This error occurs when the public folder mailbox URL cannot be found. + * + * This error is intended for internal use only. + * + * @since Exchange 2013 + * + * @var string + */ + const PUBLIC_FOLDER_MAILBOX_DISCOVERY_FAILED = 'ErrorPublicFolderMailboxDiscoveryFailed'; + + /** + * This error occurs when an attempt is made to access a public folder and + * the attempt is unsuccessful. + * + * @since Exchange 2013 + * + * @var string + */ + const PUBLIC_FOLDER_OPERATION_FAILED = 'ErrorPublicFolderOperationFailed'; + + /** + * This error occurs when the recipient that was passed to the + * GetUserAvailability Operation is located on a computer that is running a + * version of Exchange Server that is earlier than Exchange 2007, and the + * request to retrieve free/busy information for the recipient from the + * public folder server failed. + * + * @since Exchange 2007 + * + * @var string + */ + const PUBLIC_FOLDER_REQUEST_PROCESSING_FAILED = 'ErrorPublicFolderRequestProcessingFailed'; + + /** + * This error occurs when the recipient that was passed to the + * GetUserAvailability Operation is located on a computer that is running a + * version of Exchange Server that is earlier than Exchange 2007, and the + * request to retrieve free/busy information for the recipient from the + * public folder server failed because the organizational unit did not have + * an associated public folder server. + * + * @since Exchange 2007 + * + * @var string + */ + const PUBLIC_FOLDER_SERVER_NOT_FOUND = 'ErrorPublicFolderServerNotFound'; + + /** + * This error occurs when a synchronization operation succeeds against the + * primary public folder mailbox but does not succeed against the secondary + * public folder mailbox. + * + * @since Exchange 2013 + * + * @var string + */ + const PUBLIC_FOLDER_SYNC_EXCEPTION = 'ErrorPublicFolderSyncException'; + + /** + * This error indicates that the search folder restriction may be valid, but + * it is not supported by EWS. + * + * Exchange Web Services limits restrictions to contain a maximum of 255 + * filter expressions. If you try to bind to an existing search folder that + * exceeds 255, this response code is returned. + * + * @since Exchange 2007 + * + * @var string + */ + const QUERY_FILTER_TOO_LONG = 'ErrorQueryFilterTooLong'; + + /** + * This error occurs when the mailbox quota is exceeded. + * + * @since Exchange 2007 + * + * @var string + */ + const QUOTA_EXCEEDED = 'ErrorQuotaExceeded'; + + /** + * This error is returned by the GetEvents Operation or push notifications + * when a failure occurs while retrieving event information. + * + * When this error is returned, the subscription is deleted. Re-create the + * event synchronization based on a last known watermark. + * + * @since Exchange 2007 + * + * @var string + */ + const READ_EVENTS_FAILED = 'ErrorReadEventsFailed'; + + /** + * This error is returned by the CreateItem Operation if an attempt was made + * to suppress a read receipt when the message sender did not request a read + * receipt on the message or if the message is in the Junk E-mail folder. + * + * @since Exchange 2007 + * + * @var string + */ + const READ_RECEIPT_NOT_PENDING = 'ErrorReadReceiptNotPending'; + + /** + * This error is intended for internal use only. + * + * @since Exchange 2013 + * + * @var string + */ + const RECIPIENT_NOT_FOUND = 'ErrorRecipientNotFound'; + + /** + * This error is intended for internal use only. + * + * @since Exchange 2013 + * + * @var string + */ + const RECOGNIZER_NOT_INSTALLED = 'ErrorRecognizerNotInstalled'; + + /** + * This error occurs when the end date for the recurrence is after 9/1/4500. + * + * @since Exchange 2007 + * + * @var string + */ + const RECURRENCE_END_DATE_TOO_BIG = 'ErrorRecurrenceEndDateTooBig'; + + /** + * This error occurs when the specified recurrence does not have any + * occurrence instances in the specified range. + * + * @since Exchange 2007 + * + * @var string + */ + const RECURRENCE_HAS_NO_OCCURRENCE = 'ErrorRecurrenceHasNoOccurrence'; + + /** + * This error indicates that the delegate list failed to be saved after + * delegates were removed. + * + * @since Exchange 2007 SP1 + * + * @var string + */ + const REMOVE_DELEGATES_FAILED = 'ErrorRemoveDelegatesFailed'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const REQUEST_ABORTED = 'ErrorRequestAborted'; + + /** + * This error occurs when the request stream is larger than 400 KB. + * + * @since Exchange 2007 + * + * @var string + */ + const REQUEST_STREAM_TOO_BIG = 'ErrorRequestStreamTooBig'; + + /** + * This error is returned when a required property is missing in a + * CreateAttachment Operation request. + * + * The missing property URI is included in the response. + * + * @since Exchange 2007 + * + * @var string + */ + const REQUIRED_PROPERTY_MISSING = 'ErrorRequiredPropertyMissing'; + + /** + * This error indicates that the caller has specified a folder that is not a + * contacts folder to the ResolveNames Operation. + * + * @since Exchange 2007 + * + * @var string + */ + const RESOLVE_NAMES_INVALID_FOLDER_TYPE = 'ErrorResolveNamesInvalidFolderType'; + + /** + * This error indicates that the caller has specified more than one contacts + * folder to the ResolveNames Operation. + * + * @since Exchange 2007 + * + * @var string + */ + const RESOLVE_NAMES_ONLY_ONE_CONTACTS_FOLDER_ALLOWED = 'ErrorResolveNamesOnlyOneContactsFolderAllowed'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const RESPONSE_SCHEMA_VALIDATION = 'ErrorResponseSchemaValidation'; + + /** + * This error occurs when the restriction cannot be evaluated by Exchange + * Web Services. + * + * @since Exchange 2007 + * + * @var string + */ + const RESTRICTION_TOO_COMPLEX = 'ErrorRestrictionTooComplex'; + + /** + * This error occurs if the restriction contains more than 255 nodes. + * + * @since Exchange 2007 + * + * @var string + */ + const RESTRICTION_TOO_LONG = 'ErrorRestrictionTooLong'; + + /** + * This error indicates that the number of calendar entries for a given + * recipient exceeds the allowed limit of 1000. + * + * Reduce the window and try again. + * + * @since Exchange 2007 + * + * @var string + */ + const RESULT_SET_TOO_BIG = 'ErrorResultSetTooBig'; + + /** + * This error MUST be returned when a user's rule quota has been exceeded. + * + * @since Exchange 2010 + * + * @var string + */ + const RULES_OVER_QUOTA = 'ErrorRulesOverQuota'; + + /** + * This error occurs when the SavedItemFolderId is not found. + * + * @since Exchange 2007 + * + * @var string + */ + const SAVED_ITEM_FOLDER_NOT_FOUND = 'ErrorSavedItemFolderNotFound'; + + /** + * This error occurs when the request cannot be validated against the + * schema. + * + * @since Exchange 2007 + * + * @var string + */ + const SCHEMA_VALIDATION = 'ErrorSchemaValidation'; + + /** + * This error indicates that the search folder was created, but the search + * criteria were never set on the folder. + * + * This only occurs when you access corrupted search folders that were + * created by using another API or client. To fix this error, use the + * UpdateFolder Operation to set the SearchParameters to include the + * restriction that should be on the folder. + * + * @since Exchange 2007 + * + * @var string + */ + const SEARCH_FOLDER_NOT_INITIALIZED = 'ErrorSearchFolderNotInitialized'; + + /** + * This error is returned when an unexpected photo size is requested in a + * GetUserPhoto operation request. + * + * @since Exchange 2013 + * + * @var string + */ + const SEARCH_QUERY_HAS_TOO_MANY_KEYWORDS = 'ErrorSearchQueryHasTooManyKeywords'; + + /** + * This error is returned when a SearchMailboxes operation request contains + * too many mailboxes to search. + * + * @since Exchange 2013 + * + * @var string + */ + const SEARCH_TOO_MANY_MAILBOXES = 'ErrorSearchTooManyMailboxes'; + + /** + * This error occurs when a an attempt to send a message as another user is + * denied. + * + * The request will be denied when both of the following conditions occur: + * - A user has been granted CanActAsOwner permissions but is not granted + * delegate rights on the principal’s mailbox. + * - The same user tries to create and send an e-mail message in the + * principal’s mailbox by using the SendAndSaveCopy option. + * + * The result is an ErrorSendAsDenied error and the creation of the e-mail + * message in the principal’s Drafts folder. + * + * @since Exchange 2007 + * + * @var string + */ + const SEND_AS_DENIED = 'ErrorSendAsDenied'; + + /** + * This error is returned by the DeleteItem Operation if the + * SendMeetingCancellations attribute is missing from the request and the + * item to delete is a calendar item. + * + * @since Exchange 2007 + * + * @var string + */ + const SEND_MEETING_CANCELLATIONS_REQUIRED = 'ErrorSendMeetingCancellationsRequired'; + + /** + * This error is returned by the UpdateItem Operation if the + * SendMeetingInvitationsOrCancellations attribute is missing from the + * request and the item to update is a calendar item. + * + * @since Exchange 2007 + * + * @var string + */ + const SEND_MEETING_INVITATIONS_OR_CANCELLATIONS_REQUIRED = 'ErrorSendMeetingInvitationsOrCancellationsRequired'; + + /** + * This error is returned by the CreateItem Operation if the + * SendMeetingInvitations attribute is missing from the request and the item + * to create is a calendar item. + * + * @since Exchange 2007 + * + * @var string + */ + const SEND_MEETING_INVITATIONS_REQUIRED = 'ErrorSendMeetingInvitationsRequired'; + + /** + * This error indicates that after the organizer sends a meeting request, + * the request cannot be updated. + * + * To modify the meeting, modify the calendar item, not the meeting request. + * + * @since Exchange 2007 + * + * @var string + */ + const SENT_MEETING_REQUEST_UPDATE = 'ErrorSentMeetingRequestUpdate'; + + /** + * This error indicates that after the task initiator sends a task request, + * that request cannot be updated. + * + * @since Exchange 2007 + * + * @var string + */ + const SENT_TASK_REQUEST_UPDATE = 'ErrorSentTaskRequestUpdate'; + + /** + * This error occurs when the server is busy. + * + * @since Exchange 2007 + * + * @var string + */ + const SERVER_BUSY = 'ErrorServerBusy'; + + /** + * This error indicates that Exchange Web Services tried to proxy a user + * availability request to the appropriate forest for the recipient, but it + * could not determine where to send the request because of a service + * discovery failure. + * + * @since Exchange 2007 + * + * @var string + */ + const SERVICE_DISCOVERY_FAILED = 'ErrorServiceDiscoveryFailed'; + + /** + * This error indicates that the sharing message is not supported. + * + * @since Exchange 2010 + * + * @var string + */ + const SHARING_MESSAGE_NOT_SUPPORTED = 'ErrorNotSupportedSharingMessage'; + + /** + * This error indicates that the external URL property has not been set in + * the Active Directory database. + * + * @since Exchange 2010 + * + * @var string + */ + const SHARING_NO_EXTERNAL_EWS_AVAILABLE = 'ErrorSharingNoExternalEwsAvailable'; + + /** + * This error indicates that an attempt at synchronizing a sharing folder + * failed. + * + * This error code is returned when one of the following occurs: + * - The subscription for a sharing folder is not found. + * - The sharing folder is not found + * - The corresponding directory user is not found + * - The user no longer exists. + * - The appointment is invalid + * - The contact item is invalid. + * - There is a communication failure with the remote server. + * + * @since Exchange 2010 + * + * @var string + */ + const SHARING_SYNCHRONIZATION_FAILED = 'ErrorSharingSynchronizationFailed'; + + /** + * This error is intended for internal use only. + * + * @since Exchange 2013 + * + * @var string + */ + const SPEECH_GRAMMAR_ERROR = 'ErrorSpeechGrammarError'; + + /** + * This error occurs in an UpdateItem Operation or a SendItem Operation when + * the change key is not up-to-date or was not supplied. + * + * Call the GetItem Operation to retrieve an updated change key and then try + * the operation again. + * + * @since Exchange 2007 + * + * @var string + */ + const STALE_OBJECT = 'ErrorStaleObject'; + + /** + * This error occurs when the caller specifies an Id attribute that is too + * long. + * + * @since Exchange 2007 + * + * @var string + */ + const STORE_OBJECT_ID_TOO_LONG = 'ErrorInvalidIdStoreObjectIdTooLong'; + + /** + * This error Indicates that a user cannot immediately send more requests + * because the submission quota has been reached. + * + * @since Exchange 2010 + * + * @var string + */ + const SUBMISSION_QUOTE_EXCEDDED = 'ErrorSubmissionQuotaExceeded'; + + /** + * This error occurs when you try to access a subscription by using an + * account that did not create that subscription. + * + * Each subscription can only be accessed by the creator of the + * subscription. + * + * @since Exchange 2007 + * + * @var string + */ + const SUBSCRIPTION_ACCESS_DENIED = 'ErrorSubscriptionAccessDenied'; + + /** + * This error indicates that you cannot create a subscription if you are not + * the owner or do not have owner access to the mailbox. + * + * @since Exchange 2007 SP1 + * + * @var string + */ + const SUBSCRIPTION_DELEGATE_ACCESS_NOT_SUPPORTED = 'ErrorSubscriptionDelegateAccessNotSupported'; + + /** + * This error occurs if the subscription that corresponds to the specified + * SubscriptionId is not found. + * + * The subscription may have expired, the Exchange Web Services process may + * have been restarted, or an invalid subscription was passed in. If the + * subscription was valid, re-create the subscription with the latest + * watermark. This is returned by the Unsubscribe Operation or the GetEvents + * Operation responses. + * + * @since Exchange 2007 + * + * @var string + */ + const SUBSCRIPTION_NOT_FOUND = 'ErrorSubscriptionNotFound'; + + /** + * This error code must be returned when a request is made for a + * subscription that has been unsubscribed. + * + * @since Exchange 2010 + * + * @var string + */ + const SUBSCRIPTION_UNSUBSCRIBED = 'ErrorSubscriptionUnsubsribed'; + + /** + * This error is returned by the SyncFolderItems Operation if the parent + * folder that is specified cannot be found. + * + * @since Exchange 2007 + * + * @var string + */ + const SYNC_FOLDER_NOT_FOUND = 'ErrorSyncFolderNotFound'; + + /** + * This error code is not used. + * + * @since Exchange 2013 + * + * @var string + */ + const TEAM_MAILBOX_ACTIVE_TO_PENDING_DELETE = 'ErrorTeamMailboxActiveToPendingDelete'; + + /** + * This error indicates a general error that can occur when trying to access + * a team mailbox. + * + * Try submitting the request at a later time. + * + * @since Exchange 2013 + * + * @var string + */ + const TEAM_MAILBOX_ERROR_UNKNOWN = 'ErrorTeamMailboxErrorUnknown'; + + /** + * This error indicates that an attempt to send a notification to the team + * mailbox owners was unsuccessful. + * + * @since Exchange 2013 + * + * @var string + */ + const TEAM_MAILBOX_FAILED_SENDING_NOTIFICATIONS = 'ErrorTeamMailboxFailedSendingNotifications'; + + /** + * This error code is not used. + * + * @since Exchange 2013 + * + * @var string + */ + const TEAM_MAILBOX_NOT_AUTHORIZED_OWNER = 'ErrorTeamMailboxNotAuthorizedOwner'; + + /** + * This error indicates that a team mailbox was not found. + * + * @since Exchange 2013 + * + * @var string + */ + const TEAM_MAILBOX_NOT_FOUND = 'ErrorTeamMailboxNotFound'; + + /** + * This error indicates that a team mailbox was found but that it is not + * linked to a SharePoint Server. + * + * @since Exchange 2013 + * + * @var string + */ + const TEAM_MAILBOX_NOT_LINKED_TO_SHARE_POINT = 'ErrorTeamMailboxNotLinkedToSharePoint'; + + /** + * This error indicates that a team mailbox was found but that the link to + * the SharePoint Server is not valid. + * + * @since Exchange 2013 + * + * @var string + */ + const TEAM_MAILBOX_URL_VALIDATION_FAILED = 'ErrorTeamMailboxUrlValidationFailed'; + + /** + * This error indicates that the time window that was specified is larger + * than the allowed limit. + * + * By default, the allowed limit is 42. + * + * @since Exchange 2007 + * + * @var string + */ + const TIME_INTERVAL_TOO_BIG = 'ErrorTimeIntervalTooBig'; + + /** + * This error indicates that there is a time zone error. + * + * @since Exchange 2007 + * + * @var string + */ + const TIME_ZONE_ERROR = 'ErrorTimeZone'; + + /** + * This error occurs when there is not enough time to complete the + * processing of the request. + * + * @since Exchange 2007 + * + * @var string + */ + const TIMEOUT_EXPIRED = 'ErrorTimeoutExpired'; + + /** + * This error indicates that the destination folder does not exist. + * + * @since Exchange 2007 + * + * @var string + */ + const TO_FOLDER_NOT_FOUND = 'ErrorToFolderNotFound'; + + /** + * This error occurs if the caller tries to do a Token serialization request + * but does not have the ms-Exch-EPI-TokenSerialization right on the Client + * Access server. + * + * @since Exchange 2007 + * + * @var string + */ + const TOKEN_SERIALIZATION_DENIED = 'ErrorTokenSerializationDenied'; + + /** + * This error is returned when the attachment hierarchy on an item exceeds + * the maximum of 255 levels deep. + * + * @since Exchange 2007 + * + * @var string + */ + const TOO_MANY_ATTACHMENT_LEVELS = 'ErrorInvalidIdTooManyAttachmentLevels'; + + /** + * This error is intended for internal use only. + * + * @since Exchange 2013 + * + * @var string + */ + const UM_SERVER_UNAVAILABLE = 'ErrorUMServerUnavailable'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const UNABLE_TO_GET_USER_OOF_SETTINGS = 'ErrorUnableToGetUserOofSettings'; + + /** + * This error occurs when an unsuccessful attempt is made to remove an IM + * contact from a group. + * + * @since Exchange 2013 + * + * @var string + */ + const UNABLE_TO_REMOVE_IM_CONTACT_FROM_GROUP = 'ErrorUnableToRemoveImContactFromGroup'; + + /** + * This error indicates that a user's dial plan is not available. + * + * @since Exchange 2010 + * + * @var string + */ + const UNIFIED_MESSAGING_DIAL_PLAN_NOT_FOUND = 'ErrorUnifiedMessagingDialPlanNotFound'; + + /** + * This error is intended for internal use only. + * + * @since Exchange 2013 + * + * @var string + */ + const UNIFIED_MESSAGING_PROMPT_NOT_FOUND = 'ErrorUnifiedMessagingPromptNotFound'; + + /** + * This error is intended for internal use only. + * + * @since Exchange 2013 + * + * @var string + */ + const UNIFIED_MESSAGING_REPORT_DATA_NOT_FOUND = 'ErrorUnifiedMessagingReportDataNotFound'; + + /** + * This error indicates that the user could not be found. + * + * @since Exchange 2010 + * + * @var string + */ + const UNIFIED_MESSAGING_REQUEST_FAILED = 'ErrorUnifiedMessagingRequestFailed'; + + /** + * This error indicates that a valid server for the dial plan could not be + * found to handle the request. + * + * @since Exchange 2010 + * + * @var string + */ + const UNIFIED_MESSAGING_SERVER_NOT_FOUND = 'ErrorUnifiedMessagingServerNotFound'; + + /** + * This error occurs when you try to set the Culture property to a value + * that is not parsable by the System.Globalization.CultureInfo class. + * + * @since Exchange 2007 + * + * @var string + */ + const UNSUPPORTED_CULTURE = 'ErrorUnsupportedCulture'; + + /** + * This error occurs when a caller tries to use extended properties of types + * object, object array, error, or null. + * + * @since Exchange 2007 + * + * @var string + */ + const UNSUPPORTED_MAPI_PROPRTY_TYPE = 'ErrorUnsupportedMapiPropertyType'; + + /** + * This error occurs when you are trying to retrieve or set MIME content for + * an item other than a PostItemType, MessageType, or CalendarItemType + * object. + * + * @since Exchange 2007 + * + * @var string + */ + const UNSUPPORTED_MIME_CONVERSION = 'ErrorUnsupportedMimeConversion'; + + /** + * This error occurs when the caller passes a property that is invalid for a + * query. + * + * This can occur when calculated properties are used. + * + * @since Exchange 2007 + * + * @var string + */ + const UNSUPPORTED_PATH_FOR_QUERY = 'ErrorUnsupportedPathForQuery'; + + /** + * This error occurs when the caller passes a property that is invalid for a + * sort or group by property. + * + * This can occur when calculated properties are used. + * + * @since Exchange 2007 + * + * @var string + */ + const UNSUPPORTED_PATH_FOR_SORT_GROUP = 'ErrorUnsupportedPathForSortGroup'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const UNSUPPORTED_PROPERTY_DEFINITION = 'ErrorUnsupportedPropertyDefinition'; + + /** + * This error indicates that the search folder restriction may be valid, but + * it is not supported by EWS. + * + * @since Exchange 2007 + * + * @var string + */ + const UNSUPPORTED_QUERY_FILTER = 'ErrorUnsupportedQueryFilter'; + + /** + * This error indicates that the specified recurrence is not supported for + * tasks. + * + * @since Exchange 2007 + * + * @var string + */ + const UNSUPPORTED_RECURRENCE = 'ErrorUnsupportedRecurrence'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const UNSUPPORTED_SUBFILTER = 'ErrorUnsupportedSubFilter'; + + /** + * This error indicates that Exchange Web Services found a property type in + * the store but it cannot generate XML for the property type. + * + * @since Exchange 2007 + * + * @var string + */ + const UNSUPPORTED_TYPE_FOR_CONVERSION = 'ErrorUnsupportedTypeForConversion'; + + /** + * This error indicates that the delegate list failed to be saved after + * delegates were updated. + * + * @since Exchange 2007 SP1 + * + * @var string + */ + const UPDATE_DELEGATES_FAILED = 'ErrorUpdateDelegatesFailed'; + + /** + * This error occurs when the single property path that is listed in a + * change description does not match the single property that is being set + * within the actual ItemType or FolderType object. + * + * @since Exchange 2007 + * + * @var string + */ + const UPDATE_PROPERTY_MISMATCH = 'ErrorUpdatePropertyMismatch'; + + /** + * This error indicates that the requester tried to grant permissions in its + * calendar or contacts folder to an external user but the sharing policy + * assigned to the requester indicates that the domain of the external user + * is not listed in the policy. + * + * @since Exchange 2010 + * + * @var string + */ + const USER_NOT_ALLOWED_BY_POLICY = 'ErrorUserNotAllowedByPolicy'; + + /** + * This error indicates that the requester is not enabled. + * + * @since Exchange 2010 + * + * @var string + */ + const USER_NOT_UNIFIED_MESSAGING_ENABLED = 'ErrorUserNotUnifiedMessagingEnabled'; + + /** + * Indicates that the requester's organization has a set of federated + * domains but the requester's organization does not have any SMTP proxy + * addresses with one of the federated domains. + * + * @since Exchange 2010 + * + * @var string + */ + const USER_WITHOUT_FEDERATED_PROXY_ADDRESS = 'ErrorUserWithoutFederatedProxyAddress'; + + /** + * This error indicates that a calendar view start date or end date was set + * to 1/1/0001 12:00:00 AM or 12/31/9999 11:59:59 PM. + * + * @since Exchange 2010 + * + * @var string + */ + const VALUE_OUT_OF_RANGE = 'ErrorValueOutOfRange'; + + /** + * This error occurs when Start to End range for the CalendarView element is + * more than the maximum allowed, currently 2 years. + * + * @since Exchange 2007 + * + * @var string + */ + const VIEW_RANGE_TOO_BIG = 'ErrorCalendarViewRangeTooBig'; + + /** + * This error indicates that the Exchange store detected a virus in the + * message. + * + * @since Exchange 2007 + * + * @var string + */ + const VIRUS_DETECTED = 'ErrorVirusDetected'; + + /** + * This error indicates that the Exchange store detected a virus in the + * message and deleted it. + * + * @since Exchange 2007 + * + * @var string + */ + const VIRUS_MESSAGE_DELETED = 'ErrorVirusMessageDeleted'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const VOICE_MAIL_NOT_IMPLEMENTED = 'ErrorVoiceMailNotImplemented'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const WEB_REQUEST_IN_INVALID_STATE = 'ErrorWebRequestInInvalidState'; + + /** + * This error indicates that there was an internal failure during + * communication with unmanaged code. + * + * @since Exchange 2007 + * + * @var string + */ + const WIN32_INTEROP_ERROR = 'ErrorWin32InteropError'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const WORKING_HOURS_SAVE_FAILED = 'ErrorWorkingHoursSaveFailed'; + + /** + * This response code is not used. + * + * @since Exchange 2007 + * + * @var string + */ + const WORKING_HOURS_XML_MALFORMED = 'ErrorWorkingHoursXmlMalformed'; + + /** + * This error indicates that a request can only be made to a server that is + * the same version as the mailbox server. + * + * @since Exchange 2010 + * + * @var string + */ + const WRONG_SERVER_VERSION = 'ErrorWrongServerVersion'; + + /** + * This error indicates that a request was made by a delegate that has a + * different server version than the principal's mailbox server. + * + * @since Exchange 2010 + * + * @var string + */ + const WRONG_SERVER_VERSION_DELEGATE = 'ErrorWrongServerVersionDelegate'; + + /** + * Element value. + * + * @var string + */ + public $_; + + /** + * Returns the value of this object as a string. + * + * @return string + */ + public function __toString() + { + return $this->_; + } +} diff --git a/EWSType/ResponseMessageType.php b/EWSType/ResponseMessageType.php index 2cf3cb57..4667c981 100644 --- a/EWSType/ResponseMessageType.php +++ b/EWSType/ResponseMessageType.php @@ -1,48 +1,62 @@ _; + } +} diff --git a/EWSType/RuleActionsType.php b/EWSType/RuleActionsType.php new file mode 100644 index 00000000..aa91cc1b --- /dev/null +++ b/EWSType/RuleActionsType.php @@ -0,0 +1,134 @@ +_; + } +} diff --git a/EWSType/RuleOperationErrorType.php b/EWSType/RuleOperationErrorType.php new file mode 100644 index 00000000..99807832 --- /dev/null +++ b/EWSType/RuleOperationErrorType.php @@ -0,0 +1,32 @@ +_; + } +} diff --git a/EWSType/RuleValidationErrorType.php b/EWSType/RuleValidationErrorType.php new file mode 100644 index 00000000..f8d8c88d --- /dev/null +++ b/EWSType/RuleValidationErrorType.php @@ -0,0 +1,50 @@ +_; + } +} diff --git a/EWSType/SearchExpressionType.php b/EWSType/SearchExpressionType.php index 28f804c6..0cacd8cd 100644 --- a/EWSType/SearchExpressionType.php +++ b/EWSType/SearchExpressionType.php @@ -1,21 +1,31 @@ _; + } +} diff --git a/EWSType/SearchParametersType.php b/EWSType/SearchParametersType.php index c59634a3..77b588ca 100644 --- a/EWSType/SearchParametersType.php +++ b/EWSType/SearchParametersType.php @@ -1,34 +1,41 @@ _; + } +} diff --git a/EWSType/SetFolderFieldType.php b/EWSType/SetFolderFieldType.php index 51796a3f..2214b237 100644 --- a/EWSType/SetFolderFieldType.php +++ b/EWSType/SetFolderFieldType.php @@ -1,46 +1,85 @@ _; + } +} diff --git a/EWSType/SidAndAttributesType.php b/EWSType/SidAndAttributesType.php index 2db7bc8d..3f338ea5 100644 --- a/EWSType/SidAndAttributesType.php +++ b/EWSType/SidAndAttributesType.php @@ -1,27 +1,32 @@ _; + } } diff --git a/EWSType/StandardGroupByType.php b/EWSType/StandardGroupByType.php new file mode 100644 index 00000000..b339cc6b --- /dev/null +++ b/EWSType/StandardGroupByType.php @@ -0,0 +1,40 @@ +_; + } +} diff --git a/EWSType/StreamingSubscriptionRequest.php b/EWSType/StreamingSubscriptionRequest.php new file mode 100644 index 00000000..df639bef --- /dev/null +++ b/EWSType/StreamingSubscriptionRequest.php @@ -0,0 +1,44 @@ +_; + } +} diff --git a/EWSType/Suggestion.php b/EWSType/Suggestion.php index 81c20d71..1ef33887 100644 --- a/EWSType/Suggestion.php +++ b/EWSType/Suggestion.php @@ -1,41 +1,52 @@ _; + } +} diff --git a/EWSType/SuggestionsResponseType.php b/EWSType/SuggestionsResponseType.php index 4cc0eb47..0261e2af 100644 --- a/EWSType/SuggestionsResponseType.php +++ b/EWSType/SuggestionsResponseType.php @@ -1,25 +1,29 @@ _; + } +} diff --git a/EWSType/SyncFolderItemsType.php b/EWSType/SyncFolderItemsType.php index d824c1f3..7252ea05 100644 --- a/EWSType/SyncFolderItemsType.php +++ b/EWSType/SyncFolderItemsType.php @@ -1,48 +1,86 @@ _; + } +} diff --git a/EWSType/TaskRecurrenceType.php b/EWSType/TaskRecurrenceType.php index b1de0fbb..dc825db9 100644 --- a/EWSType/TaskRecurrenceType.php +++ b/EWSType/TaskRecurrenceType.php @@ -1,104 +1,148 @@ _; + } +} diff --git a/EWSType/TaskType.php b/EWSType/TaskType.php index e525a14b..5ab5ae88 100644 --- a/EWSType/TaskType.php +++ b/EWSType/TaskType.php @@ -1,167 +1,617 @@ _; + } +} diff --git a/EWSType/TasksFolderType.php b/EWSType/TasksFolderType.php new file mode 100644 index 00000000..6e856b29 --- /dev/null +++ b/EWSType/TasksFolderType.php @@ -0,0 +1,119 @@ +_; + } +} diff --git a/EWSType/TwoOperandExpressionType.php b/EWSType/TwoOperandExpressionType.php index d5ba02b3..40c06d38 100644 --- a/EWSType/TwoOperandExpressionType.php +++ b/EWSType/TwoOperandExpressionType.php @@ -1,27 +1,51 @@ _; + } +} diff --git a/EWSType/UnknownAttendeeConflictData.php b/EWSType/UnknownAttendeeConflictData.php new file mode 100644 index 00000000..010e905b --- /dev/null +++ b/EWSType/UnknownAttendeeConflictData.php @@ -0,0 +1,17 @@ +_; + } +} diff --git a/EWSType/UserConfigurationDictionaryType.php b/EWSType/UserConfigurationDictionaryType.php new file mode 100644 index 00000000..b5e1e27c --- /dev/null +++ b/EWSType/UserConfigurationDictionaryType.php @@ -0,0 +1,21 @@ +_; + } +} diff --git a/EWSType/UserConfigurationType.php b/EWSType/UserConfigurationType.php new file mode 100644 index 00000000..6b560071 --- /dev/null +++ b/EWSType/UserConfigurationType.php @@ -0,0 +1,64 @@ +_; + } +} diff --git a/EWSType/WeeklyRecurrencePatternType.php b/EWSType/WeeklyRecurrencePatternType.php index adcfebcc..fef1ca96 100644 --- a/EWSType/WeeklyRecurrencePatternType.php +++ b/EWSType/WeeklyRecurrencePatternType.php @@ -1,20 +1,44 @@ + * + * @package php-ews\Auth */ class NTLMSoapClient_Exchange extends NTLMSoapClient { diff --git a/wsdl/messages.xsd b/wsdl/messages.xsd index e3c17be7..2eb8f461 100644 --- a/wsdl/messages.xsd +++ b/wsdl/messages.xsd @@ -476,7 +476,7 @@ - + @@ -500,8 +500,8 @@ - - + + @@ -556,7 +556,7 @@ - + @@ -948,7 +948,7 @@ - + @@ -1118,11 +1118,11 @@ - + - + - + @@ -1134,7 +1134,7 @@ - + @@ -2176,8 +2176,8 @@ - - + + @@ -2210,7 +2210,7 @@ - +