diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 18bb418..93c8dda 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.5.0 +7.6.0 diff --git a/src/Api/BankAccountApi.php b/src/Api/BankAccountApi.php index c7dac73..96ec05e 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Api/CurrencyApi.php b/src/Api/CurrencyApi.php index a784a93..2b68527 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Api/DocumentApi.php b/src/Api/DocumentApi.php index 18d49ab..7e269e9 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Api/DocumentBlockApi.php b/src/Api/DocumentBlockApi.php index 3be82d1..67015e4 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Api/DocumentExportApi.php b/src/Api/DocumentExportApi.php index c8a9b05..43a2a84 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Api/OrganizationApi.php b/src/Api/OrganizationApi.php index 72e075e..43d1086 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Api/PartnerApi.php b/src/Api/PartnerApi.php index e3cfcaf..0e01a50 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Api/ProductApi.php b/src/Api/ProductApi.php index a03a8dc..30a0cce 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Api/SpendingApi.php b/src/Api/SpendingApi.php index 1c63cd6..65fd0de 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Api/UtilApi.php b/src/Api/UtilApi.php index 5bb953f..b97f7d5 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/ApiException.php b/src/ApiException.php index 11e859a..e62978e 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Configuration.php b/src/Configuration.php index 4801f23..27f36af 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/HeaderSelector.php b/src/HeaderSelector.php index ab65a49..a9b59cd 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/Address.php b/src/Model/Address.php index 1e3f665..c16d828 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/BankAccount.php b/src/Model/BankAccount.php index 4580729..2d6aa36 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/BankAccountList.php b/src/Model/BankAccountList.php index 9151624..6d166dc 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/Category.php b/src/Model/Category.php index cb59cc3..536c64a 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/CheckTaxNumberMessage.php b/src/Model/CheckTaxNumberMessage.php index 1b13eae..89974f8 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/ClientError.php b/src/Model/ClientError.php index 976128f..d24a9f8 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/ClientErrorResponse.php b/src/Model/ClientErrorResponse.php index aedc4cf..c72b31a 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/ConversationRate.php b/src/Model/ConversationRate.php index daad0bc..f05f1f7 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/CorrectionType.php b/src/Model/CorrectionType.php index dccbe59..74b9f9c 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/Country.php b/src/Model/Country.php index 8c40d53..8c7ef58 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/CreateDocumentExport.php b/src/Model/CreateDocumentExport.php index 8262491..0cacf13 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/Currency.php b/src/Model/Currency.php index 3958591..7a35ff6 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DateType.php b/src/Model/DateType.php index 017705c..626e1e1 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/Discount.php b/src/Model/Discount.php index 70c9ac4..3099019 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DiscountType.php b/src/Model/DiscountType.php index 7116791..a221eb2 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/Document.php b/src/Model/Document.php index 2f00a0c..701ec0f 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentAncestor.php b/src/Model/DocumentAncestor.php index 393cb90..0efd818 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentBankAccount.php b/src/Model/DocumentBankAccount.php index e04f902..d426b41 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentBlock.php b/src/Model/DocumentBlock.php index 98bfdfb..83a178b 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentBlockList.php b/src/Model/DocumentBlockList.php index 01b0679..694525a 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentBlockType.php b/src/Model/DocumentBlockType.php index dcc11fa..2b4d6bd 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentCancellation.php b/src/Model/DocumentCancellation.php index 2ba2ab0..2f84784 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentExportFilterExtra.php b/src/Model/DocumentExportFilterExtra.php index ee34a42..fc7f9ea 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentExportId.php b/src/Model/DocumentExportId.php index f34855e..740565c 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentExportOtherOptions.php b/src/Model/DocumentExportOtherOptions.php index a6a7f21..44927a5 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentExportQueryType.php b/src/Model/DocumentExportQueryType.php index 05d354a..e2f5290 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentExportSortBy.php b/src/Model/DocumentExportSortBy.php index 2488a3a..704a144 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentExportStatus.php b/src/Model/DocumentExportStatus.php index eba0d98..3b2058e 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentExportStatusState.php b/src/Model/DocumentExportStatusState.php index 79e8ffd..0755456 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentExportType.php b/src/Model/DocumentExportType.php index 73015c7..690391a 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentForm.php b/src/Model/DocumentForm.php index b2bc04b..2f51012 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentFormat.php b/src/Model/DocumentFormat.php index 9b1ee22..6aed1fc 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentInsert.php b/src/Model/DocumentInsert.php index 06f5c98..7c25982 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentInsertItemsInner.php b/src/Model/DocumentInsertItemsInner.php index d45f347..3232eb4 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentInsertType.php b/src/Model/DocumentInsertType.php index 6f42f6f..3d3e2ca 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentItem.php b/src/Model/DocumentItem.php index 324c3c6..dedb390 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentItemData.php b/src/Model/DocumentItemData.php index 7b62658..45a11e8 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentLanguage.php b/src/Model/DocumentLanguage.php index c271a44..a55c311 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentList.php b/src/Model/DocumentList.php index b27a4fc..205f71a 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentNotificationStatus.php b/src/Model/DocumentNotificationStatus.php index 2c98a27..c5e551f 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentOrganization.php b/src/Model/DocumentOrganization.php index 0f1567f..a072a8b 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentPartner.php b/src/Model/DocumentPartner.php index 794df63..7266aeb 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentProductData.php b/src/Model/DocumentProductData.php index 230275c..101643c 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentPublicUrl.php b/src/Model/DocumentPublicUrl.php index afa706d..89ac4a5 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentSettings.php b/src/Model/DocumentSettings.php index 2233612..83e971f 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentSummary.php b/src/Model/DocumentSummary.php index 4310400..2df92cb 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentType.php b/src/Model/DocumentType.php index 0e2d172..9f179bf 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/DocumentVatRateSummary.php b/src/Model/DocumentVatRateSummary.php index 28f83b8..8e6011e 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/Entitlement.php b/src/Model/Entitlement.php index 39880af..65bcfeb 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/Feature.php b/src/Model/Feature.php index 1a3b997..28307a5 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/Id.php b/src/Model/Id.php index bd71445..649c459 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/InvoiceSettings.php b/src/Model/InvoiceSettings.php index 9b3d0a1..4f7f7c2 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/LedgerNumberInformation.php b/src/Model/LedgerNumberInformation.php index 00baa46..800a4b3 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/ModelInterface.php b/src/Model/ModelInterface.php index d809e0e..68ddefd 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/ModificationDocumentInsert.php b/src/Model/ModificationDocumentInsert.php index acb5f13..fb654a0 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/OnlinePayment.php b/src/Model/OnlinePayment.php index cc9a43a..3e96dc0 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/OnlineSzamlaStatus.php b/src/Model/OnlineSzamlaStatus.php index cd41055..b82c0de 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/OnlineSzamlaStatusEnum.php b/src/Model/OnlineSzamlaStatusEnum.php index df52c89..4b4c4fb 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/OnlineSzamlaStatusMessage.php b/src/Model/OnlineSzamlaStatusMessage.php index 51a5e22..f6fbfbd 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/OrganizationData.php b/src/Model/OrganizationData.php index 1727a35..4ca4a74 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/Partner.php b/src/Model/Partner.php index bbf668b..7991404 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/PartnerCustomBillingSettings.php b/src/Model/PartnerCustomBillingSettings.php index 607bfd9..4741928 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/PartnerList.php b/src/Model/PartnerList.php index 55774af..d450411 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/PartnerTaxType.php b/src/Model/PartnerTaxType.php index 43f53b1..504d49c 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/PaymentHistory.php b/src/Model/PaymentHistory.php index 2fc153a..dd078d8 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/PaymentMethod.php b/src/Model/PaymentMethod.php index 8e1acde..d66250f 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/PaymentStatus.php b/src/Model/PaymentStatus.php index 83a93c8..7755bdc 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/PaymentStatusSpending.php b/src/Model/PaymentStatusSpending.php index ebd29ab..c9346d4 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/Product.php b/src/Model/Product.php index 86d47e5..ee18dda 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/ProductList.php b/src/Model/ProductList.php index be138a0..70b4e35 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/ReceiptInsert.php b/src/Model/ReceiptInsert.php index 9713c58..68f61b4 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/ReceiptInsertItemsInner.php b/src/Model/ReceiptInsertItemsInner.php index 4f73e23..9ca371e 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/ReceiptItemData.php b/src/Model/ReceiptItemData.php index cda522b..a52919a 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/ReceiptProductData.php b/src/Model/ReceiptProductData.php index ff53f5b..cbead19 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/Round.php b/src/Model/Round.php index fab86a9..05355c6 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/SendDocument.php b/src/Model/SendDocument.php index 26549d4..c65f0e0 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/ServerError.php b/src/Model/ServerError.php index 0ae92e6..236c781 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/ServerErrorResponse.php b/src/Model/ServerErrorResponse.php index b66c3ca..1c33ff0 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/ServerTime.php b/src/Model/ServerTime.php index 7b2c3d7..d8a8931 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/Source.php b/src/Model/Source.php index 97e3153..c950c89 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/Spending.php b/src/Model/Spending.php index 74e68a1..13518c8 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/SpendingList.php b/src/Model/SpendingList.php index 7397361..c66fbe2 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/SpendingListItem.php b/src/Model/SpendingListItem.php index 3bd44d4..692a731 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/SpendingPartner.php b/src/Model/SpendingPartner.php index 16fe32e..680d01d 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/SpendingPaymentMethod.php b/src/Model/SpendingPaymentMethod.php index b546015..82b485c 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/SpendingSave.php b/src/Model/SpendingSave.php index 9ba62b0..4914f48 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/Subscription.php b/src/Model/Subscription.php index b0d1d2c..d9968f7 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/SubscriptionErrorResponse.php b/src/Model/SubscriptionErrorResponse.php index a3aa2e4..4bc7e72 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/TaxNumber.php b/src/Model/TaxNumber.php index d6c1704..2a7840e 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/TooManyRequestsResponse.php b/src/Model/TooManyRequestsResponse.php index d9514d2..5b25258 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/UnitPriceType.php b/src/Model/UnitPriceType.php index 3b9e549..eb71f64 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/ValidationError.php b/src/Model/ValidationError.php index d71e77a..ff1426e 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/ValidationErrorResponse.php b/src/Model/ValidationErrorResponse.php index b0ee131..4b4915e 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/Model/Vat.php b/src/Model/Vat.php index 9428276..85c0cc1 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.5.0 + * Generator version: 7.6.0 */ /** diff --git a/src/ObjectSerializer.php b/src/ObjectSerializer.php index 68db6d2..bd950be 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.5.0 + * Generator version: 7.6.0 */ /** @@ -548,22 +548,64 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** - * Native `http_build_query` wrapper. - * @see https://www.php.net/manual/en/function.http-build-query + * Build a query string from an array of key value pairs. * - * @param array|object $data May be an array or object containing properties. - * @param string $numeric_prefix If numeric indices are used in the base array and this parameter is provided, it will be prepended to the numeric index for elements in the base array only. - * @param string|null $arg_separator arg_separator.output is used to separate arguments but may be overridden by specifying this parameter. - * @param int $encoding_type Encoding type. By default, PHP_QUERY_RFC1738. + * This function can use the return value of `parse()` to build a query + * string. This function does not modify the provided keys when an array is + * encountered (like `http_build_query()` would). * - * @return string + * The function is copied from https://github.com/guzzle/psr7/blob/a243f80a1ca7fe8ceed4deee17f12c1930efe662/src/Query.php#L59-L112 + * with a modification which is described in https://github.com/guzzle/psr7/pull/603 + * + * @param array $params Query string parameters. + * @param int|false $encoding Set to false to not encode, PHP_QUERY_RFC3986 + * to encode using RFC3986, or PHP_QUERY_RFC1738 + * to encode using RFC1738. */ - public static function buildQuery( - $data, - string $numeric_prefix = '', - ?string $arg_separator = null, - int $encoding_type = \PHP_QUERY_RFC3986 - ): string { - return \GuzzleHttp\Psr7\Query::build($data, $encoding_type); + public static function buildQuery(array $params, $encoding = PHP_QUERY_RFC3986): string + { + if (!$params) { + return ''; + } + + if ($encoding === false) { + $encoder = function (string $str): string { + return $str; + }; + } elseif ($encoding === PHP_QUERY_RFC3986) { + $encoder = 'rawurlencode'; + } elseif ($encoding === PHP_QUERY_RFC1738) { + $encoder = 'urlencode'; + } else { + throw new \InvalidArgumentException('Invalid type'); + } + + $castBool = Configuration::BOOLEAN_FORMAT_INT === Configuration::getDefaultConfiguration()->getBooleanFormatForQueryString() + ? function ($v) { return (int) $v; } + : function ($v) { return $v ? 'true' : 'false'; }; + + $qs = ''; + foreach ($params as $k => $v) { + $k = $encoder((string) $k); + if (!is_array($v)) { + $qs .= $k; + $v = is_bool($v) ? $castBool($v) : $v; + if ($v !== null) { + $qs .= '='.$encoder((string) $v); + } + $qs .= '&'; + } else { + foreach ($v as $vv) { + $qs .= $k; + $vv = is_bool($vv) ? $castBool($vv) : $vv; + if ($vv !== null) { + $qs .= '='.$encoder((string) $vv); + } + $qs .= '&'; + } + } + } + + return $qs ? (string) substr($qs, 0, -1) : ''; } }