Selaa lähdekoodia

#5041 Update packages

Alex Trofimov 1 vuosi sitten
vanhempi
sitoutus
04e0616b23
100 muutettua tiedostoa jossa 3055 lisäystä ja 7788 poistoa
  1. 1 1
      modules/boonex/xero/composer.json
  2. 13 3
      modules/boonex/xero/plugins/autoload.php
  3. 72 65
      modules/boonex/xero/plugins/composer/ClassLoader.php
  4. 58 14
      modules/boonex/xero/plugins/composer/InstalledVersions.php
  5. 1 1
      modules/boonex/xero/plugins/composer/autoload_psr4.php
  6. 14 21
      modules/boonex/xero/plugins/composer/autoload_real.php
  7. 6 6
      modules/boonex/xero/plugins/composer/autoload_static.php
  8. 25 26
      modules/boonex/xero/plugins/composer/installed.json
  9. 20 20
      modules/boonex/xero/plugins/composer/installed.php
  10. 7 0
      modules/boonex/xero/plugins/firebase/php-jwt/CHANGELOG.md
  11. 4 4
      modules/boonex/xero/plugins/firebase/php-jwt/README.md
  12. 2 2
      modules/boonex/xero/plugins/firebase/php-jwt/src/JWT.php
  13. 1 1
      modules/boonex/xero/plugins/symfony/deprecation-contracts/composer.json
  14. 103 0
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/.github/actions/notify-slack/action.yml
  15. 80 0
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/.github/workflows/check-publish.yml
  16. 1 1
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/README.md
  17. 3 4
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/composer.json
  18. 569 54
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/docs/v2/accounting/index.html
  19. 10 5
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/docs/v2/appstore/index.html
  20. 35 5
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/docs/v2/assets/index.html
  21. 24 3
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/docs/v2/files/index.html
  22. 1 1
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/docs/v2/finance/index.html
  23. 30 3
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/docs/v2/payroll_au/index.html
  24. 221 26
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/docs/v2/payroll_nz/index.html
  25. 279 33
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/docs/v2/payroll_uk/index.html
  26. 15 3
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/docs/v2/projects/index.html
  27. 1 1
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php
  28. 1 1
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/AppStoreApi.php
  29. 1 1
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/AssetApi.php
  30. 19 10
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/FilesApi.php
  31. 1 1
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/FinanceApi.php
  32. 1 1
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/IdentityApi.php
  33. 1 1
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/PayrollAuApi.php
  34. 1 1
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/PayrollNzApi.php
  35. 1 1
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/PayrollUkApi.php
  36. 1 1
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/ProjectApi.php
  37. 3 3
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Configuration.php
  38. 2 0
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/Accounting/Organisation.php
  39. 2 0
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/Accounting/User.php
  40. 3 1
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/AppStore/Product.php
  41. 20 8
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollNz/Employee.php
  42. 15 6
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollNz/Employment.php
  43. 4 0
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollUk/EarningsRate.php
  44. 97 13
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollUk/Employee.php
  45. 4 0
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollUk/EmployeeStatutoryLeaveBalance.php
  46. 4 0
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollUk/EmployeeStatutoryLeaveSummary.php
  47. 57 66
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollUk/Employment.php
  48. 443 0
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollUk/NICategory.php
  49. 94 0
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollUk/NICategoryLetter.php
  50. 349 0
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollUk/NICategoryOneOf.php
  51. 335 0
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollUk/NICategoryOneOf1.php
  52. 0 1973
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Api/AccountingApiTest.php
  53. 0 93
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Api/IdentityApiTest.php
  54. 0 113
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AccessTokenTest.php
  55. 0 211
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AccountTest.php
  56. 0 78
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AccountTypeTest.php
  57. 0 92
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AccountsPayableTest.php
  58. 0 92
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AccountsReceivableTest.php
  59. 0 85
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AccountsTest.php
  60. 0 148
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AddressTest.php
  61. 0 99
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AllocationTest.php
  62. 0 85
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AllocationsTest.php
  63. 0 120
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AttachmentTest.php
  64. 0 85
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AttachmentsTest.php
  65. 0 92
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BalancesTest.php
  66. 0 232
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BankTransactionTest.php
  67. 0 85
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BankTransactionsTest.php
  68. 0 155
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BankTransferTest.php
  69. 0 85
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BankTransfersTest.php
  70. 0 113
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BatchPaymentDetailsTest.php
  71. 0 190
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BatchPaymentTest.php
  72. 0 85
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BatchPaymentsTest.php
  73. 0 92
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BillTest.php
  74. 0 106
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BrandingThemeTest.php
  75. 0 85
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BrandingThemesTest.php
  76. 0 99
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/CISOrgSettingTest.php
  77. 0 92
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/CISSettingTest.php
  78. 0 85
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/CISSettingsTest.php
  79. 0 99
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ConnectionTest.php
  80. 0 106
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ContactGroupTest.php
  81. 0 85
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ContactGroupsTest.php
  82. 0 106
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ContactPersonTest.php
  83. 0 344
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ContactTest.php
  84. 0 85
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ContactsTest.php
  85. 0 78
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/CountryCodeTest.php
  86. 0 239
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/CreditNoteTest.php
  87. 0 85
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/CreditNotesTest.php
  88. 0 85
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/CurrenciesTest.php
  89. 0 78
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/CurrencyCodeTest.php
  90. 0 92
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/CurrencyTest.php
  91. 0 85
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ElementTest.php
  92. 0 120
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/EmployeeTest.php
  93. 0 85
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/EmployeesTest.php
  94. 0 106
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ErrorTest.php
  95. 0 162
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ExpenseClaimTest.php
  96. 0 85
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ExpenseClaimsTest.php
  97. 0 99
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ExternalLinkTest.php
  98. 0 106
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/HistoryRecordTest.php
  99. 0 85
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/HistoryRecordsTest.php
  100. 0 85
      modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/InvoiceReminderTest.php

+ 1 - 1
modules/boonex/xero/composer.json

@@ -1,7 +1,7 @@
 {
     "name": "unacms/xero",
     "require": {
-        "xeroapi/xero-php-oauth2": "^8.0"
+        "xeroapi/xero-php-oauth2": "^10.0"
     },
     "config": {
         "vendor-dir": "plugins"

+ 13 - 3
modules/boonex/xero/plugins/autoload.php

@@ -3,10 +3,20 @@
 // autoload.php @generated by Composer
 
 if (PHP_VERSION_ID < 50600) {
-    echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
-    exit(1);
+    if (!headers_sent()) {
+        header('HTTP/1.1 500 Internal Server Error');
+    }
+    $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
+    if (!ini_get('display_errors')) {
+        if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
+            fwrite(STDERR, $err);
+        } elseif (!headers_sent()) {
+            echo $err;
+        }
+    }
+    throw new RuntimeException($err);
 }
 
 require_once __DIR__ . '/composer/autoload_real.php';
 
-return ComposerAutoloaderInit6726b59655ec5ccb037128eda4a4e3a5::getLoader();
+return ComposerAutoloaderInitae789faf34b271116449599e46798b3c::getLoader();

+ 72 - 65
modules/boonex/xero/plugins/composer/ClassLoader.php

@@ -42,35 +42,37 @@ namespace Composer\Autoload;
  */
 class ClassLoader
 {
-    /** @var ?string */
+    /** @var \Closure(string):void */
+    private static $includeFile;
+
+    /** @var string|null */
     private $vendorDir;
 
     // PSR-4
     /**
-     * @var array[]
-     * @psalm-var array<string, array<string, int>>
+     * @var array<string, array<string, int>>
      */
     private $prefixLengthsPsr4 = array();
     /**
-     * @var array[]
-     * @psalm-var array<string, array<int, string>>
+     * @var array<string, list<string>>
      */
     private $prefixDirsPsr4 = array();
     /**
-     * @var array[]
-     * @psalm-var array<string, string>
+     * @var list<string>
      */
     private $fallbackDirsPsr4 = array();
 
     // PSR-0
     /**
-     * @var array[]
-     * @psalm-var array<string, array<string, string[]>>
+     * List of PSR-0 prefixes
+     *
+     * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2')))
+     *
+     * @var array<string, array<string, list<string>>>
      */
     private $prefixesPsr0 = array();
     /**
-     * @var array[]
-     * @psalm-var array<string, string>
+     * @var list<string>
      */
     private $fallbackDirsPsr0 = array();
 
@@ -78,8 +80,7 @@ class ClassLoader
     private $useIncludePath = false;
 
     /**
-     * @var string[]
-     * @psalm-var array<string, string>
+     * @var array<string, string>
      */
     private $classMap = array();
 
@@ -87,29 +88,29 @@ class ClassLoader
     private $classMapAuthoritative = false;
 
     /**
-     * @var bool[]
-     * @psalm-var array<string, bool>
+     * @var array<string, bool>
      */
     private $missingClasses = array();
 
-    /** @var ?string */
+    /** @var string|null */
     private $apcuPrefix;
 
     /**
-     * @var self[]
+     * @var array<string, self>
      */
     private static $registeredLoaders = array();
 
     /**
-     * @param ?string $vendorDir
+     * @param string|null $vendorDir
      */
     public function __construct($vendorDir = null)
     {
         $this->vendorDir = $vendorDir;
+        self::initializeIncludeClosure();
     }
 
     /**
-     * @return string[]
+     * @return array<string, list<string>>
      */
     public function getPrefixes()
     {
@@ -121,8 +122,7 @@ class ClassLoader
     }
 
     /**
-     * @return array[]
-     * @psalm-return array<string, array<int, string>>
+     * @return array<string, list<string>>
      */
     public function getPrefixesPsr4()
     {
@@ -130,8 +130,7 @@ class ClassLoader
     }
 
     /**
-     * @return array[]
-     * @psalm-return array<string, string>
+     * @return list<string>
      */
     public function getFallbackDirs()
     {
@@ -139,8 +138,7 @@ class ClassLoader
     }
 
     /**
-     * @return array[]
-     * @psalm-return array<string, string>
+     * @return list<string>
      */
     public function getFallbackDirsPsr4()
     {
@@ -148,8 +146,7 @@ class ClassLoader
     }
 
     /**
-     * @return string[] Array of classname => path
-     * @psalm-return array<string, string>
+     * @return array<string, string> Array of classname => path
      */
     public function getClassMap()
     {
@@ -157,8 +154,7 @@ class ClassLoader
     }
 
     /**
-     * @param string[] $classMap Class to filename map
-     * @psalm-param array<string, string> $classMap
+     * @param array<string, string> $classMap Class to filename map
      *
      * @return void
      */
@@ -175,24 +171,25 @@ class ClassLoader
      * Registers a set of PSR-0 directories for a given prefix, either
      * appending or prepending to the ones previously set for this prefix.
      *
-     * @param string          $prefix  The prefix
-     * @param string[]|string $paths   The PSR-0 root directories
-     * @param bool            $prepend Whether to prepend the directories
+     * @param string              $prefix  The prefix
+     * @param list<string>|string $paths   The PSR-0 root directories
+     * @param bool                $prepend Whether to prepend the directories
      *
      * @return void
      */
     public function add($prefix, $paths, $prepend = false)
     {
+        $paths = (array) $paths;
         if (!$prefix) {
             if ($prepend) {
                 $this->fallbackDirsPsr0 = array_merge(
-                    (array) $paths,
+                    $paths,
                     $this->fallbackDirsPsr0
                 );
             } else {
                 $this->fallbackDirsPsr0 = array_merge(
                     $this->fallbackDirsPsr0,
-                    (array) $paths
+                    $paths
                 );
             }
 
@@ -201,19 +198,19 @@ class ClassLoader
 
         $first = $prefix[0];
         if (!isset($this->prefixesPsr0[$first][$prefix])) {
-            $this->prefixesPsr0[$first][$prefix] = (array) $paths;
+            $this->prefixesPsr0[$first][$prefix] = $paths;
 
             return;
         }
         if ($prepend) {
             $this->prefixesPsr0[$first][$prefix] = array_merge(
-                (array) $paths,
+                $paths,
                 $this->prefixesPsr0[$first][$prefix]
             );
         } else {
             $this->prefixesPsr0[$first][$prefix] = array_merge(
                 $this->prefixesPsr0[$first][$prefix],
-                (array) $paths
+                $paths
             );
         }
     }
@@ -222,9 +219,9 @@ class ClassLoader
      * Registers a set of PSR-4 directories for a given namespace, either
      * appending or prepending to the ones previously set for this namespace.
      *
-     * @param string          $prefix  The prefix/namespace, with trailing '\\'
-     * @param string[]|string $paths   The PSR-4 base directories
-     * @param bool            $prepend Whether to prepend the directories
+     * @param string              $prefix  The prefix/namespace, with trailing '\\'
+     * @param list<string>|string $paths   The PSR-4 base directories
+     * @param bool                $prepend Whether to prepend the directories
      *
      * @throws \InvalidArgumentException
      *
@@ -232,17 +229,18 @@ class ClassLoader
      */
     public function addPsr4($prefix, $paths, $prepend = false)
     {
+        $paths = (array) $paths;
         if (!$prefix) {
             // Register directories for the root namespace.
             if ($prepend) {
                 $this->fallbackDirsPsr4 = array_merge(
-                    (array) $paths,
+                    $paths,
                     $this->fallbackDirsPsr4
                 );
             } else {
                 $this->fallbackDirsPsr4 = array_merge(
                     $this->fallbackDirsPsr4,
-                    (array) $paths
+                    $paths
                 );
             }
         } elseif (!isset($this->prefixDirsPsr4[$prefix])) {
@@ -252,18 +250,18 @@ class ClassLoader
                 throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
             }
             $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
-            $this->prefixDirsPsr4[$prefix] = (array) $paths;
+            $this->prefixDirsPsr4[$prefix] = $paths;
         } elseif ($prepend) {
             // Prepend directories for an already registered namespace.
             $this->prefixDirsPsr4[$prefix] = array_merge(
-                (array) $paths,
+                $paths,
                 $this->prefixDirsPsr4[$prefix]
             );
         } else {
             // Append directories for an already registered namespace.
             $this->prefixDirsPsr4[$prefix] = array_merge(
                 $this->prefixDirsPsr4[$prefix],
-                (array) $paths
+                $paths
             );
         }
     }
@@ -272,8 +270,8 @@ class ClassLoader
      * Registers a set of PSR-0 directories for a given prefix,
      * replacing any others previously set for this prefix.
      *
-     * @param string          $prefix The prefix
-     * @param string[]|string $paths  The PSR-0 base directories
+     * @param string              $prefix The prefix
+     * @param list<string>|string $paths  The PSR-0 base directories
      *
      * @return void
      */
@@ -290,8 +288,8 @@ class ClassLoader
      * Registers a set of PSR-4 directories for a given namespace,
      * replacing any others previously set for this namespace.
      *
-     * @param string          $prefix The prefix/namespace, with trailing '\\'
-     * @param string[]|string $paths  The PSR-4 base directories
+     * @param string              $prefix The prefix/namespace, with trailing '\\'
+     * @param list<string>|string $paths  The PSR-4 base directories
      *
      * @throws \InvalidArgumentException
      *
@@ -425,7 +423,8 @@ class ClassLoader
     public function loadClass($class)
     {
         if ($file = $this->findFile($class)) {
-            includeFile($file);
+            $includeFile = self::$includeFile;
+            $includeFile($file);
 
             return true;
         }
@@ -476,9 +475,9 @@ class ClassLoader
     }
 
     /**
-     * Returns the currently registered loaders indexed by their corresponding vendor directories.
+     * Returns the currently registered loaders keyed by their corresponding vendor directories.
      *
-     * @return self[]
+     * @return array<string, self>
      */
     public static function getRegisteredLoaders()
     {
@@ -555,18 +554,26 @@ class ClassLoader
 
         return false;
     }
-}
 
-/**
- * Scope isolated include.
- *
- * Prevents access to $this/self from included files.
- *
- * @param  string $file
- * @return void
- * @private
- */
-function includeFile($file)
-{
-    include $file;
+    /**
+     * @return void
+     */
+    private static function initializeIncludeClosure()
+    {
+        if (self::$includeFile !== null) {
+            return;
+        }
+
+        /**
+         * Scope isolated include.
+         *
+         * Prevents access to $this/self from included files.
+         *
+         * @param  string $file
+         * @return void
+         */
+        self::$includeFile = \Closure::bind(static function($file) {
+            include $file;
+        }, null, null);
+    }
 }

+ 58 - 14
modules/boonex/xero/plugins/composer/InstalledVersions.php

@@ -26,12 +26,23 @@ use Composer\Semver\VersionParser;
  */
 class InstalledVersions
 {
+    /**
+     * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to
+     * @internal
+     */
+    private static $selfDir = null;
+
     /**
      * @var mixed[]|null
-     * @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
+     * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
      */
     private static $installed;
 
+    /**
+     * @var bool
+     */
+    private static $installedIsLocalDir;
+
     /**
      * @var bool|null
      */
@@ -39,7 +50,7 @@ class InstalledVersions
 
     /**
      * @var array[]
-     * @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
+     * @psalm-var array<string, array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
      */
     private static $installedByVendor = array();
 
@@ -98,7 +109,7 @@ class InstalledVersions
     {
         foreach (self::getInstalled() as $installed) {
             if (isset($installed['versions'][$packageName])) {
-                return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
+                return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false;
             }
         }
 
@@ -119,7 +130,7 @@ class InstalledVersions
      */
     public static function satisfies(VersionParser $parser, $packageName, $constraint)
     {
-        $constraint = $parser->parseConstraints($constraint);
+        $constraint = $parser->parseConstraints((string) $constraint);
         $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
 
         return $provided->matches($constraint);
@@ -243,7 +254,7 @@ class InstalledVersions
 
     /**
      * @return array
-     * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
+     * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}
      */
     public static function getRootPackage()
     {
@@ -257,7 +268,7 @@ class InstalledVersions
      *
      * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
      * @return array[]
-     * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}
+     * @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}
      */
     public static function getRawData()
     {
@@ -280,7 +291,7 @@ class InstalledVersions
      * Returns the raw data of all installed.php which are currently loaded for custom implementations
      *
      * @return array[]
-     * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
+     * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
      */
     public static function getAllRawData()
     {
@@ -303,17 +314,35 @@ class InstalledVersions
      * @param  array[] $data A vendor/composer/installed.php data set
      * @return void
      *
-     * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} $data
+     * @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $data
      */
     public static function reload($data)
     {
         self::$installed = $data;
         self::$installedByVendor = array();
+
+        // when using reload, we disable the duplicate protection to ensure that self::$installed data is
+        // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not,
+        // so we have to assume it does not, and that may result in duplicate data being returned when listing
+        // all installed packages for example
+        self::$installedIsLocalDir = false;
+    }
+
+    /**
+     * @return string
+     */
+    private static function getSelfDir()
+    {
+        if (self::$selfDir === null) {
+            self::$selfDir = strtr(__DIR__, '\\', '/');
+        }
+
+        return self::$selfDir;
     }
 
     /**
      * @return array[]
-     * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
+     * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
      */
     private static function getInstalled()
     {
@@ -322,17 +351,27 @@ class InstalledVersions
         }
 
         $installed = array();
+        $copiedLocalDir = false;
 
         if (self::$canGetVendors) {
+            $selfDir = self::getSelfDir();
             foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
+                $vendorDir = strtr($vendorDir, '\\', '/');
                 if (isset(self::$installedByVendor[$vendorDir])) {
                     $installed[] = self::$installedByVendor[$vendorDir];
                 } elseif (is_file($vendorDir.'/composer/installed.php')) {
-                    $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
-                    if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
-                        self::$installed = $installed[count($installed) - 1];
+                    /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
+                    $required = require $vendorDir.'/composer/installed.php';
+                    self::$installedByVendor[$vendorDir] = $required;
+                    $installed[] = $required;
+                    if (self::$installed === null && $vendorDir.'/composer' === $selfDir) {
+                        self::$installed = $required;
+                        self::$installedIsLocalDir = true;
                     }
                 }
+                if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) {
+                    $copiedLocalDir = true;
+                }
             }
         }
 
@@ -340,12 +379,17 @@ class InstalledVersions
             // only require the installed.php file if this file is loaded from its dumped location,
             // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
             if (substr(__DIR__, -8, 1) !== 'C') {
-                self::$installed = require __DIR__ . '/installed.php';
+                /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
+                $required = require __DIR__ . '/installed.php';
+                self::$installed = $required;
             } else {
                 self::$installed = array();
             }
         }
-        $installed[] = self::$installed;
+
+        if (self::$installed !== array() && !$copiedLocalDir) {
+            $installed[] = self::$installed;
+        }
 
         return $installed;
     }

+ 1 - 1
modules/boonex/xero/plugins/composer/autoload_psr4.php

@@ -7,7 +7,7 @@ $baseDir = dirname($vendorDir);
 
 return array(
     'XeroAPI\\XeroPHP\\' => array($vendorDir . '/xeroapi/xero-php-oauth2/lib'),
-    'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src', $vendorDir . '/psr/http-factory/src'),
+    'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-factory/src', $vendorDir . '/psr/http-message/src'),
     'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'),
     'League\\OAuth2\\Client\\' => array($vendorDir . '/league/oauth2-client/src'),
     'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'),

+ 14 - 21
modules/boonex/xero/plugins/composer/autoload_real.php

@@ -2,7 +2,7 @@
 
 // autoload_real.php @generated by Composer
 
-class ComposerAutoloaderInit6726b59655ec5ccb037128eda4a4e3a5
+class ComposerAutoloaderInitae789faf34b271116449599e46798b3c
 {
     private static $loader;
 
@@ -24,34 +24,27 @@ class ComposerAutoloaderInit6726b59655ec5ccb037128eda4a4e3a5
 
         require __DIR__ . '/platform_check.php';
 
-        spl_autoload_register(array('ComposerAutoloaderInit6726b59655ec5ccb037128eda4a4e3a5', 'loadClassLoader'), true, true);
+        spl_autoload_register(array('ComposerAutoloaderInitae789faf34b271116449599e46798b3c', 'loadClassLoader'), true, true);
         self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
-        spl_autoload_unregister(array('ComposerAutoloaderInit6726b59655ec5ccb037128eda4a4e3a5', 'loadClassLoader'));
+        spl_autoload_unregister(array('ComposerAutoloaderInitae789faf34b271116449599e46798b3c', 'loadClassLoader'));
 
         require __DIR__ . '/autoload_static.php';
-        call_user_func(\Composer\Autoload\ComposerStaticInit6726b59655ec5ccb037128eda4a4e3a5::getInitializer($loader));
+        call_user_func(\Composer\Autoload\ComposerStaticInitae789faf34b271116449599e46798b3c::getInitializer($loader));
 
         $loader->register(true);
 
-        $includeFiles = \Composer\Autoload\ComposerStaticInit6726b59655ec5ccb037128eda4a4e3a5::$files;
-        foreach ($includeFiles as $fileIdentifier => $file) {
-            composerRequire6726b59655ec5ccb037128eda4a4e3a5($fileIdentifier, $file);
+        $filesToLoad = \Composer\Autoload\ComposerStaticInitae789faf34b271116449599e46798b3c::$files;
+        $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
+            if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
+                $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
+
+                require $file;
+            }
+        }, null, null);
+        foreach ($filesToLoad as $fileIdentifier => $file) {
+            $requireFile($fileIdentifier, $file);
         }
 
         return $loader;
     }
 }
-
-/**
- * @param string $fileIdentifier
- * @param string $file
- * @return void
- */
-function composerRequire6726b59655ec5ccb037128eda4a4e3a5($fileIdentifier, $file)
-{
-    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
-        $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
-
-        require $file;
-    }
-}

+ 6 - 6
modules/boonex/xero/plugins/composer/autoload_static.php

@@ -4,7 +4,7 @@
 
 namespace Composer\Autoload;
 
