From f27d866ecf3b592c748dcbf95ccb755602851b60 Mon Sep 17 00:00:00 2001 From: szepeviktor Date: Mon, 2 Sep 2024 04:40:52 +0000 Subject: [PATCH] Upgrade client --- .openapi-generator/VERSION | 2 +- src/Api/BankAccountApi.php | 10 +++--- src/Api/CurrencyApi.php | 4 +-- src/Api/DocumentApi.php | 40 +++++++++++----------- src/Api/DocumentBlockApi.php | 4 +-- src/Api/DocumentExportApi.php | 8 ++--- src/Api/OrganizationApi.php | 4 +-- src/Api/PartnerApi.php | 10 +++--- src/Api/ProductApi.php | 10 +++--- src/Api/SpendingApi.php | 10 +++--- src/Api/UtilApi.php | 8 ++--- src/ApiException.php | 8 ++--- src/Configuration.php | 2 +- src/HeaderSelector.php | 10 +++--- src/Model/Address.php | 2 +- src/Model/BankAccount.php | 2 +- src/Model/BankAccountList.php | 2 +- src/Model/Category.php | 2 +- src/Model/CheckTaxNumberMessage.php | 2 +- src/Model/ClientError.php | 2 +- src/Model/ClientErrorResponse.php | 2 +- src/Model/ConversationRate.php | 2 +- src/Model/CorrectionType.php | 2 +- src/Model/Country.php | 2 +- src/Model/CreateDocumentExport.php | 2 +- src/Model/Currency.php | 2 +- src/Model/DateType.php | 2 +- src/Model/Discount.php | 2 +- src/Model/DiscountType.php | 2 +- src/Model/Document.php | 2 +- src/Model/DocumentAncestor.php | 2 +- src/Model/DocumentBankAccount.php | 2 +- src/Model/DocumentBlock.php | 2 +- src/Model/DocumentBlockList.php | 2 +- src/Model/DocumentBlockType.php | 2 +- src/Model/DocumentCancellation.php | 2 +- src/Model/DocumentExportFilterExtra.php | 2 +- src/Model/DocumentExportId.php | 2 +- src/Model/DocumentExportOtherOptions.php | 2 +- src/Model/DocumentExportQueryType.php | 2 +- src/Model/DocumentExportSortBy.php | 2 +- src/Model/DocumentExportStatus.php | 2 +- src/Model/DocumentExportStatusState.php | 2 +- src/Model/DocumentExportType.php | 2 +- src/Model/DocumentForm.php | 2 +- src/Model/DocumentFormat.php | 2 +- src/Model/DocumentInsert.php | 2 +- src/Model/DocumentInsertItemsInner.php | 2 +- src/Model/DocumentInsertType.php | 2 +- src/Model/DocumentItem.php | 2 +- src/Model/DocumentItemData.php | 2 +- src/Model/DocumentLanguage.php | 2 +- src/Model/DocumentList.php | 2 +- src/Model/DocumentNotificationStatus.php | 2 +- src/Model/DocumentOrganization.php | 2 +- src/Model/DocumentPartner.php | 2 +- src/Model/DocumentProductData.php | 2 +- src/Model/DocumentPublicUrl.php | 2 +- src/Model/DocumentSettings.php | 2 +- src/Model/DocumentSummary.php | 2 +- src/Model/DocumentType.php | 2 +- src/Model/DocumentVatRateSummary.php | 2 +- src/Model/Entitlement.php | 2 +- src/Model/Feature.php | 2 +- src/Model/Id.php | 2 +- src/Model/InvoiceSettings.php | 2 +- src/Model/LedgerNumberInformation.php | 2 +- src/Model/ModelInterface.php | 2 +- src/Model/ModificationDocumentInsert.php | 2 +- src/Model/OnlinePayment.php | 2 +- src/Model/OnlineSzamlaStatus.php | 2 +- src/Model/OnlineSzamlaStatusEnum.php | 2 +- src/Model/OnlineSzamlaStatusMessage.php | 2 +- src/Model/OrganizationData.php | 2 +- src/Model/Partner.php | 2 +- src/Model/PartnerCustomBillingSettings.php | 2 +- src/Model/PartnerList.php | 2 +- src/Model/PartnerTaxType.php | 2 +- src/Model/PaymentHistory.php | 2 +- src/Model/PaymentMethod.php | 2 +- src/Model/PaymentStatus.php | 2 +- src/Model/PaymentStatusSpending.php | 2 +- src/Model/Product.php | 2 +- src/Model/ProductList.php | 2 +- src/Model/ReceiptInsert.php | 2 +- src/Model/ReceiptInsertItemsInner.php | 2 +- src/Model/ReceiptItemData.php | 2 +- src/Model/ReceiptProductData.php | 2 +- src/Model/Round.php | 2 +- src/Model/SendDocument.php | 2 +- src/Model/ServerError.php | 2 +- src/Model/ServerErrorResponse.php | 2 +- src/Model/ServerTime.php | 2 +- src/Model/Source.php | 2 +- src/Model/Spending.php | 2 +- src/Model/SpendingList.php | 2 +- src/Model/SpendingListItem.php | 2 +- src/Model/SpendingPartner.php | 2 +- src/Model/SpendingPaymentMethod.php | 2 +- src/Model/SpendingSave.php | 2 +- src/Model/Subscription.php | 2 +- src/Model/SubscriptionErrorResponse.php | 2 +- src/Model/TaxNumber.php | 2 +- src/Model/TooManyRequestsResponse.php | 2 +- src/Model/UnitPriceType.php | 2 +- src/Model/ValidationError.php | 2 +- src/Model/ValidationErrorResponse.php | 2 +- src/Model/Vat.php | 2 +- src/ObjectSerializer.php | 11 ++++-- 109 files changed, 167 insertions(+), 162 deletions(-) diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 93c8dda..09a6d30 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.8.0 diff --git a/src/Api/BankAccountApi.php b/src/Api/BankAccountApi.php index 96ec05e..9c781f9 100644 --- a/src/Api/BankAccountApi.php +++ b/src/Api/BankAccountApi.php @@ -16,7 +16,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** @@ -202,7 +202,7 @@ public function createBankAccountWithHttpInfo($bankAccount, string $contentType ); } - switch($statusCode) { + switch ($statusCode) { case 201: if ('\Cone\Billingo\Model\BankAccount' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1048,7 +1048,7 @@ public function getBankAccountWithHttpInfo($id, string $contentType = self::cont ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\BankAccount' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1607,7 +1607,7 @@ public function listBankAccountWithHttpInfo($page = null, $perPage = 25, string ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\BankAccountList' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2145,7 +2145,7 @@ public function updateBankAccountWithHttpInfo($id, $bankAccount, string $content ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\BankAccount' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/src/Api/CurrencyApi.php b/src/Api/CurrencyApi.php index 2b68527..48a969b 100644 --- a/src/Api/CurrencyApi.php +++ b/src/Api/CurrencyApi.php @@ -16,7 +16,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** @@ -194,7 +194,7 @@ public function getConversionRateWithHttpInfo($from, $to, $date = null, string $ ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\ConversationRate' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/src/Api/DocumentApi.php b/src/Api/DocumentApi.php index 7e269e9..18fdf07 100644 --- a/src/Api/DocumentApi.php +++ b/src/Api/DocumentApi.php @@ -16,7 +16,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** @@ -550,7 +550,7 @@ public function cancelDocumentWithHttpInfo($id, $documentCancellation = null, st ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\Document' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1153,7 +1153,7 @@ public function createDocumentWithHttpInfo($documentInsert, string $contentType ); } - switch($statusCode) { + switch ($statusCode) { case 201: if ('\Cone\Billingo\Model\Document' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1711,7 +1711,7 @@ public function createDocumentFromDraftWithHttpInfo($id, $documentInsert, string ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\Document' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2322,7 +2322,7 @@ public function createDocumentFromProformaWithHttpInfo($id, $invoiceSettings = n ); } - switch($statusCode) { + switch ($statusCode) { case 201: if ('\Cone\Billingo\Model\Document' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2927,7 +2927,7 @@ public function createModificationDocumentWithHttpInfo($id, $modificationDocumen ); } - switch($statusCode) { + switch ($statusCode) { case 201: if ('\Cone\Billingo\Model\Document' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -3536,7 +3536,7 @@ public function createReceiptWithHttpInfo($receiptInsert, string $contentType = ); } - switch($statusCode) { + switch ($statusCode) { case 201: if ('\Cone\Billingo\Model\Document' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -4094,7 +4094,7 @@ public function createReceiptFromDraftWithHttpInfo($id, $receiptInsert, string $ ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\Document' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -4993,7 +4993,7 @@ public function deletePaymentWithHttpInfo($id, string $contentType = self::conte ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\PaymentHistory[]' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -5550,7 +5550,7 @@ public function documentCopyWithHttpInfo($id, string $contentType = self::conten ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\Document' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -6142,7 +6142,7 @@ public function downloadDocumentWithHttpInfo($id, string $contentType = self::co ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\SplFileObject' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -6734,7 +6734,7 @@ public function getDocumentWithHttpInfo($id, string $contentType = self::content ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\Document' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -7291,7 +7291,7 @@ public function getDocumentByVendorIdWithHttpInfo($vendorId, string $contentType ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\Document' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -7813,7 +7813,7 @@ public function getOnlineSzamlaStatusWithHttpInfo($id, string $contentType = sel ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\OnlineSzamlaStatus' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -8370,7 +8370,7 @@ public function getPaymentWithHttpInfo($id, string $contentType = self::contentT ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\PaymentHistory[]' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -8927,7 +8927,7 @@ public function getPublicUrlWithHttpInfo($id, string $contentType = self::conten ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\DocumentPublicUrl' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -9520,7 +9520,7 @@ public function listDocumentWithHttpInfo($page = null, $perPage = 25, $blockId = ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\DocumentList' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -10279,7 +10279,7 @@ public function posPrintWithHttpInfo($id, $size, string $contentType = self::con ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\SplFileObject' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -10857,7 +10857,7 @@ public function sendDocumentWithHttpInfo($id, $sendDocument = null, string $cont ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\SendDocument' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -11462,7 +11462,7 @@ public function updatePaymentWithHttpInfo($id, $paymentHistory, string $contentT ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\PaymentHistory[]' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/src/Api/DocumentBlockApi.php b/src/Api/DocumentBlockApi.php index 67015e4..bde25e1 100644 --- a/src/Api/DocumentBlockApi.php +++ b/src/Api/DocumentBlockApi.php @@ -16,7 +16,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** @@ -194,7 +194,7 @@ public function listDocumentBlockWithHttpInfo($page = null, $perPage = 25, $type ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\DocumentBlockList' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/src/Api/DocumentExportApi.php b/src/Api/DocumentExportApi.php index 43a2a84..abdbd5d 100644 --- a/src/Api/DocumentExportApi.php +++ b/src/Api/DocumentExportApi.php @@ -16,7 +16,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** @@ -196,7 +196,7 @@ public function createWithHttpInfo($createDocumentExport, string $contentType = ); } - switch($statusCode) { + switch ($statusCode) { case 201: if ('\Cone\Billingo\Model\DocumentExportId' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -752,7 +752,7 @@ public function downloadWithHttpInfo($id, string $contentType = self::contentTyp ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\SplFileObject' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1309,7 +1309,7 @@ public function pollWithHttpInfo($id, string $contentType = self::contentTypes[' ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\DocumentExportStatus' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/src/Api/OrganizationApi.php b/src/Api/OrganizationApi.php index 43d1086..3ccaeb4 100644 --- a/src/Api/OrganizationApi.php +++ b/src/Api/OrganizationApi.php @@ -16,7 +16,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** @@ -188,7 +188,7 @@ public function getOrganizationDataWithHttpInfo(string $contentType = self::cont ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\OrganizationData' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/src/Api/PartnerApi.php b/src/Api/PartnerApi.php index 0e01a50..85841c4 100644 --- a/src/Api/PartnerApi.php +++ b/src/Api/PartnerApi.php @@ -16,7 +16,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** @@ -202,7 +202,7 @@ public function createPartnerWithHttpInfo($partner, string $contentType = self:: ); } - switch($statusCode) { + switch ($statusCode) { case 201: if ('\Cone\Billingo\Model\Partner' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1048,7 +1048,7 @@ public function getPartnerWithHttpInfo($id, string $contentType = self::contentT ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\Partner' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1609,7 +1609,7 @@ public function listPartnerWithHttpInfo($page = null, $perPage = 25, $query = nu ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\PartnerList' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2160,7 +2160,7 @@ public function updatePartnerWithHttpInfo($id, $partner, string $contentType = s ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\Partner' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/src/Api/ProductApi.php b/src/Api/ProductApi.php index 30a0cce..3fecedc 100644 --- a/src/Api/ProductApi.php +++ b/src/Api/ProductApi.php @@ -16,7 +16,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** @@ -202,7 +202,7 @@ public function createProductWithHttpInfo($product, string $contentType = self:: ); } - switch($statusCode) { + switch ($statusCode) { case 201: if ('\Cone\Billingo\Model\Product' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1048,7 +1048,7 @@ public function getProductWithHttpInfo($id, string $contentType = self::contentT ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\Product' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1609,7 +1609,7 @@ public function listProductWithHttpInfo($page = null, $perPage = 25, $query = nu ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\ProductList' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2160,7 +2160,7 @@ public function updateProductWithHttpInfo($id, $product, string $contentType = s ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\Product' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/src/Api/SpendingApi.php b/src/Api/SpendingApi.php index 65fd0de..5d96fb0 100644 --- a/src/Api/SpendingApi.php +++ b/src/Api/SpendingApi.php @@ -16,7 +16,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** @@ -512,7 +512,7 @@ public function spendingListWithHttpInfo($q = '', $page = 1, $perPage = 25, $spe ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\SpendingList' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1165,7 +1165,7 @@ public function spendingSaveWithHttpInfo($spendingSave = null, string $contentTy ); } - switch($statusCode) { + switch ($statusCode) { case 201: if ('\Cone\Billingo\Model\Spending' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1715,7 +1715,7 @@ public function spendingShowWithHttpInfo($id, string $contentType = self::conten ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\Spending' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2274,7 +2274,7 @@ public function spendingUpdateWithHttpInfo($id, $spendingSave = null, string $co ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\Spending' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/src/Api/UtilApi.php b/src/Api/UtilApi.php index b97f7d5..d7cda62 100644 --- a/src/Api/UtilApi.php +++ b/src/Api/UtilApi.php @@ -16,7 +16,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** @@ -196,7 +196,7 @@ public function checkTaxNumberWithHttpInfo($taxNumber, string $contentType = sel ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\TaxNumber' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -721,7 +721,7 @@ public function getIdWithHttpInfo($id, string $contentType = self::contentTypes[ ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\Id' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1276,7 +1276,7 @@ public function getServerTimeWithHttpInfo(string $contentType = self::contentTyp ); } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\Cone\Billingo\Model\ServerTime' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/src/ApiException.php b/src/ApiException.php index e62978e..b4cd77b 100644 --- a/src/ApiException.php +++ b/src/ApiException.php @@ -16,7 +16,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** @@ -48,7 +48,7 @@ class ApiException extends Exception /** * The HTTP header of the server response. * - * @var string[]|null + * @var string[][]|null */ protected $responseHeaders; @@ -64,7 +64,7 @@ class ApiException extends Exception * * @param string $message Error message * @param int $code HTTP status code - * @param string[]|null $responseHeaders HTTP response header + * @param string[][]|null $responseHeaders HTTP response header * @param \stdClass|string|null $responseBody HTTP decoded body of the server response either as \stdClass or string */ public function __construct($message = "", $code = 0, $responseHeaders = [], $responseBody = null) @@ -77,7 +77,7 @@ public function __construct($message = "", $code = 0, $responseHeaders = [], $re /** * Gets the HTTP response header * - * @return string[]|null HTTP response header + * @return string[][]|null HTTP response header */ public function getResponseHeaders() { diff --git a/src/Configuration.php b/src/Configuration.php index 27f36af..37ab165 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -16,7 +16,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/HeaderSelector.php b/src/HeaderSelector.php index a9b59cd..0ed43ce 100644 --- a/src/HeaderSelector.php +++ b/src/HeaderSelector.php @@ -16,7 +16,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** @@ -52,7 +52,7 @@ public function selectHeaders(array $accept, string $contentType, bool $isMultip } if (!$isMultipart) { - if($contentType === '') { + if ($contentType === '') { $contentType = 'application/json'; } @@ -128,7 +128,7 @@ private function getAcceptHeaderWithAdjustedWeight(array $accept, array $headers $hasMoreThan28Headers = count($accept) > 28; - foreach($processedHeaders as $headers) { + foreach ($processedHeaders as $headers) { if (count($headers) > 0) { $acceptHeaders[] = $this->adjustWeight($headers, $currentWeight, $hasMoreThan28Headers); } @@ -178,7 +178,7 @@ private function adjustWeight(array $headers, float &$currentWeight, bool $hasMo $acceptHeaders = []; foreach ($headers as $index => $header) { - if($index > 0 && $headers[$index - 1]['weight'] > $header['weight']) { + if ($index > 0 && $headers[$index - 1]['weight'] > $header['weight']) { $currentWeight = $this->getNextWeight($currentWeight, $hasMoreThan28Headers); } @@ -199,7 +199,7 @@ private function adjustWeight(array $headers, float &$currentWeight, bool $hasMo */ private function buildAcceptHeader(string $header, int $weight): string { - if($weight === 1000) { + if ($weight === 1000) { return $header; } diff --git a/src/Model/Address.php b/src/Model/Address.php index c16d828..9c4f297 100644 --- a/src/Model/Address.php +++ b/src/Model/Address.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/BankAccount.php b/src/Model/BankAccount.php index 2d6aa36..ecc15fc 100644 --- a/src/Model/BankAccount.php +++ b/src/Model/BankAccount.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/BankAccountList.php b/src/Model/BankAccountList.php index 6d166dc..a5e7de2 100644 --- a/src/Model/BankAccountList.php +++ b/src/Model/BankAccountList.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/Category.php b/src/Model/Category.php index 536c64a..2a76be2 100644 --- a/src/Model/Category.php +++ b/src/Model/Category.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/CheckTaxNumberMessage.php b/src/Model/CheckTaxNumberMessage.php index 89974f8..c6e3c80 100644 --- a/src/Model/CheckTaxNumberMessage.php +++ b/src/Model/CheckTaxNumberMessage.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/ClientError.php b/src/Model/ClientError.php index d24a9f8..58840e0 100644 --- a/src/Model/ClientError.php +++ b/src/Model/ClientError.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/ClientErrorResponse.php b/src/Model/ClientErrorResponse.php index c72b31a..13317e2 100644 --- a/src/Model/ClientErrorResponse.php +++ b/src/Model/ClientErrorResponse.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/ConversationRate.php b/src/Model/ConversationRate.php index f05f1f7..4e699a4 100644 --- a/src/Model/ConversationRate.php +++ b/src/Model/ConversationRate.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/CorrectionType.php b/src/Model/CorrectionType.php index 74b9f9c..9df1967 100644 --- a/src/Model/CorrectionType.php +++ b/src/Model/CorrectionType.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/Country.php b/src/Model/Country.php index 8c7ef58..8c3bf4b 100644 --- a/src/Model/Country.php +++ b/src/Model/Country.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/CreateDocumentExport.php b/src/Model/CreateDocumentExport.php index 0cacf13..0aeb0e5 100644 --- a/src/Model/CreateDocumentExport.php +++ b/src/Model/CreateDocumentExport.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/Currency.php b/src/Model/Currency.php index 7a35ff6..3f3a5f8 100644 --- a/src/Model/Currency.php +++ b/src/Model/Currency.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DateType.php b/src/Model/DateType.php index 626e1e1..d272d06 100644 --- a/src/Model/DateType.php +++ b/src/Model/DateType.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/Discount.php b/src/Model/Discount.php index 3099019..b29b675 100644 --- a/src/Model/Discount.php +++ b/src/Model/Discount.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DiscountType.php b/src/Model/DiscountType.php index a221eb2..78b1081 100644 --- a/src/Model/DiscountType.php +++ b/src/Model/DiscountType.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/Document.php b/src/Model/Document.php index 701ec0f..551ed7d 100644 --- a/src/Model/Document.php +++ b/src/Model/Document.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentAncestor.php b/src/Model/DocumentAncestor.php index 0efd818..bde5fac 100644 --- a/src/Model/DocumentAncestor.php +++ b/src/Model/DocumentAncestor.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentBankAccount.php b/src/Model/DocumentBankAccount.php index d426b41..a229b74 100644 --- a/src/Model/DocumentBankAccount.php +++ b/src/Model/DocumentBankAccount.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentBlock.php b/src/Model/DocumentBlock.php index 83a178b..67fa889 100644 --- a/src/Model/DocumentBlock.php +++ b/src/Model/DocumentBlock.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentBlockList.php b/src/Model/DocumentBlockList.php index 694525a..712a784 100644 --- a/src/Model/DocumentBlockList.php +++ b/src/Model/DocumentBlockList.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentBlockType.php b/src/Model/DocumentBlockType.php index 2b4d6bd..8be5684 100644 --- a/src/Model/DocumentBlockType.php +++ b/src/Model/DocumentBlockType.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentCancellation.php b/src/Model/DocumentCancellation.php index 2f84784..d579657 100644 --- a/src/Model/DocumentCancellation.php +++ b/src/Model/DocumentCancellation.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentExportFilterExtra.php b/src/Model/DocumentExportFilterExtra.php index fc7f9ea..9a45c63 100644 --- a/src/Model/DocumentExportFilterExtra.php +++ b/src/Model/DocumentExportFilterExtra.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentExportId.php b/src/Model/DocumentExportId.php index 740565c..0c7e474 100644 --- a/src/Model/DocumentExportId.php +++ b/src/Model/DocumentExportId.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentExportOtherOptions.php b/src/Model/DocumentExportOtherOptions.php index 44927a5..d7cdd23 100644 --- a/src/Model/DocumentExportOtherOptions.php +++ b/src/Model/DocumentExportOtherOptions.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentExportQueryType.php b/src/Model/DocumentExportQueryType.php index e2f5290..08f6349 100644 --- a/src/Model/DocumentExportQueryType.php +++ b/src/Model/DocumentExportQueryType.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentExportSortBy.php b/src/Model/DocumentExportSortBy.php index 704a144..cfbd533 100644 --- a/src/Model/DocumentExportSortBy.php +++ b/src/Model/DocumentExportSortBy.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentExportStatus.php b/src/Model/DocumentExportStatus.php index 3b2058e..2f801c5 100644 --- a/src/Model/DocumentExportStatus.php +++ b/src/Model/DocumentExportStatus.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentExportStatusState.php b/src/Model/DocumentExportStatusState.php index 0755456..367f488 100644 --- a/src/Model/DocumentExportStatusState.php +++ b/src/Model/DocumentExportStatusState.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentExportType.php b/src/Model/DocumentExportType.php index 690391a..0ab6767 100644 --- a/src/Model/DocumentExportType.php +++ b/src/Model/DocumentExportType.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentForm.php b/src/Model/DocumentForm.php index 2f51012..b2b8fbb 100644 --- a/src/Model/DocumentForm.php +++ b/src/Model/DocumentForm.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentFormat.php b/src/Model/DocumentFormat.php index 6aed1fc..934da00 100644 --- a/src/Model/DocumentFormat.php +++ b/src/Model/DocumentFormat.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentInsert.php b/src/Model/DocumentInsert.php index 7c25982..6eafa52 100644 --- a/src/Model/DocumentInsert.php +++ b/src/Model/DocumentInsert.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentInsertItemsInner.php b/src/Model/DocumentInsertItemsInner.php index 3232eb4..1230d1f 100644 --- a/src/Model/DocumentInsertItemsInner.php +++ b/src/Model/DocumentInsertItemsInner.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentInsertType.php b/src/Model/DocumentInsertType.php index 3d3e2ca..8f17836 100644 --- a/src/Model/DocumentInsertType.php +++ b/src/Model/DocumentInsertType.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentItem.php b/src/Model/DocumentItem.php index dedb390..bd9f73c 100644 --- a/src/Model/DocumentItem.php +++ b/src/Model/DocumentItem.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentItemData.php b/src/Model/DocumentItemData.php index 45a11e8..840cb47 100644 --- a/src/Model/DocumentItemData.php +++ b/src/Model/DocumentItemData.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentLanguage.php b/src/Model/DocumentLanguage.php index a55c311..cb0f0ef 100644 --- a/src/Model/DocumentLanguage.php +++ b/src/Model/DocumentLanguage.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentList.php b/src/Model/DocumentList.php index 205f71a..23d7c71 100644 --- a/src/Model/DocumentList.php +++ b/src/Model/DocumentList.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentNotificationStatus.php b/src/Model/DocumentNotificationStatus.php index c5e551f..c2e9acf 100644 --- a/src/Model/DocumentNotificationStatus.php +++ b/src/Model/DocumentNotificationStatus.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentOrganization.php b/src/Model/DocumentOrganization.php index a072a8b..2929f85 100644 --- a/src/Model/DocumentOrganization.php +++ b/src/Model/DocumentOrganization.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentPartner.php b/src/Model/DocumentPartner.php index 7266aeb..ca5031e 100644 --- a/src/Model/DocumentPartner.php +++ b/src/Model/DocumentPartner.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentProductData.php b/src/Model/DocumentProductData.php index 101643c..884c9e3 100644 --- a/src/Model/DocumentProductData.php +++ b/src/Model/DocumentProductData.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentPublicUrl.php b/src/Model/DocumentPublicUrl.php index 89ac4a5..1acc1de 100644 --- a/src/Model/DocumentPublicUrl.php +++ b/src/Model/DocumentPublicUrl.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentSettings.php b/src/Model/DocumentSettings.php index 83e971f..8cd6947 100644 --- a/src/Model/DocumentSettings.php +++ b/src/Model/DocumentSettings.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentSummary.php b/src/Model/DocumentSummary.php index 2df92cb..296ea12 100644 --- a/src/Model/DocumentSummary.php +++ b/src/Model/DocumentSummary.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentType.php b/src/Model/DocumentType.php index 9f179bf..290c6ef 100644 --- a/src/Model/DocumentType.php +++ b/src/Model/DocumentType.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/DocumentVatRateSummary.php b/src/Model/DocumentVatRateSummary.php index 8e6011e..51c50b4 100644 --- a/src/Model/DocumentVatRateSummary.php +++ b/src/Model/DocumentVatRateSummary.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/Entitlement.php b/src/Model/Entitlement.php index 65bcfeb..6ebdac8 100644 --- a/src/Model/Entitlement.php +++ b/src/Model/Entitlement.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/Feature.php b/src/Model/Feature.php index 28307a5..f565ba9 100644 --- a/src/Model/Feature.php +++ b/src/Model/Feature.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/Id.php b/src/Model/Id.php index 649c459..e33bd70 100644 --- a/src/Model/Id.php +++ b/src/Model/Id.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/InvoiceSettings.php b/src/Model/InvoiceSettings.php index 4f7f7c2..5a75e08 100644 --- a/src/Model/InvoiceSettings.php +++ b/src/Model/InvoiceSettings.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/LedgerNumberInformation.php b/src/Model/LedgerNumberInformation.php index 800a4b3..4f9e856 100644 --- a/src/Model/LedgerNumberInformation.php +++ b/src/Model/LedgerNumberInformation.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/ModelInterface.php b/src/Model/ModelInterface.php index 68ddefd..051013f 100644 --- a/src/Model/ModelInterface.php +++ b/src/Model/ModelInterface.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/ModificationDocumentInsert.php b/src/Model/ModificationDocumentInsert.php index fb654a0..10b73c5 100644 --- a/src/Model/ModificationDocumentInsert.php +++ b/src/Model/ModificationDocumentInsert.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/OnlinePayment.php b/src/Model/OnlinePayment.php index 3e96dc0..91fdbd7 100644 --- a/src/Model/OnlinePayment.php +++ b/src/Model/OnlinePayment.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/OnlineSzamlaStatus.php b/src/Model/OnlineSzamlaStatus.php index b82c0de..134eb87 100644 --- a/src/Model/OnlineSzamlaStatus.php +++ b/src/Model/OnlineSzamlaStatus.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/OnlineSzamlaStatusEnum.php b/src/Model/OnlineSzamlaStatusEnum.php index 4b4c4fb..8a8569a 100644 --- a/src/Model/OnlineSzamlaStatusEnum.php +++ b/src/Model/OnlineSzamlaStatusEnum.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/OnlineSzamlaStatusMessage.php b/src/Model/OnlineSzamlaStatusMessage.php index f6fbfbd..81d4f56 100644 --- a/src/Model/OnlineSzamlaStatusMessage.php +++ b/src/Model/OnlineSzamlaStatusMessage.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/OrganizationData.php b/src/Model/OrganizationData.php index 4ca4a74..bd0e35c 100644 --- a/src/Model/OrganizationData.php +++ b/src/Model/OrganizationData.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/Partner.php b/src/Model/Partner.php index 7991404..e5a3c8d 100644 --- a/src/Model/Partner.php +++ b/src/Model/Partner.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/PartnerCustomBillingSettings.php b/src/Model/PartnerCustomBillingSettings.php index 4741928..867f193 100644 --- a/src/Model/PartnerCustomBillingSettings.php +++ b/src/Model/PartnerCustomBillingSettings.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/PartnerList.php b/src/Model/PartnerList.php index d450411..841b8cf 100644 --- a/src/Model/PartnerList.php +++ b/src/Model/PartnerList.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/PartnerTaxType.php b/src/Model/PartnerTaxType.php index 504d49c..6cfcb46 100644 --- a/src/Model/PartnerTaxType.php +++ b/src/Model/PartnerTaxType.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/PaymentHistory.php b/src/Model/PaymentHistory.php index dd078d8..6c4f5f4 100644 --- a/src/Model/PaymentHistory.php +++ b/src/Model/PaymentHistory.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/PaymentMethod.php b/src/Model/PaymentMethod.php index d66250f..23c051c 100644 --- a/src/Model/PaymentMethod.php +++ b/src/Model/PaymentMethod.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/PaymentStatus.php b/src/Model/PaymentStatus.php index 7755bdc..56b55f8 100644 --- a/src/Model/PaymentStatus.php +++ b/src/Model/PaymentStatus.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/PaymentStatusSpending.php b/src/Model/PaymentStatusSpending.php index c9346d4..94b856e 100644 --- a/src/Model/PaymentStatusSpending.php +++ b/src/Model/PaymentStatusSpending.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/Product.php b/src/Model/Product.php index ee18dda..67c64cb 100644 --- a/src/Model/Product.php +++ b/src/Model/Product.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/ProductList.php b/src/Model/ProductList.php index 70b4e35..37324e6 100644 --- a/src/Model/ProductList.php +++ b/src/Model/ProductList.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/ReceiptInsert.php b/src/Model/ReceiptInsert.php index 68f61b4..bf97a0b 100644 --- a/src/Model/ReceiptInsert.php +++ b/src/Model/ReceiptInsert.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/ReceiptInsertItemsInner.php b/src/Model/ReceiptInsertItemsInner.php index 9ca371e..ac46771 100644 --- a/src/Model/ReceiptInsertItemsInner.php +++ b/src/Model/ReceiptInsertItemsInner.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/ReceiptItemData.php b/src/Model/ReceiptItemData.php index a52919a..ea918c7 100644 --- a/src/Model/ReceiptItemData.php +++ b/src/Model/ReceiptItemData.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/ReceiptProductData.php b/src/Model/ReceiptProductData.php index cbead19..6aacd2d 100644 --- a/src/Model/ReceiptProductData.php +++ b/src/Model/ReceiptProductData.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/Round.php b/src/Model/Round.php index 05355c6..ef49afe 100644 --- a/src/Model/Round.php +++ b/src/Model/Round.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/SendDocument.php b/src/Model/SendDocument.php index c65f0e0..89d1bf6 100644 --- a/src/Model/SendDocument.php +++ b/src/Model/SendDocument.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/ServerError.php b/src/Model/ServerError.php index 236c781..08aadb7 100644 --- a/src/Model/ServerError.php +++ b/src/Model/ServerError.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/ServerErrorResponse.php b/src/Model/ServerErrorResponse.php index 1c33ff0..732b4ed 100644 --- a/src/Model/ServerErrorResponse.php +++ b/src/Model/ServerErrorResponse.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/ServerTime.php b/src/Model/ServerTime.php index d8a8931..336d2c5 100644 --- a/src/Model/ServerTime.php +++ b/src/Model/ServerTime.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/Source.php b/src/Model/Source.php index c950c89..acb6a38 100644 --- a/src/Model/Source.php +++ b/src/Model/Source.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/Spending.php b/src/Model/Spending.php index 13518c8..2930539 100644 --- a/src/Model/Spending.php +++ b/src/Model/Spending.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/SpendingList.php b/src/Model/SpendingList.php index c66fbe2..b3e79d7 100644 --- a/src/Model/SpendingList.php +++ b/src/Model/SpendingList.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/SpendingListItem.php b/src/Model/SpendingListItem.php index 692a731..a1f81e8 100644 --- a/src/Model/SpendingListItem.php +++ b/src/Model/SpendingListItem.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/SpendingPartner.php b/src/Model/SpendingPartner.php index 680d01d..7790f26 100644 --- a/src/Model/SpendingPartner.php +++ b/src/Model/SpendingPartner.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/SpendingPaymentMethod.php b/src/Model/SpendingPaymentMethod.php index 82b485c..46c3f8c 100644 --- a/src/Model/SpendingPaymentMethod.php +++ b/src/Model/SpendingPaymentMethod.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/SpendingSave.php b/src/Model/SpendingSave.php index 4914f48..87f2241 100644 --- a/src/Model/SpendingSave.php +++ b/src/Model/SpendingSave.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/Subscription.php b/src/Model/Subscription.php index d9968f7..e5bb7a9 100644 --- a/src/Model/Subscription.php +++ b/src/Model/Subscription.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/SubscriptionErrorResponse.php b/src/Model/SubscriptionErrorResponse.php index 4bc7e72..c9b6ddc 100644 --- a/src/Model/SubscriptionErrorResponse.php +++ b/src/Model/SubscriptionErrorResponse.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/TaxNumber.php b/src/Model/TaxNumber.php index 2a7840e..15ca1cd 100644 --- a/src/Model/TaxNumber.php +++ b/src/Model/TaxNumber.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/TooManyRequestsResponse.php b/src/Model/TooManyRequestsResponse.php index 5b25258..828f2f9 100644 --- a/src/Model/TooManyRequestsResponse.php +++ b/src/Model/TooManyRequestsResponse.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/UnitPriceType.php b/src/Model/UnitPriceType.php index eb71f64..cdd55a4 100644 --- a/src/Model/UnitPriceType.php +++ b/src/Model/UnitPriceType.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/ValidationError.php b/src/Model/ValidationError.php index ff1426e..a07acf5 100644 --- a/src/Model/ValidationError.php +++ b/src/Model/ValidationError.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/ValidationErrorResponse.php b/src/Model/ValidationErrorResponse.php index 4b4915e..c50e5e7 100644 --- a/src/Model/ValidationErrorResponse.php +++ b/src/Model/ValidationErrorResponse.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/Model/Vat.php b/src/Model/Vat.php index 85c0cc1..2c78feb 100644 --- a/src/Model/Vat.php +++ b/src/Model/Vat.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** diff --git a/src/ObjectSerializer.php b/src/ObjectSerializer.php index bd950be..4d248fc 100644 --- a/src/ObjectSerializer.php +++ b/src/ObjectSerializer.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 3.0.14 * Contact: hello@billingo.hu * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.8.0 */ /** @@ -102,7 +102,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach($data as $property => $value) { + foreach ($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -236,7 +236,7 @@ public static function toQueryValue( } // Handle DateTime objects in query - if($openApiType === "\\DateTime" && $value instanceof \DateTime) { + if ($openApiType === "\\DateTime" && $value instanceof \DateTime) { return ["{$paramName}" => $value->format(self::$dateTimeFormat)]; } @@ -268,6 +268,11 @@ public static function toQueryValue( $value = $flattenArray($value, $paramName); + // https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values + if ($openApiType === 'array' && $style === 'deepObject' && $explode) { + return $value; + } + if ($openApiType === 'object' && ($style === 'deepObject' || $explode)) { return $value; }