From 28ffcaafec7da9b51f5d792122a2dc154f7d5afb Mon Sep 17 00:00:00 2001 From: Oleg Kozak Date: Thu, 5 May 2022 11:02:28 +0300 Subject: [PATCH 1/4] bugfix() Fix import for 'Enumeration' class for 'ResponseCodeType' class --- src/API/Enumeration/ResponseCodeType.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/API/Enumeration/ResponseCodeType.php b/src/API/Enumeration/ResponseCodeType.php index a6ac65af..7be8d674 100644 --- a/src/API/Enumeration/ResponseCodeType.php +++ b/src/API/Enumeration/ResponseCodeType.php @@ -5,6 +5,8 @@ namespace garethp\ews\API\Enumeration; +use garethp\ews\API\Enumeration; + /** * Provides status information about a request. * From 25b85e49d189412b91f79b03246aa15d0f8f860e Mon Sep 17 00:00:00 2001 From: Oleg Kozak Date: Thu, 5 May 2022 11:12:56 +0300 Subject: [PATCH 2/4] chore() Remove .idea folder --- .idea/modules.xml | 8 -------- .idea/vcs.xml | 6 ------ 2 files changed, 14 deletions(-) delete mode 100644 .idea/modules.xml delete mode 100644 .idea/vcs.xml diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 5e1e21d9..00000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7f..00000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file From a9685e54d0c4f57b8ac32cf83218b307ad76e5a9 Mon Sep 17 00:00:00 2001 From: Oleg Kozak Date: Thu, 28 Sep 2023 15:38:50 +0300 Subject: [PATCH 3/4] bugfix() Fix relarive recurrence 'daysOfWeek' property --- .gitignore | 1 + src/API/Type/RelativeMonthlyRecurrencePatternType.php | 7 ++++--- src/API/Type/RelativeYearlyRecurrencePatternType.php | 7 ++++--- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 6942fdc7..27785457 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ vendor build/ Resources/auth.json .vagrant +.phpunit.* diff --git a/src/API/Type/RelativeMonthlyRecurrencePatternType.php b/src/API/Type/RelativeMonthlyRecurrencePatternType.php index 861e19a5..b2f6926a 100644 --- a/src/API/Type/RelativeMonthlyRecurrencePatternType.php +++ b/src/API/Type/RelativeMonthlyRecurrencePatternType.php @@ -8,8 +8,9 @@ * * XSD Type: RelativeMonthlyRecurrencePatternType * - * @method string getDaysOfWeek() - * @method RelativeMonthlyRecurrencePatternType setDaysOfWeek(string $daysOfWeek) + * @method RelativeMonthlyRecurrencePatternType addDaysOfWeek(string $daysOfWeek) + * @method string[] getDaysOfWeek() + * @method RelativeMonthlyRecurrencePatternType setDaysOfWeek(array $daysOfWeek) * @method string getDayOfWeekIndex() * @method RelativeMonthlyRecurrencePatternType setDayOfWeekIndex(string $dayOfWeekIndex) */ @@ -17,7 +18,7 @@ class RelativeMonthlyRecurrencePatternType extends IntervalRecurrencePatternBase { /** - * @var string + * @var string[] */ protected $daysOfWeek = null; diff --git a/src/API/Type/RelativeYearlyRecurrencePatternType.php b/src/API/Type/RelativeYearlyRecurrencePatternType.php index 86f3059b..8eb724a0 100644 --- a/src/API/Type/RelativeYearlyRecurrencePatternType.php +++ b/src/API/Type/RelativeYearlyRecurrencePatternType.php @@ -8,8 +8,9 @@ * * XSD Type: RelativeYearlyRecurrencePatternType * - * @method string getDaysOfWeek() - * @method RelativeYearlyRecurrencePatternType setDaysOfWeek(string $daysOfWeek) + * @method RelativeYearlyRecurrencePatternType addDaysOfWeek(string $daysOfWeek) + * @method string[] getDaysOfWeek() + * @method RelativeYearlyRecurrencePatternType setDaysOfWeek(array $daysOfWeek) * @method string getDayOfWeekIndex() * @method RelativeYearlyRecurrencePatternType setDayOfWeekIndex(string $dayOfWeekIndex) * @method string getMonth() @@ -19,7 +20,7 @@ class RelativeYearlyRecurrencePatternType extends RecurrencePatternBaseType { /** - * @var string + * @var array */ protected $daysOfWeek = null; From 384c92e5156d255039fd8a03942d80a8a2d505a7 Mon Sep 17 00:00:00 2001 From: Oleg Kozak Date: Fri, 29 Sep 2023 17:18:24 +0300 Subject: [PATCH 4/4] chore() Changes to the XSD definitions --- Resources/wsdl/types.xsd | 4 ++-- src/API/ExchangeWebServices.php | 1 + src/Calendar/CalendarAPI.php | 16 ---------------- src/Contacts/ContactsAPI.php | 16 ---------------- src/Generator/PhpConverter.php | 1 - src/Mail/MailAPI.php | 16 ---------------- 6 files changed, 3 insertions(+), 51 deletions(-) delete mode 100644 src/Calendar/CalendarAPI.php delete mode 100644 src/Contacts/ContactsAPI.php delete mode 100644 src/Mail/MailAPI.php diff --git a/Resources/wsdl/types.xsd b/Resources/wsdl/types.xsd index 9aeb8353..14095161 100644 --- a/Resources/wsdl/types.xsd +++ b/Resources/wsdl/types.xsd @@ -2350,7 +2350,7 @@ - + @@ -2373,7 +2373,7 @@ - + diff --git a/src/API/ExchangeWebServices.php b/src/API/ExchangeWebServices.php index d54f0d77..2350c99f 100644 --- a/src/API/ExchangeWebServices.php +++ b/src/API/ExchangeWebServices.php @@ -85,6 +85,7 @@ */ class ExchangeWebServices { + const VERSION_2007 = 'Exchange2007'; const VERSION_2007_SP1 = 'Exchange2007_SP1'; diff --git a/src/Calendar/CalendarAPI.php b/src/Calendar/CalendarAPI.php deleted file mode 100644 index 6370a29d..00000000 --- a/src/Calendar/CalendarAPI.php +++ /dev/null @@ -1,16 +0,0 @@ -