-class ComposerStaticInit6726b59655ec5ccb037128eda4a4e3a5
+class ComposerStaticInitae789faf34b271116449599e46798b3c
 {
     public static $files = array (
         '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php',
@@ -45,8 +45,8 @@ class ComposerStaticInit6726b59655ec5ccb037128eda4a4e3a5
         ),
         'Psr\\Http\\Message\\' => 
         array (
-            0 => __DIR__ . '/..' . '/psr/http-message/src',
-            1 => __DIR__ . '/..' . '/psr/http-factory/src',
+            0 => __DIR__ . '/..' . '/psr/http-factory/src',
+            1 => __DIR__ . '/..' . '/psr/http-message/src',
         ),
         'Psr\\Http\\Client\\' => 
         array (
@@ -81,9 +81,9 @@ class ComposerStaticInit6726b59655ec5ccb037128eda4a4e3a5
     public static function getInitializer(ClassLoader $loader)
     {
         return \Closure::bind(function () use ($loader) {
-            $loader->prefixLengthsPsr4 = ComposerStaticInit6726b59655ec5ccb037128eda4a4e3a5::$prefixLengthsPsr4;
-            $loader->prefixDirsPsr4 = ComposerStaticInit6726b59655ec5ccb037128eda4a4e3a5::$prefixDirsPsr4;
-            $loader->classMap = ComposerStaticInit6726b59655ec5ccb037128eda4a4e3a5::$classMap;
+            $loader->prefixLengthsPsr4 = ComposerStaticInitae789faf34b271116449599e46798b3c::$prefixLengthsPsr4;
+            $loader->prefixDirsPsr4 = ComposerStaticInitae789faf34b271116449599e46798b3c::$prefixDirsPsr4;
+            $loader->classMap = ComposerStaticInitae789faf34b271116449599e46798b3c::$classMap;
 
         }, null, ClassLoader::class);
     }

+ 25 - 26
modules/boonex/xero/plugins/composer/installed.json

@@ -2,17 +2,17 @@
     "packages": [
         {
             "name": "firebase/php-jwt",
-            "version": "v6.11.0",
-            "version_normalized": "6.11.0.0",
+            "version": "v6.11.1",
+            "version_normalized": "6.11.1.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/firebase/php-jwt.git",
-                "reference": "8f718f4dfc9c5d5f0c994cdfd103921b43592712"
+                "reference": "d1e91ecf8c598d073d0995afa8cd5c75c6e19e66"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/firebase/php-jwt/zipball/8f718f4dfc9c5d5f0c994cdfd103921b43592712",
-                "reference": "8f718f4dfc9c5d5f0c994cdfd103921b43592712",
+                "url": "https://api.github.com/repos/firebase/php-jwt/zipball/d1e91ecf8c598d073d0995afa8cd5c75c6e19e66",
+                "reference": "d1e91ecf8c598d073d0995afa8cd5c75c6e19e66",
                 "shasum": ""
             },
             "require": {
@@ -30,7 +30,7 @@
                 "ext-sodium": "Support EdDSA (Ed25519) signatures",
                 "paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present"
             },
-            "time": "2025-01-23T05:11:06+00:00",
+            "time": "2025-04-09T20:32:01+00:00",
             "type": "library",
             "installation-source": "dist",
             "autoload": {
@@ -62,7 +62,7 @@
             ],
             "support": {
                 "issues": "https://github.com/firebase/php-jwt/issues",
-                "source": "https://github.com/firebase/php-jwt/tree/v6.11.0"
+                "source": "https://github.com/firebase/php-jwt/tree/v6.11.1"
             },
             "install-path": "../firebase/php-jwt"
         },
@@ -686,23 +686,23 @@
         },
         {
             "name": "symfony/deprecation-contracts",
-            "version": "v3.5.1",
-            "version_normalized": "3.5.1.0",
+            "version": "v3.6.0",
+            "version_normalized": "3.6.0.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/deprecation-contracts.git",
-                "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6"
+                "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",
-                "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",
+                "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62",
+                "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62",
                 "shasum": ""
             },
             "require": {
                 "php": ">=8.1"
             },
-            "time": "2024-09-25T14:20:29+00:00",
+            "time": "2024-09-25T14:21:43+00:00",
             "type": "library",
             "extra": {
                 "thanks": {
@@ -710,7 +710,7 @@
                     "name": "symfony/contracts"
                 },
                 "branch-alias": {
-                    "dev-main": "3.5-dev"
+                    "dev-main": "3.6-dev"
                 }
             },
             "installation-source": "dist",
@@ -736,7 +736,7 @@
             "description": "A generic function and convention to trigger deprecation notices",
             "homepage": "https://symfony.com",
             "support": {
-                "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1"
+                "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0"
             },
             "funding": [
                 {
@@ -756,17 +756,17 @@
         },
         {
             "name": "xeroapi/xero-php-oauth2",
-            "version": "8.0.0",
-            "version_normalized": "8.0.0.0",
+            "version": "10.0.0",
+            "version_normalized": "10.0.0.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/XeroAPI/xero-php-oauth2.git",
-                "reference": "f0635a76358aaff3e3cf7c66843dbc450a23ea4a"
+                "reference": "088ede5133200e970bb9e9e92fde52d077f807b1"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/XeroAPI/xero-php-oauth2/zipball/f0635a76358aaff3e3cf7c66843dbc450a23ea4a",
-                "reference": "f0635a76358aaff3e3cf7c66843dbc450a23ea4a",
+                "url": "https://api.github.com/repos/XeroAPI/xero-php-oauth2/zipball/088ede5133200e970bb9e9e92fde52d077f807b1",
+                "reference": "088ede5133200e970bb9e9e92fde52d077f807b1",
                 "shasum": ""
             },
             "require": {
@@ -776,14 +776,13 @@
                 "firebase/php-jwt": "^6.0",
                 "guzzlehttp/guzzle": "^6.2 | ^7.0",
                 "league/oauth2-client": "^2.5.0",
-                "php": ">=5.6"
+                "php": ">=8.1"
             },
             "require-dev": {
-                "friendsofphp/php-cs-fixer": "~2.12",
-                "phpunit/phpunit": "^4.8",
-                "squizlabs/php_codesniffer": "~2.6"
+                "friendsofphp/php-cs-fixer": "^3.60",
+                "squizlabs/php_codesniffer": "^3.10"
             },
-            "time": "2025-01-31T12:27:08+00:00",
+            "time": "2025-06-28T12:53:29+00:00",
             "type": "library",
             "installation-source": "dist",
             "autoload": {
@@ -813,7 +812,7 @@
             ],
             "support": {
                 "issues": "https://github.com/XeroAPI/xero-php-oauth2/issues",
-                "source": "https://github.com/XeroAPI/xero-php-oauth2/tree/8.0.0"
+                "source": "https://github.com/XeroAPI/xero-php-oauth2/tree/10.0.0"
             },
             "install-path": "../xeroapi/xero-php-oauth2"
         }

+ 20 - 20
modules/boonex/xero/plugins/composer/installed.php

@@ -1,67 +1,67 @@
 <?php return array(
     'root' => array(
+        'name' => 'unacms/xero',
         'pretty_version' => 'dev-master',
         'version' => 'dev-master',
+        'reference' => '0e4f0eb6bc2595719518d133266a527ee87f32d7',
         'type' => 'library',
         'install_path' => __DIR__ . '/../../',
         'aliases' => array(),
-        'reference' => '38dab5619f60706c80de41ba08da829137837044',
-        'name' => 'unacms/xero',
         'dev' => true,
     ),
     'versions' => array(
         'firebase/php-jwt' => array(
-            'pretty_version' => 'v6.11.0',
-            'version' => '6.11.0.0',
+            'pretty_version' => 'v6.11.1',
+            'version' => '6.11.1.0',
+            'reference' => 'd1e91ecf8c598d073d0995afa8cd5c75c6e19e66',
             'type' => 'library',
             'install_path' => __DIR__ . '/../firebase/php-jwt',
             'aliases' => array(),
-            'reference' => '8f718f4dfc9c5d5f0c994cdfd103921b43592712',
             'dev_requirement' => false,
         ),
         'guzzlehttp/guzzle' => array(
             'pretty_version' => '7.9.3',
             'version' => '7.9.3.0',
+            'reference' => '7b2f29fe81dc4da0ca0ea7d42107a0845946ea77',
             'type' => 'library',
             'install_path' => __DIR__ . '/../guzzlehttp/guzzle',
             'aliases' => array(),
-            'reference' => '7b2f29fe81dc4da0ca0ea7d42107a0845946ea77',
             'dev_requirement' => false,
         ),
         'guzzlehttp/promises' => array(
             'pretty_version' => '2.2.0',
             'version' => '2.2.0.0',
+            'reference' => '7c69f28996b0a6920945dd20b3857e499d9ca96c',
             'type' => 'library',
             'install_path' => __DIR__ . '/../guzzlehttp/promises',
             'aliases' => array(),
-            'reference' => '7c69f28996b0a6920945dd20b3857e499d9ca96c',
             'dev_requirement' => false,
         ),
         'guzzlehttp/psr7' => array(
             'pretty_version' => '2.7.1',
             'version' => '2.7.1.0',
+            'reference' => 'c2270caaabe631b3b44c85f99e5a04bbb8060d16',
             'type' => 'library',
             'install_path' => __DIR__ . '/../guzzlehttp/psr7',
             'aliases' => array(),
-            'reference' => 'c2270caaabe631b3b44c85f99e5a04bbb8060d16',
             'dev_requirement' => false,
         ),
         'league/oauth2-client' => array(
             'pretty_version' => '2.8.1',
             'version' => '2.8.1.0',
+            'reference' => '9df2924ca644736c835fc60466a3a60390d334f9',
             'type' => 'library',
             'install_path' => __DIR__ . '/../league/oauth2-client',
             'aliases' => array(),
-            'reference' => '9df2924ca644736c835fc60466a3a60390d334f9',
             'dev_requirement' => false,
         ),
         'psr/http-client' => array(
             'pretty_version' => '1.0.3',
             'version' => '1.0.3.0',
+            'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90',
             'type' => 'library',
             'install_path' => __DIR__ . '/../psr/http-client',
             'aliases' => array(),
-            'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90',
             'dev_requirement' => false,
         ),
         'psr/http-client-implementation' => array(
@@ -73,10 +73,10 @@
         'psr/http-factory' => array(
             'pretty_version' => '1.1.0',
             'version' => '1.1.0.0',
+            'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a',
             'type' => 'library',
             'install_path' => __DIR__ . '/../psr/http-factory',
             'aliases' => array(),
-            'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a',
             'dev_requirement' => false,
         ),
         'psr/http-factory-implementation' => array(
@@ -88,10 +88,10 @@
         'psr/http-message' => array(
             'pretty_version' => '2.0',
             'version' => '2.0.0.0',
+            'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71',
             'type' => 'library',
             'install_path' => __DIR__ . '/../psr/http-message',
             'aliases' => array(),
-            'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71',
             'dev_requirement' => false,
         ),
         'psr/http-message-implementation' => array(
@@ -103,37 +103,37 @@
         'ralouphie/getallheaders' => array(
             'pretty_version' => '3.0.3',
             'version' => '3.0.3.0',
+            'reference' => '120b605dfeb996808c31b6477290a714d356e822',
             'type' => 'library',
             'install_path' => __DIR__ . '/../ralouphie/getallheaders',
             'aliases' => array(),
-            'reference' => '120b605dfeb996808c31b6477290a714d356e822',
             'dev_requirement' => false,
         ),
         'symfony/deprecation-contracts' => array(
-            'pretty_version' => 'v3.5.1',
-            'version' => '3.5.1.0',
+            'pretty_version' => 'v3.6.0',
+            'version' => '3.6.0.0',
+            'reference' => '63afe740e99a13ba87ec199bb07bbdee937a5b62',
             'type' => 'library',
             'install_path' => __DIR__ . '/../symfony/deprecation-contracts',
             'aliases' => array(),
-            'reference' => '74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6',
             'dev_requirement' => false,
         ),
         'unacms/xero' => array(
             'pretty_version' => 'dev-master',
             'version' => 'dev-master',
+            'reference' => '0e4f0eb6bc2595719518d133266a527ee87f32d7',
             'type' => 'library',
             'install_path' => __DIR__ . '/../../',
             'aliases' => array(),
-            'reference' => '38dab5619f60706c80de41ba08da829137837044',
             'dev_requirement' => false,
         ),
         'xeroapi/xero-php-oauth2' => array(
-            'pretty_version' => '8.0.0',
-            'version' => '8.0.0.0',
+            'pretty_version' => '10.0.0',
+            'version' => '10.0.0.0',
+            'reference' => '088ede5133200e970bb9e9e92fde52d077f807b1',
             'type' => 'library',
             'install_path' => __DIR__ . '/../xeroapi/xero-php-oauth2',
             'aliases' => array(),
-            'reference' => 'f0635a76358aaff3e3cf7c66843dbc450a23ea4a',
             'dev_requirement' => false,
         ),
     ),

+ 7 - 0
modules/boonex/xero/plugins/firebase/php-jwt/CHANGELOG.md

@@ -1,5 +1,12 @@
 # Changelog
 
+## [6.11.1](https://github.com/firebase/php-jwt/compare/v6.11.0...v6.11.1) (2025-04-09)
+
+
+### Bug Fixes
+
+* update error text for consistency ([#528](https://github.com/firebase/php-jwt/issues/528)) ([c11113a](https://github.com/firebase/php-jwt/commit/c11113afa13265e016a669e75494b9203b8a7775))
+
 ## [6.11.0](https://github.com/firebase/php-jwt/compare/v6.10.2...v6.11.0) (2025-01-23)
 
 

+ 4 - 4
modules/boonex/xero/plugins/firebase/php-jwt/README.md

@@ -291,7 +291,7 @@ $jwks = ['keys' => []];
 
 // JWK::parseKeySet($jwks) returns an associative array of **kid** to Firebase\JWT\Key
 // objects. Pass this as the second parameter to JWT::decode.
-JWT::decode($payload, JWK::parseKeySet($jwks));
+JWT::decode($jwt, JWK::parseKeySet($jwks));
 ```
 
 Using Cached Key Sets
@@ -350,7 +350,7 @@ use InvalidArgumentException;
 use UnexpectedValueException;
 
 try {
-    $decoded = JWT::decode($payload, $keys);
+    $decoded = JWT::decode($jwt, $keys);
 } catch (InvalidArgumentException $e) {
     // provided key/key-array is empty or malformed.
 } catch (DomainException $e) {
@@ -380,7 +380,7 @@ like this:
 use Firebase\JWT\JWT;
 use UnexpectedValueException;
 try {
-    $decoded = JWT::decode($payload, $keys);
+    $decoded = JWT::decode($jwt, $keys);
 } catch (LogicException $e) {
     // errors having to do with environmental setup or malformed JWT Keys
 } catch (UnexpectedValueException $e) {
@@ -395,7 +395,7 @@ instead, you can do the following:
 
 ```php
 // return type is stdClass
-$decoded = JWT::decode($payload, $keys);
+$decoded = JWT::decode($jwt, $keys);
 
 // cast to array
 $decoded = json_decode(json_encode($decoded), true);

+ 2 - 2
modules/boonex/xero/plugins/firebase/php-jwt/src/JWT.php

@@ -154,7 +154,7 @@ class JWT
         // token can actually be used. If it's not yet that time, abort.
         if (isset($payload->nbf) && floor($payload->nbf) > ($timestamp + static::$leeway)) {
             $ex = new BeforeValidException(
-                'Cannot handle token with nbf prior to ' . \date(DateTime::ISO8601, (int) $payload->nbf)
+                'Cannot handle token with nbf prior to ' . \date(DateTime::ISO8601, (int) floor($payload->nbf))
             );
             $ex->setPayload($payload);
             throw $ex;
@@ -165,7 +165,7 @@ class JWT
         // correctly used the nbf claim).
         if (!isset($payload->nbf) && isset($payload->iat) && floor($payload->iat) > ($timestamp + static::$leeway)) {
             $ex = new BeforeValidException(
-                'Cannot handle token with iat prior to ' . \date(DateTime::ISO8601, (int) $payload->iat)
+                'Cannot handle token with iat prior to ' . \date(DateTime::ISO8601, (int) floor($payload->iat))
             );
             $ex->setPayload($payload);
             throw $ex;

+ 1 - 1
modules/boonex/xero/plugins/symfony/deprecation-contracts/composer.json

@@ -25,7 +25,7 @@
     "minimum-stability": "dev",
     "extra": {
         "branch-alias": {
-            "dev-main": "3.5-dev"
+            "dev-main": "3.6-dev"
         },
         "thanks": {
             "name": "symfony/contracts",

+ 103 - 0
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/.github/actions/notify-slack/action.yml

@@ -0,0 +1,103 @@
+name: slack-alert-action
+description: "Action to send slack payload to public-sdk-events channel"
+
+inputs:
+  heading_text:
+    required: true
+    description: "Heading of the slack payload"
+  alert_type:
+    required: true
+    description: "type of the slack alert"
+  job_status:
+    required: true
+    description: "status of the job"
+  XERO_SLACK_WEBHOOK_URL:
+    required: true
+    description: "webhook url for channel - public-sdk-events"
+  job_url:
+    required: true
+    description: "job run id link"
+  button_type:
+    required: true
+    description: "color for the check logs button"
+  package_version:
+    required: true
+    description: "released package version"
+  repo_link:
+    required: true
+    description: "link of the repo"
+
+
+runs:
+  using: "composite"
+
+  steps:
+
+      - name: Send slack notification
+        id: slack
+        uses: slackapi/slack-github-action@v1.27.0
+        env:
+          SLACK_WEBHOOK_URL: ${{inputs.XERO_SLACK_WEBHOOK_URL}}
+          SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
+        with:
+         payload: |
+          {
+            "blocks": [
+              {
+                "type": "rich_text",
+                "elements": [
+                  {
+                    "type": "rich_text_section",
+                    "elements": [
+                      {
+                        "type": "text",
+                        "text": "${{inputs.heading_text}} ",
+                        "style": {
+                          "bold": true
+                        }
+                      },
+                      {
+                        "type": "emoji",
+                        "name": "${{inputs.alert_type}}"
+                      }
+                    ]
+                  }
+                ]
+              },
+              {
+                "type": "divider"
+              },
+             {
+                "type": "section",
+                "fields": [
+                  {
+                    "type": "mrkdwn",
+                    "text": "*Repository:* \n ${{inputs.repo_link}}"
+                  },
+                  {
+                    "type": "mrkdwn",
+                    "text": "*Status:*\n ${{inputs.job_status}}"
+                  },
+                  {
+                    "type": "mrkdwn",
+                    "text": "*Package Version:*\n ${{inputs.package_version}}"
+                  }
+                ]
+              },
+              {
+                "type": "actions",
+                "elements": [
+                  {
+                    "type": "button",
+                    "text": {
+                      "type": "plain_text",
+                      "text": "Check the logs",
+                      "emoji": true
+                  },
+                    "style": "${{inputs.button_type}}",
+                    "url": "${{inputs.job_url}}"
+                  }
+                ]
+              }
+            ]
+          }

+ 80 - 0
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/.github/workflows/check-publish.yml

@@ -0,0 +1,80 @@
+name: Check Packagist Publish
+
+on:
+   release:
+     types: [published]
+
+jobs:
+  check-publish:
+     runs-on: ubuntu-latest
+     permissions:
+      contents: read
+    
+     steps:
+
+        - name: Checkout repo
+          uses: actions/checkout@v4
+          with:
+           repository: XeroAPI/xero-php-oauth2
+           path: xero-php-oauth2
+
+        - name: Fetch Latest release number
+          id: get_latest_release_number
+          run: |
+            latest_version=$(gh release view --json tagName --jq '.tagName')
+            echo "Latest release version is - $latest_version"
+            echo "php_version=${latest_version}" >> $GITHUB_ENV
+          working-directory: xero-php-oauth2
+          env:
+           GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
+
+        - name: Get latest version from packgist
+          id: get_packagist_version
+          run: |
+           RESPONSE=$(curl -s https://repo.packagist.org/p2/xeroapi/xero-php-oauth2.json)
+           LATEST_VERSION=$(echo $RESPONSE | jq -r '.packages["xeroapi/xero-php-oauth2"][0].version')
+           echo "latest packagist version: $LATEST_VERSION"
+           echo "latest_packagist_version=${LATEST_VERSION}" >> $GITHUB_ENV
+
+        - name: Compare versions
+          id: compare_versions
+          run: |
+            if [ "${{env.php_version}}" == "${{env.latest_packagist_version}}" ]; then
+             echo "Packagist is up-to-date"
+             echo "packagist_status=success" >> $GITHUB_ENV
+            else
+             echo "Packagist is not updated yet"
+             echo "packagist_status=failure" >> $GITHUB_ENV
+            fi
+
+        - name: Send slack Notification on Success
+          if: ${{ env.packagist_status == 'success' }}
+          uses: ./xero-php-oauth2/.github/actions/notify-slack
+          with:
+            heading_text: "Publish job has succeeded !"
+            alert_type: "thumbsup"
+            job_status: "Success"
+            XERO_SLACK_WEBHOOK_URL: ${{secrets.XERO_SLACK_WEBHOOK_URL}}
+            job_url: "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}"
+            button_type: "primary"
+            package_version: ${{env.php_version}}
+            repo_link: ${{github.server_url}}/${{github.repository}}
+
+        - name: Send slack Notification on Failure
+          if: ${{ env.packagist_status == 'failure' }}
+          uses: ./xero-php-oauth2/.github/actions/notify-slack
+          with:
+            heading_text: "Publish job has failed !"
+            alert_type: "alert"
+            job_status: "Failed"
+            XERO_SLACK_WEBHOOK_URL: ${{secrets.XERO_SLACK_WEBHOOK_URL}}
+            job_url: "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}"
+            button_type: "danger"
+            package_version: ${{env.php_version}}
+            repo_link: ${{github.server_url}}/${{github.repository}}
+         
+        - name: Fail job if status is Failure
+          if: ${{env.packagist_status == 'failure'}}
+          run: |
+           echo "Job failed because packagist is not updated"
+           exit 1

+ 1 - 1
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/README.md

@@ -57,7 +57,7 @@ Sample apps can get you started quickly with simple auth flows and advanced usag
 # Installation
 To install this SDK in your project we recommend using [Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos) (For OSX we recommend using [Homebrew](https://formulae.brew.sh/formula/composer)).
 
-All third party libraries dependencies managed with Composer and the SDK requires `PHP 5.6` and later.
+All third party libraries dependencies managed with Composer and the SDK requires `PHP 8.1` and later.
 
 To install the bindings via [Composer](http://getcomposer.org/), and add the xero-php-oauth2 sdk to your `composer.json` and navigate to where your composer.json file is and run the command:
 ```

+ 3 - 4
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/composer.json

@@ -18,7 +18,7 @@
         }
     ],
     "require": {
-        "php": ">=5.6",
+        "php": ">=8.1",
         "ext-curl": "*",
         "ext-json": "*",
         "ext-mbstring": "*",
@@ -27,9 +27,8 @@
         "firebase/php-jwt": "^6.0"
     },
     "require-dev": {
-        "phpunit/phpunit": "^4.8",
-        "squizlabs/php_codesniffer": "~2.6",
-        "friendsofphp/php-cs-fixer": "~2.12"
+        "squizlabs/php_codesniffer": "^3.10",
+        "friendsofphp/php-cs-fixer": "^3.60"
     },
     "autoload": {
         "psr-4": { "XeroAPI\\XeroPHP\\" : "lib/" }

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 569 - 54
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/docs/v2/accounting/index.html


+ 10 - 5
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/docs/v2/appstore/index.html

@@ -976,8 +976,8 @@ ul.nav-tabs {
     },
     "type" : {
       "type" : "string",
-      "description" : "The pricing model of the product:\n* FIXED: Customers are charged a fixed amount for each billing period\n* PER_SEAT: Customers are charged based on the number of units they purchase\n* METERED: Customers are charged per use of this product\n",
-      "enum" : [ "FIXED", "PER_SEAT", "METERED" ]
+      "description" : "The pricing model of the product:\n* FIXED: Customers are charged a fixed amount for each billing period\n* PER_SEAT: Customers are charged based on the number of units they purchase\n* METERED: Customers are charged per use of this product\n* SIMPLE: Customers are charged on a fixed amount for each billing period with an optional add-on feature\n",
+      "enum" : [ "FIXED", "PER_SEAT", "METERED", "SIMPLE" ]
     },
     "usageUnit" : {
       "type" : "string",
@@ -1240,7 +1240,7 @@ ul.nav-tabs {
           <nav id="scrollingNav">
             <ul class="sidenav nav nav-list">
               <li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
-              <li class="nav-header" data-group="AppStore"><strong>VSN: </strong>8.0.0</li>
+              <li class="nav-header" data-group="AppStore"><strong>VSN: </strong>10.0.0</li>
               <li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
               <li data-group="AppStore" data-name="getSubscription" class="">
                 <a href="#api-AppStore-getSubscription">getSubscription</a>
@@ -1624,7 +1624,10 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/CreateUsageRecord"
       },
-      "example" : "{ \"timestamp\": \"2022-01-21T13:01:00\", \"quantity\": 10 }"
+      "example" : {
+        "timestamp" : "2022-01-21T13:01:00",
+        "quantity" : 10
+      }
     }
   },
   "required" : true
@@ -1833,7 +1836,9 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/UpdateUsageRecord"
       },
-      "example" : "{ \"quantity\": 10 }"
+      "example" : {
+        "quantity" : 10
+      }
     }
   },
   "required" : true

+ 35 - 5
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/docs/v2/assets/index.html

@@ -1030,7 +1030,6 @@ ul.nav-tabs {
 };
       defs["BookDepreciationDetail"] = {
   "title" : "",
-  "required" : [ "name" ],
   "properties" : {
     "currentCapitalGain" : {
       "type" : "number",
@@ -1084,7 +1083,6 @@ ul.nav-tabs {
 };
       defs["BookDepreciationSetting"] = {
   "title" : "",
-  "required" : [ "name" ],
   "properties" : {
     "depreciationMethod" : {
       "type" : "string",
@@ -1391,7 +1389,7 @@ ul.nav-tabs {
           <nav id="scrollingNav">
             <ul class="sidenav nav nav-list">
               <li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
-              <li class="nav-header" data-group="Asset"><strong>VSN: </strong>8.0.0</li>
+              <li class="nav-header" data-group="Asset"><strong>VSN: </strong>10.0.0</li>
               <li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
               <li data-group="Asset" data-name="createAsset" class="">
                 <a href="#api-Asset-createAsset">createAsset</a>
@@ -1569,7 +1567,28 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/Asset"
       },
-      "example" : "{ \"assetName\":\"Computer74863\", \"assetNumber\":\"123477544\", \"purchaseDate\":\"2020-01-01\", \"purchasePrice\":100.0, \"disposalPrice\":23.23, \"assetStatus\":\"Draft\", \"bookDepreciationSetting\":{ \"depreciationMethod\":\"StraightLine\", \"averagingMethod\":\"ActualDays\", \"depreciationRate\":0.5, \"depreciationCalculationMethod\":\"None\" }, \"bookDepreciationDetail\":{ \"currentCapitalGain\":5.32, \"currentGainLoss\":3.88, \"depreciationStartDate\":\"2020-01-02\", \"costLimit\":100.0, \"currentAccumDepreciationAmount\":2.25 }, \"AccountingBookValue\":99.5 }"
+      "example" : {
+        "assetName" : "Computer74863",
+        "assetNumber" : "123477544",
+        "purchaseDate" : "2020-01-01",
+        "purchasePrice" : 100.0,
+        "disposalPrice" : 23.23,
+        "assetStatus" : "Draft",
+        "bookDepreciationSetting" : {
+          "depreciationMethod" : "StraightLine",
+          "averagingMethod" : "ActualDays",
+          "depreciationRate" : 0.5,
+          "depreciationCalculationMethod" : "None"
+        },
+        "bookDepreciationDetail" : {
+          "currentCapitalGain" : 5.32,
+          "currentGainLoss" : 3.88,
+          "depreciationStartDate" : "2020-01-02",
+          "costLimit" : 100.0,
+          "currentAccumDepreciationAmount" : 2.25
+        },
+        "AccountingBookValue" : 99.5
+      }
     }
   },
   "required" : true
@@ -1727,7 +1746,18 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/AssetType"
       },
-      "example" : "{ \"assetTypeName\":\"Machinery11004\", \"fixedAssetAccountId\":\"3d8d063a-c148-4bb8-8b3c-a5e2ad3b1e82\", \"depreciationExpenseAccountId\":\"d1602f69-f900-4616-8d34-90af393fa368\", \"accumulatedDepreciationAccountId\":\"9195cadd-8645-41e6-9f67-7bcd421defe8\", \"bookDepreciationSetting\":{ \"depreciationMethod\":\"DiminishingValue100\", \"averagingMethod\":\"ActualDays\", \"depreciationRate\":0.05, \"depreciationCalculationMethod\":\"None\" } }"
+      "example" : {
+        "assetTypeName" : "Machinery11004",
+        "fixedAssetAccountId" : "3d8d063a-c148-4bb8-8b3c-a5e2ad3b1e82",
+        "depreciationExpenseAccountId" : "d1602f69-f900-4616-8d34-90af393fa368",
+        "accumulatedDepreciationAccountId" : "9195cadd-8645-41e6-9f67-7bcd421defe8",
+        "bookDepreciationSetting" : {
+          "depreciationMethod" : "DiminishingValue100",
+          "averagingMethod" : "ActualDays",
+          "depreciationRate" : 0.05,
+          "depreciationCalculationMethod" : "None"
+        }
+      }
     }
   },
   "required" : true

+ 24 - 3
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/docs/v2/files/index.html

@@ -1169,7 +1169,7 @@ ul.nav-tabs {
           <nav id="scrollingNav">
             <ul class="sidenav nav nav-list">
               <li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
-              <li class="nav-header" data-group="Files"><strong>VSN: </strong>8.0.0</li>
+              <li class="nav-header" data-group="Files"><strong>VSN: </strong>10.0.0</li>
               <li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
               <li data-group="Files" data-name="createFileAssociation" class="">
                 <a href="#api-Files-createFileAssociation">createFileAssociation</a>
@@ -2712,10 +2712,11 @@ $apiInstance = new XeroAPI\XeroPHP\Api\FilesApi(
 $xeroTenantId = "YOUR_XERO_TENANT_ID";
 $pagesize = 50;
 $page = 2;
-$sort = "CreatedDateUTC DESC";
+$sort = "CreatedDateUTC";
+$direction = "ASC";
 
 try {
-  $result = $apiInstance->getFiles($xeroTenantId, $pagesize, $page, $sort);
+  $result = $apiInstance->getFiles($xeroTenantId, $pagesize, $page, $sort, $direction);
 } catch (Exception $e) {
   echo 'Exception when calling FilesApi->getFiles: ', $e->getMessage(), PHP_EOL;
 }
@@ -2832,6 +2833,26 @@ values to sort by
         </div>
     </div>
 </td>
+</tr>
+
+                    <tr><td style="width:150px;">direction</td>
+<td>
+
+
+    <div id="d2e199_getFiles_direction">
+        <div class="json-schema-view">
+            <div class="primitive">
+                <span class="type">
+                    String
+                </span>
+
+                    <div class="inner description marked">
+sort direction
+                    </div>
+            </div>
+        </div>
+    </div>
+</td>
 </tr>
 
                   </table>

+ 1 - 1
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/docs/v2/finance/index.html

@@ -2715,7 +2715,7 @@ ul.nav-tabs {
           <nav id="scrollingNav">
             <ul class="sidenav nav nav-list">
               <li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
-              <li class="nav-header" data-group="Finance"><strong>VSN: </strong>8.0.0</li>
+              <li class="nav-header" data-group="Finance"><strong>VSN: </strong>10.0.0</li>
               <li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
               <li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
                 <a href="#api-Finance-getAccountingActivityAccountUsage">getAccountingActivityAccountUsage</a>

+ 30 - 3
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/docs/v2/payroll_au/index.html

@@ -3411,7 +3411,7 @@ ul.nav-tabs {
           <nav id="scrollingNav">
             <ul class="sidenav nav nav-list">
               <li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
-              <li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>8.0.0</li>
+              <li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>10.0.0</li>
               <li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
               <li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
                 <a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>
@@ -4156,7 +4156,25 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/PayItem"
       },
-      "example" : "{ \"EarningsRates\": [ { \"Name\": \"MyRate\", \"AccountCode\": \"400\", \"TypeOfUnits\": \"4.00\", \"IsExemptFromTax\": true, \"IsExemptFromSuper\": true, \"IsReportableAsW1\": false, \"AllowanceContributesToAnnualLeaveRate\": false, \"AllowanceContributesToOvertimeRate\": false, \"EarningsType\": \"ORDINARYTIMEEARNINGS\", \"EarningsRateID\": \"1fa4e226-b711-46ba-a8a7-4344c9c5fb87\", \"RateType\": \"MULTIPLE\", \"RatePerUnit\": \"10.0\", \"Multiplier\": 1.5, \"Amount\": 5, \"EmploymentTerminationPaymentType\": \"O\" } ] }"
+      "example" : {
+        "EarningsRates" : [ {
+          "Name" : "MyRate",
+          "AccountCode" : "400",
+          "TypeOfUnits" : "4.00",
+          "IsExemptFromTax" : true,
+          "IsExemptFromSuper" : true,
+          "IsReportableAsW1" : false,
+          "AllowanceContributesToAnnualLeaveRate" : false,
+          "AllowanceContributesToOvertimeRate" : false,
+          "EarningsType" : "ORDINARYTIMEEARNINGS",
+          "EarningsRateID" : "1fa4e226-b711-46ba-a8a7-4344c9c5fb87",
+          "RateType" : "MULTIPLE",
+          "RatePerUnit" : "10.0",
+          "Multiplier" : 1.5,
+          "Amount" : 5,
+          "EmploymentTerminationPaymentType" : "O"
+        } ]
+      }
     }
   },
   "required" : true
@@ -8275,7 +8293,16 @@ This allows you to safely retry requests without the risk of duplicate processin
           "$ref" : "#/components/schemas/PayslipLines"
         }
       },
-      "example" : "{ \"Payslip\": { \"EmployeeID\": \"cdfb8371-0b21-4b8a-8903-1024df6c391e\", \"DeductionLines\": [ { \"DeductionTypeID\": \"727af5e8-b347-4ae7-85fc-9b82266d0aec\", \"CalculationType\": \"FIXEDAMOUNT\", \"NumberOfUnits\": 10 } ] } }"
+      "example" : {
+        "Payslip" : {
+          "EmployeeID" : "cdfb8371-0b21-4b8a-8903-1024df6c391e",
+          "DeductionLines" : [ {
+            "DeductionTypeID" : "727af5e8-b347-4ae7-85fc-9b82266d0aec",
+            "CalculationType" : "FIXEDAMOUNT",
+            "NumberOfUnits" : 10
+          } ]
+        }
+      }
     }
   },
   "required" : true

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 221 - 26
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/docs/v2/payroll_nz/index.html


+ 279 - 33
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/docs/v2/payroll_uk/index.html

@@ -1381,7 +1381,7 @@ ul.nav-tabs {
     "earningsType" : {
       "type" : "string",
       "description" : "Indicates how an employee will be paid when taking this type of earning",
-      "enum" : [ "Allowance", "BackPay", "Bonus", "Commission", "LumpSum", "OtherEarnings", "OvertimeEarnings", "RegularEarnings", "StatutoryAdoptionPay", "StatutoryAdoptionPayNonPensionable", "StatutoryBereavementPay", "StatutoryMaternityPay", "StatutoryMaternityPayNonPensionable", "StatutoryPaternityPay", "StatutoryPaternityPayNonPensionable", "StatutoryParentalBereavementPayNonPensionable", "StatutorySharedParentalPay", "StatutorySharedParentalPayNonPensionable", "StatutorySickPay", "StatutorySickPayNonPensionable", "TipsNonDirect", "TipsDirect", "TerminationPay" ]
+      "enum" : [ "Allowance", "BackPay", "Bonus", "Commission", "LumpSum", "OtherEarnings", "OvertimeEarnings", "RegularEarnings", "StatutoryAdoptionPay", "StatutoryAdoptionPayNonPensionable", "StatutoryBereavementPay", "StatutoryMaternityPay", "StatutoryMaternityPayNonPensionable", "StatutoryPaternityPay", "StatutoryPaternityPayNonPensionable", "StatutoryParentalBereavementPayNonPensionable", "StatutorySharedParentalPay", "StatutorySharedParentalPayNonPensionable", "StatutorySickPay", "StatutorySickPayNonPensionable", "TipsNonDirect", "TipsDirect", "TerminationPay", "StatutoryNeonatalCarePay", "StatutoryNeonatalCarePayNonPensionable" ]
     },
     "rateType" : {
       "type" : "string",
@@ -1514,7 +1514,7 @@ ul.nav-tabs {
 };
       defs["Employee"] = {
   "title" : "",
-  "required" : [ "Address", "DateOfBirth", "FirstName", "Gender", "LastName", "Title" ],
+  "required" : [ "address", "dateOfBirth", "firstName", "gender", "lastName", "title" ],
   "type" : "object",
   "properties" : {
     "employeeID" : {
@@ -1595,6 +1595,16 @@ ul.nav-tabs {
       "format" : "date-time",
       "x-is-datetime" : true
     },
+    "niCategory" : {
+      "$ref" : "#/components/schemas/NICategoryLetter"
+    },
+    "niCategories" : {
+      "type" : "array",
+      "description" : "The employee's NI categories",
+      "items" : {
+        "$ref" : "#/components/schemas/NICategory"
+      }
+    },
     "nationalInsuranceNumber" : {
       "type" : "string",
       "description" : "National insurance number of the employee",
@@ -1944,7 +1954,7 @@ ul.nav-tabs {
     "leaveType" : {
       "type" : "string",
       "description" : "The type of statutory leave",
-      "enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental" ]
+      "enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental", "Bereavement", "NeonatalCare" ]
     },
     "balanceRemaining" : {
       "type" : "number",
@@ -1992,7 +2002,7 @@ ul.nav-tabs {
     "type" : {
       "type" : "string",
       "description" : "The category of statutory leave",
-      "enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental" ]
+      "enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental", "Bereavement", "NeonatalCare" ]
     },
     "startDate" : {
       "type" : "string",
@@ -2262,7 +2272,7 @@ ul.nav-tabs {
 };
       defs["Employment"] = {
   "title" : "",
-  "required" : [ "EmployeeNumber", "NICategory", "PayrollCalendarID", "StartDate" ],
+  "required" : [ "employeeNumber", "niCategories", "payrollCalendarID", "startDate" ],
   "type" : "object",
   "properties" : {
     "payrollCalendarID" : {
@@ -2282,10 +2292,14 @@ ul.nav-tabs {
       "example" : "7"
     },
     "niCategory" : {
-      "type" : "string",
-      "description" : "The NI Category of the employee",
-      "example" : "A",
-      "enum" : [ "A", "B", "C", "F", "H", "I", "J", "L", "M", "S", "V", "X", "Z" ]
+      "$ref" : "#/components/schemas/NICategoryLetter"
+    },
+    "niCategories" : {
+      "type" : "array",
+      "description" : "The employee's NI categories",
+      "items" : {
+        "$ref" : "#/components/schemas/NICategory"
+      }
     }
   },
   "description" : ""
@@ -2502,6 +2516,75 @@ ul.nav-tabs {
     }
   },
   "description" : ""
+};
+      defs["NICategory"] = {
+  "title" : "",
+  "required" : [ "niCategory", "workplacePostcode" ],
+  "type" : "object",
+  "properties" : {
+    "startDate" : {
+      "type" : "string",
+      "description" : "The start date of the NI category (YYYY-MM-DD)",
+      "format" : "date",
+      "example" : "2024-12-02",
+      "x-is-date" : true
+    },
+    "niCategory" : {
+      "$ref" : "#/components/schemas/NICategoryLetter"
+    },
+    "niCategoryID" : {
+      "type" : "number",
+      "description" : "Xero unique identifier for the NI category",
+      "example" : 15
+    },
+    "dateFirstEmployedAsCivilian" : {
+      "type" : "string",
+      "description" : "The date in which the employee was first employed as a civilian (YYYY-MM-DD)",
+      "format" : "date",
+      "example" : "2024-12-02",
+      "x-is-date" : true
+    },
+    "workplacePostcode" : {
+      "type" : "string",
+      "description" : "The workplace postcode",
+      "example" : "SW1A 1AA"
+    }
+  },
+  "description" : "",
+  "oneOf" : [ {
+    "$ref" : "#/components/schemas/NICategory_oneOf"
+  }, {
+    "$ref" : "#/components/schemas/NICategory_oneOf_1"
+  } ]
+};
+      defs["NICategoryLetter"] = {
+  "title" : "",
+  "type" : "string",
+  "description" : "The employee's NI Category letter.",
+  "example" : "I",
+  "enum" : [ "A", "B", "C", "F", "H", "I", "J", "L", "M", "S", "V", "X", "Z", "D", "E", "K", "N" ]
+};
+      defs["NICategory_oneOf"] = {
+  "title" : "",
+  "required" : [ "workplacePostcode" ],
+  "properties" : {
+    "niCategory" : {
+      "type" : "string",
+      "enum" : [ "F", "I", "L", "S", "N", "E", "D", "K" ]
+    }
+  },
+  "description" : ""
+};
+      defs["NICategory_oneOf_1"] = {
+  "title" : "",
+  "required" : [ "dateFirstEmployedAsCivilian" ],
+  "properties" : {
+    "niCategory" : {
+      "type" : "string",
+      "enum" : [ "V" ]
+    }
+  },
+  "description" : ""
 };
       defs["Pagination"] = {
   "title" : "",
@@ -3516,7 +3599,7 @@ ul.nav-tabs {
           <nav id="scrollingNav">
             <ul class="sidenav nav nav-list">
               <li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
-              <li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>8.0.0</li>
+              <li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>10.0.0</li>
               <li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
               <li data-group="PayrollUk" data-name="approveTimesheet" class="">
                 <a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a>
@@ -4028,7 +4111,15 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/Benefit"
       },
-      "example" : "{ \"name\": \"My Big Bennie\", \"category\": \"StakeholderPension\", \"liabilityAccountId\": \"e0faa299-ca0d-4b0a-9e32-0dfabdf9179a\", \"expenseAccountId\": \"4b03500d-32fd-4616-8d70-e1e56e0519c6\", \"standardAmount\": 50, \"percentage\": 25, \"calculationType\": \"PercentageOfGross\" }"
+      "example" : {
+        "name" : "My Big Bennie",
+        "category" : "StakeholderPension",
+        "liabilityAccountId" : "e0faa299-ca0d-4b0a-9e32-0dfabdf9179a",
+        "expenseAccountId" : "4b03500d-32fd-4616-8d70-e1e56e0519c6",
+        "standardAmount" : 50,
+        "percentage" : 25,
+        "calculationType" : "PercentageOfGross"
+      }
     }
   },
   "required" : true
@@ -4178,7 +4269,12 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/Deduction"
       },
-      "example" : "{ \"deductionName\": \"My new deduction\", \"deductionCategory\": \"SalarySacrifice\", \"liabilityAccountId\": \"e0faa299-ca0d-4b0a-9e32-0dfabdf9179a\", \"calculationType\": \"FixedAmount\" }"
+      "example" : {
+        "deductionName" : "My new deduction",
+        "deductionCategory" : "SalarySacrifice",
+        "liabilityAccountId" : "e0faa299-ca0d-4b0a-9e32-0dfabdf9179a",
+        "calculationType" : "FixedAmount"
+      }
     }
   },
   "required" : true
@@ -4328,7 +4424,13 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/EarningsRate"
       },
-      "example" : "{ \"name\": \"My Earnings Rate\", \"earningsType\": \"RegularEarnings\", \"rateType\": \"RatePerUnit\", \"typeOfUnits\": \"hours\", \"expenseAccountID\": \"4b03500d-32fd-4616-8d70-e1e56e0519c6\" }"
+      "example" : {
+        "name" : "My Earnings Rate",
+        "earningsType" : "RegularEarnings",
+        "rateType" : "RatePerUnit",
+        "typeOfUnits" : "hours",
+        "expenseAccountID" : "4b03500d-32fd-4616-8d70-e1e56e0519c6"
+      }
     }
   },
   "required" : true
@@ -4485,7 +4587,20 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/Employee"
       },
-      "example" : "{ \"title\":\"Mr\", \"firstName\":\"Mike\", \"lastName\":\"Fancy\", \"dateOfBirth\":\"1999-01-01T00:00:00\", \"gender\":\"M\", \"email\":\"mike@starkindustries.com\", \"isOffPayrollWorker\": false, \"address\": { \"addressLine1\": \"171 Midsummer\", \"city\": \"Milton Keyness\", \"postCode\": \"MK9 1EB\" } }"
+      "example" : {
+        "title" : "Mr",
+        "firstName" : "Mike",
+        "lastName" : "Fancy",
+        "dateOfBirth" : "1999-01-01T00:00:00Z",
+        "gender" : "M",
+        "email" : "mike@starkindustries.com",
+        "isOffPayrollWorker" : false,
+        "address" : {
+          "addressLine1" : "171 Midsummer",
+          "city" : "Milton Keyness",
+          "postCode" : "MK9 1EB"
+        }
+      }
     }
   },
   "required" : true
@@ -4857,7 +4972,12 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/EmployeeLeave"
       },
-      "example" : "{ \"leaveTypeID\": \"1d2778ee-86ea-45c0-bbf8-1045485f6b3f\", \"description\": \"Creating a Description\", \"startDate\": \"2020-03-24\", \"endDate\": \"2020-03-26\" }"
+      "example" : {
+        "leaveTypeID" : "1d2778ee-86ea-45c0-bbf8-1045485f6b3f",
+        "description" : "Creating a Description",
+        "startDate" : "2020-03-24",
+        "endDate" : "2020-03-26"
+      }
     }
   },
   "required" : true
@@ -5041,7 +5161,11 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/EmployeeLeaveType"
       },
-      "example" : "{ \"leaveTypeID\": \"4918f233-bd31-43f9-9633-bcc6de1178f2\", \"scheduleOfAccrual\": \"BeginningOfCalendarYear\", \"hoursAccruedAnnually\": 10 }"
+      "example" : {
+        "leaveTypeID" : "4918f233-bd31-43f9-9633-bcc6de1178f2",
+        "scheduleOfAccrual" : "BeginningOfCalendarYear",
+        "hoursAccruedAnnually" : 10
+      }
     }
   },
   "required" : true
@@ -5226,7 +5350,14 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/EmployeeOpeningBalances"
       },
-      "example" : "{ \"statutoryAdoptionPay\": 10, \"statutoryMaternityPay\": 10, \"statutoryPaternityPay\": 10, \"statutorySharedParentalPay\": 10, \"statutorySickPay\": 10, \"priorEmployeeNumber\": 10 }"
+      "example" : {
+        "statutoryAdoptionPay" : 10,
+        "statutoryMaternityPay" : 10,
+        "statutoryPaternityPay" : 10,
+        "statutorySharedParentalPay" : 10,
+        "statutorySickPay" : 10,
+        "priorEmployeeNumber" : 10
+      }
     }
   },
   "required" : true
@@ -5414,7 +5545,14 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/PaymentMethod"
       },
-      "example" : "{ \"paymentMethod\": \"Electronically\", \"bankAccounts\": [ { \"accountName\": \"Sid BofA\", \"accountNumber\": \"24987654\", \"sortCode\": \"287654\" } ] }"
+      "example" : {
+        "paymentMethod" : "Electronically",
+        "bankAccounts" : [ {
+          "accountName" : "Sid BofA",
+          "accountNumber" : "24987654",
+          "sortCode" : "287654"
+        } ]
+      }
     }
   },
   "required" : true
@@ -5599,7 +5737,16 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/SalaryAndWage"
       },
-      "example" : "{ \"earningsRateID\": \"87f5b43a-cf51-4b74-92de-94c819e82d27\", \"numberOfUnitsPerWeek\": 2, \"ratePerUnit\": 10, \"numberOfUnitsPerDay\": 2, \"effectiveFrom\": \"2020-05-01\", \"annualSalary\": 100, \"status\": \"ACTIVE\", \"paymentType\": \"Salary\" }"
+      "example" : {
+        "earningsRateID" : "87f5b43a-cf51-4b74-92de-94c819e82d27",
+        "numberOfUnitsPerWeek" : 2,
+        "ratePerUnit" : 10,
+        "numberOfUnitsPerDay" : 2,
+        "effectiveFrom" : "2020-05-01",
+        "annualSalary" : 100,
+        "status" : "ACTIVE",
+        "paymentType" : "Salary"
+      }
     }
   },
   "required" : true
@@ -5751,7 +5898,15 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/EmployeeStatutorySickLeave"
       },
-      "example" : "{ \"employeeID\": \"aad6b292-7b94-408b-93f6-e489867e3fb0\", \"leaveTypeID\": \"aab78802-e9d3-4bbd-bc87-df858054988f\", \"startDate\": \"2020-04-21\", \"endDate\": \"2020-04-24\", \"workPattern\": [ \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\" ], \"isPregnancyRelated\": false, \"sufficientNotice\": true }"
+      "example" : {
+        "employeeID" : "aad6b292-7b94-408b-93f6-e489867e3fb0",
+        "leaveTypeID" : "aab78802-e9d3-4bbd-bc87-df858054988f",
+        "startDate" : "2020-04-21",
+        "endDate" : "2020-04-24",
+        "workPattern" : [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" ],
+        "isPregnancyRelated" : false,
+        "sufficientNotice" : true
+      }
     }
   },
   "required" : true
@@ -5803,6 +5958,8 @@ $employment = new XeroAPI\XeroPHP\Models\PayrollUk\Employment;
 $employment->setPayrollCalendarID('00000000-0000-0000-0000-000000000000');
 $employment->setStartDate($startDate);
 
+$niCategories = new XeroAPI\XeroPHP\Models\PayrollUk\NICategories;
+
 try {
   $result = $apiInstance->createEmployment($xeroTenantId, $employeeID, $employment, $idempotencyKey);
 } catch (Exception $e) {
@@ -5934,7 +6091,16 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/Employment"
       },
-      "example" : "{ \"PayrollCalendarID\": \"216d80e6-af55-47b1-b718-9457c3f5d2fe\", \"StartDate\": \"2020-04-01\", \"EmployeeNumber\": \"123ABC\", \"NICategory\": \"A\" }"
+      "example" : {
+        "payrollCalendarID" : "cdfb8371-0b21-4b8a-8903-1024df6c391e",
+        "startDate" : "2024-04-01",
+        "niCategories" : [ {
+          "niCategory" : "I",
+          "startDate" : "2020-05-01",
+          "workplacePostcode" : "SW1A 1AA"
+        } ],
+        "employeeNumber" : "123ABC"
+      }
     }
   },
   "required" : true
@@ -6083,7 +6249,11 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/LeaveType"
       },
-      "example" : "{ \"name\": \"My opebvwbfxf Leave\", \"isPaidLeave\": false, \"showOnPayslip\": true }"
+      "example" : {
+        "name" : "My opebvwbfxf Leave",
+        "isPaidLeave" : false,
+        "showOnPayslip" : true
+      }
     }
   },
   "required" : true
@@ -6422,7 +6592,12 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/PayRunCalendar"
       },
-      "example" : "{ \"name\": \"My Weekly Cal\", \"calendarType\": \"Weekly\", \"periodStartDate\": \"2020-05-01\", \"paymentDate\": \"2020-05-15\" }"
+      "example" : {
+        "name" : "My Weekly Cal",
+        "calendarType" : "Weekly",
+        "periodStartDate" : "2020-05-01",
+        "paymentDate" : "2020-05-15"
+      }
     }
   },
   "required" : true
@@ -6570,7 +6745,10 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/Reimbursement"
       },
-      "example" : "{ \"name\": \"My new Reimburse\", \"accountID\": \"9ee28149-32a9-4661-8eab-a28738696983\" }"
+      "example" : {
+        "name" : "My new Reimburse",
+        "accountID" : "9ee28149-32a9-4661-8eab-a28738696983"
+      }
     }
   },
   "required" : true
@@ -6722,7 +6900,21 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/Timesheet"
       },
-      "example" : "{ \"payrollCalendarID\": \"216d80e6-af55-47b1-b718-9457c3f5d2fe\", \"employeeID\": \"aad6b292-7b94-408b-93f6-e489867e3fb0\", \"startDate\": \"2020-04-13\", \"endDate\": \"2020-04-19\", \"timesheetLines\": [ { \"date\": \"2020-04-13\", \"earningsRateID\": \"87f5b43a-cf51-4b74-92de-94c819e82d27\", \"numberOfUnits\": 8 }, { \"date\": \"2020-04-15\", \"earningsRateID\": \"87f5b43a-cf51-4b74-92de-94c819e82d27\", \"numberOfUnits\": 6 } ] }"
+      "example" : {
+        "payrollCalendarID" : "216d80e6-af55-47b1-b718-9457c3f5d2fe",
+        "employeeID" : "aad6b292-7b94-408b-93f6-e489867e3fb0",
+        "startDate" : "2020-04-13",
+        "endDate" : "2020-04-19",
+        "timesheetLines" : [ {
+          "date" : "2020-04-13",
+          "earningsRateID" : "87f5b43a-cf51-4b74-92de-94c819e82d27",
+          "numberOfUnits" : 8
+        }, {
+          "date" : "2020-04-15",
+          "earningsRateID" : "87f5b43a-cf51-4b74-92de-94c819e82d27",
+          "numberOfUnits" : 6
+        } ]
+      }
     }
   },
   "required" : true
@@ -6908,7 +7100,11 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/TimesheetLine"
       },
-      "example" : "{ \"date\": \"2020-04-14\", \"earningsRateID\": \"87f5b43a-cf51-4b74-92de-94c819e82d27\", \"numberOfUnits\": 1 }"
+      "example" : {
+        "date" : "2020-04-14",
+        "earningsRateID" : "87f5b43a-cf51-4b74-92de-94c819e82d27",
+        "numberOfUnits" : 1
+      }
     }
   },
   "required" : true
@@ -13020,7 +13216,21 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/Employee"
       },
-      "example" : "{ \"title\": \"Mr.\", \"firstName\": \"TestDataUK\", \"lastName\": \"Tester\", \"dateOfBirth\": \"1992-11-22T00:00:00\", \"gender\": \"M\", \"email\": \"tester@gmail.com\", \"phoneNumber\": \"0400123456\", \"isOffPayrollWorker\": false, \"address\": { \"addressLine1\": \"171 Midsummer\", \"city\": \"Milton Keyness\", \"postCode\": \"MK9 1EB\" } }"
+      "example" : {
+        "title" : "Mr.",
+        "firstName" : "TestDataUK",
+        "lastName" : "Tester",
+        "dateOfBirth" : "1992-11-22T00:00:00Z",
+        "gender" : "M",
+        "email" : "tester@gmail.com",
+        "phoneNumber" : "0400123456",
+        "isOffPayrollWorker" : false,
+        "address" : {
+          "addressLine1" : "171 Midsummer",
+          "city" : "Milton Keyness",
+          "postCode" : "MK9 1EB"
+        }
+      }
     }
   },
   "required" : true
@@ -13235,7 +13445,11 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/EarningsTemplate"
       },
-      "example" : "{ \"ratePerUnit\": 30, \"numberOfUnits\": 4, \"earningsRateID\": \"87f5b43a-cf51-4b74-92de-94c819e82d27\" }"
+      "example" : {
+        "ratePerUnit" : 30,
+        "numberOfUnits" : 4,
+        "earningsRateID" : "87f5b43a-cf51-4b74-92de-94c819e82d27"
+      }
     }
   },
   "required" : true
@@ -13447,7 +13661,18 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/EmployeeLeave"
       },
-      "example" : "{ \"leaveTypeID\": \"ed08dffe-788e-4b24-9630-f0fa2f4d164c\", \"description\": \"Creating a Description\", \"startDate\": \"2020-04-24\", \"endDate\": \"2020-04-26\", \"periods\": [ { \"periodStartDate\": \"2020-04-20\", \"periodEndDate\": \"2020-04-26\", \"numberOfUnits\": 1, \"periodStatus\": \"Approved\" } ] }"
+      "example" : {
+        "leaveTypeID" : "ed08dffe-788e-4b24-9630-f0fa2f4d164c",
+        "description" : "Creating a Description",
+        "startDate" : "2020-04-24",
+        "endDate" : "2020-04-26",
+        "periods" : [ {
+          "periodStartDate" : "2020-04-20",
+          "periodEndDate" : "2020-04-26",
+          "numberOfUnits" : 1,
+          "periodStatus" : "Approved"
+        } ]
+      }
     }
   },
   "required" : true
@@ -13632,7 +13857,14 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/EmployeeOpeningBalances"
       },
-      "example" : "{ \"statutoryAdoptionPay\": 20, \"statutoryMaternityPay\": 20, \"statutoryPaternityPay\": 20, \"statutorySharedParentalPay\": 20, \"statutorySickPay\": 20, \"priorEmployeeNumber\": 20 }"
+      "example" : {
+        "statutoryAdoptionPay" : 20,
+        "statutoryMaternityPay" : 20,
+        "statutoryPaternityPay" : 20,
+        "statutorySharedParentalPay" : 20,
+        "statutorySickPay" : 20,
+        "priorEmployeeNumber" : 20
+      }
     }
   },
   "required" : true
@@ -13844,7 +14076,15 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/SalaryAndWage"
       },
-      "example" : "{ \"earningsRateID\": \"87f5b43a-cf51-4b74-92de-94c819e82d27\", \"numberOfUnitsPerWeek\": 3, \"ratePerUnit\": 11, \"effectiveFrom\": \"2020-05-15\", \"annualSalary\": 101, \"status\": \"ACTIVE\", \"paymentType\": \"Salary\" }"
+      "example" : {
+        "earningsRateID" : "87f5b43a-cf51-4b74-92de-94c819e82d27",
+        "numberOfUnitsPerWeek" : 3,
+        "ratePerUnit" : 11,
+        "effectiveFrom" : "2020-05-15",
+        "annualSalary" : 101,
+        "status" : "ACTIVE",
+        "paymentType" : "Salary"
+      }
     }
   },
   "required" : true
@@ -14029,7 +14269,9 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/PayRun"
       },
-      "example" : "{ \"paymentDate\": \"2020-05-01\" }"
+      "example" : {
+        "paymentDate" : "2020-05-01"
+      }
     }
   },
   "required" : true
@@ -14242,7 +14484,11 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/TimesheetLine"
       },
-      "example" : "{ \"date\": \"2020-04-14\", \"earningsRateID\": \"87f5b43a-cf51-4b74-92de-94c819e82d27\", \"numberOfUnits\": 2 }"
+      "example" : {
+        "date" : "2020-04-14",
+        "earningsRateID" : "87f5b43a-cf51-4b74-92de-94c819e82d27",
+        "numberOfUnits" : 2
+      }
     }
   },
   "required" : true

+ 15 - 3
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/docs/v2/projects/index.html

@@ -1461,7 +1461,7 @@ ul.nav-tabs {
           <nav id="scrollingNav">
             <ul class="sidenav nav nav-list">
               <li class="nav-header" data-group="Project"><strong>SDK: </strong><span id='sdk-name'></span></li>
-              <li class="nav-header" data-group="Project"><strong>VSN: </strong>8.0.0</li>
+              <li class="nav-header" data-group="Project"><strong>VSN: </strong>10.0.0</li>
               <li class="nav-header" data-group="Project"><a href="#api-Project">Methods</a></li>
               <li data-group="Project" data-name="createProject" class="">
                 <a href="#api-Project-createProject">createProject</a>
@@ -2022,7 +2022,13 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/TimeEntryCreateOrUpdate"
       },
-      "example" : "{ \"userId\": \"00000000-0000-0000-0000-000000000000\", \"taskId\": \"00000000-0000-0000-0000-000000000000\", \"dateUtc\": \"2020-02-26T15:00:00Z\", \"duration\":30, \"description\": \"My description\" }"
+      "example" : {
+        "userId" : "00000000-0000-0000-0000-000000000000",
+        "taskId" : "00000000-0000-0000-0000-000000000000",
+        "dateUtc" : "2020-02-26T15:00:00Z",
+        "duration" : 30,
+        "description" : "My description"
+      }
     }
   },
   "required" : true
@@ -4448,7 +4454,13 @@ This allows you to safely retry requests without the risk of duplicate processin
       "schema" : {
         "$ref" : "#/components/schemas/TimeEntryCreateOrUpdate"
       },
-      "example" : "{ \"userId\": \"00000000-0000-0000-0000-000000000000\", \"taskId\": \"00000000-0000-0000-0000-000000000000\", \"dateUtc\": \"2020-02-27T15:00:00Z\", \"duration\":45, \"description\": \"My UPDATED description\" }"
+      "example" : {
+        "userId" : "00000000-0000-0000-0000-000000000000",
+        "taskId" : "00000000-0000-0000-0000-000000000000",
+        "dateUtc" : "2020-02-27T15:00:00Z",
+        "duration" : 45,
+        "description" : "My UPDATED description"
+      }
     }
   },
   "required" : true

+ 1 - 1
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php

@@ -14,7 +14,7 @@
  *
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
  *
- * OpenAPI spec version: 7.0.0
+ * OpenAPI spec version: 9.0.0
  * Contact: api@xero.com
  * Generated by: https://openapi-generator.tech
  * OpenAPI Generator version: 5.4.0

+ 1 - 1
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/AppStoreApi.php

@@ -14,7 +14,7 @@
  *
  * These endpoints are for Xero Partners to interact with the App Store Billing platform
  *
- * OpenAPI spec version: 7.0.0
+ * OpenAPI spec version: 9.0.0
  * Contact: api@xero.com
  * Generated by: https://openapi-generator.tech
  * OpenAPI Generator version: 5.4.0

+ 1 - 1
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/AssetApi.php

@@ -14,7 +14,7 @@
  *
  * The Assets API exposes fixed asset related functions of the Xero Accounting application and can be used for a variety of purposes such as creating assets, retrieving asset valuations etc.
  *
- * OpenAPI spec version: 7.0.0
+ * OpenAPI spec version: 9.0.0
  * Contact: api@xero.com
  * Generated by: https://openapi-generator.tech
  * OpenAPI Generator version: 5.4.0

+ 19 - 10
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/FilesApi.php

@@ -14,7 +14,7 @@
  *
  * These endpoints are specific to Xero Files API
  *
- * OpenAPI spec version: 7.0.0
+ * OpenAPI spec version: 9.0.0
  * Contact: api@xero.com
  * Generated by: https://openapi-generator.tech
  * OpenAPI Generator version: 5.4.0
@@ -2549,13 +2549,14 @@ class FilesApi
      * @param  int $pagesize pass an optional page size value (optional)
      * @param  int $page number of records to skip for pagination (optional)
      * @param  string $sort values to sort by (optional)
+     * @param  string $direction sort direction (optional)
      * @throws \XeroAPI\XeroPHP\ApiException on non-2xx response
      * @throws \InvalidArgumentException
      * @return \XeroAPI\XeroPHP\Models\File\Files
      */
-    public function getFiles($xero_tenant_id, $pagesize = null, $page = null, $sort = null)
+    public function getFiles($xero_tenant_id, $pagesize = null, $page = null, $sort = null, $direction = null)
     {
-        list($response) = $this->getFilesWithHttpInfo($xero_tenant_id, $pagesize, $page, $sort);
+        list($response) = $this->getFilesWithHttpInfo($xero_tenant_id, $pagesize, $page, $sort, $direction);
         return $response;
     }
     /**
@@ -2565,13 +2566,14 @@ class FilesApi
      * @param  int $pagesize pass an optional page size value (optional)
      * @param  int $page number of records to skip for pagination (optional)
      * @param  string $sort values to sort by (optional)
+     * @param  string $direction sort direction (optional)
      * @throws \XeroAPI\XeroPHP\ApiException on non-2xx response
      * @throws \InvalidArgumentException
      * @return array of \XeroAPI\XeroPHP\Models\File\Files, HTTP status code, HTTP response headers (array of strings)
      */
-    public function getFilesWithHttpInfo($xero_tenant_id, $pagesize = null, $page = null, $sort = null)
+    public function getFilesWithHttpInfo($xero_tenant_id, $pagesize = null, $page = null, $sort = null, $direction = null)
     {
-        $request = $this->getFilesRequest($xero_tenant_id, $pagesize, $page, $sort);
+        $request = $this->getFilesRequest($xero_tenant_id, $pagesize, $page, $sort, $direction);
         try {
             $options = $this->createHttpClientOption();
             try {
@@ -2644,12 +2646,13 @@ class FilesApi
      * @param  int $pagesize pass an optional page size value (optional)
      * @param  int $page number of records to skip for pagination (optional)
      * @param  string $sort values to sort by (optional)
+     * @param  string $direction sort direction (optional)
      * @throws \InvalidArgumentException
      * @return \GuzzleHttp\Promise\PromiseInterface
      */
-    public function getFilesAsync($xero_tenant_id, $pagesize = null, $page = null, $sort = null)
+    public function getFilesAsync($xero_tenant_id, $pagesize = null, $page = null, $sort = null, $direction = null)
     {
-        return $this->getFilesAsyncWithHttpInfo($xero_tenant_id, $pagesize, $page, $sort)
+        return $this->getFilesAsyncWithHttpInfo($xero_tenant_id, $pagesize, $page, $sort, $direction)
             ->then(
                 function ($response) {
                     return $response[0];
@@ -2663,12 +2666,13 @@ class FilesApi
      * @param  int $pagesize pass an optional page size value (optional)
      * @param  int $page number of records to skip for pagination (optional)
      * @param  string $sort values to sort by (optional)
+     * @param  string $direction sort direction (optional)
      * @throws \InvalidArgumentException
      * @return \GuzzleHttp\Promise\PromiseInterface */
-    public function getFilesAsyncWithHttpInfo($xero_tenant_id, $pagesize = null, $page = null, $sort = null)
+    public function getFilesAsyncWithHttpInfo($xero_tenant_id, $pagesize = null, $page = null, $sort = null, $direction = null)
     {
         $returnType = '\XeroAPI\XeroPHP\Models\File\Files';
-        $request = $this->getFilesRequest($xero_tenant_id, $pagesize, $page, $sort);
+        $request = $this->getFilesRequest($xero_tenant_id, $pagesize, $page, $sort, $direction);
         return $this->client
             ->sendAsync($request, $this->createHttpClientOption())
             ->then(
@@ -2708,9 +2712,10 @@ class FilesApi
      * @param  int $pagesize pass an optional page size value (optional)
      * @param  int $page number of records to skip for pagination (optional)
      * @param  string $sort values to sort by (optional)
+     * @param  string $direction sort direction (optional)
      * @throws \InvalidArgumentException
      * @return \GuzzleHttp\Psr7\Request  */
-    protected function getFilesRequest($xero_tenant_id, $pagesize = null, $page = null, $sort = null)
+    protected function getFilesRequest($xero_tenant_id, $pagesize = null, $page = null, $sort = null, $direction = null)
     {
         // verify the required parameter 'xero_tenant_id' is set
         if ($xero_tenant_id === null || (is_array($xero_tenant_id) && count($xero_tenant_id) === 0)) {
@@ -2744,6 +2749,10 @@ class FilesApi
         if ($sort !== null) {
             $queryParams['sort'] = FileObjectSerializer::toQueryValue($sort);
         }
+        // query params
+        if ($direction !== null) {
+            $queryParams['direction'] = FileObjectSerializer::toQueryValue($direction);
+        }
         // header params
         if ($xero_tenant_id !== null) {
             $headerParams['xero-tenant-id'] = FileObjectSerializer::toHeaderValue($xero_tenant_id);

+ 1 - 1
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/FinanceApi.php

@@ -14,7 +14,7 @@
  *
  * The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
  *
- * OpenAPI spec version: 7.0.0
+ * OpenAPI spec version: 9.0.0
  * Contact: api@xero.com
  * Generated by: https://openapi-generator.tech
  * OpenAPI Generator version: 5.4.0

+ 1 - 1
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/IdentityApi.php

@@ -14,7 +14,7 @@
  *
  * These endpoints are related to managing authentication tokens and identity for Xero API
  *
- * OpenAPI spec version: 7.0.0
+ * OpenAPI spec version: 9.0.0
  * Contact: api@xero.com
  * Generated by: https://openapi-generator.tech
  * OpenAPI Generator version: 5.4.0

+ 1 - 1
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/PayrollAuApi.php

@@ -14,7 +14,7 @@
  *
  * This is the Xero Payroll API for orgs in Australia region.
  *
- * OpenAPI spec version: 7.0.0
+ * OpenAPI spec version: 9.0.0
  * Contact: api@xero.com
  * Generated by: https://openapi-generator.tech
  * OpenAPI Generator version: 5.4.0

+ 1 - 1
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/PayrollNzApi.php

@@ -14,7 +14,7 @@
  *
  * This is the Xero Payroll API for orgs in the NZ region.
  *
- * OpenAPI spec version: 7.0.0
+ * OpenAPI spec version: 9.0.0
  * Contact: api@xero.com
  * Generated by: https://openapi-generator.tech
  * OpenAPI Generator version: 5.4.0

+ 1 - 1
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/PayrollUkApi.php

@@ -14,7 +14,7 @@
  *
  * This is the Xero Payroll API for orgs in the UK region.
  *
- * OpenAPI spec version: 7.0.0
+ * OpenAPI spec version: 9.0.0
  * Contact: api@xero.com
  * Generated by: https://openapi-generator.tech
  * OpenAPI Generator version: 5.4.0

+ 1 - 1
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Api/ProjectApi.php

@@ -14,7 +14,7 @@
  *
  * This is the Xero Projects API
  *
- * OpenAPI spec version: 7.0.0
+ * OpenAPI spec version: 9.0.0
  * Contact: api@xero.com
  * Generated by: https://openapi-generator.tech
  * OpenAPI Generator version: 5.4.0

+ 3 - 3
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Configuration.php

@@ -157,7 +157,7 @@ class Configuration
      *
      * @var string
      */
-    protected $userAgent = '[xero-php-oauth2 (8.0.0)]';
+    protected $userAgent = '[xero-php-oauth2 (8.1.0)]';
 
     /**
      * Debug switch (default set to false)
@@ -696,8 +696,8 @@ class Configuration
         $report  = 'PHP SDK (XeroAPI\XeroPHP) Debug Report:' . PHP_EOL;
         $report .= '    OS: ' . php_uname() . PHP_EOL;
         $report .= '    PHP Version: ' . PHP_VERSION . PHP_EOL;
-        $report .= '    OpenAPI Spec Version: 7.0.0' . PHP_EOL;
-        $report .= '    SDK Package Version: 8.0.0' . PHP_EOL;
+        $report .= '    OpenAPI Spec Version: 9.0.0' . PHP_EOL;
+        $report .= '    SDK Package Version: 10.0.0' . PHP_EOL;
         $report .= '    Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
 
         return $report;

+ 2 - 0
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/Accounting/Organisation.php

@@ -398,6 +398,7 @@ class Organisation implements ModelInterface, ArrayAccess
     const MODEL_CLASS_IGNITE = 'IGNITE';
     const MODEL_CLASS_GROW = 'GROW';
     const MODEL_CLASS_COMPREHENSIVE = 'COMPREHENSIVE';
+    const MODEL_CLASS_SIMPLE = 'SIMPLE';
     const EDITION_BUSINESS = 'BUSINESS';
     const EDITION_PARTNER = 'PARTNER';
     
@@ -545,6 +546,7 @@ class Organisation implements ModelInterface, ArrayAccess
             self::MODEL_CLASS_IGNITE,
             self::MODEL_CLASS_GROW,
             self::MODEL_CLASS_COMPREHENSIVE,
+            self::MODEL_CLASS_SIMPLE,
         ];
     }
     

+ 2 - 0
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/Accounting/User.php

@@ -196,6 +196,7 @@ class User implements ModelInterface, ArrayAccess
     const ORGANISATION_ROLE_MANAGEDCLIENT = 'MANAGEDCLIENT';
     const ORGANISATION_ROLE_CASHBOOKCLIENT = 'CASHBOOKCLIENT';
     const ORGANISATION_ROLE_UNKNOWN = 'UNKNOWN';
+    const ORGANISATION_ROLE_REMOVED = 'REMOVED';
     
 
     
@@ -214,6 +215,7 @@ class User implements ModelInterface, ArrayAccess
             self::ORGANISATION_ROLE_MANAGEDCLIENT,
             self::ORGANISATION_ROLE_CASHBOOKCLIENT,
             self::ORGANISATION_ROLE_UNKNOWN,
+            self::ORGANISATION_ROLE_REMOVED,
         ];
     }
     

+ 3 - 1
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/AppStore/Product.php

@@ -182,6 +182,7 @@ class Product implements ModelInterface, ArrayAccess
     const TYPE_FIXED = 'FIXED';
     const TYPE_PER_SEAT = 'PER_SEAT';
     const TYPE_METERED = 'METERED';
+    const TYPE_SIMPLE = 'SIMPLE';
     
 
     
@@ -196,6 +197,7 @@ class Product implements ModelInterface, ArrayAccess
             self::TYPE_FIXED,
             self::TYPE_PER_SEAT,
             self::TYPE_METERED,
+            self::TYPE_SIMPLE,
         ];
     }
     
@@ -348,7 +350,7 @@ class Product implements ModelInterface, ArrayAccess
     /**
      * Sets type
      *
-     * @param string|null $type The pricing model of the product: * FIXED: Customers are charged a fixed amount for each billing period * PER_SEAT: Customers are charged based on the number of units they purchase * METERED: Customers are charged per use of this product
+     * @param string|null $type The pricing model of the product: * FIXED: Customers are charged a fixed amount for each billing period * PER_SEAT: Customers are charged based on the number of units they purchase * METERED: Customers are charged per use of this product * SIMPLE: Customers are charged on a fixed amount for each billing period with an optional add-on feature
      *
      * @return $this
      */

+ 20 - 8
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollNz/Employee.php

@@ -301,6 +301,18 @@ class Employee implements ModelInterface, ArrayAccess
     {
         $invalidProperties = [];
 
+        if ($this->container['first_name'] === null) {
+            $invalidProperties[] = "'first_name' can't be null";
+        }
+        if ($this->container['last_name'] === null) {
+            $invalidProperties[] = "'last_name' can't be null";
+        }
+        if ($this->container['date_of_birth'] === null) {
+            $invalidProperties[] = "'date_of_birth' can't be null";
+        }
+        if ($this->container['address'] === null) {
+            $invalidProperties[] = "'address' can't be null";
+        }
         $allowedValues = $this->getGenderAllowableValues();
         if (!is_null($this->container['gender']) && !in_array($this->container['gender'], $allowedValues, true)) {
             $invalidProperties[] = sprintf(
@@ -381,7 +393,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Gets first_name
      *
-     * @return string|null
+     * @return string
      */
     public function getFirstName()
     {
@@ -391,7 +403,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Sets first_name
      *
-     * @param string|null $first_name First name of employee
+     * @param string $first_name First name of employee
      *
      * @return $this
      */
@@ -408,7 +420,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Gets last_name
      *
-     * @return string|null
+     * @return string
      */
     public function getLastName()
     {
@@ -418,7 +430,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Sets last_name
      *
-     * @param string|null $last_name Last name of employee
+     * @param string $last_name Last name of employee
      *
      * @return $this
      */
@@ -435,7 +447,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Gets date_of_birth
      *
-     * @return \DateTime|null
+     * @return \DateTime
      */
     public function getDateOfBirth()
     {
@@ -445,7 +457,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Sets date_of_birth
      *
-     * @param \DateTime|null $date_of_birth Date of birth of the employee (YYYY-MM-DD)
+     * @param \DateTime $date_of_birth Date of birth of the employee (YYYY-MM-DD)
      *
      * @return $this
      */
@@ -462,7 +474,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Gets address
      *
-     * @return \XeroAPI\XeroPHP\Models\PayrollNz\Address|null
+     * @return \XeroAPI\XeroPHP\Models\PayrollNz\Address
      */
     public function getAddress()
     {
@@ -472,7 +484,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Sets address
      *
-     * @param \XeroAPI\XeroPHP\Models\PayrollNz\Address|null $address address
+     * @param \XeroAPI\XeroPHP\Models\PayrollNz\Address $address address
      *
      * @return $this
      */

+ 15 - 6
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollNz/Employment.php

@@ -214,6 +214,15 @@ class Employment implements ModelInterface, ArrayAccess
     {
         $invalidProperties = [];
 
+        if ($this->container['payroll_calendar_id'] === null) {
+            $invalidProperties[] = "'payroll_calendar_id' can't be null";
+        }
+        if ($this->container['start_date'] === null) {
+            $invalidProperties[] = "'start_date' can't be null";
+        }
+        if ($this->container['engagement_type'] === null) {
+            $invalidProperties[] = "'engagement_type' can't be null";
+        }
         return $invalidProperties;
     }
 
@@ -232,7 +241,7 @@ class Employment implements ModelInterface, ArrayAccess
     /**
      * Gets payroll_calendar_id
      *
-     * @return string|null
+     * @return string
      */
     public function getPayrollCalendarId()
     {
@@ -242,7 +251,7 @@ class Employment implements ModelInterface, ArrayAccess
     /**
      * Sets payroll_calendar_id
      *
-     * @param string|null $payroll_calendar_id Xero unique identifier for the payroll calendar of the employee
+     * @param string $payroll_calendar_id Xero unique identifier for the payroll calendar of the employee
      *
      * @return $this
      */
@@ -286,7 +295,7 @@ class Employment implements ModelInterface, ArrayAccess
     /**
      * Gets start_date
      *
-     * @return \DateTime|null
+     * @return \DateTime
      */
     public function getStartDate()
     {
@@ -296,7 +305,7 @@ class Employment implements ModelInterface, ArrayAccess
     /**
      * Sets start_date
      *
-     * @param \DateTime|null $start_date Start date of the employment (YYYY-MM-DD)
+     * @param \DateTime $start_date Start date of the employment (YYYY-MM-DD)
      *
      * @return $this
      */
@@ -313,7 +322,7 @@ class Employment implements ModelInterface, ArrayAccess
     /**
      * Gets engagement_type
      *
-     * @return string|null
+     * @return string
      */
     public function getEngagementType()
     {
@@ -323,7 +332,7 @@ class Employment implements ModelInterface, ArrayAccess
     /**
      * Sets engagement_type
      *
-     * @param string|null $engagement_type Engagement type of the employee
+     * @param string $engagement_type Engagement type of the employee
      *
      * @return $this
      */

+ 4 - 0
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollUk/EarningsRate.php

@@ -227,6 +227,8 @@ class EarningsRate implements ModelInterface, ArrayAccess
     const EARNINGS_TYPE_TIPS_NON_DIRECT = 'TipsNonDirect';
     const EARNINGS_TYPE_TIPS_DIRECT = 'TipsDirect';
     const EARNINGS_TYPE_TERMINATION_PAY = 'TerminationPay';
+    const EARNINGS_TYPE_STATUTORY_NEONATAL_CARE_PAY = 'StatutoryNeonatalCarePay';
+    const EARNINGS_TYPE_STATUTORY_NEONATAL_CARE_PAY_NON_PENSIONABLE = 'StatutoryNeonatalCarePayNonPensionable';
     const RATE_TYPE_RATE_PER_UNIT = 'RatePerUnit';
     const RATE_TYPE_MULTIPLE_OF_ORDINARY_EARNINGS_RATE = 'MultipleOfOrdinaryEarningsRate';
     const RATE_TYPE_FIXED_AMOUNT = 'FixedAmount';
@@ -264,6 +266,8 @@ class EarningsRate implements ModelInterface, ArrayAccess
             self::EARNINGS_TYPE_TIPS_NON_DIRECT,
             self::EARNINGS_TYPE_TIPS_DIRECT,
             self::EARNINGS_TYPE_TERMINATION_PAY,
+            self::EARNINGS_TYPE_STATUTORY_NEONATAL_CARE_PAY,
+            self::EARNINGS_TYPE_STATUTORY_NEONATAL_CARE_PAY_NON_PENSIONABLE,
         ];
     }
     

+ 97 - 13
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollUk/Employee.php

@@ -72,6 +72,8 @@ class Employee implements ModelInterface, ArrayAccess
         'payroll_calendar_id' => 'string',
         'updated_date_utc' => '\DateTime',
         'created_date_utc' => '\DateTime',
+        'ni_category' => '\XeroAPI\XeroPHP\Models\PayrollUk\NICategoryLetter',
+        'ni_categories' => '\XeroAPI\XeroPHP\Models\PayrollUk\NICategory[]',
         'national_insurance_number' => 'string',
         'is_off_payroll_worker' => 'bool'
     ];
@@ -96,6 +98,8 @@ class Employee implements ModelInterface, ArrayAccess
         'payroll_calendar_id' => 'uuid',
         'updated_date_utc' => 'date-time',
         'created_date_utc' => 'date-time',
+        'ni_category' => null,
+        'ni_categories' => null,
         'national_insurance_number' => null,
         'is_off_payroll_worker' => null
     ];
@@ -141,6 +145,8 @@ class Employee implements ModelInterface, ArrayAccess
         'payroll_calendar_id' => 'payrollCalendarID',
         'updated_date_utc' => 'updatedDateUTC',
         'created_date_utc' => 'createdDateUTC',
+        'ni_category' => 'niCategory',
+        'ni_categories' => 'niCategories',
         'national_insurance_number' => 'nationalInsuranceNumber',
         'is_off_payroll_worker' => 'isOffPayrollWorker'
     ];
@@ -165,6 +171,8 @@ class Employee implements ModelInterface, ArrayAccess
         'payroll_calendar_id' => 'setPayrollCalendarId',
         'updated_date_utc' => 'setUpdatedDateUtc',
         'created_date_utc' => 'setCreatedDateUtc',
+        'ni_category' => 'setNiCategory',
+        'ni_categories' => 'setNiCategories',
         'national_insurance_number' => 'setNationalInsuranceNumber',
         'is_off_payroll_worker' => 'setIsOffPayrollWorker'
     ];
@@ -189,6 +197,8 @@ class Employee implements ModelInterface, ArrayAccess
         'payroll_calendar_id' => 'getPayrollCalendarId',
         'updated_date_utc' => 'getUpdatedDateUtc',
         'created_date_utc' => 'getCreatedDateUtc',
+        'ni_category' => 'getNiCategory',
+        'ni_categories' => 'getNiCategories',
         'national_insurance_number' => 'getNationalInsuranceNumber',
         'is_off_payroll_worker' => 'getIsOffPayrollWorker'
     ];
@@ -282,6 +292,8 @@ class Employee implements ModelInterface, ArrayAccess
         $this->container['payroll_calendar_id'] = isset($data['payroll_calendar_id']) ? $data['payroll_calendar_id'] : null;
         $this->container['updated_date_utc'] = isset($data['updated_date_utc']) ? $data['updated_date_utc'] : null;
         $this->container['created_date_utc'] = isset($data['created_date_utc']) ? $data['created_date_utc'] : null;
+        $this->container['ni_category'] = isset($data['ni_category']) ? $data['ni_category'] : null;
+        $this->container['ni_categories'] = isset($data['ni_categories']) ? $data['ni_categories'] : null;
         $this->container['national_insurance_number'] = isset($data['national_insurance_number']) ? $data['national_insurance_number'] : null;
         $this->container['is_off_payroll_worker'] = isset($data['is_off_payroll_worker']) ? $data['is_off_payroll_worker'] : null;
     }
@@ -295,6 +307,24 @@ class Employee implements ModelInterface, ArrayAccess
     {
         $invalidProperties = [];
 
+        if ($this->container['title'] === null) {
+            $invalidProperties[] = "'title' can't be null";
+        }
+        if ($this->container['first_name'] === null) {
+            $invalidProperties[] = "'first_name' can't be null";
+        }
+        if ($this->container['last_name'] === null) {
+            $invalidProperties[] = "'last_name' can't be null";
+        }
+        if ($this->container['date_of_birth'] === null) {
+            $invalidProperties[] = "'date_of_birth' can't be null";
+        }
+        if ($this->container['address'] === null) {
+            $invalidProperties[] = "'address' can't be null";
+        }
+        if ($this->container['gender'] === null) {
+            $invalidProperties[] = "'gender' can't be null";
+        }
         $allowedValues = $this->getGenderAllowableValues();
         if (!is_null($this->container['gender']) && !in_array($this->container['gender'], $allowedValues, true)) {
             $invalidProperties[] = sprintf(
@@ -348,7 +378,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Gets title
      *
-     * @return string|null
+     * @return string
      */
     public function getTitle()
     {
@@ -358,7 +388,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Sets title
      *
-     * @param string|null $title Title of the employee
+     * @param string $title Title of the employee
      *
      * @return $this
      */
@@ -375,7 +405,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Gets first_name
      *
-     * @return string|null
+     * @return string
      */
     public function getFirstName()
     {
@@ -385,7 +415,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Sets first_name
      *
-     * @param string|null $first_name First name of employee
+     * @param string $first_name First name of employee
      *
      * @return $this
      */
@@ -402,7 +432,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Gets last_name
      *
-     * @return string|null
+     * @return string
      */
     public function getLastName()
     {
@@ -412,7 +442,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Sets last_name
      *
-     * @param string|null $last_name Last name of employee
+     * @param string $last_name Last name of employee
      *
      * @return $this
      */
@@ -429,7 +459,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Gets date_of_birth
      *
-     * @return \DateTime|null
+     * @return \DateTime
      */
     public function getDateOfBirth()
     {
@@ -439,7 +469,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Sets date_of_birth
      *
-     * @param \DateTime|null $date_of_birth Date of birth of the employee (YYYY-MM-DD)
+     * @param \DateTime $date_of_birth Date of birth of the employee (YYYY-MM-DD)
      *
      * @return $this
      */
@@ -456,7 +486,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Gets address
      *
-     * @return \XeroAPI\XeroPHP\Models\PayrollUk\Address|null
+     * @return \XeroAPI\XeroPHP\Models\PayrollUk\Address
      */
     public function getAddress()
     {
@@ -466,7 +496,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Sets address
      *
-     * @param \XeroAPI\XeroPHP\Models\PayrollUk\Address|null $address address
+     * @param \XeroAPI\XeroPHP\Models\PayrollUk\Address $address address
      *
      * @return $this
      */
@@ -510,7 +540,7 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Gets gender
      *
-     * @return string|null
+     * @return string
      */
     public function getGender()
     {
@@ -520,14 +550,14 @@ class Employee implements ModelInterface, ArrayAccess
     /**
      * Sets gender
      *
-     * @param string|null $gender The employee’s gender
+     * @param string $gender The employee’s gender
      *
      * @return $this
      */
     public function setGender($gender)
     {
         $allowedValues = $this->getGenderAllowableValues();
-        if (!is_null($gender) && !in_array($gender, $allowedValues, true)) {
+        if (!in_array($gender, $allowedValues, true)) {
             throw new \InvalidArgumentException(
                 sprintf(
                     "Invalid value for 'gender', must be one of '%s'",
@@ -705,6 +735,60 @@ class Employee implements ModelInterface, ArrayAccess
 
 
 
+    /**
+     * Gets ni_category
+     *
+     * @return \XeroAPI\XeroPHP\Models\PayrollUk\NICategoryLetter|null
+     */
+    public function getNiCategory()
+    {
+        return $this->container['ni_category'];
+    }
+
+    /**
+     * Sets ni_category
+     *
+     * @param \XeroAPI\XeroPHP\Models\PayrollUk\NICategoryLetter|null $ni_category ni_category
+     *
+     * @return $this
+     */
+    public function setNiCategory($ni_category)
+    {
+
+        $this->container['ni_category'] = $ni_category;
+
+        return $this;
+    }
+
+
+
+    /**
+     * Gets ni_categories
+     *
+     * @return \XeroAPI\XeroPHP\Models\PayrollUk\NICategory[]|null
+     */
+    public function getNiCategories()
+    {
+        return $this->container['ni_categories'];
+    }
+
+    /**
+     * Sets ni_categories
+     *
+     * @param \XeroAPI\XeroPHP\Models\PayrollUk\NICategory[]|null $ni_categories The employee's NI categories
+     *
+     * @return $this
+     */
+    public function setNiCategories($ni_categories)
+    {
+
+        $this->container['ni_categories'] = $ni_categories;
+
+        return $this;
+    }
+
+
+
     /**
      * Gets national_insurance_number
      *

+ 4 - 0
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollUk/EmployeeStatutoryLeaveBalance.php

@@ -174,6 +174,8 @@ class EmployeeStatutoryLeaveBalance implements ModelInterface, ArrayAccess
     const LEAVE_TYPE_MATERNITY = 'Maternity';
     const LEAVE_TYPE_PATERNITY = 'Paternity';
     const LEAVE_TYPE_SHAREDPARENTAL = 'Sharedparental';
+    const LEAVE_TYPE_BEREAVEMENT = 'Bereavement';
+    const LEAVE_TYPE_NEONATAL_CARE = 'NeonatalCare';
     const UNITS_HOURS = 'Hours';
     
 
@@ -191,6 +193,8 @@ class EmployeeStatutoryLeaveBalance implements ModelInterface, ArrayAccess
             self::LEAVE_TYPE_MATERNITY,
             self::LEAVE_TYPE_PATERNITY,
             self::LEAVE_TYPE_SHAREDPARENTAL,
+            self::LEAVE_TYPE_BEREAVEMENT,
+            self::LEAVE_TYPE_NEONATAL_CARE,
         ];
     }
     

+ 4 - 0
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollUk/EmployeeStatutoryLeaveSummary.php

@@ -194,6 +194,8 @@ class EmployeeStatutoryLeaveSummary implements ModelInterface, ArrayAccess
     const TYPE_MATERNITY = 'Maternity';
     const TYPE_PATERNITY = 'Paternity';
     const TYPE_SHAREDPARENTAL = 'Sharedparental';
+    const TYPE_BEREAVEMENT = 'Bereavement';
+    const TYPE_NEONATAL_CARE = 'NeonatalCare';
     const STATUS_PENDING = 'Pending';
     const STATUS_IN_PROGRESS = 'In-Progress';
     const STATUS_COMPLETED = 'Completed';
@@ -213,6 +215,8 @@ class EmployeeStatutoryLeaveSummary implements ModelInterface, ArrayAccess
             self::TYPE_MATERNITY,
             self::TYPE_PATERNITY,
             self::TYPE_SHAREDPARENTAL,
+            self::TYPE_BEREAVEMENT,
+            self::TYPE_NEONATAL_CARE,
         ];
     }
     

+ 57 - 66
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollUk/Employment.php

@@ -61,7 +61,8 @@ class Employment implements ModelInterface, ArrayAccess
         'payroll_calendar_id' => 'string',
         'start_date' => '\DateTime',
         'employee_number' => 'string',
-        'ni_category' => 'string'
+        'ni_category' => '\XeroAPI\XeroPHP\Models\PayrollUk\NICategoryLetter',
+        'ni_categories' => '\XeroAPI\XeroPHP\Models\PayrollUk\NICategory[]'
     ];
 
     /**
@@ -73,7 +74,8 @@ class Employment implements ModelInterface, ArrayAccess
         'payroll_calendar_id' => 'uuid',
         'start_date' => 'date',
         'employee_number' => null,
-        'ni_category' => null
+        'ni_category' => null,
+        'ni_categories' => null
     ];
 
     /**
@@ -106,7 +108,8 @@ class Employment implements ModelInterface, ArrayAccess
         'payroll_calendar_id' => 'payrollCalendarID',
         'start_date' => 'startDate',
         'employee_number' => 'employeeNumber',
-        'ni_category' => 'niCategory'
+        'ni_category' => 'niCategory',
+        'ni_categories' => 'niCategories'
     ];
 
     /**
@@ -118,7 +121,8 @@ class Employment implements ModelInterface, ArrayAccess
         'payroll_calendar_id' => 'setPayrollCalendarId',
         'start_date' => 'setStartDate',
         'employee_number' => 'setEmployeeNumber',
-        'ni_category' => 'setNiCategory'
+        'ni_category' => 'setNiCategory',
+        'ni_categories' => 'setNiCategories'
     ];
 
     /**
@@ -130,7 +134,8 @@ class Employment implements ModelInterface, ArrayAccess
         'payroll_calendar_id' => 'getPayrollCalendarId',
         'start_date' => 'getStartDate',
         'employee_number' => 'getEmployeeNumber',
-        'ni_category' => 'getNiCategory'
+        'ni_category' => 'getNiCategory',
+        'ni_categories' => 'getNiCategories'
     ];
 
     /**
@@ -174,46 +179,9 @@ class Employment implements ModelInterface, ArrayAccess
         return self::$openAPIModelName;
     }
 
-    const NI_CATEGORY_A = 'A';
-    const NI_CATEGORY_B = 'B';
-    const NI_CATEGORY_C = 'C';
-    const NI_CATEGORY_F = 'F';
-    const NI_CATEGORY_H = 'H';
-    const NI_CATEGORY_I = 'I';
-    const NI_CATEGORY_J = 'J';
-    const NI_CATEGORY_L = 'L';
-    const NI_CATEGORY_M = 'M';
-    const NI_CATEGORY_S = 'S';
-    const NI_CATEGORY_V = 'V';
-    const NI_CATEGORY_X = 'X';
-    const NI_CATEGORY_Z = 'Z';
     
 
     
-    /**
-     * Gets allowable values of the enum
-     *
-     * @return string[]
-     */
-    public function getNiCategoryAllowableValues()
-    {
-        return [
-            self::NI_CATEGORY_A,
-            self::NI_CATEGORY_B,
-            self::NI_CATEGORY_C,
-            self::NI_CATEGORY_F,
-            self::NI_CATEGORY_H,
-            self::NI_CATEGORY_I,
-            self::NI_CATEGORY_J,
-            self::NI_CATEGORY_L,
-            self::NI_CATEGORY_M,
-            self::NI_CATEGORY_S,
-            self::NI_CATEGORY_V,
-            self::NI_CATEGORY_X,
-            self::NI_CATEGORY_Z,
-        ];
-    }
-    
 
     /**
      * Associative array for storing property values
@@ -234,6 +202,7 @@ class Employment implements ModelInterface, ArrayAccess
         $this->container['start_date'] = isset($data['start_date']) ? $data['start_date'] : null;
         $this->container['employee_number'] = isset($data['employee_number']) ? $data['employee_number'] : null;
         $this->container['ni_category'] = isset($data['ni_category']) ? $data['ni_category'] : null;
+        $this->container['ni_categories'] = isset($data['ni_categories']) ? $data['ni_categories'] : null;
     }
 
     /**
@@ -245,14 +214,18 @@ class Employment implements ModelInterface, ArrayAccess
     {
         $invalidProperties = [];
 
-        $allowedValues = $this->getNiCategoryAllowableValues();
-        if (!is_null($this->container['ni_category']) && !in_array($this->container['ni_category'], $allowedValues, true)) {
-            $invalidProperties[] = sprintf(
-                "invalid value for 'ni_category', must be one of '%s'",
-                implode("', '", $allowedValues)
-            );
+        if ($this->container['payroll_calendar_id'] === null) {
+            $invalidProperties[] = "'payroll_calendar_id' can't be null";
+        }
+        if ($this->container['start_date'] === null) {
+            $invalidProperties[] = "'start_date' can't be null";
+        }
+        if ($this->container['employee_number'] === null) {
+            $invalidProperties[] = "'employee_number' can't be null";
+        }
+        if ($this->container['ni_categories'] === null) {
+            $invalidProperties[] = "'ni_categories' can't be null";
         }
-
         return $invalidProperties;
     }
 
@@ -271,7 +244,7 @@ class Employment implements ModelInterface, ArrayAccess
     /**
      * Gets payroll_calendar_id
      *
-     * @return string|null
+     * @return string
      */
     public function getPayrollCalendarId()
     {
@@ -281,7 +254,7 @@ class Employment implements ModelInterface, ArrayAccess
     /**
      * Sets payroll_calendar_id
      *
-     * @param string|null $payroll_calendar_id Xero unique identifier for the payroll calendar of the employee
+     * @param string $payroll_calendar_id Xero unique identifier for the payroll calendar of the employee
      *
      * @return $this
      */
@@ -298,7 +271,7 @@ class Employment implements ModelInterface, ArrayAccess
     /**
      * Gets start_date
      *
-     * @return \DateTime|null
+     * @return \DateTime
      */
     public function getStartDate()
     {
@@ -308,7 +281,7 @@ class Employment implements ModelInterface, ArrayAccess
     /**
      * Sets start_date
      *
-     * @param \DateTime|null $start_date Start date of the employment (YYYY-MM-DD)
+     * @param \DateTime $start_date Start date of the employment (YYYY-MM-DD)
      *
      * @return $this
      */
@@ -325,7 +298,7 @@ class Employment implements ModelInterface, ArrayAccess
     /**
      * Gets employee_number
      *
-     * @return string|null
+     * @return string
      */
     public function getEmployeeNumber()
     {
@@ -335,7 +308,7 @@ class Employment implements ModelInterface, ArrayAccess
     /**
      * Sets employee_number
      *
-     * @param string|null $employee_number The employment number of the employee
+     * @param string $employee_number The employment number of the employee
      *
      * @return $this
      */
@@ -352,7 +325,7 @@ class Employment implements ModelInterface, ArrayAccess
     /**
      * Gets ni_category
      *
-     * @return string|null
+     * @return \XeroAPI\XeroPHP\Models\PayrollUk\NICategoryLetter|null
      */
     public function getNiCategory()
     {
@@ -362,21 +335,12 @@ class Employment implements ModelInterface, ArrayAccess
     /**
      * Sets ni_category
      *
-     * @param string|null $ni_category The NI Category of the employee
+     * @param \XeroAPI\XeroPHP\Models\PayrollUk\NICategoryLetter|null $ni_category ni_category
      *
      * @return $this
      */
     public function setNiCategory($ni_category)
     {
-        $allowedValues = $this->getNiCategoryAllowableValues();
-        if (!is_null($ni_category) && !in_array($ni_category, $allowedValues, true)) {
-            throw new \InvalidArgumentException(
-                sprintf(
-                    "Invalid value for 'ni_category', must be one of '%s'",
-                    implode("', '", $allowedValues)
-                )
-            );
-        }
 
         $this->container['ni_category'] = $ni_category;
 
@@ -384,6 +348,33 @@ class Employment implements ModelInterface, ArrayAccess
     }
 
 
+
+    /**
+     * Gets ni_categories
+     *
+     * @return \XeroAPI\XeroPHP\Models\PayrollUk\NICategory[]
+     */
+    public function getNiCategories()
+    {
+        return $this->container['ni_categories'];
+    }
+
+    /**
+     * Sets ni_categories
+     *
+     * @param \XeroAPI\XeroPHP\Models\PayrollUk\NICategory[] $ni_categories The employee's NI categories
+     *
+     * @return $this
+     */
+    public function setNiCategories($ni_categories)
+    {
+
+        $this->container['ni_categories'] = $ni_categories;
+
+        return $this;
+    }
+
+
     /**
      * Returns true if offset exists. False otherwise.
      *

+ 443 - 0
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollUk/NICategory.php

@@ -0,0 +1,443 @@
+<?php
+/**
+ * NICategory
+ *
+ * PHP version 5
+ *
+ * @category Class
+ * @package  XeroAPI\XeroPHP
+ * @author   OpenAPI Generator team
+ * @link     https://openapi-generator.tech
+ */
+
+/**
+ * Xero Payroll UK
+ *
+ * This is the Xero Payroll API for orgs in the UK region.
+ *
+ * Contact: api@xero.com
+ * Generated by: https://openapi-generator.tech
+ * OpenAPI Generator version: 5.4.0
+ */
+
+/**
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+namespace XeroAPI\XeroPHP\Models\PayrollUk;
+
+use \ArrayAccess;
+use \XeroAPI\XeroPHP\PayrollUkObjectSerializer;
+use \XeroAPI\XeroPHP\StringUtil;
+use ReturnTypeWillChange;
+
+/**
+ * NICategory Class Doc Comment
+ *
+ * @category Class
+ * @package  XeroAPI\XeroPHP
+ * @author   OpenAPI Generator team
+ * @link     https://openapi-generator.tech
+ */
+class NICategory implements ModelInterface, ArrayAccess
+{
+    const DISCRIMINATOR = null;
+
+    /**
+      * The original name of the model.
+      *
+      * @var string
+      */
+    protected static $openAPIModelName = 'NICategory';
+
+    /**
+      * Array of property to type mappings. Used for (de)serialization
+      *
+      * @var string[]
+      */
+    protected static $openAPITypes = [
+        'start_date' => '\DateTime',
+        'ni_category' => '\XeroAPI\XeroPHP\Models\PayrollUk\NICategoryLetter',
+        'ni_category_id' => 'float',
+        'date_first_employed_as_civilian' => '\DateTime',
+        'workplace_postcode' => 'string'
+    ];
+
+    /**
+      * Array of property to format mappings. Used for (de)serialization
+      *
+      * @var string[]
+      */
+    protected static $openAPIFormats = [
+        'start_date' => 'date',
+        'ni_category' => null,
+        'ni_category_id' => null,
+        'date_first_employed_as_civilian' => 'date',
+        'workplace_postcode' => null
+    ];
+
+    /**
+     * Array of property to type mappings. Used for (de)serialization
+     *
+     * @return array
+     */
+    public static function openAPITypes()
+    {
+        return self::$openAPITypes;
+    }
+
+    /**
+     * Array of property to format mappings. Used for (de)serialization
+     *
+     * @return array
+     */
+    public static function openAPIFormats()
+    {
+        return self::$openAPIFormats;
+    }
+
+    /**
+     * Array of attributes where the key is the local name,
+     * and the value is the original name
+     *
+     * @var string[]
+     */
+    protected static $attributeMap = [
+        'start_date' => 'startDate',
+        'ni_category' => 'niCategory',
+        'ni_category_id' => 'niCategoryID',
+        'date_first_employed_as_civilian' => 'dateFirstEmployedAsCivilian',
+        'workplace_postcode' => 'workplacePostcode'
+    ];
+
+    /**
+     * Array of attributes to setter functions (for deserialization of responses)
+     *
+     * @var string[]
+     */
+    protected static $setters = [
+        'start_date' => 'setStartDate',
+        'ni_category' => 'setNiCategory',
+        'ni_category_id' => 'setNiCategoryId',
+        'date_first_employed_as_civilian' => 'setDateFirstEmployedAsCivilian',
+        'workplace_postcode' => 'setWorkplacePostcode'
+    ];
+
+    /**
+     * Array of attributes to getter functions (for serialization of requests)
+     *
+     * @var string[]
+     */
+    protected static $getters = [
+        'start_date' => 'getStartDate',
+        'ni_category' => 'getNiCategory',
+        'ni_category_id' => 'getNiCategoryId',
+        'date_first_employed_as_civilian' => 'getDateFirstEmployedAsCivilian',
+        'workplace_postcode' => 'getWorkplacePostcode'
+    ];
+
+    /**
+     * Array of attributes where the key is the local name,
+     * and the value is the original name
+     *
+     * @return array
+     */
+    public static function attributeMap()
+    {
+        return self::$attributeMap;
+    }
+
+    /**
+     * Array of attributes to setter functions (for deserialization of responses)
+     *
+     * @return array
+     */
+    public static function setters()
+    {
+        return self::$setters;
+    }
+
+    /**
+     * Array of attributes to getter functions (for serialization of requests)
+     *
+     * @return array
+     */
+    public static function getters()
+    {
+        return self::$getters;
+    }
+
+    /**
+     * The original name of the model.
+     *
+     * @return string
+     */
+    public function getModelName()
+    {
+        return self::$openAPIModelName;
+    }
+
+    
+
+    
+
+    /**
+     * Associative array for storing property values
+     *
+     * @var mixed[]
+     */
+    protected $container = [];
+
+    /**
+     * Constructor
+     *
+     * @param mixed[] $data Associated array of property values
+     *                      initializing the model
+     */
+    public function __construct(array $data = null)
+    {
+        $this->container['start_date'] = isset($data['start_date']) ? $data['start_date'] : null;
+        $this->container['ni_category'] = isset($data['ni_category']) ? $data['ni_category'] : null;
+        $this->container['ni_category_id'] = isset($data['ni_category_id']) ? $data['ni_category_id'] : null;
+        $this->container['date_first_employed_as_civilian'] = isset($data['date_first_employed_as_civilian']) ? $data['date_first_employed_as_civilian'] : null;
+        $this->container['workplace_postcode'] = isset($data['workplace_postcode']) ? $data['workplace_postcode'] : null;
+    }
+
+    /**
+     * Show all the invalid properties with reasons.
+     *
+     * @return array invalid properties with reasons
+     */
+    public function listInvalidProperties()
+    {
+        $invalidProperties = [];
+
+        if ($this->container['ni_category'] === null) {
+            $invalidProperties[] = "'ni_category' can't be null";
+        }
+        if ($this->container['workplace_postcode'] === null) {
+            $invalidProperties[] = "'workplace_postcode' can't be null";
+        }
+        return $invalidProperties;
+    }
+
+    /**
+     * Validate all the properties in the model
+     * return true if all passed
+     *
+     * @return bool True if all properties are valid
+     */
+    public function valid()
+    {
+        return count($this->listInvalidProperties()) === 0;
+    }
+
+
+    /**
+     * Gets start_date
+     *
+     * @return \DateTime|null
+     */
+    public function getStartDate()
+    {
+        return $this->container['start_date'];
+    }
+
+    /**
+     * Sets start_date
+     *
+     * @param \DateTime|null $start_date The start date of the NI category (YYYY-MM-DD)
+     *
+     * @return $this
+     */
+    public function setStartDate($start_date)
+    {
+
+        $this->container['start_date'] = $start_date;
+
+        return $this;
+    }
+
+
+
+    /**
+     * Gets ni_category
+     *
+     * @return \XeroAPI\XeroPHP\Models\PayrollUk\NICategoryLetter
+     */
+    public function getNiCategory()
+    {
+        return $this->container['ni_category'];
+    }
+
+    /**
+     * Sets ni_category
+     *
+     * @param \XeroAPI\XeroPHP\Models\PayrollUk\NICategoryLetter $ni_category ni_category
+     *
+     * @return $this
+     */
+    public function setNiCategory($ni_category)
+    {
+
+        $this->container['ni_category'] = $ni_category;
+
+        return $this;
+    }
+
+
+
+    /**
+     * Gets ni_category_id
+     *
+     * @return float|null
+     */
+    public function getNiCategoryId()
+    {
+        return $this->container['ni_category_id'];
+    }
+
+    /**
+     * Sets ni_category_id
+     *
+     * @param float|null $ni_category_id Xero unique identifier for the NI category
+     *
+     * @return $this
+     */
+    public function setNiCategoryId($ni_category_id)
+    {
+
+        $this->container['ni_category_id'] = $ni_category_id;
+
+        return $this;
+    }
+
+
+
+    /**
+     * Gets date_first_employed_as_civilian
+     *
+     * @return \DateTime|null
+     */
+    public function getDateFirstEmployedAsCivilian()
+    {
+        return $this->container['date_first_employed_as_civilian'];
+    }
+
+    /**
+     * Sets date_first_employed_as_civilian
+     *
+     * @param \DateTime|null $date_first_employed_as_civilian The date in which the employee was first employed as a civilian (YYYY-MM-DD)
+     *
+     * @return $this
+     */
+    public function setDateFirstEmployedAsCivilian($date_first_employed_as_civilian)
+    {
+
+        $this->container['date_first_employed_as_civilian'] = $date_first_employed_as_civilian;
+
+        return $this;
+    }
+
+
+
+    /**
+     * Gets workplace_postcode
+     *
+     * @return string
+     */
+    public function getWorkplacePostcode()
+    {
+        return $this->container['workplace_postcode'];
+    }
+
+    /**
+     * Sets workplace_postcode
+     *
+     * @param string $workplace_postcode The workplace postcode
+     *
+     * @return $this
+     */
+    public function setWorkplacePostcode($workplace_postcode)
+    {
+
+        $this->container['workplace_postcode'] = $workplace_postcode;
+
+        return $this;
+    }
+
+
+    /**
+     * Returns true if offset exists. False otherwise.
+     *
+     * @param integer $offset Offset
+     *
+     * @return boolean
+     */
+    #[\ReturnTypeWillChange]
+    public function offsetExists($offset)
+    {
+        return isset($this->container[$offset]);
+    }
+
+    /**
+     * Gets offset.
+     *
+     * @param integer $offset Offset
+     *
+     * @return mixed
+     */
+    #[\ReturnTypeWillChange]
+    public function offsetGet($offset)
+    {
+        return isset($this->container[$offset]) ? $this->container[$offset] : null;
+    }
+
+    /**
+     * Sets value based on offset.
+     *
+     * @param integer $offset Offset
+     * @param mixed   $value  Value to be set
+     *
+     * @return void
+     */
+    #[\ReturnTypeWillChange]
+    public function offsetSet($offset, $value)
+    {
+        if (is_null($offset)) {
+            $this->container[] = $value;
+        } else {
+            $this->container[$offset] = $value;
+        }
+    }
+
+    /**
+     * Unsets offset.
+     *
+     * @param integer $offset Offset
+     *
+     * @return void
+     */
+    #[\ReturnTypeWillChange]
+    public function offsetUnset($offset)
+    {
+        unset($this->container[$offset]);
+    }
+
+    /**
+     * Gets the string presentation of the object
+     *
+     * @return string
+     */
+    public function __toString()
+    {
+        return json_encode(
+            PayrollUkObjectSerializer::sanitizeForSerialization($this),
+            JSON_PRETTY_PRINT
+        );
+    }
+}
+
+

+ 94 - 0
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollUk/NICategoryLetter.php

@@ -0,0 +1,94 @@
+<?php
+/**
+ * NICategoryLetter
+ *
+ * PHP version 5
+ *
+ * @category Class
+ * @package  XeroAPI\XeroPHP
+ * @author   OpenAPI Generator team
+ * @link     https://openapi-generator.tech
+ */
+
+/**
+ * Xero Payroll UK
+ *
+ * This is the Xero Payroll API for orgs in the UK region.
+ *
+ * Contact: api@xero.com
+ * Generated by: https://openapi-generator.tech
+ * OpenAPI Generator version: 5.4.0
+ */
+
+/**
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+namespace XeroAPI\XeroPHP\Models\PayrollUk;
+use \XeroAPI\XeroPHP\PayrollUkObjectSerializer;
+use \XeroAPI\XeroPHP\StringUtil;
+use ReturnTypeWillChange;
+
+/**
+ * NICategoryLetter Class Doc Comment
+ *
+ * @category Class
+ * @description The employee&#39;s NI Category letter.
+ * @package  XeroAPI\XeroPHP
+ * @author   OpenAPI Generator team
+ * @link     https://openapi-generator.tech
+ */
+class NICategoryLetter
+{
+    /**
+     * Possible values of this enum
+     */
+    const A = 'A';
+    const B = 'B';
+    const C = 'C';
+    const F = 'F';
+    const H = 'H';
+    const I = 'I';
+    const J = 'J';
+    const L = 'L';
+    const M = 'M';
+    const S = 'S';
+    const V = 'V';
+    const X = 'X';
+    const Z = 'Z';
+    const D = 'D';
+    const E = 'E';
+    const K = 'K';
+    const N = 'N';
+    
+    /**
+     * Gets allowable values of the enum
+     * @return string[]
+     */
+    public static function getAllowableEnumValues()
+    {
+        return [
+            self::A,
+            self::B,
+            self::C,
+            self::F,
+            self::H,
+            self::I,
+            self::J,
+            self::L,
+            self::M,
+            self::S,
+            self::V,
+            self::X,
+            self::Z,
+            self::D,
+            self::E,
+            self::K,
+            self::N,
+        ];
+    }
+}
+
+

+ 349 - 0
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollUk/NICategoryOneOf.php

@@ -0,0 +1,349 @@
+<?php
+/**
+ * NICategoryOneOf
+ *
+ * PHP version 5
+ *
+ * @category Class
+ * @package  XeroAPI\XeroPHP
+ * @author   OpenAPI Generator team
+ * @link     https://openapi-generator.tech
+ */
+
+/**
+ * Xero Payroll UK
+ *
+ * This is the Xero Payroll API for orgs in the UK region.
+ *
+ * Contact: api@xero.com
+ * Generated by: https://openapi-generator.tech
+ * OpenAPI Generator version: 5.4.0
+ */
+
+/**
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+namespace XeroAPI\XeroPHP\Models\PayrollUk;
+
+use \ArrayAccess;
+use \XeroAPI\XeroPHP\PayrollUkObjectSerializer;
+use \XeroAPI\XeroPHP\StringUtil;
+use ReturnTypeWillChange;
+
+/**
+ * NICategoryOneOf Class Doc Comment
+ *
+ * @category Class
+ * @package  XeroAPI\XeroPHP
+ * @author   OpenAPI Generator team
+ * @link     https://openapi-generator.tech
+ */
+class NICategoryOneOf implements ModelInterface, ArrayAccess
+{
+    const DISCRIMINATOR = null;
+
+    /**
+      * The original name of the model.
+      *
+      * @var string
+      */
+    protected static $openAPIModelName = 'NICategory_oneOf';
+
+    /**
+      * Array of property to type mappings. Used for (de)serialization
+      *
+      * @var string[]
+      */
+    protected static $openAPITypes = [
+        'ni_category' => 'string'
+    ];
+
+    /**
+      * Array of property to format mappings. Used for (de)serialization
+      *
+      * @var string[]
+      */
+    protected static $openAPIFormats = [
+        'ni_category' => null
+    ];
+
+    /**
+     * Array of property to type mappings. Used for (de)serialization
+     *
+     * @return array
+     */
+    public static function openAPITypes()
+    {
+        return self::$openAPITypes;
+    }
+
+    /**
+     * Array of property to format mappings. Used for (de)serialization
+     *
+     * @return array
+     */
+    public static function openAPIFormats()
+    {
+        return self::$openAPIFormats;
+    }
+
+    /**
+     * Array of attributes where the key is the local name,
+     * and the value is the original name
+     *
+     * @var string[]
+     */
+    protected static $attributeMap = [
+        'ni_category' => 'niCategory'
+    ];
+
+    /**
+     * Array of attributes to setter functions (for deserialization of responses)
+     *
+     * @var string[]
+     */
+    protected static $setters = [
+        'ni_category' => 'setNiCategory'
+    ];
+
+    /**
+     * Array of attributes to getter functions (for serialization of requests)
+     *
+     * @var string[]
+     */
+    protected static $getters = [
+        'ni_category' => 'getNiCategory'
+    ];
+
+    /**
+     * Array of attributes where the key is the local name,
+     * and the value is the original name
+     *
+     * @return array
+     */
+    public static function attributeMap()
+    {
+        return self::$attributeMap;
+    }
+
+    /**
+     * Array of attributes to setter functions (for deserialization of responses)
+     *
+     * @return array
+     */
+    public static function setters()
+    {
+        return self::$setters;
+    }
+
+    /**
+     * Array of attributes to getter functions (for serialization of requests)
+     *
+     * @return array
+     */
+    public static function getters()
+    {
+        return self::$getters;
+    }
+
+    /**
+     * The original name of the model.
+     *
+     * @return string
+     */
+    public function getModelName()
+    {
+        return self::$openAPIModelName;
+    }
+
+    const NI_CATEGORY_F = 'F';
+    const NI_CATEGORY_I = 'I';
+    const NI_CATEGORY_L = 'L';
+    const NI_CATEGORY_S = 'S';
+    const NI_CATEGORY_N = 'N';
+    const NI_CATEGORY_E = 'E';
+    const NI_CATEGORY_D = 'D';
+    const NI_CATEGORY_K = 'K';
+    
+
+    
+    /**
+     * Gets allowable values of the enum
+     *
+     * @return string[]
+     */
+    public function getNiCategoryAllowableValues()
+    {
+        return [
+            self::NI_CATEGORY_F,
+            self::NI_CATEGORY_I,
+            self::NI_CATEGORY_L,
+            self::NI_CATEGORY_S,
+            self::NI_CATEGORY_N,
+            self::NI_CATEGORY_E,
+            self::NI_CATEGORY_D,
+            self::NI_CATEGORY_K,
+        ];
+    }
+    
+
+    /**
+     * Associative array for storing property values
+     *
+     * @var mixed[]
+     */
+    protected $container = [];
+
+    /**
+     * Constructor
+     *
+     * @param mixed[] $data Associated array of property values
+     *                      initializing the model
+     */
+    public function __construct(array $data = null)
+    {
+        $this->container['ni_category'] = isset($data['ni_category']) ? $data['ni_category'] : null;
+    }
+
+    /**
+     * Show all the invalid properties with reasons.
+     *
+     * @return array invalid properties with reasons
+     */
+    public function listInvalidProperties()
+    {
+        $invalidProperties = [];
+
+        $allowedValues = $this->getNiCategoryAllowableValues();
+        if (!is_null($this->container['ni_category']) && !in_array($this->container['ni_category'], $allowedValues, true)) {
+            $invalidProperties[] = sprintf(
+                "invalid value for 'ni_category', must be one of '%s'",
+                implode("', '", $allowedValues)
+            );
+        }
+
+        return $invalidProperties;
+    }
+
+    /**
+     * Validate all the properties in the model
+     * return true if all passed
+     *
+     * @return bool True if all properties are valid
+     */
+    public function valid()
+    {
+        return count($this->listInvalidProperties()) === 0;
+    }
+
+
+    /**
+     * Gets ni_category
+     *
+     * @return string|null
+     */
+    public function getNiCategory()
+    {
+        return $this->container['ni_category'];
+    }
+
+    /**
+     * Sets ni_category
+     *
+     * @param string|null $ni_category ni_category
+     *
+     * @return $this
+     */
+    public function setNiCategory($ni_category)
+    {
+        $allowedValues = $this->getNiCategoryAllowableValues();
+        if (!is_null($ni_category) && !in_array($ni_category, $allowedValues, true)) {
+            throw new \InvalidArgumentException(
+                sprintf(
+                    "Invalid value for 'ni_category', must be one of '%s'",
+                    implode("', '", $allowedValues)
+                )
+            );
+        }
+
+        $this->container['ni_category'] = $ni_category;
+
+        return $this;
+    }
+
+
+    /**
+     * Returns true if offset exists. False otherwise.
+     *
+     * @param integer $offset Offset
+     *
+     * @return boolean
+     */
+    #[\ReturnTypeWillChange]
+    public function offsetExists($offset)
+    {
+        return isset($this->container[$offset]);
+    }
+
+    /**
+     * Gets offset.
+     *
+     * @param integer $offset Offset
+     *
+     * @return mixed
+     */
+    #[\ReturnTypeWillChange]
+    public function offsetGet($offset)
+    {
+        return isset($this->container[$offset]) ? $this->container[$offset] : null;
+    }
+
+    /**
+     * Sets value based on offset.
+     *
+     * @param integer $offset Offset
+     * @param mixed   $value  Value to be set
+     *
+     * @return void
+     */
+    #[\ReturnTypeWillChange]
+    public function offsetSet($offset, $value)
+    {
+        if (is_null($offset)) {
+            $this->container[] = $value;
+        } else {
+            $this->container[$offset] = $value;
+        }
+    }
+
+    /**
+     * Unsets offset.
+     *
+     * @param integer $offset Offset
+     *
+     * @return void
+     */
+    #[\ReturnTypeWillChange]
+    public function offsetUnset($offset)
+    {
+        unset($this->container[$offset]);
+    }
+
+    /**
+     * Gets the string presentation of the object
+     *
+     * @return string
+     */
+    public function __toString()
+    {
+        return json_encode(
+            PayrollUkObjectSerializer::sanitizeForSerialization($this),
+            JSON_PRETTY_PRINT
+        );
+    }
+}
+
+

+ 335 - 0
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/lib/Models/PayrollUk/NICategoryOneOf1.php

@@ -0,0 +1,335 @@
+<?php
+/**
+ * NICategoryOneOf1
+ *
+ * PHP version 5
+ *
+ * @category Class
+ * @package  XeroAPI\XeroPHP
+ * @author   OpenAPI Generator team
+ * @link     https://openapi-generator.tech
+ */
+
+/**
+ * Xero Payroll UK
+ *
+ * This is the Xero Payroll API for orgs in the UK region.
+ *
+ * Contact: api@xero.com
+ * Generated by: https://openapi-generator.tech
+ * OpenAPI Generator version: 5.4.0
+ */
+
+/**
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+namespace XeroAPI\XeroPHP\Models\PayrollUk;
+
+use \ArrayAccess;
+use \XeroAPI\XeroPHP\PayrollUkObjectSerializer;
+use \XeroAPI\XeroPHP\StringUtil;
+use ReturnTypeWillChange;
+
+/**
+ * NICategoryOneOf1 Class Doc Comment
+ *
+ * @category Class
+ * @package  XeroAPI\XeroPHP
+ * @author   OpenAPI Generator team
+ * @link     https://openapi-generator.tech
+ */
+class NICategoryOneOf1 implements ModelInterface, ArrayAccess
+{
+    const DISCRIMINATOR = null;
+
+    /**
+      * The original name of the model.
+      *
+      * @var string
+      */
+    protected static $openAPIModelName = 'NICategory_oneOf_1';
+
+    /**
+      * Array of property to type mappings. Used for (de)serialization
+      *
+      * @var string[]
+      */
+    protected static $openAPITypes = [
+        'ni_category' => 'string'
+    ];
+
+    /**
+      * Array of property to format mappings. Used for (de)serialization
+      *
+      * @var string[]
+      */
+    protected static $openAPIFormats = [
+        'ni_category' => null
+    ];
+
+    /**
+     * Array of property to type mappings. Used for (de)serialization
+     *
+     * @return array
+     */
+    public static function openAPITypes()
+    {
+        return self::$openAPITypes;
+    }
+
+    /**
+     * Array of property to format mappings. Used for (de)serialization
+     *
+     * @return array
+     */
+    public static function openAPIFormats()
+    {
+        return self::$openAPIFormats;
+    }
+
+    /**
+     * Array of attributes where the key is the local name,
+     * and the value is the original name
+     *
+     * @var string[]
+     */
+    protected static $attributeMap = [
+        'ni_category' => 'niCategory'
+    ];
+
+    /**
+     * Array of attributes to setter functions (for deserialization of responses)
+     *
+     * @var string[]
+     */
+    protected static $setters = [
+        'ni_category' => 'setNiCategory'
+    ];
+
+    /**
+     * Array of attributes to getter functions (for serialization of requests)
+     *
+     * @var string[]
+     */
+    protected static $getters = [
+        'ni_category' => 'getNiCategory'
+    ];
+
+    /**
+     * Array of attributes where the key is the local name,
+     * and the value is the original name
+     *
+     * @return array
+     */
+    public static function attributeMap()
+    {
+        return self::$attributeMap;
+    }
+
+    /**
+     * Array of attributes to setter functions (for deserialization of responses)
+     *
+     * @return array
+     */
+    public static function setters()
+    {
+        return self::$setters;
+    }
+
+    /**
+     * Array of attributes to getter functions (for serialization of requests)
+     *
+     * @return array
+     */
+    public static function getters()
+    {
+        return self::$getters;
+    }
+
+    /**
+     * The original name of the model.
+     *
+     * @return string
+     */
+    public function getModelName()
+    {
+        return self::$openAPIModelName;
+    }
+
+    const NI_CATEGORY_V = 'V';
+    
+
+    
+    /**
+     * Gets allowable values of the enum
+     *
+     * @return string[]
+     */
+    public function getNiCategoryAllowableValues()
+    {
+        return [
+            self::NI_CATEGORY_V,
+        ];
+    }
+    
+
+    /**
+     * Associative array for storing property values
+     *
+     * @var mixed[]
+     */
+    protected $container = [];
+
+    /**
+     * Constructor
+     *
+     * @param mixed[] $data Associated array of property values
+     *                      initializing the model
+     */
+    public function __construct(array $data = null)
+    {
+        $this->container['ni_category'] = isset($data['ni_category']) ? $data['ni_category'] : null;
+    }
+
+    /**
+     * Show all the invalid properties with reasons.
+     *
+     * @return array invalid properties with reasons
+     */
+    public function listInvalidProperties()
+    {
+        $invalidProperties = [];
+
+        $allowedValues = $this->getNiCategoryAllowableValues();
+        if (!is_null($this->container['ni_category']) && !in_array($this->container['ni_category'], $allowedValues, true)) {
+            $invalidProperties[] = sprintf(
+                "invalid value for 'ni_category', must be one of '%s'",
+                implode("', '", $allowedValues)
+            );
+        }
+
+        return $invalidProperties;
+    }
+
+    /**
+     * Validate all the properties in the model
+     * return true if all passed
+     *
+     * @return bool True if all properties are valid
+     */
+    public function valid()
+    {
+        return count($this->listInvalidProperties()) === 0;
+    }
+
+
+    /**
+     * Gets ni_category
+     *
+     * @return string|null
+     */
+    public function getNiCategory()
+    {
+        return $this->container['ni_category'];
+    }
+
+    /**
+     * Sets ni_category
+     *
+     * @param string|null $ni_category ni_category
+     *
+     * @return $this
+     */
+    public function setNiCategory($ni_category)
+    {
+        $allowedValues = $this->getNiCategoryAllowableValues();
+        if (!is_null($ni_category) && !in_array($ni_category, $allowedValues, true)) {
+            throw new \InvalidArgumentException(
+                sprintf(
+                    "Invalid value for 'ni_category', must be one of '%s'",
+                    implode("', '", $allowedValues)
+                )
+            );
+        }
+
+        $this->container['ni_category'] = $ni_category;
+
+        return $this;
+    }
+
+
+    /**
+     * Returns true if offset exists. False otherwise.
+     *
+     * @param integer $offset Offset
+     *
+     * @return boolean
+     */
+    #[\ReturnTypeWillChange]
+    public function offsetExists($offset)
+    {
+        return isset($this->container[$offset]);
+    }
+
+    /**
+     * Gets offset.
+     *
+     * @param integer $offset Offset
+     *
+     * @return mixed
+     */
+    #[\ReturnTypeWillChange]
+    public function offsetGet($offset)
+    {
+        return isset($this->container[$offset]) ? $this->container[$offset] : null;
+    }
+
+    /**
+     * Sets value based on offset.
+     *
+     * @param integer $offset Offset
+     * @param mixed   $value  Value to be set
+     *
+     * @return void
+     */
+    #[\ReturnTypeWillChange]
+    public function offsetSet($offset, $value)
+    {
+        if (is_null($offset)) {
+            $this->container[] = $value;
+        } else {
+            $this->container[$offset] = $value;
+        }
+    }
+
+    /**
+     * Unsets offset.
+     *
+     * @param integer $offset Offset
+     *
+     * @return void
+     */
+    #[\ReturnTypeWillChange]
+    public function offsetUnset($offset)
+    {
+        unset($this->container[$offset]);
+    }
+
+    /**
+     * Gets the string presentation of the object
+     *
+     * @return string
+     */
+    public function __toString()
+    {
+        return json_encode(
+            PayrollUkObjectSerializer::sanitizeForSerialization($this),
+            JSON_PRETTY_PRINT
+        );
+    }
+}
+
+

+ 0 - 1973
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Api/AccountingApiTest.php

@@ -1,1973 +0,0 @@
-<?php
-/**
- * AccountingApiTest
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the endpoint.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-use \SidneyAllen\XeroPHP\Configuration;
-use \SidneyAllen\XeroPHP\ApiException;
-use \SidneyAllen\XeroPHP\ObjectSerializer;
-
-/**
- * AccountingApiTest Class Doc Comment
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-class AccountingApiTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test cases
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test case for createAccount
-     *
-     * Allows you to create a new chart of accounts.
-     *
-     */
-    public function testCreateAccount()
-    {
-    }
-
-    /**
-     * Test case for createAccountAttachmentByFileName
-     *
-     * Allows you to create Attachment on Account.
-     *
-     */
-    public function testCreateAccountAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for createBankTransaction
-     *
-     * Allows you to create a spend or receive money transaction.
-     *
-     */
-    public function testCreateBankTransaction()
-    {
-    }
-
-    /**
-     * Test case for createBankTransactionAttachmentByFileName
-     *
-     * Allows you to createa an Attachment on BankTransaction by Filename.
-     *
-     */
-    public function testCreateBankTransactionAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for createBankTransactionHistoryRecord
-     *
-     * Allows you to create history record for a bank transactions.
-     *
-     */
-    public function testCreateBankTransactionHistoryRecord()
-    {
-    }
-
-    /**
-     * Test case for createBankTransfer
-     *
-     * Allows you to create a bank transfers.
-     *
-     */
-    public function testCreateBankTransfer()
-    {
-    }
-
-    /**
-     * Test case for createBankTransferAttachmentByFileName
-     *
-     * .
-     *
-     */
-    public function testCreateBankTransferAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for createBankTransferHistoryRecord
-     *
-     * .
-     *
-     */
-    public function testCreateBankTransferHistoryRecord()
-    {
-    }
-
-    /**
-     * Test case for createBatchPayment
-     *
-     * Create one or many BatchPayments for invoices.
-     *
-     */
-    public function testCreateBatchPayment()
-    {
-    }
-
-    /**
-     * Test case for createBatchPaymentHistoryRecord
-     *
-     * Allows you to create a history record for a Batch Payment.
-     *
-     */
-    public function testCreateBatchPaymentHistoryRecord()
-    {
-    }
-
-    /**
-     * Test case for createBrandingThemePaymentServices
-     *
-     * Allow for the creation of new custom payment service for specified Branding Theme.
-     *
-     */
-    public function testCreateBrandingThemePaymentServices()
-    {
-    }
-
-    /**
-     * Test case for createContact
-     *
-     * .
-     *
-     */
-    public function testCreateContact()
-    {
-    }
-
-    /**
-     * Test case for createContactAttachmentByFileName
-     *
-     * .
-     *
-     */
-    public function testCreateContactAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for createContactGroup
-     *
-     * Allows you to create a contact group.
-     *
-     */
-    public function testCreateContactGroup()
-    {
-    }
-
-    /**
-     * Test case for createContactGroupContacts
-     *
-     * Allows you to add Contacts to a Contract Group.
-     *
-     */
-    public function testCreateContactGroupContacts()
-    {
-    }
-
-    /**
-     * Test case for createContactHistory
-     *
-     * Allows you to retrieve a history records of an Contact.
-     *
-     */
-    public function testCreateContactHistory()
-    {
-    }
-
-    /**
-     * Test case for createCreditNote
-     *
-     * Allows you to create a credit note.
-     *
-     */
-    public function testCreateCreditNote()
-    {
-    }
-
-    /**
-     * Test case for createCreditNoteAllocation
-     *
-     * Allows you to create Allocation on CreditNote.
-     *
-     */
-    public function testCreateCreditNoteAllocation()
-    {
-    }
-
-    /**
-     * Test case for createCreditNoteAttachmentByFileName
-     *
-     * Allows you to create Attachments on CreditNote by file name.
-     *
-     */
-    public function testCreateCreditNoteAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for createCreditNoteHistory
-     *
-     * Allows you to retrieve a history records of an CreditNote.
-     *
-     */
-    public function testCreateCreditNoteHistory()
-    {
-    }
-
-    /**
-     * Test case for createCurrency
-     *
-     * .
-     *
-     */
-    public function testCreateCurrency()
-    {
-    }
-
-    /**
-     * Test case for createEmployee
-     *
-     * Allows you to create new employees used in Xero payrun.
-     *
-     */
-    public function testCreateEmployee()
-    {
-    }
-
-    /**
-     * Test case for createExpenseClaim
-     *
-     * Allows you to retrieve expense claims.
-     *
-     */
-    public function testCreateExpenseClaim()
-    {
-    }
-
-    /**
-     * Test case for createExpenseClaimHistory
-     *
-     * Allows you to create a history records of an ExpenseClaim.
-     *
-     */
-    public function testCreateExpenseClaimHistory()
-    {
-    }
-
-    /**
-     * Test case for createInvoice
-     *
-     * Allows you to create any sales invoices or purchase bills.
-     *
-     */
-    public function testCreateInvoice()
-    {
-    }
-
-    /**
-     * Test case for createInvoiceAttachmentByFileName
-     *
-     * Allows you to create an Attachment on invoices or purchase bills by it's filename.
-     *
-     */
-    public function testCreateInvoiceAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for createInvoiceHistory
-     *
-     * Allows you to retrieve a history records of an invoice.
-     *
-     */
-    public function testCreateInvoiceHistory()
-    {
-    }
-
-    /**
-     * Test case for createItem
-     *
-     * Allows you to create an item.
-     *
-     */
-    public function testCreateItem()
-    {
-    }
-
-    /**
-     * Test case for createItemHistory
-     *
-     * Allows you to create a history record for items.
-     *
-     */
-    public function testCreateItemHistory()
-    {
-    }
-
-    /**
-     * Test case for createLinkedTransaction
-     *
-     * Allows you to create linked transactions (billable expenses).
-     *
-     */
-    public function testCreateLinkedTransaction()
-    {
-    }
-
-    /**
-     * Test case for createManualJournal
-     *
-     * Allows you to create a manual journal.
-     *
-     */
-    public function testCreateManualJournal()
-    {
-    }
-
-    /**
-     * Test case for createManualJournalAttachmentByFileName
-     *
-     * Allows you to create a specified Attachment on ManualJournal by file name.
-     *
-     */
-    public function testCreateManualJournalAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for createOverpaymentAllocation
-     *
-     * Allows you to retrieve Allocations for overpayments.
-     *
-     */
-    public function testCreateOverpaymentAllocation()
-    {
-    }
-
-    /**
-     * Test case for createOverpaymentHistory
-     *
-     * Allows you to create history records of an Overpayment.
-     *
-     */
-    public function testCreateOverpaymentHistory()
-    {
-    }
-
-    /**
-     * Test case for createPayment
-     *
-     * Allows you to create payments for invoices and credit notes.
-     *
-     */
-    public function testCreatePayment()
-    {
-    }
-
-    /**
-     * Test case for createPaymentHistory
-     *
-     * Allows you to create a history record for a payment.
-     *
-     */
-    public function testCreatePaymentHistory()
-    {
-    }
-
-    /**
-     * Test case for createPaymentService
-     *
-     * Allows you to create payment services.
-     *
-     */
-    public function testCreatePaymentService()
-    {
-    }
-
-    /**
-     * Test case for createPrepaymentAllocation
-     *
-     * Allows you to create an Allocation for prepayments.
-     *
-     */
-    public function testCreatePrepaymentAllocation()
-    {
-    }
-
-    /**
-     * Test case for createPrepaymentHistory
-     *
-     * Allows you to create a history record for an Prepayment.
-     *
-     */
-    public function testCreatePrepaymentHistory()
-    {
-    }
-
-    /**
-     * Test case for createPurchaseOrder
-     *
-     * Allows you to create purchase orders.
-     *
-     */
-    public function testCreatePurchaseOrder()
-    {
-    }
-
-    /**
-     * Test case for createPurchaseOrderHistory
-     *
-     * Allows you to create HistoryRecord for purchase orders.
-     *
-     */
-    public function testCreatePurchaseOrderHistory()
-    {
-    }
-
-    /**
-     * Test case for createReceipt
-     *
-     * Allows you to create draft expense claim receipts for any user.
-     *
-     */
-    public function testCreateReceipt()
-    {
-    }
-
-    /**
-     * Test case for createReceiptAttachmentByFileName
-     *
-     * Allows you to create Attachment on expense claim receipts by file name.
-     *
-     */
-    public function testCreateReceiptAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for createReceiptHistory
-     *
-     * Allows you to retrieve a history records of an Receipt.
-     *
-     */
-    public function testCreateReceiptHistory()
-    {
-    }
-
-    /**
-     * Test case for createRepeatingInvoiceAttachmentByFileName
-     *
-     * Allows you to create attachment on repeating invoices by file name.
-     *
-     */
-    public function testCreateRepeatingInvoiceAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for createRepeatingInvoiceHistory
-     *
-     * Allows you to create history for a repeating invoice.
-     *
-     */
-    public function testCreateRepeatingInvoiceHistory()
-    {
-    }
-
-    /**
-     * Test case for createTaxRate
-     *
-     * Allows you to create Tax Rates.
-     *
-     */
-    public function testCreateTaxRate()
-    {
-    }
-
-    /**
-     * Test case for createTrackingCategory
-     *
-     * Allows you to create tracking categories.
-     *
-     */
-    public function testCreateTrackingCategory()
-    {
-    }
-
-    /**
-     * Test case for createTrackingOptions
-     *
-     * Allows you to create options for a specified tracking category.
-     *
-     */
-    public function testCreateTrackingOptions()
-    {
-    }
-
-    /**
-     * Test case for deleteAccount
-     *
-     * Allows you to delete a chart of accounts.
-     *
-     */
-    public function testDeleteAccount()
-    {
-    }
-
-    /**
-     * Test case for deleteContactGroupContact
-     *
-     * Allows you to delete a specific Contact from a Contract Group.
-     *
-     */
-    public function testDeleteContactGroupContact()
-    {
-    }
-
-    /**
-     * Test case for deleteContactGroupContacts
-     *
-     * Allows you to delete  all Contacts from a Contract Group.
-     *
-     */
-    public function testDeleteContactGroupContacts()
-    {
-    }
-
-    /**
-     * Test case for deleteItem
-     *
-     * Allows you to delete a specified item.
-     *
-     */
-    public function testDeleteItem()
-    {
-    }
-
-    /**
-     * Test case for deleteLinkedTransaction
-     *
-     * Allows you to delete a specified linked transactions (billable expenses).
-     *
-     */
-    public function testDeleteLinkedTransaction()
-    {
-    }
-
-    /**
-     * Test case for deletePayment
-     *
-     * Allows you to update a specified payment for invoices and credit notes.
-     *
-     */
-    public function testDeletePayment()
-    {
-    }
-
-    /**
-     * Test case for deleteTrackingCategory
-     *
-     * Allows you to delete tracking categories.
-     *
-     */
-    public function testDeleteTrackingCategory()
-    {
-    }
-
-    /**
-     * Test case for deleteTrackingOptions
-     *
-     * Allows you to delete a specified option for a specified tracking category.
-     *
-     */
-    public function testDeleteTrackingOptions()
-    {
-    }
-
-    /**
-     * Test case for emailInvoice
-     *
-     * Allows you to email a copy of invoice to related Contact.
-     *
-     */
-    public function testEmailInvoice()
-    {
-    }
-
-    /**
-     * Test case for getAccount
-     *
-     * Allows you to retrieve a single chart of accounts.
-     *
-     */
-    public function testGetAccount()
-    {
-    }
-
-    /**
-     * Test case for getAccountAttachmentByFileName
-     *
-     * Allows you to retrieve Attachment on Account by Filename.
-     *
-     */
-    public function testGetAccountAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for getAccountAttachmentById
-     *
-     * Allows you to retrieve specific Attachment on Account.
-     *
-     */
-    public function testGetAccountAttachmentById()
-    {
-    }
-
-    /**
-     * Test case for getAccountAttachments
-     *
-     * Allows you to retrieve Attachments for accounts.
-     *
-     */
-    public function testGetAccountAttachments()
-    {
-    }
-
-    /**
-     * Test case for getAccounts
-     *
-     * Allows you to retrieve the full chart of accounts.
-     *
-     */
-    public function testGetAccounts()
-    {
-    }
-
-    /**
-     * Test case for getBankTransaction
-     *
-     * Allows you to retrieve a single spend or receive money transaction.
-     *
-     */
-    public function testGetBankTransaction()
-    {
-    }
-
-    /**
-     * Test case for getBankTransactionAttachmentByFileName
-     *
-     * Allows you to retrieve Attachments on BankTransaction by Filename.
-     *
-     */
-    public function testGetBankTransactionAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for getBankTransactionAttachmentById
-     *
-     * Allows you to retrieve Attachments on a specific BankTransaction.
-     *
-     */
-    public function testGetBankTransactionAttachmentById()
-    {
-    }
-
-    /**
-     * Test case for getBankTransactionAttachments
-     *
-     * Allows you to retrieve any attachments to bank transactions.
-     *
-     */
-    public function testGetBankTransactionAttachments()
-    {
-    }
-
-    /**
-     * Test case for getBankTransactions
-     *
-     * Allows you to retrieve any spend or receive money transactions.
-     *
-     */
-    public function testGetBankTransactions()
-    {
-    }
-
-    /**
-     * Test case for getBankTransactionsHistory
-     *
-     * Allows you to retrieve history from a bank transactions.
-     *
-     */
-    public function testGetBankTransactionsHistory()
-    {
-    }
-
-    /**
-     * Test case for getBankTransfer
-     *
-     * Allows you to retrieve any bank transfers.
-     *
-     */
-    public function testGetBankTransfer()
-    {
-    }
-
-    /**
-     * Test case for getBankTransferAttachmentByFileName
-     *
-     * Allows you to retrieve Attachments on BankTransfer by file name.
-     *
-     */
-    public function testGetBankTransferAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for getBankTransferAttachmentById
-     *
-     * Allows you to retrieve Attachments on BankTransfer.
-     *
-     */
-    public function testGetBankTransferAttachmentById()
-    {
-    }
-
-    /**
-     * Test case for getBankTransferAttachments
-     *
-     * Allows you to retrieve Attachments from  bank transfers.
-     *
-     */
-    public function testGetBankTransferAttachments()
-    {
-    }
-
-    /**
-     * Test case for getBankTransferHistory
-     *
-     * Allows you to retrieve history from a bank transfers.
-     *
-     */
-    public function testGetBankTransferHistory()
-    {
-    }
-
-    /**
-     * Test case for getBankTransfers
-     *
-     * Allows you to retrieve all bank transfers.
-     *
-     */
-    public function testGetBankTransfers()
-    {
-    }
-
-    /**
-     * Test case for getBatchPaymentHistory
-     *
-     * Allows you to retrieve history from a Batch Payment.
-     *
-     */
-    public function testGetBatchPaymentHistory()
-    {
-    }
-
-    /**
-     * Test case for getBatchPayments
-     *
-     * Retrieve either one or many BatchPayments for invoices.
-     *
-     */
-    public function testGetBatchPayments()
-    {
-    }
-
-    /**
-     * Test case for getBrandingTheme
-     *
-     * Allows you to retrieve a specific BrandingThemes.
-     *
-     */
-    public function testGetBrandingTheme()
-    {
-    }
-
-    /**
-     * Test case for getBrandingThemePaymentServices
-     *
-     * Allows you to retrieve the Payment services for a Branding Theme.
-     *
-     */
-    public function testGetBrandingThemePaymentServices()
-    {
-    }
-
-    /**
-     * Test case for getBrandingThemes
-     *
-     * Allows you to retrieve all the BrandingThemes.
-     *
-     */
-    public function testGetBrandingThemes()
-    {
-    }
-
-    /**
-     * Test case for getContact
-     *
-     * Allows you to retrieve, add and update contacts in a Xero organisation.
-     *
-     */
-    public function testGetContact()
-    {
-    }
-
-    /**
-     * Test case for getContactAttachmentByFileName
-     *
-     * Allows you to retrieve Attachments on Contacts by file name.
-     *
-     */
-    public function testGetContactAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for getContactAttachmentById
-     *
-     * Allows you to retrieve Attachments on Contacts.
-     *
-     */
-    public function testGetContactAttachmentById()
-    {
-    }
-
-    /**
-     * Test case for getContactAttachments
-     *
-     * Allows you to retrieve, add and update contacts in a Xero organisation.
-     *
-     */
-    public function testGetContactAttachments()
-    {
-    }
-
-    /**
-     * Test case for getContactCISSettings
-     *
-     * Allows you to retrieve CISSettings for a contact in a Xero organisation.
-     *
-     */
-    public function testGetContactCISSettings()
-    {
-    }
-
-    /**
-     * Test case for getContactGroup
-     *
-     * Allows you to retrieve a unique Contract Group by ID.
-     *
-     */
-    public function testGetContactGroup()
-    {
-    }
-
-    /**
-     * Test case for getContactGroups
-     *
-     * Allows you to retrieve the ContactID and Name of all the contacts in a contact group.
-     *
-     */
-    public function testGetContactGroups()
-    {
-    }
-
-    /**
-     * Test case for getContactHistory
-     *
-     * Allows you to retrieve a history records of an Contact.
-     *
-     */
-    public function testGetContactHistory()
-    {
-    }
-
-    /**
-     * Test case for getContacts
-     *
-     * Allows you to retrieve, add and update contacts in a Xero organisation.
-     *
-     */
-    public function testGetContacts()
-    {
-    }
-
-    /**
-     * Test case for getCreditNote
-     *
-     * Allows you to retrieve a specific credit note.
-     *
-     */
-    public function testGetCreditNote()
-    {
-    }
-
-    /**
-     * Test case for getCreditNoteAsPdf
-     *
-     * Allows you to retrieve Credit Note as PDF files.
-     *
-     */
-    public function testGetCreditNoteAsPdf()
-    {
-    }
-
-    /**
-     * Test case for getCreditNoteAttachmentByFileName
-     *
-     * Allows you to retrieve Attachments on CreditNote by file name.
-     *
-     */
-    public function testGetCreditNoteAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for getCreditNoteAttachmentById
-     *
-     * Allows you to retrieve Attachments on CreditNote.
-     *
-     */
-    public function testGetCreditNoteAttachmentById()
-    {
-    }
-
-    /**
-     * Test case for getCreditNoteAttachments
-     *
-     * Allows you to retrieve Attachments for credit notes.
-     *
-     */
-    public function testGetCreditNoteAttachments()
-    {
-    }
-
-    /**
-     * Test case for getCreditNoteHistory
-     *
-     * Allows you to retrieve a history records of an CreditNote.
-     *
-     */
-    public function testGetCreditNoteHistory()
-    {
-    }
-
-    /**
-     * Test case for getCreditNotes
-     *
-     * Allows you to retrieve any credit notes.
-     *
-     */
-    public function testGetCreditNotes()
-    {
-    }
-
-    /**
-     * Test case for getCurrencies
-     *
-     * Allows you to retrieve currencies for your organisation.
-     *
-     */
-    public function testGetCurrencies()
-    {
-    }
-
-    /**
-     * Test case for getEmployee
-     *
-     * Allows you to retrieve a specific employee used in Xero payrun.
-     *
-     */
-    public function testGetEmployee()
-    {
-    }
-
-    /**
-     * Test case for getEmployees
-     *
-     * Allows you to retrieve employees used in Xero payrun.
-     *
-     */
-    public function testGetEmployees()
-    {
-    }
-
-    /**
-     * Test case for getExpenseClaim
-     *
-     * Allows you to retrieve a specified expense claim.
-     *
-     */
-    public function testGetExpenseClaim()
-    {
-    }
-
-    /**
-     * Test case for getExpenseClaimHistory
-     *
-     * Allows you to retrieve a history records of an ExpenseClaim.
-     *
-     */
-    public function testGetExpenseClaimHistory()
-    {
-    }
-
-    /**
-     * Test case for getExpenseClaims
-     *
-     * Allows you to retrieve expense claims.
-     *
-     */
-    public function testGetExpenseClaims()
-    {
-    }
-
-    /**
-     * Test case for getInvoice
-     *
-     * Allows you to retrieve a specified sales invoice or purchase bill.
-     *
-     */
-    public function testGetInvoice()
-    {
-    }
-
-    /**
-     * Test case for getInvoiceAsPdf
-     *
-     * Allows you to retrieve invoices or purchase bills as PDF files.
-     *
-     */
-    public function testGetInvoiceAsPdf()
-    {
-    }
-
-    /**
-     * Test case for getInvoiceAttachmentByFileName
-     *
-     * Allows you to retrieve Attachment on invoices or purchase bills by it's filename.
-     *
-     */
-    public function testGetInvoiceAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for getInvoiceAttachmentById
-     *
-     * Allows you to retrieve a specified Attachment on invoices or purchase bills by it's ID.
-     *
-     */
-    public function testGetInvoiceAttachmentById()
-    {
-    }
-
-    /**
-     * Test case for getInvoiceAttachments
-     *
-     * Allows you to retrieve Attachments on invoices or purchase bills.
-     *
-     */
-    public function testGetInvoiceAttachments()
-    {
-    }
-
-    /**
-     * Test case for getInvoiceHistory
-     *
-     * Allows you to retrieve a history records of an invoice.
-     *
-     */
-    public function testGetInvoiceHistory()
-    {
-    }
-
-    /**
-     * Test case for getInvoiceReminders
-     *
-     * Allows you to retrieve invoice reminder settings.
-     *
-     */
-    public function testGetInvoiceReminders()
-    {
-    }
-
-    /**
-     * Test case for getInvoices
-     *
-     * Allows you to retrieve any sales invoices or purchase bills.
-     *
-     */
-    public function testGetInvoices()
-    {
-    }
-
-    /**
-     * Test case for getItem
-     *
-     * Allows you to retrieve a specified item.
-     *
-     */
-    public function testGetItem()
-    {
-    }
-
-    /**
-     * Test case for getItemHistory
-     *
-     * Allows you to retrieve history for items.
-     *
-     */
-    public function testGetItemHistory()
-    {
-    }
-
-    /**
-     * Test case for getItems
-     *
-     * Allows you to retrieve any items.
-     *
-     */
-    public function testGetItems()
-    {
-    }
-
-    /**
-     * Test case for getJournal
-     *
-     * Allows you to retrieve a specified journals..
-     *
-     */
-    public function testGetJournal()
-    {
-    }
-
-    /**
-     * Test case for getJournals
-     *
-     * Allows you to retrieve any journals..
-     *
-     */
-    public function testGetJournals()
-    {
-    }
-
-    /**
-     * Test case for getLinkedTransaction
-     *
-     * Allows you to retrieve a specified linked transactions (billable expenses).
-     *
-     */
-    public function testGetLinkedTransaction()
-    {
-    }
-
-    /**
-     * Test case for getLinkedTransactions
-     *
-     * Retrieve linked transactions (billable expenses).
-     *
-     */
-    public function testGetLinkedTransactions()
-    {
-    }
-
-    /**
-     * Test case for getManualJournal
-     *
-     * Allows you to retrieve a specified manual journals.
-     *
-     */
-    public function testGetManualJournal()
-    {
-    }
-
-    /**
-     * Test case for getManualJournalAttachmentByFileName
-     *
-     * Allows you to retrieve specified Attachment on ManualJournal by file name.
-     *
-     */
-    public function testGetManualJournalAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for getManualJournalAttachmentById
-     *
-     * Allows you to retrieve specified Attachment on ManualJournals.
-     *
-     */
-    public function testGetManualJournalAttachmentById()
-    {
-    }
-
-    /**
-     * Test case for getManualJournalAttachments
-     *
-     * Allows you to retrieve Attachment for manual journals.
-     *
-     */
-    public function testGetManualJournalAttachments()
-    {
-    }
-
-    /**
-     * Test case for getManualJournals
-     *
-     * Allows you to retrieve any manual journals.
-     *
-     */
-    public function testGetManualJournals()
-    {
-    }
-
-    /**
-     * Test case for getOnlineInvoice
-     *
-     * Allows you to retrieve a URL to an online invoice.
-     *
-     */
-    public function testGetOnlineInvoice()
-    {
-    }
-
-    /**
-     * Test case for getOrganisationCISSettings
-     *
-     * Allows you To verify if an organisation is using contruction industry scheme, you can retrieve the CIS settings for the organistaion..
-     *
-     */
-    public function testGetOrganisationCISSettings()
-    {
-    }
-
-    /**
-     * Test case for getOrganisations
-     *
-     * Allows you to retrieve Organisation details.
-     *
-     */
-    public function testGetOrganisations()
-    {
-    }
-
-    /**
-     * Test case for getOverpayment
-     *
-     * Allows you to retrieve a specified overpayments.
-     *
-     */
-    public function testGetOverpayment()
-    {
-    }
-
-    /**
-     * Test case for getOverpaymentHistory
-     *
-     * Allows you to retrieve a history records of an Overpayment.
-     *
-     */
-    public function testGetOverpaymentHistory()
-    {
-    }
-
-    /**
-     * Test case for getOverpayments
-     *
-     * Allows you to retrieve overpayments.
-     *
-     */
-    public function testGetOverpayments()
-    {
-    }
-
-    /**
-     * Test case for getPayment
-     *
-     * Allows you to retrieve a specified payment for invoices and credit notes.
-     *
-     */
-    public function testGetPayment()
-    {
-    }
-
-    /**
-     * Test case for getPaymentHistory
-     *
-     * Allows you to retrieve history records of a payment.
-     *
-     */
-    public function testGetPaymentHistory()
-    {
-    }
-
-    /**
-     * Test case for getPaymentServices
-     *
-     * Allows you to retrieve payment services.
-     *
-     */
-    public function testGetPaymentServices()
-    {
-    }
-
-    /**
-     * Test case for getPayments
-     *
-     * Allows you to retrieve payments for invoices and credit notes.
-     *
-     */
-    public function testGetPayments()
-    {
-    }
-
-    /**
-     * Test case for getPrepayment
-     *
-     * Allows you to retrieve a specified prepayments.
-     *
-     */
-    public function testGetPrepayment()
-    {
-    }
-
-    /**
-     * Test case for getPrepaymentHistory
-     *
-     * Allows you to retrieve a history records of an Prepayment.
-     *
-     */
-    public function testGetPrepaymentHistory()
-    {
-    }
-
-    /**
-     * Test case for getPrepayments
-     *
-     * Allows you to retrieve prepayments.
-     *
-     */
-    public function testGetPrepayments()
-    {
-    }
-
-    /**
-     * Test case for getPurchaseOrder
-     *
-     * Allows you to retrieve a specified purchase orders.
-     *
-     */
-    public function testGetPurchaseOrder()
-    {
-    }
-
-    /**
-     * Test case for getPurchaseOrderHistory
-     *
-     * Allows you to retrieve history for PurchaseOrder.
-     *
-     */
-    public function testGetPurchaseOrderHistory()
-    {
-    }
-
-    /**
-     * Test case for getPurchaseOrders
-     *
-     * Allows you to retrieve purchase orders.
-     *
-     */
-    public function testGetPurchaseOrders()
-    {
-    }
-
-    /**
-     * Test case for getReceipt
-     *
-     * Allows you to retrieve a specified draft expense claim receipts.
-     *
-     */
-    public function testGetReceipt()
-    {
-    }
-
-    /**
-     * Test case for getReceiptAttachmentByFileName
-     *
-     * Allows you to retrieve Attachments on expense claim receipts by file name.
-     *
-     */
-    public function testGetReceiptAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for getReceiptAttachmentById
-     *
-     * Allows you to retrieve Attachments on expense claim receipts by ID.
-     *
-     */
-    public function testGetReceiptAttachmentById()
-    {
-    }
-
-    /**
-     * Test case for getReceiptAttachments
-     *
-     * Allows you to retrieve Attachments for expense claim receipts.
-     *
-     */
-    public function testGetReceiptAttachments()
-    {
-    }
-
-    /**
-     * Test case for getReceiptHistory
-     *
-     * Allows you to retrieve a history records of an Receipt.
-     *
-     */
-    public function testGetReceiptHistory()
-    {
-    }
-
-    /**
-     * Test case for getReceipts
-     *
-     * Allows you to retrieve draft expense claim receipts for any user.
-     *
-     */
-    public function testGetReceipts()
-    {
-    }
-
-    /**
-     * Test case for getRepeatingInvoice
-     *
-     * Allows you to retrieve a specified repeating invoice.
-     *
-     */
-    public function testGetRepeatingInvoice()
-    {
-    }
-
-    /**
-     * Test case for getRepeatingInvoiceAttachmentByFileName
-     *
-     * Allows you to retrieve specified attachment on repeating invoices by file name.
-     *
-     */
-    public function testGetRepeatingInvoiceAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for getRepeatingInvoiceAttachmentById
-     *
-     * Allows you to retrieve a specified Attachments on repeating invoices.
-     *
-     */
-    public function testGetRepeatingInvoiceAttachmentById()
-    {
-    }
-
-    /**
-     * Test case for getRepeatingInvoiceAttachments
-     *
-     * Allows you to retrieve Attachments on repeating invoice.
-     *
-     */
-    public function testGetRepeatingInvoiceAttachments()
-    {
-    }
-
-    /**
-     * Test case for getRepeatingInvoiceHistory
-     *
-     * Allows you to retrieve history for a repeating invoice.
-     *
-     */
-    public function testGetRepeatingInvoiceHistory()
-    {
-    }
-
-    /**
-     * Test case for getRepeatingInvoices
-     *
-     * Allows you to retrieve any repeating invoices.
-     *
-     */
-    public function testGetRepeatingInvoices()
-    {
-    }
-
-    /**
-     * Test case for getReportAgedPayablesByContact
-     *
-     * Allows you to retrieve report for AgedPayablesByContact.
-     *
-     */
-    public function testGetReportAgedPayablesByContact()
-    {
-    }
-
-    /**
-     * Test case for getReportAgedReceivablesByContact
-     *
-     * Allows you to retrieve report for AgedReceivablesByContact.
-     *
-     */
-    public function testGetReportAgedReceivablesByContact()
-    {
-    }
-
-    /**
-     * Test case for getReportBASorGST
-     *
-     * Allows you to retrieve report for BAS only valid for AU orgs.
-     *
-     */
-    public function testGetReportBASorGST()
-    {
-    }
-
-    /**
-     * Test case for getReportBASorGSTList
-     *
-     * Allows you to retrieve report for BAS only valid for AU orgs.
-     *
-     */
-    public function testGetReportBASorGSTList()
-    {
-    }
-
-    /**
-     * Test case for getReportBalanceSheet
-     *
-     * Allows you to retrieve report for BalanceSheet.
-     *
-     */
-    public function testGetReportBalanceSheet()
-    {
-    }
-
-    /**
-     * Test case for getReportBankSummary
-     *
-     * Allows you to retrieve report for BankSummary.
-     *
-     */
-    public function testGetReportBankSummary()
-    {
-    }
-
-    /**
-     * Test case for getReportBudgetSummary
-     *
-     * Allows you to retrieve report for Budget Summary.
-     *
-     */
-    public function testGetReportBudgetSummary()
-    {
-    }
-
-    /**
-     * Test case for getReportExecutiveSummary
-     *
-     * Allows you to retrieve report for ExecutiveSummary.
-     *
-     */
-    public function testGetReportExecutiveSummary()
-    {
-    }
-
-    /**
-     * Test case for getReportProfitAndLoss
-     *
-     * Allows you to retrieve report for ProfitAndLoss.
-     *
-     */
-    public function testGetReportProfitAndLoss()
-    {
-    }
-
-    /**
-     * Test case for getReportTenNinetyNine
-     *
-     * Allows you to retrieve report for TenNinetyNine.
-     *
-     */
-    public function testGetReportTenNinetyNine()
-    {
-    }
-
-    /**
-     * Test case for getReportTrialBalance
-     *
-     * Allows you to retrieve report for TrialBalance.
-     *
-     */
-    public function testGetReportTrialBalance()
-    {
-    }
-
-    /**
-     * Test case for getTaxRates
-     *
-     * Allows you to retrieve Tax Rates.
-     *
-     */
-    public function testGetTaxRates()
-    {
-    }
-
-    /**
-     * Test case for getTrackingCategories
-     *
-     * Allows you to retrieve tracking categories and options.
-     *
-     */
-    public function testGetTrackingCategories()
-    {
-    }
-
-    /**
-     * Test case for getTrackingCategory
-     *
-     * Allows you to retrieve tracking categories and options for specified category.
-     *
-     */
-    public function testGetTrackingCategory()
-    {
-    }
-
-    /**
-     * Test case for getUser
-     *
-     * Allows you to retrieve a specified user.
-     *
-     */
-    public function testGetUser()
-    {
-    }
-
-    /**
-     * Test case for getUsers
-     *
-     * Allows you to retrieve users.
-     *
-     */
-    public function testGetUsers()
-    {
-    }
-
-    /**
-     * Test case for updateAccount
-     *
-     * Allows you to update a chart of accounts.
-     *
-     */
-    public function testUpdateAccount()
-    {
-    }
-
-    /**
-     * Test case for updateAccountAttachmentByFileName
-     *
-     * Allows you to update Attachment on Account by Filename.
-     *
-     */
-    public function testUpdateAccountAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for updateBankTransaction
-     *
-     * Allows you to update a single spend or receive money transaction.
-     *
-     */
-    public function testUpdateBankTransaction()
-    {
-    }
-
-    /**
-     * Test case for updateBankTransactionAttachmentByFileName
-     *
-     * Allows you to update an Attachment on BankTransaction by Filename.
-     *
-     */
-    public function testUpdateBankTransactionAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for updateBankTransferAttachmentByFileName
-     *
-     * .
-     *
-     */
-    public function testUpdateBankTransferAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for updateContact
-     *
-     * .
-     *
-     */
-    public function testUpdateContact()
-    {
-    }
-
-    /**
-     * Test case for updateContactAttachmentByFileName
-     *
-     * .
-     *
-     */
-    public function testUpdateContactAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for updateContactGroup
-     *
-     * Allows you to update a Contract Group.
-     *
-     */
-    public function testUpdateContactGroup()
-    {
-    }
-
-    /**
-     * Test case for updateCreditNote
-     *
-     * Allows you to update a specific credit note.
-     *
-     */
-    public function testUpdateCreditNote()
-    {
-    }
-
-    /**
-     * Test case for updateCreditNoteAttachmentByFileName
-     *
-     * Allows you to update Attachments on CreditNote by file name.
-     *
-     */
-    public function testUpdateCreditNoteAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for updateEmployee
-     *
-     * Allows you to update a specific employee used in Xero payrun.
-     *
-     */
-    public function testUpdateEmployee()
-    {
-    }
-
-    /**
-     * Test case for updateExpenseClaim
-     *
-     * Allows you to update specified expense claims.
-     *
-     */
-    public function testUpdateExpenseClaim()
-    {
-    }
-
-    /**
-     * Test case for updateInvoice
-     *
-     * Allows you to update a specified sales invoices or purchase bills.
-     *
-     */
-    public function testUpdateInvoice()
-    {
-    }
-
-    /**
-     * Test case for updateInvoiceAttachmentByFileName
-     *
-     * Allows you to update Attachment on invoices or purchase bills by it's filename.
-     *
-     */
-    public function testUpdateInvoiceAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for updateItem
-     *
-     * Allows you to udpate a specified item.
-     *
-     */
-    public function testUpdateItem()
-    {
-    }
-
-    /**
-     * Test case for updateLinkedTransaction
-     *
-     * Allows you to update a specified linked transactions (billable expenses).
-     *
-     */
-    public function testUpdateLinkedTransaction()
-    {
-    }
-
-    /**
-     * Test case for updateManualJournal
-     *
-     * Allows you to update a specified manual journal.
-     *
-     */
-    public function testUpdateManualJournal()
-    {
-    }
-
-    /**
-     * Test case for updateManualJournalAttachmentByFileName
-     *
-     * Allows you to update a specified Attachment on ManualJournal by file name.
-     *
-     */
-    public function testUpdateManualJournalAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for updatePurchaseOrder
-     *
-     * Allows you to update a specified purchase order.
-     *
-     */
-    public function testUpdatePurchaseOrder()
-    {
-    }
-
-    /**
-     * Test case for updateReceipt
-     *
-     * Allows you to retrieve a specified draft expense claim receipts.
-     *
-     */
-    public function testUpdateReceipt()
-    {
-    }
-
-    /**
-     * Test case for updateReceiptAttachmentByFileName
-     *
-     * Allows you to update Attachment on expense claim receipts by file name.
-     *
-     */
-    public function testUpdateReceiptAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for updateRepeatingInvoiceAttachmentByFileName
-     *
-     * Allows you to update specified attachment on repeating invoices by file name.
-     *
-     */
-    public function testUpdateRepeatingInvoiceAttachmentByFileName()
-    {
-    }
-
-    /**
-     * Test case for updateTaxRate
-     *
-     * Allows you to update Tax Rates.
-     *
-     */
-    public function testUpdateTaxRate()
-    {
-    }
-
-    /**
-     * Test case for updateTrackingCategory
-     *
-     * Allows you to update tracking categories.
-     *
-     */
-    public function testUpdateTrackingCategory()
-    {
-    }
-}

+ 0 - 93
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Api/IdentityApiTest.php

@@ -1,93 +0,0 @@
-<?php
-/**
- * IdentityApiTest
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Xero oAuth 2 identity service
- *
- * This specifing endpoints related to managing authentication tokens and identity for Xero API
- *
- * OpenAPI spec version: 1.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the endpoint.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-use \SidneyAllen\XeroPHP\Configuration;
-use \SidneyAllen\XeroPHP\ApiException;
-use \SidneyAllen\XeroPHP\ObjectSerializer;
-
-/**
- * IdentityApiTest Class Doc Comment
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-class IdentityApiTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test cases
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test case for getConnections
-     *
-     * Allows you to retrieve the connections for this users.
-     *
-     */
-    public function testGetConnections()
-    {
-    }
-
-    /**
-     * Test case for refreshToken
-     *
-     * Allows you to refresh your access token.
-     *
-     */
-    public function testRefreshToken()
-    {
-    }
-}

+ 0 - 113
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AccessTokenTest.php

@@ -1,113 +0,0 @@
-<?php
-/**
- * AccessTokenTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Xero oAuth 2 identity service
- *
- * This specifing endpoints related to managing authentication tokens and identity for Xero API
- *
- * OpenAPI spec version: 1.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * AccessTokenTest Class Doc Comment
- *
- * @category    Class
- * @description AccessToken
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class AccessTokenTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "AccessToken"
-     */
-    public function testAccessToken()
-    {
-    }
-
-    /**
-     * Test attribute "id_token"
-     */
-    public function testPropertyIdToken()
-    {
-    }
-
-    /**
-     * Test attribute "access_token"
-     */
-    public function testPropertyAccessToken()
-    {
-    }
-
-    /**
-     * Test attribute "expires_in"
-     */
-    public function testPropertyExpiresIn()
-    {
-    }
-
-    /**
-     * Test attribute "token_type"
-     */
-    public function testPropertyTokenType()
-    {
-    }
-
-    /**
-     * Test attribute "refresh_token"
-     */
-    public function testPropertyRefreshToken()
-    {
-    }
-}

+ 0 - 211
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AccountTest.php

@@ -1,211 +0,0 @@
-<?php
-/**
- * AccountTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * AccountTest Class Doc Comment
- *
- * @category    Class
- * @description Account
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class AccountTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "Account"
-     */
-    public function testAccount()
-    {
-    }
-
-    /**
-     * Test attribute "code"
-     */
-    public function testPropertyCode()
-    {
-    }
-
-    /**
-     * Test attribute "name"
-     */
-    public function testPropertyName()
-    {
-    }
-
-    /**
-     * Test attribute "account_id"
-     */
-    public function testPropertyAccountId()
-    {
-    }
-
-    /**
-     * Test attribute "type"
-     */
-    public function testPropertyType()
-    {
-    }
-
-    /**
-     * Test attribute "bank_account_number"
-     */
-    public function testPropertyBankAccountNumber()
-    {
-    }
-
-    /**
-     * Test attribute "status"
-     */
-    public function testPropertyStatus()
-    {
-    }
-
-    /**
-     * Test attribute "description"
-     */
-    public function testPropertyDescription()
-    {
-    }
-
-    /**
-     * Test attribute "bank_account_type"
-     */
-    public function testPropertyBankAccountType()
-    {
-    }
-
-    /**
-     * Test attribute "currency_code"
-     */
-    public function testPropertyCurrencyCode()
-    {
-    }
-
-    /**
-     * Test attribute "tax_type"
-     */
-    public function testPropertyTaxType()
-    {
-    }
-
-    /**
-     * Test attribute "enable_payments_to_account"
-     */
-    public function testPropertyEnablePaymentsToAccount()
-    {
-    }
-
-    /**
-     * Test attribute "show_in_expense_claims"
-     */
-    public function testPropertyShowInExpenseClaims()
-    {
-    }
-
-    /**
-     * Test attribute "class"
-     */
-    public function testPropertyClass()
-    {
-    }
-
-    /**
-     * Test attribute "system_account"
-     */
-    public function testPropertySystemAccount()
-    {
-    }
-
-    /**
-     * Test attribute "reporting_code"
-     */
-    public function testPropertyReportingCode()
-    {
-    }
-
-    /**
-     * Test attribute "reporting_code_name"
-     */
-    public function testPropertyReportingCodeName()
-    {
-    }
-
-    /**
-     * Test attribute "has_attachments"
-     */
-    public function testPropertyHasAttachments()
-    {
-    }
-
-    /**
-     * Test attribute "updated_date_utc"
-     */
-    public function testPropertyUpdatedDateUtc()
-    {
-    }
-
-    /**
-     * Test attribute "validation_errors"
-     */
-    public function testPropertyValidationErrors()
-    {
-    }
-}

+ 0 - 78
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AccountTypeTest.php

@@ -1,78 +0,0 @@
-<?php
-/**
- * AccountTypeTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * AccountTypeTest Class Doc Comment
- *
- * @category    Class
- * @description See Account Types
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class AccountTypeTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "AccountType"
-     */
-    public function testAccountType()
-    {
-    }
-}

+ 0 - 92
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AccountsPayableTest.php

@@ -1,92 +0,0 @@
-<?php
-/**
- * AccountsPayableTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * AccountsPayableTest Class Doc Comment
- *
- * @category    Class
- * @description AccountsPayable
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class AccountsPayableTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "AccountsPayable"
-     */
-    public function testAccountsPayable()
-    {
-    }
-
-    /**
-     * Test attribute "outstanding"
-     */
-    public function testPropertyOutstanding()
-    {
-    }
-
-    /**
-     * Test attribute "overdue"
-     */
-    public function testPropertyOverdue()
-    {
-    }
-}

+ 0 - 92
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AccountsReceivableTest.php

@@ -1,92 +0,0 @@
-<?php
-/**
- * AccountsReceivableTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * AccountsReceivableTest Class Doc Comment
- *
- * @category    Class
- * @description AccountsReceivable
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class AccountsReceivableTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "AccountsReceivable"
-     */
-    public function testAccountsReceivable()
-    {
-    }
-
-    /**
-     * Test attribute "outstanding"
-     */
-    public function testPropertyOutstanding()
-    {
-    }
-
-    /**
-     * Test attribute "overdue"
-     */
-    public function testPropertyOverdue()
-    {
-    }
-}

+ 0 - 85
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AccountsTest.php

@@ -1,85 +0,0 @@
-<?php
-/**
- * AccountsTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * AccountsTest Class Doc Comment
- *
- * @category    Class
- * @description Accounts
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class AccountsTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "Accounts"
-     */
-    public function testAccounts()
-    {
-    }
-
-    /**
-     * Test attribute "accounts"
-     */
-    public function testPropertyAccounts()
-    {
-    }
-}

+ 0 - 148
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AddressTest.php

@@ -1,148 +0,0 @@
-<?php
-/**
- * AddressTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * AddressTest Class Doc Comment
- *
- * @category    Class
- * @description Address
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class AddressTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "Address"
-     */
-    public function testAddress()
-    {
-    }
-
-    /**
-     * Test attribute "address_type"
-     */
-    public function testPropertyAddressType()
-    {
-    }
-
-    /**
-     * Test attribute "address_line1"
-     */
-    public function testPropertyAddressLine1()
-    {
-    }
-
-    /**
-     * Test attribute "address_line2"
-     */
-    public function testPropertyAddressLine2()
-    {
-    }
-
-    /**
-     * Test attribute "address_line3"
-     */
-    public function testPropertyAddressLine3()
-    {
-    }
-
-    /**
-     * Test attribute "address_line4"
-     */
-    public function testPropertyAddressLine4()
-    {
-    }
-
-    /**
-     * Test attribute "city"
-     */
-    public function testPropertyCity()
-    {
-    }
-
-    /**
-     * Test attribute "region"
-     */
-    public function testPropertyRegion()
-    {
-    }
-
-    /**
-     * Test attribute "postal_code"
-     */
-    public function testPropertyPostalCode()
-    {
-    }
-
-    /**
-     * Test attribute "country"
-     */
-    public function testPropertyCountry()
-    {
-    }
-
-    /**
-     * Test attribute "attention_to"
-     */
-    public function testPropertyAttentionTo()
-    {
-    }
-}

+ 0 - 99
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AllocationTest.php

@@ -1,99 +0,0 @@
-<?php
-/**
- * AllocationTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * AllocationTest Class Doc Comment
- *
- * @category    Class
- * @description Allocation
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class AllocationTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "Allocation"
-     */
-    public function testAllocation()
-    {
-    }
-
-    /**
-     * Test attribute "invoice"
-     */
-    public function testPropertyInvoice()
-    {
-    }
-
-    /**
-     * Test attribute "amount"
-     */
-    public function testPropertyAmount()
-    {
-    }
-
-    /**
-     * Test attribute "date"
-     */
-    public function testPropertyDate()
-    {
-    }
-}

+ 0 - 85
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AllocationsTest.php

@@ -1,85 +0,0 @@
-<?php
-/**
- * AllocationsTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * AllocationsTest Class Doc Comment
- *
- * @category    Class
- * @description Allocations
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class AllocationsTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "Allocations"
-     */
-    public function testAllocations()
-    {
-    }
-
-    /**
-     * Test attribute "allocations"
-     */
-    public function testPropertyAllocations()
-    {
-    }
-}

+ 0 - 120
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AttachmentTest.php

@@ -1,120 +0,0 @@
-<?php
-/**
- * AttachmentTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * AttachmentTest Class Doc Comment
- *
- * @category    Class
- * @description Attachment
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class AttachmentTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "Attachment"
-     */
-    public function testAttachment()
-    {
-    }
-
-    /**
-     * Test attribute "attachment_id"
-     */
-    public function testPropertyAttachmentId()
-    {
-    }
-
-    /**
-     * Test attribute "file_name"
-     */
-    public function testPropertyFileName()
-    {
-    }
-
-    /**
-     * Test attribute "url"
-     */
-    public function testPropertyUrl()
-    {
-    }
-
-    /**
-     * Test attribute "mime_type"
-     */
-    public function testPropertyMimeType()
-    {
-    }
-
-    /**
-     * Test attribute "content_length"
-     */
-    public function testPropertyContentLength()
-    {
-    }
-
-    /**
-     * Test attribute "include_online"
-     */
-    public function testPropertyIncludeOnline()
-    {
-    }
-}

+ 0 - 85
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/AttachmentsTest.php

@@ -1,85 +0,0 @@
-<?php
-/**
- * AttachmentsTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * AttachmentsTest Class Doc Comment
- *
- * @category    Class
- * @description Attachments
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class AttachmentsTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "Attachments"
-     */
-    public function testAttachments()
-    {
-    }
-
-    /**
-     * Test attribute "attachments"
-     */
-    public function testPropertyAttachments()
-    {
-    }
-}

+ 0 - 92
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BalancesTest.php

@@ -1,92 +0,0 @@
-<?php
-/**
- * BalancesTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * BalancesTest Class Doc Comment
- *
- * @category    Class
- * @description The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only)
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class BalancesTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "Balances"
-     */
-    public function testBalances()
-    {
-    }
-
-    /**
-     * Test attribute "accounts_receivable"
-     */
-    public function testPropertyAccountsReceivable()
-    {
-    }
-
-    /**
-     * Test attribute "accounts_payable"
-     */
-    public function testPropertyAccountsPayable()
-    {
-    }
-}

+ 0 - 232
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BankTransactionTest.php

@@ -1,232 +0,0 @@
-<?php
-/**
- * BankTransactionTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * BankTransactionTest Class Doc Comment
- *
- * @category    Class
- * @description BankTransaction
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class BankTransactionTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "BankTransaction"
-     */
-    public function testBankTransaction()
-    {
-    }
-
-    /**
-     * Test attribute "type"
-     */
-    public function testPropertyType()
-    {
-    }
-
-    /**
-     * Test attribute "contact"
-     */
-    public function testPropertyContact()
-    {
-    }
-
-    /**
-     * Test attribute "lineitems"
-     */
-    public function testPropertyLineitems()
-    {
-    }
-
-    /**
-     * Test attribute "bank_account"
-     */
-    public function testPropertyBankAccount()
-    {
-    }
-
-    /**
-     * Test attribute "is_reconciled"
-     */
-    public function testPropertyIsReconciled()
-    {
-    }
-
-    /**
-     * Test attribute "date"
-     */
-    public function testPropertyDate()
-    {
-    }
-
-    /**
-     * Test attribute "reference"
-     */
-    public function testPropertyReference()
-    {
-    }
-
-    /**
-     * Test attribute "currency_code"
-     */
-    public function testPropertyCurrencyCode()
-    {
-    }
-
-    /**
-     * Test attribute "currency_rate"
-     */
-    public function testPropertyCurrencyRate()
-    {
-    }
-
-    /**
-     * Test attribute "url"
-     */
-    public function testPropertyUrl()
-    {
-    }
-
-    /**
-     * Test attribute "status"
-     */
-    public function testPropertyStatus()
-    {
-    }
-
-    /**
-     * Test attribute "line_amount_types"
-     */
-    public function testPropertyLineAmountTypes()
-    {
-    }
-
-    /**
-     * Test attribute "sub_total"
-     */
-    public function testPropertySubTotal()
-    {
-    }
-
-    /**
-     * Test attribute "total_tax"
-     */
-    public function testPropertyTotalTax()
-    {
-    }
-
-    /**
-     * Test attribute "total"
-     */
-    public function testPropertyTotal()
-    {
-    }
-
-    /**
-     * Test attribute "bank_transaction_id"
-     */
-    public function testPropertyBankTransactionId()
-    {
-    }
-
-    /**
-     * Test attribute "prepayment_id"
-     */
-    public function testPropertyPrepaymentId()
-    {
-    }
-
-    /**
-     * Test attribute "overpayment_id"
-     */
-    public function testPropertyOverpaymentId()
-    {
-    }
-
-    /**
-     * Test attribute "updated_date_utc"
-     */
-    public function testPropertyUpdatedDateUtc()
-    {
-    }
-
-    /**
-     * Test attribute "has_attachments"
-     */
-    public function testPropertyHasAttachments()
-    {
-    }
-
-    /**
-     * Test attribute "status_attribute_string"
-     */
-    public function testPropertyStatusAttributeString()
-    {
-    }
-
-    /**
-     * Test attribute "validation_errors"
-     */
-    public function testPropertyValidationErrors()
-    {
-    }
-}

+ 0 - 85
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BankTransactionsTest.php

@@ -1,85 +0,0 @@
-<?php
-/**
- * BankTransactionsTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * BankTransactionsTest Class Doc Comment
- *
- * @category    Class
- * @description BankTransactions
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class BankTransactionsTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "BankTransactions"
-     */
-    public function testBankTransactions()
-    {
-    }
-
-    /**
-     * Test attribute "bank_transactions"
-     */
-    public function testPropertyBankTransactions()
-    {
-    }
-}

+ 0 - 155
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BankTransferTest.php

@@ -1,155 +0,0 @@
-<?php
-/**
- * BankTransferTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * BankTransferTest Class Doc Comment
- *
- * @category    Class
- * @description BankTransfer
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class BankTransferTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "BankTransfer"
-     */
-    public function testBankTransfer()
-    {
-    }
-
-    /**
-     * Test attribute "from_bank_account"
-     */
-    public function testPropertyFromBankAccount()
-    {
-    }
-
-    /**
-     * Test attribute "to_bank_account"
-     */
-    public function testPropertyToBankAccount()
-    {
-    }
-
-    /**
-     * Test attribute "amount"
-     */
-    public function testPropertyAmount()
-    {
-    }
-
-    /**
-     * Test attribute "date"
-     */
-    public function testPropertyDate()
-    {
-    }
-
-    /**
-     * Test attribute "bank_transfer_id"
-     */
-    public function testPropertyBankTransferId()
-    {
-    }
-
-    /**
-     * Test attribute "currency_rate"
-     */
-    public function testPropertyCurrencyRate()
-    {
-    }
-
-    /**
-     * Test attribute "from_bank_transaction_id"
-     */
-    public function testPropertyFromBankTransactionId()
-    {
-    }
-
-    /**
-     * Test attribute "to_bank_transaction_id"
-     */
-    public function testPropertyToBankTransactionId()
-    {
-    }
-
-    /**
-     * Test attribute "has_attachments"
-     */
-    public function testPropertyHasAttachments()
-    {
-    }
-
-    /**
-     * Test attribute "created_date_utc"
-     */
-    public function testPropertyCreatedDateUtc()
-    {
-    }
-
-    /**
-     * Test attribute "validation_errors"
-     */
-    public function testPropertyValidationErrors()
-    {
-    }
-}

+ 0 - 85
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BankTransfersTest.php

@@ -1,85 +0,0 @@
-<?php
-/**
- * BankTransfersTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * BankTransfersTest Class Doc Comment
- *
- * @category    Class
- * @description BankTransfers
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class BankTransfersTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "BankTransfers"
-     */
-    public function testBankTransfers()
-    {
-    }
-
-    /**
-     * Test attribute "bank_transfers"
-     */
-    public function testPropertyBankTransfers()
-    {
-    }
-}

+ 0 - 113
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BatchPaymentDetailsTest.php

@@ -1,113 +0,0 @@
-<?php
-/**
- * BatchPaymentDetailsTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * BatchPaymentDetailsTest Class Doc Comment
- *
- * @category    Class
- * @description Bank details for use on a batch payment stored with each contact
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class BatchPaymentDetailsTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "BatchPaymentDetails"
-     */
-    public function testBatchPaymentDetails()
-    {
-    }
-
-    /**
-     * Test attribute "bank_account_number"
-     */
-    public function testPropertyBankAccountNumber()
-    {
-    }
-
-    /**
-     * Test attribute "bank_account_name"
-     */
-    public function testPropertyBankAccountName()
-    {
-    }
-
-    /**
-     * Test attribute "details"
-     */
-    public function testPropertyDetails()
-    {
-    }
-
-    /**
-     * Test attribute "code"
-     */
-    public function testPropertyCode()
-    {
-    }
-
-    /**
-     * Test attribute "reference"
-     */
-    public function testPropertyReference()
-    {
-    }
-}

+ 0 - 190
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BatchPaymentTest.php

@@ -1,190 +0,0 @@
-<?php
-/**
- * BatchPaymentTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * BatchPaymentTest Class Doc Comment
- *
- * @category    Class
- * @description BatchPayment
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class BatchPaymentTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "BatchPayment"
-     */
-    public function testBatchPayment()
-    {
-    }
-
-    /**
-     * Test attribute "account"
-     */
-    public function testPropertyAccount()
-    {
-    }
-
-    /**
-     * Test attribute "reference"
-     */
-    public function testPropertyReference()
-    {
-    }
-
-    /**
-     * Test attribute "particulars"
-     */
-    public function testPropertyParticulars()
-    {
-    }
-
-    /**
-     * Test attribute "code"
-     */
-    public function testPropertyCode()
-    {
-    }
-
-    /**
-     * Test attribute "details"
-     */
-    public function testPropertyDetails()
-    {
-    }
-
-    /**
-     * Test attribute "narrative"
-     */
-    public function testPropertyNarrative()
-    {
-    }
-
-    /**
-     * Test attribute "batch_payment_id"
-     */
-    public function testPropertyBatchPaymentId()
-    {
-    }
-
-    /**
-     * Test attribute "date_string"
-     */
-    public function testPropertyDateString()
-    {
-    }
-
-    /**
-     * Test attribute "date"
-     */
-    public function testPropertyDate()
-    {
-    }
-
-    /**
-     * Test attribute "amount"
-     */
-    public function testPropertyAmount()
-    {
-    }
-
-    /**
-     * Test attribute "payments"
-     */
-    public function testPropertyPayments()
-    {
-    }
-
-    /**
-     * Test attribute "type"
-     */
-    public function testPropertyType()
-    {
-    }
-
-    /**
-     * Test attribute "status"
-     */
-    public function testPropertyStatus()
-    {
-    }
-
-    /**
-     * Test attribute "total_amount"
-     */
-    public function testPropertyTotalAmount()
-    {
-    }
-
-    /**
-     * Test attribute "updated_date_utc"
-     */
-    public function testPropertyUpdatedDateUtc()
-    {
-    }
-
-    /**
-     * Test attribute "is_reconciled"
-     */
-    public function testPropertyIsReconciled()
-    {
-    }
-}

+ 0 - 85
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BatchPaymentsTest.php

@@ -1,85 +0,0 @@
-<?php
-/**
- * BatchPaymentsTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * BatchPaymentsTest Class Doc Comment
- *
- * @category    Class
- * @description BatchPayments
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class BatchPaymentsTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "BatchPayments"
-     */
-    public function testBatchPayments()
-    {
-    }
-
-    /**
-     * Test attribute "batch_payments"
-     */
-    public function testPropertyBatchPayments()
-    {
-    }
-}

+ 0 - 92
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BillTest.php

@@ -1,92 +0,0 @@
-<?php
-/**
- * BillTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * BillTest Class Doc Comment
- *
- * @category    Class
- * @description Bill
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class BillTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "Bill"
-     */
-    public function testBill()
-    {
-    }
-
-    /**
-     * Test attribute "day"
-     */
-    public function testPropertyDay()
-    {
-    }
-
-    /**
-     * Test attribute "type"
-     */
-    public function testPropertyType()
-    {
-    }
-}

+ 0 - 106
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BrandingThemeTest.php

@@ -1,106 +0,0 @@
-<?php
-/**
- * BrandingThemeTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * BrandingThemeTest Class Doc Comment
- *
- * @category    Class
- * @description BrandingTheme
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class BrandingThemeTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "BrandingTheme"
-     */
-    public function testBrandingTheme()
-    {
-    }
-
-    /**
-     * Test attribute "branding_theme_id"
-     */
-    public function testPropertyBrandingThemeId()
-    {
-    }
-
-    /**
-     * Test attribute "name"
-     */
-    public function testPropertyName()
-    {
-    }
-
-    /**
-     * Test attribute "sort_order"
-     */
-    public function testPropertySortOrder()
-    {
-    }
-
-    /**
-     * Test attribute "created_date_utc"
-     */
-    public function testPropertyCreatedDateUtc()
-    {
-    }
-}

+ 0 - 85
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/BrandingThemesTest.php

@@ -1,85 +0,0 @@
-<?php
-/**
- * BrandingThemesTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * BrandingThemesTest Class Doc Comment
- *
- * @category    Class
- * @description BrandingThemes
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class BrandingThemesTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "BrandingThemes"
-     */
-    public function testBrandingThemes()
-    {
-    }
-
-    /**
-     * Test attribute "branding_themes"
-     */
-    public function testPropertyBrandingThemes()
-    {
-    }
-}

+ 0 - 99
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/CISOrgSettingTest.php

@@ -1,99 +0,0 @@
-<?php
-/**
- * CISOrgSettingTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * CISOrgSettingTest Class Doc Comment
- *
- * @category    Class
- * @description CISOrgSetting
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class CISOrgSettingTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "CISOrgSetting"
-     */
-    public function testCISOrgSetting()
-    {
-    }
-
-    /**
-     * Test attribute "cis_contractor_enabled"
-     */
-    public function testPropertyCisContractorEnabled()
-    {
-    }
-
-    /**
-     * Test attribute "cis_sub_contractor_enabled"
-     */
-    public function testPropertyCisSubContractorEnabled()
-    {
-    }
-
-    /**
-     * Test attribute "rate"
-     */
-    public function testPropertyRate()
-    {
-    }
-}

+ 0 - 92
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/CISSettingTest.php

@@ -1,92 +0,0 @@
-<?php
-/**
- * CISSettingTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * CISSettingTest Class Doc Comment
- *
- * @category    Class
- * @description CISSetting
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class CISSettingTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "CISSetting"
-     */
-    public function testCISSetting()
-    {
-    }
-
-    /**
-     * Test attribute "cis_enabled"
-     */
-    public function testPropertyCisEnabled()
-    {
-    }
-
-    /**
-     * Test attribute "rate"
-     */
-    public function testPropertyRate()
-    {
-    }
-}

+ 0 - 85
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/CISSettingsTest.php

@@ -1,85 +0,0 @@
-<?php
-/**
- * CISSettingsTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * CISSettingsTest Class Doc Comment
- *
- * @category    Class
- * @description CISSettings
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class CISSettingsTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "CISSettings"
-     */
-    public function testCISSettings()
-    {
-    }
-
-    /**
-     * Test attribute "cis_settings"
-     */
-    public function testPropertyCisSettings()
-    {
-    }
-}

+ 0 - 99
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ConnectionTest.php

@@ -1,99 +0,0 @@
-<?php
-/**
- * ConnectionTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Xero oAuth 2 identity service
- *
- * This specifing endpoints related to managing authentication tokens and identity for Xero API
- *
- * OpenAPI spec version: 1.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * ConnectionTest Class Doc Comment
- *
- * @category    Class
- * @description Connection
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class ConnectionTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "Connection"
-     */
-    public function testConnection()
-    {
-    }
-
-    /**
-     * Test attribute "id"
-     */
-    public function testPropertyId()
-    {
-    }
-
-    /**
-     * Test attribute "tenant_id"
-     */
-    public function testPropertyTenantId()
-    {
-    }
-
-    /**
-     * Test attribute "tenant_type"
-     */
-    public function testPropertyTenantType()
-    {
-    }
-}

+ 0 - 106
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ContactGroupTest.php

@@ -1,106 +0,0 @@
-<?php
-/**
- * ContactGroupTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * ContactGroupTest Class Doc Comment
- *
- * @category    Class
- * @description ContactGroup
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class ContactGroupTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "ContactGroup"
-     */
-    public function testContactGroup()
-    {
-    }
-
-    /**
-     * Test attribute "name"
-     */
-    public function testPropertyName()
-    {
-    }
-
-    /**
-     * Test attribute "status"
-     */
-    public function testPropertyStatus()
-    {
-    }
-
-    /**
-     * Test attribute "contact_group_id"
-     */
-    public function testPropertyContactGroupId()
-    {
-    }
-
-    /**
-     * Test attribute "contacts"
-     */
-    public function testPropertyContacts()
-    {
-    }
-}

+ 0 - 85
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ContactGroupsTest.php

@@ -1,85 +0,0 @@
-<?php
-/**
- * ContactGroupsTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * ContactGroupsTest Class Doc Comment
- *
- * @category    Class
- * @description ContactGroups
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class ContactGroupsTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "ContactGroups"
-     */
-    public function testContactGroups()
-    {
-    }
-
-    /**
-     * Test attribute "contact_groups"
-     */
-    public function testPropertyContactGroups()
-    {
-    }
-}

+ 0 - 106
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ContactPersonTest.php

@@ -1,106 +0,0 @@
-<?php
-/**
- * ContactPersonTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * ContactPersonTest Class Doc Comment
- *
- * @category    Class
- * @description ContactPerson
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class ContactPersonTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "ContactPerson"
-     */
-    public function testContactPerson()
-    {
-    }
-
-    /**
-     * Test attribute "first_name"
-     */
-    public function testPropertyFirstName()
-    {
-    }
-
-    /**
-     * Test attribute "last_name"
-     */
-    public function testPropertyLastName()
-    {
-    }
-
-    /**
-     * Test attribute "email_address"
-     */
-    public function testPropertyEmailAddress()
-    {
-    }
-
-    /**
-     * Test attribute "include_in_emails"
-     */
-    public function testPropertyIncludeInEmails()
-    {
-    }
-}

+ 0 - 344
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ContactTest.php

@@ -1,344 +0,0 @@
-<?php
-/**
- * ContactTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * ContactTest Class Doc Comment
- *
- * @category    Class
- * @description Contact
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class ContactTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "Contact"
-     */
-    public function testContact()
-    {
-    }
-
-    /**
-     * Test attribute "contact_id"
-     */
-    public function testPropertyContactId()
-    {
-    }
-
-    /**
-     * Test attribute "contact_number"
-     */
-    public function testPropertyContactNumber()
-    {
-    }
-
-    /**
-     * Test attribute "account_number"
-     */
-    public function testPropertyAccountNumber()
-    {
-    }
-
-    /**
-     * Test attribute "contact_status"
-     */
-    public function testPropertyContactStatus()
-    {
-    }
-
-    /**
-     * Test attribute "name"
-     */
-    public function testPropertyName()
-    {
-    }
-
-    /**
-     * Test attribute "first_name"
-     */
-    public function testPropertyFirstName()
-    {
-    }
-
-    /**
-     * Test attribute "last_name"
-     */
-    public function testPropertyLastName()
-    {
-    }
-
-    /**
-     * Test attribute "email_address"
-     */
-    public function testPropertyEmailAddress()
-    {
-    }
-
-    /**
-     * Test attribute "skype_user_name"
-     */
-    public function testPropertySkypeUserName()
-    {
-    }
-
-    /**
-     * Test attribute "contact_persons"
-     */
-    public function testPropertyContactPersons()
-    {
-    }
-
-    /**
-     * Test attribute "bank_account_details"
-     */
-    public function testPropertyBankAccountDetails()
-    {
-    }
-
-    /**
-     * Test attribute "tax_number"
-     */
-    public function testPropertyTaxNumber()
-    {
-    }
-
-    /**
-     * Test attribute "accounts_receivable_tax_type"
-     */
-    public function testPropertyAccountsReceivableTaxType()
-    {
-    }
-
-    /**
-     * Test attribute "accounts_payable_tax_type"
-     */
-    public function testPropertyAccountsPayableTaxType()
-    {
-    }
-
-    /**
-     * Test attribute "addresses"
-     */
-    public function testPropertyAddresses()
-    {
-    }
-
-    /**
-     * Test attribute "phones"
-     */
-    public function testPropertyPhones()
-    {
-    }
-
-    /**
-     * Test attribute "is_supplier"
-     */
-    public function testPropertyIsSupplier()
-    {
-    }
-
-    /**
-     * Test attribute "is_customer"
-     */
-    public function testPropertyIsCustomer()
-    {
-    }
-
-    /**
-     * Test attribute "default_currency"
-     */
-    public function testPropertyDefaultCurrency()
-    {
-    }
-
-    /**
-     * Test attribute "xero_network_key"
-     */
-    public function testPropertyXeroNetworkKey()
-    {
-    }
-
-    /**
-     * Test attribute "sales_default_account_code"
-     */
-    public function testPropertySalesDefaultAccountCode()
-    {
-    }
-
-    /**
-     * Test attribute "purchases_default_account_code"
-     */
-    public function testPropertyPurchasesDefaultAccountCode()
-    {
-    }
-
-    /**
-     * Test attribute "sales_tracking_categories"
-     */
-    public function testPropertySalesTrackingCategories()
-    {
-    }
-
-    /**
-     * Test attribute "purchases_tracking_categories"
-     */
-    public function testPropertyPurchasesTrackingCategories()
-    {
-    }
-
-    /**
-     * Test attribute "tracking_category_name"
-     */
-    public function testPropertyTrackingCategoryName()
-    {
-    }
-
-    /**
-     * Test attribute "tracking_category_option"
-     */
-    public function testPropertyTrackingCategoryOption()
-    {
-    }
-
-    /**
-     * Test attribute "payment_terms"
-     */
-    public function testPropertyPaymentTerms()
-    {
-    }
-
-    /**
-     * Test attribute "updated_date_utc"
-     */
-    public function testPropertyUpdatedDateUtc()
-    {
-    }
-
-    /**
-     * Test attribute "contact_groups"
-     */
-    public function testPropertyContactGroups()
-    {
-    }
-
-    /**
-     * Test attribute "website"
-     */
-    public function testPropertyWebsite()
-    {
-    }
-
-    /**
-     * Test attribute "branding_theme"
-     */
-    public function testPropertyBrandingTheme()
-    {
-    }
-
-    /**
-     * Test attribute "batch_payments"
-     */
-    public function testPropertyBatchPayments()
-    {
-    }
-
-    /**
-     * Test attribute "discount"
-     */
-    public function testPropertyDiscount()
-    {
-    }
-
-    /**
-     * Test attribute "balances"
-     */
-    public function testPropertyBalances()
-    {
-    }
-
-    /**
-     * Test attribute "attachments"
-     */
-    public function testPropertyAttachments()
-    {
-    }
-
-    /**
-     * Test attribute "has_attachments"
-     */
-    public function testPropertyHasAttachments()
-    {
-    }
-
-    /**
-     * Test attribute "validation_errors"
-     */
-    public function testPropertyValidationErrors()
-    {
-    }
-
-    /**
-     * Test attribute "has_validation_errors"
-     */
-    public function testPropertyHasValidationErrors()
-    {
-    }
-}

+ 0 - 85
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ContactsTest.php

@@ -1,85 +0,0 @@
-<?php
-/**
- * ContactsTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * ContactsTest Class Doc Comment
- *
- * @category    Class
- * @description Contacts
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class ContactsTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "Contacts"
-     */
-    public function testContacts()
-    {
-    }
-
-    /**
-     * Test attribute "contacts"
-     */
-    public function testPropertyContacts()
-    {
-    }
-}

+ 0 - 78
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/CountryCodeTest.php

@@ -1,78 +0,0 @@
-<?php
-/**
- * CountryCodeTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * CountryCodeTest Class Doc Comment
- *
- * @category    Class
- * @description CountryCode
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class CountryCodeTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "CountryCode"
-     */
-    public function testCountryCode()
-    {
-    }
-}

+ 0 - 239
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/CreditNoteTest.php

@@ -1,239 +0,0 @@
-<?php
-/**
- * CreditNoteTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * CreditNoteTest Class Doc Comment
- *
- * @category    Class
- * @description CreditNote
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class CreditNoteTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "CreditNote"
-     */
-    public function testCreditNote()
-    {
-    }
-
-    /**
-     * Test attribute "type"
-     */
-    public function testPropertyType()
-    {
-    }
-
-    /**
-     * Test attribute "contact"
-     */
-    public function testPropertyContact()
-    {
-    }
-
-    /**
-     * Test attribute "date"
-     */
-    public function testPropertyDate()
-    {
-    }
-
-    /**
-     * Test attribute "status"
-     */
-    public function testPropertyStatus()
-    {
-    }
-
-    /**
-     * Test attribute "line_amount_types"
-     */
-    public function testPropertyLineAmountTypes()
-    {
-    }
-
-    /**
-     * Test attribute "line_items"
-     */
-    public function testPropertyLineItems()
-    {
-    }
-
-    /**
-     * Test attribute "sub_total"
-     */
-    public function testPropertySubTotal()
-    {
-    }
-
-    /**
-     * Test attribute "total_tax"
-     */
-    public function testPropertyTotalTax()
-    {
-    }
-
-    /**
-     * Test attribute "total"
-     */
-    public function testPropertyTotal()
-    {
-    }
-
-    /**
-     * Test attribute "updated_date_utc"
-     */
-    public function testPropertyUpdatedDateUtc()
-    {
-    }
-
-    /**
-     * Test attribute "currency_code"
-     */
-    public function testPropertyCurrencyCode()
-    {
-    }
-
-    /**
-     * Test attribute "fully_paid_on_date"
-     */
-    public function testPropertyFullyPaidOnDate()
-    {
-    }
-
-    /**
-     * Test attribute "credit_note_id"
-     */
-    public function testPropertyCreditNoteId()
-    {
-    }
-
-    /**
-     * Test attribute "credit_note_number"
-     */
-    public function testPropertyCreditNoteNumber()
-    {
-    }
-
-    /**
-     * Test attribute "reference"
-     */
-    public function testPropertyReference()
-    {
-    }
-
-    /**
-     * Test attribute "sent_to_contact"
-     */
-    public function testPropertySentToContact()
-    {
-    }
-
-    /**
-     * Test attribute "currency_rate"
-     */
-    public function testPropertyCurrencyRate()
-    {
-    }
-
-    /**
-     * Test attribute "remaining_credit"
-     */
-    public function testPropertyRemainingCredit()
-    {
-    }
-
-    /**
-     * Test attribute "allocations"
-     */
-    public function testPropertyAllocations()
-    {
-    }
-
-    /**
-     * Test attribute "payments"
-     */
-    public function testPropertyPayments()
-    {
-    }
-
-    /**
-     * Test attribute "branding_theme_id"
-     */
-    public function testPropertyBrandingThemeId()
-    {
-    }
-
-    /**
-     * Test attribute "has_attachments"
-     */
-    public function testPropertyHasAttachments()
-    {
-    }
-
-    /**
-     * Test attribute "validation_errors"
-     */
-    public function testPropertyValidationErrors()
-    {
-    }
-}

+ 0 - 85
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/CreditNotesTest.php

@@ -1,85 +0,0 @@
-<?php
-/**
- * CreditNotesTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * CreditNotesTest Class Doc Comment
- *
- * @category    Class
- * @description CreditNotes
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class CreditNotesTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "CreditNotes"
-     */
-    public function testCreditNotes()
-    {
-    }
-
-    /**
-     * Test attribute "credit_notes"
-     */
-    public function testPropertyCreditNotes()
-    {
-    }
-}

+ 0 - 85
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/CurrenciesTest.php

@@ -1,85 +0,0 @@
-<?php
-/**
- * CurrenciesTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * CurrenciesTest Class Doc Comment
- *
- * @category    Class
- * @description Currencies
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class CurrenciesTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "Currencies"
-     */
-    public function testCurrencies()
-    {
-    }
-
-    /**
-     * Test attribute "currencies"
-     */
-    public function testPropertyCurrencies()
-    {
-    }
-}

+ 0 - 78
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/CurrencyCodeTest.php

@@ -1,78 +0,0 @@
-<?php
-/**
- * CurrencyCodeTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * CurrencyCodeTest Class Doc Comment
- *
- * @category    Class
- * @description 3 letter alpha code for the currency – see list of currency codes
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class CurrencyCodeTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "CurrencyCode"
-     */
-    public function testCurrencyCode()
-    {
-    }
-}

+ 0 - 92
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/CurrencyTest.php

@@ -1,92 +0,0 @@
-<?php
-/**
- * CurrencyTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * CurrencyTest Class Doc Comment
- *
- * @category    Class
- * @description Currency
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class CurrencyTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "Currency"
-     */
-    public function testCurrency()
-    {
-    }
-
-    /**
-     * Test attribute "code"
-     */
-    public function testPropertyCode()
-    {
-    }
-
-    /**
-     * Test attribute "description"
-     */
-    public function testPropertyDescription()
-    {
-    }
-}

+ 0 - 85
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ElementTest.php

@@ -1,85 +0,0 @@
-<?php
-/**
- * ElementTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * ElementTest Class Doc Comment
- *
- * @category    Class
- * @description Element
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class ElementTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "Element"
-     */
-    public function testElement()
-    {
-    }
-
-    /**
-     * Test attribute "validation_errors"
-     */
-    public function testPropertyValidationErrors()
-    {
-    }
-}

+ 0 - 120
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/EmployeeTest.php

@@ -1,120 +0,0 @@
-<?php
-/**
- * EmployeeTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * EmployeeTest Class Doc Comment
- *
- * @category    Class
- * @description Employee
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class EmployeeTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "Employee"
-     */
-    public function testEmployee()
-    {
-    }
-
-    /**
-     * Test attribute "employee_id"
-     */
-    public function testPropertyEmployeeId()
-    {
-    }
-
-    /**
-     * Test attribute "status"
-     */
-    public function testPropertyStatus()
-    {
-    }
-
-    /**
-     * Test attribute "first_name"
-     */
-    public function testPropertyFirstName()
-    {
-    }
-
-    /**
-     * Test attribute "last_name"
-     */
-    public function testPropertyLastName()
-    {
-    }
-
-    /**
-     * Test attribute "external_link"
-     */
-    public function testPropertyExternalLink()
-    {
-    }
-
-    /**
-     * Test attribute "updated_date_utc"
-     */
-    public function testPropertyUpdatedDateUtc()
-    {
-    }
-}

+ 0 - 85
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/EmployeesTest.php

@@ -1,85 +0,0 @@
-<?php
-/**
- * EmployeesTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * EmployeesTest Class Doc Comment
- *
- * @category    Class
- * @description Employees
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class EmployeesTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "Employees"
-     */
-    public function testEmployees()
-    {
-    }
-
-    /**
-     * Test attribute "employees"
-     */
-    public function testPropertyEmployees()
-    {
-    }
-}

+ 0 - 106
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ErrorTest.php

@@ -1,106 +0,0 @@
-<?php
-/**
- * ErrorTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * ErrorTest Class Doc Comment
- *
- * @category    Class
- * @description Error
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class ErrorTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "Error"
-     */
-    public function testError()
-    {
-    }
-
-    /**
-     * Test attribute "error_number"
-     */
-    public function testPropertyErrorNumber()
-    {
-    }
-
-    /**
-     * Test attribute "type"
-     */
-    public function testPropertyType()
-    {
-    }
-
-    /**
-     * Test attribute "message"
-     */
-    public function testPropertyMessage()
-    {
-    }
-
-    /**
-     * Test attribute "elements"
-     */
-    public function testPropertyElements()
-    {
-    }
-}

+ 0 - 162
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ExpenseClaimTest.php

@@ -1,162 +0,0 @@
-<?php
-/**
- * ExpenseClaimTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * ExpenseClaimTest Class Doc Comment
- *
- * @category    Class
- * @description ExpenseClaim
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class ExpenseClaimTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "ExpenseClaim"
-     */
-    public function testExpenseClaim()
-    {
-    }
-
-    /**
-     * Test attribute "expense_claim_id"
-     */
-    public function testPropertyExpenseClaimId()
-    {
-    }
-
-    /**
-     * Test attribute "status"
-     */
-    public function testPropertyStatus()
-    {
-    }
-
-    /**
-     * Test attribute "payments"
-     */
-    public function testPropertyPayments()
-    {
-    }
-
-    /**
-     * Test attribute "user"
-     */
-    public function testPropertyUser()
-    {
-    }
-
-    /**
-     * Test attribute "receipts"
-     */
-    public function testPropertyReceipts()
-    {
-    }
-
-    /**
-     * Test attribute "updated_date_utc"
-     */
-    public function testPropertyUpdatedDateUtc()
-    {
-    }
-
-    /**
-     * Test attribute "total"
-     */
-    public function testPropertyTotal()
-    {
-    }
-
-    /**
-     * Test attribute "amount_due"
-     */
-    public function testPropertyAmountDue()
-    {
-    }
-
-    /**
-     * Test attribute "amount_paid"
-     */
-    public function testPropertyAmountPaid()
-    {
-    }
-
-    /**
-     * Test attribute "payment_due_date"
-     */
-    public function testPropertyPaymentDueDate()
-    {
-    }
-
-    /**
-     * Test attribute "reporting_date"
-     */
-    public function testPropertyReportingDate()
-    {
-    }
-
-    /**
-     * Test attribute "receipt_id"
-     */
-    public function testPropertyReceiptId()
-    {
-    }
-}

+ 0 - 85
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ExpenseClaimsTest.php

@@ -1,85 +0,0 @@
-<?php
-/**
- * ExpenseClaimsTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * ExpenseClaimsTest Class Doc Comment
- *
- * @category    Class
- * @description ExpenseClaims
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class ExpenseClaimsTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "ExpenseClaims"
-     */
-    public function testExpenseClaims()
-    {
-    }
-
-    /**
-     * Test attribute "expense_claims"
-     */
-    public function testPropertyExpenseClaims()
-    {
-    }
-}

+ 0 - 99
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/ExternalLinkTest.php

@@ -1,99 +0,0 @@
-<?php
-/**
- * ExternalLinkTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * ExternalLinkTest Class Doc Comment
- *
- * @category    Class
- * @description ExternalLink
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class ExternalLinkTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "ExternalLink"
-     */
-    public function testExternalLink()
-    {
-    }
-
-    /**
-     * Test attribute "link_type"
-     */
-    public function testPropertyLinkType()
-    {
-    }
-
-    /**
-     * Test attribute "url"
-     */
-    public function testPropertyUrl()
-    {
-    }
-
-    /**
-     * Test attribute "description"
-     */
-    public function testPropertyDescription()
-    {
-    }
-}

+ 0 - 106
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/HistoryRecordTest.php

@@ -1,106 +0,0 @@
-<?php
-/**
- * HistoryRecordTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * HistoryRecordTest Class Doc Comment
- *
- * @category    Class
- * @description HistoryRecord
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class HistoryRecordTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "HistoryRecord"
-     */
-    public function testHistoryRecord()
-    {
-    }
-
-    /**
-     * Test attribute "details"
-     */
-    public function testPropertyDetails()
-    {
-    }
-
-    /**
-     * Test attribute "changes"
-     */
-    public function testPropertyChanges()
-    {
-    }
-
-    /**
-     * Test attribute "user"
-     */
-    public function testPropertyUser()
-    {
-    }
-
-    /**
-     * Test attribute "date_utc"
-     */
-    public function testPropertyDateUtc()
-    {
-    }
-}

+ 0 - 85
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/HistoryRecordsTest.php

@@ -1,85 +0,0 @@
-<?php
-/**
- * HistoryRecordsTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * HistoryRecordsTest Class Doc Comment
- *
- * @category    Class
- * @description HistoryRecords
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class HistoryRecordsTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "HistoryRecords"
-     */
-    public function testHistoryRecords()
-    {
-    }
-
-    /**
-     * Test attribute "history_records"
-     */
-    public function testPropertyHistoryRecords()
-    {
-    }
-}

+ 0 - 85
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/test/Model/InvoiceReminderTest.php

@@ -1,85 +0,0 @@
-<?php
-/**
- * InvoiceReminderTest
- *
- * PHP version 5
- *
- * @category Class
- * @package  SidneyAllen\XeroPHP
- * @author   OpenAPI Generator team
- * @link     https://openapi-generator.tech
- */
-
-/**
- * Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * OpenAPI spec version: 2.0.0
- * Contact: api@xero.com
- * Generated by: https://openapi-generator.tech
- * OpenAPI Generator version: 3.3.4
- */
-
-/**
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Please update the test case below to test the model.
- */
-
-namespace SidneyAllen\XeroPHP;
-
-/**
- * InvoiceReminderTest Class Doc Comment
- *
- * @category    Class
- * @description InvoiceReminder
- * @package     SidneyAllen\XeroPHP
- * @author      OpenAPI Generator team
- * @link        https://openapi-generator.tech
- */
-class InvoiceReminderTest extends \PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Setup before running any test case
-     */
-    public static function setUpBeforeClass()
-    {
-    }
-
-    /**
-     * Setup before running each test case
-     */
-    public function setUp()
-    {
-    }
-
-    /**
-     * Clean up after running each test case
-     */
-    public function tearDown()
-    {
-    }
-
-    /**
-     * Clean up after running all test cases
-     */
-    public static function tearDownAfterClass()
-    {
-    }
-
-    /**
-     * Test "InvoiceReminder"
-     */
-    public function testInvoiceReminder()
-    {
-    }
-
-    /**
-     * Test attribute "enabled"
-     */
-    public function testPropertyEnabled()
-    {
-    }
-}

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä