diff --git a/docs/v2/accounting/index.html b/docs/v2/accounting/index.html index 2337d4ad..64cf39ff 100644 --- a/docs/v2/accounting/index.html +++ b/docs/v2/accounting/index.html @@ -6338,7 +6338,7 @@ SDK: - VSN: 8.0.0 + VSN: 8.1.0 Methods createAccount diff --git a/docs/v2/appstore/index.html b/docs/v2/appstore/index.html index b39c6edc..958c5110 100644 --- a/docs/v2/appstore/index.html +++ b/docs/v2/appstore/index.html @@ -1240,7 +1240,7 @@ SDK: - VSN: 8.0.0 + VSN: 8.1.0 Methods getSubscription diff --git a/docs/v2/assets/index.html b/docs/v2/assets/index.html index 860f5cac..2edfc214 100644 --- a/docs/v2/assets/index.html +++ b/docs/v2/assets/index.html @@ -1391,7 +1391,7 @@ SDK: - VSN: 8.0.0 + VSN: 8.1.0 Methods createAsset diff --git a/docs/v2/files/index.html b/docs/v2/files/index.html index 3be5eace..ee9c0c65 100644 --- a/docs/v2/files/index.html +++ b/docs/v2/files/index.html @@ -1169,7 +1169,7 @@ SDK: - VSN: 8.0.0 + VSN: 8.1.0 Methods createFileAssociation diff --git a/docs/v2/finance/index.html b/docs/v2/finance/index.html index a81fa314..dd1f755c 100644 --- a/docs/v2/finance/index.html +++ b/docs/v2/finance/index.html @@ -2715,7 +2715,7 @@ SDK: - VSN: 8.0.0 + VSN: 8.1.0 Methods getAccountingActivityAccountUsage diff --git a/docs/v2/payroll_au/index.html b/docs/v2/payroll_au/index.html index 81b70396..95de6eb9 100644 --- a/docs/v2/payroll_au/index.html +++ b/docs/v2/payroll_au/index.html @@ -3411,7 +3411,7 @@ SDK: - VSN: 8.0.0 + VSN: 8.1.0 Methods approveLeaveApplication diff --git a/docs/v2/payroll_nz/index.html b/docs/v2/payroll_nz/index.html index 5eec15fc..5b654265 100644 --- a/docs/v2/payroll_nz/index.html +++ b/docs/v2/payroll_nz/index.html @@ -4086,7 +4086,7 @@ SDK: - VSN: 8.0.0 + VSN: 8.1.0 Methods approveTimesheet diff --git a/docs/v2/payroll_uk/index.html b/docs/v2/payroll_uk/index.html index b5808593..bcaf9885 100644 --- a/docs/v2/payroll_uk/index.html +++ b/docs/v2/payroll_uk/index.html @@ -1381,7 +1381,7 @@ "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", @@ -3516,7 +3516,7 @@ SDK: - VSN: 8.0.0 + VSN: 8.1.0 Methods approveTimesheet diff --git a/docs/v2/projects/index.html b/docs/v2/projects/index.html index d5674c61..89dde7dc 100644 --- a/docs/v2/projects/index.html +++ b/docs/v2/projects/index.html @@ -1461,7 +1461,7 @@ SDK: - VSN: 8.0.0 + VSN: 8.1.0 Methods createProject diff --git a/lib/Api/AccountingApi.php b/lib/Api/AccountingApi.php index 14c4644e..14945bb3 100644 --- a/lib/Api/AccountingApi.php +++ b/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: 7.1.0 * Contact: api@xero.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/lib/Api/AppStoreApi.php b/lib/Api/AppStoreApi.php index d451d92e..bfe2a12b 100644 --- a/lib/Api/AppStoreApi.php +++ b/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: 7.1.0 * Contact: api@xero.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/lib/Api/AssetApi.php b/lib/Api/AssetApi.php index 2b0a9002..9894e905 100644 --- a/lib/Api/AssetApi.php +++ b/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: 7.1.0 * Contact: api@xero.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/lib/Api/FilesApi.php b/lib/Api/FilesApi.php index d907b2f8..a3aad0d7 100644 --- a/lib/Api/FilesApi.php +++ b/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: 7.1.0 * Contact: api@xero.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/lib/Api/FinanceApi.php b/lib/Api/FinanceApi.php index 2dc825b7..76653c80 100644 --- a/lib/Api/FinanceApi.php +++ b/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: 7.1.0 * Contact: api@xero.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/lib/Api/IdentityApi.php b/lib/Api/IdentityApi.php index 5f560117..b466d5ed 100644 --- a/lib/Api/IdentityApi.php +++ b/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: 7.1.0 * Contact: api@xero.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/lib/Api/PayrollAuApi.php b/lib/Api/PayrollAuApi.php index 18846378..0f709ccc 100644 --- a/lib/Api/PayrollAuApi.php +++ b/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: 7.1.0 * Contact: api@xero.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/lib/Api/PayrollNzApi.php b/lib/Api/PayrollNzApi.php index fcebd92b..dd175e61 100644 --- a/lib/Api/PayrollNzApi.php +++ b/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: 7.1.0 * Contact: api@xero.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/lib/Api/PayrollUkApi.php b/lib/Api/PayrollUkApi.php index 207c4357..3a499f60 100644 --- a/lib/Api/PayrollUkApi.php +++ b/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: 7.1.0 * Contact: api@xero.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/lib/Api/ProjectApi.php b/lib/Api/ProjectApi.php index 9b2b0439..838e080c 100644 --- a/lib/Api/ProjectApi.php +++ b/lib/Api/ProjectApi.php @@ -14,7 +14,7 @@ * * This is the Xero Projects API * - * OpenAPI spec version: 7.0.0 + * OpenAPI spec version: 7.1.0 * Contact: api@xero.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.4.0 diff --git a/lib/Configuration.php b/lib/Configuration.php index 1ab7dc36..725f2188 100644 --- a/lib/Configuration.php +++ b/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 @@ public static function toDebugReport() $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: 7.1.0' . PHP_EOL; + $report .= ' SDK Package Version: 8.1.0' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/lib/Models/PayrollUk/EarningsRate.php b/lib/Models/PayrollUk/EarningsRate.php index af01b262..ef0b17a0 100644 --- a/lib/Models/PayrollUk/EarningsRate.php +++ b/lib/Models/PayrollUk/EarningsRate.php @@ -227,6 +227,8 @@ public function getModelName() 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 @@ public function getEarningsTypeAllowableValues() 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, ]; }