diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index a99bc1dd..8554b2b5 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -109,6 +109,7 @@ docs/Model/GetReceiptsMonthlyTotalsResponse.md docs/Model/GetReceivedDocumentPreCreateInfoResponse.md docs/Model/GetReceivedDocumentResponse.md docs/Model/GetSupplierResponse.md +docs/Model/GetTaxProfileResponse.md docs/Model/GetUserInfoResponse.md docs/Model/GetUserInfoResponseEmailConfirmationState.md docs/Model/GetUserInfoResponseInfo.md @@ -232,6 +233,7 @@ docs/Model/SenderEmail.md docs/Model/ShowTotalsMode.md docs/Model/Supplier.md docs/Model/SupplierType.md +docs/Model/TaxProfile.md docs/Model/TransformIssuedDocumentResponse.md docs/Model/UploadArchiveAttachmentResponse.md docs/Model/UploadF24AttachmentResponse.md @@ -361,6 +363,7 @@ lib/Model/GetReceiptsMonthlyTotalsResponse.php lib/Model/GetReceivedDocumentPreCreateInfoResponse.php lib/Model/GetReceivedDocumentResponse.php lib/Model/GetSupplierResponse.php +lib/Model/GetTaxProfileResponse.php lib/Model/GetUserInfoResponse.php lib/Model/GetUserInfoResponseEmailConfirmationState.php lib/Model/GetUserInfoResponseInfo.php @@ -485,6 +488,7 @@ lib/Model/SenderEmail.php lib/Model/ShowTotalsMode.php lib/Model/Supplier.php lib/Model/SupplierType.php +lib/Model/TaxProfile.php lib/Model/TransformIssuedDocumentResponse.php lib/Model/UploadArchiveAttachmentResponse.php lib/Model/UploadF24AttachmentResponse.php @@ -506,3 +510,5 @@ lib/Model/WebhooksSubscriptionConfig.php lib/Model/WebhooksSubscriptionMapping.php lib/ObjectSerializer.php phpunit.xml.dist +test/Model/GetTaxProfileResponseTest.php +test/Model/TaxProfileTest.php diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 93c8ddab..4bc5d618 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache index fcd682b7..c4b71604 100644 --- a/.php-cs-fixer.cache +++ b/.php-cs-fixer.cache @@ -1 +1 @@ -{"php":"7.4.33","version":"3.59.3:v3.59.3#30ba9ecc2b0e5205e578fe29973c15653d9bfd29","indent":" ","lineEnding":"\n","rules":{"binary_operator_spaces":{"default":"at_least_single_space"},"blank_line_after_opening_tag":true,"blank_line_between_import_groups":true,"blank_lines_before_namespace":true,"braces_position":{"allow_single_line_empty_anonymous_classes":true},"class_definition":{"inline_constructor_arguments":false,"space_before_parenthesis":true},"compact_nullable_type_declaration":true,"declare_equal_normalize":true,"lowercase_cast":true,"lowercase_static_reference":true,"new_with_parentheses":true,"no_blank_lines_after_class_opening":true,"no_whitespace_in_blank_line":true,"ordered_class_elements":{"order":["use_trait"]},"ordered_imports":{"imports_order":["class","function","const"],"sort_algorithm":"none"},"return_type_declaration":true,"short_scalar_cast":true,"single_import_per_statement":{"group_to_single_imports":false},"single_trait_insert_per_statement":true,"ternary_operator_spaces":true,"unary_operator_spaces":{"only_dec_inc":true},"visibility_required":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"attribute_placement":"ignore","on_multiline":"ensure_fully_multiline"},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"single_class_element_per_statement":{"elements":["property"]},"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"encoding":true,"full_opening_tag":true,"phpdoc_order":true,"array_syntax":{"syntax":"short"},"strict_comparison":true,"strict_param":true},"hashes":{"lib\/OAuth2\/OAuth2AuthorizationCodeTokenResponse.php":"c3fc3cdd6ab7f7820a59d15fe040bf0f","lib\/OAuth2\/OAuth2AuthorizationCodeParams.php":"7c816bf96ac341eca7400f13effd1958","lib\/OAuth2\/OAuth2AuthorizationCodeError.php":"87fcc1791a36552cf7abee527d7ee6d2","lib\/OAuth2\/OAuth2AuthorizationCodeManager.php":"1b6e62405429306e919c16e4bc3eda3e","lib\/OAuth2\/Scope.php":"6d253cda415bc9e843a2c5fc01241aa9","lib\/Api\/ReceivedDocumentsApi.php":"7a03b9b8a924cdd26f93361f31275410","lib\/Api\/IssuedDocumentsApi.php":"1bbda0edd6c90436adcd0c76c92b73ab","lib\/Api\/ClientsApi.php":"a77d756191fa29a32ef4dd4a45809979","lib\/Api\/TaxesApi.php":"79802e63749301ebc591388d8d172ac7","lib\/Api\/SettingsApi.php":"40a37eab44a9626f17b5c8b8772099dd","lib\/Api\/ReceiptsApi.php":"90179967ee51d51c428d8925ac52ac20","lib\/Api\/ArchiveApi.php":"4eafd7a2e6e5155edfe613819a0eaac7","lib\/Api\/ProductsApi.php":"3a3f2dc0da8befbbaa8d2810b03f4e90","lib\/Api\/SuppliersApi.php":"946cde9d969d2363a1f1e7ef946c8927","lib\/Api\/CompaniesApi.php":"1334cedb43b424e903a4e29508f85b25","lib\/Api\/InfoApi.php":"c9d27a00e2b108c49927fa4c8857b12d","lib\/Api\/EmailsApi.php":"3dc1c1b8bc7a79c7b269b4005978805e","lib\/Api\/IssuedEInvoicesApi.php":"41af1642d1b6543fa54be1da29b2cea0","lib\/Api\/UserApi.php":"e2fe7d238cf79c295f40c75703cfe163","lib\/Api\/WebhooksApi.php":"6c1a542e0bf55d515f1989f342172eba","lib\/Api\/CashbookApi.php":"846d8011997d8707a24afce1ff67ce9b","lib\/ObjectSerializer.php":"bede33db1773218c89390442913f275f","lib\/HeaderSelector.php":"0e30032f4f43c76e7ebe618b1b644165","lib\/Configuration.php":"bbd7ba9ebcf0329c7eb6c6f7e4bf1010","lib\/Filter\/Expression.php":"ca3d26a49c9aea97d24ffc334bb2715a","lib\/Filter\/Condition.php":"0b2709edb4e89c785fe1d2ba9ac627fc","lib\/Filter\/Operator.php":"dcc3e441a87585542230d3ef913ec53d","lib\/Filter\/EmptyCondition.php":"f0eee6daac5695df289ac6e81ee0636c","lib\/Filter\/Filter.php":"8e72def3bc6bc1359961ac5c617a7bc0","lib\/Filter\/Conjunction.php":"7a18335f5dd124cd045e073ac3934ce1","lib\/Filter\/Disjunction.php":"47e1d8d4cf5ff2ccc7859d819dcbce01","lib\/Model\/ModelInterface.php":"9e2f4c436f3b09e226b1f3fbc1be75da","lib\/Model\/ModifyPaymentMethodResponse.php":"0ac6bbc928689df3a6bc6e075b1aa62e","lib\/Model\/ListDetailedCountriesResponse.php":"a3ef7aa17cd1aa529d7117c418f27d9d","lib\/Model\/CreateProductRequest.php":"be1638e91d25ca99e53e75a951b6c510","lib\/Model\/ReceiptType.php":"2f7eab44217e18f58df5d1208496dc73","lib\/Model\/EmailData.php":"55226021a889d843c7200c903c0c436b","lib\/Model\/CashbookEntryKind.php":"ec4b2d191bac6fb593ca91a36abf4119","lib\/Model\/PaymentMethod.php":"afe9caccb927a08546c68e12beb6832d","lib\/Model\/ReceivedDocumentInfoDefaultValues.php":"9a3677f9acca44780329786289f87092","lib\/Model\/ListWebhooksSubscriptionsResponse.php":"3a1cf9545e793310b8ef18765ca52612","lib\/Model\/GetReceiptResponse.php":"e6a6d9c0001d1a3a20bb9d9f80425a69","lib\/Model\/EntityType.php":"1f92162918c53322e501a44991d83422","lib\/Model\/City.php":"e8a12a6493e81ed247da40d816c77b31","lib\/Model\/ListEmailsResponse.php":"ce9f5dd9d8a7d684b37ee1ac8a647926","lib\/Model\/CreatePaymentAccountRequest.php":"b6dca31c7b3561b4a6a1758009dcabea","lib\/Model\/ListSuppliersResponse.php":"7ce4a56534225dd6fc887330ec984de6","lib\/Model\/GetCompanyInfoResponse.php":"f861133c76825d3631ae09c04b1e0647","lib\/Model\/CompanyInfoAccessInfo.php":"695ce8344079f73fa84e098376288db2","lib\/Model\/CreateProductResponse.php":"61f692a7681dbe23a94cc6573546a40b","lib\/Model\/ModifyCashbookEntryRequest.php":"76148affcfaff19b42a577a7ea9e9271","lib\/Model\/EmailSchedule.php":"c38b7ed60f6f3ab24962bc5c5535b134","lib\/Model\/ListF24ResponseAggregatedData.php":"e11fff77abdc8239cd1a79db4bcf283c","lib\/Model\/CreateIssuedDocumentRequest.php":"7ff8a6ad8ea83df037006638095d7467","lib\/Model\/GetProductResponse.php":"f2bf704f685e72eb787184ec140292ca","lib\/Model\/PaymentMethodDetails.php":"4d901551840b8cb6a87c4a0cff4bea24","lib\/Model\/VerifyEInvoiceXmlResponseData.php":"787179c1d497a920f6baa3341f9e07ac","lib\/Model\/GetExistingIssuedDocumentTotalsRequest.php":"2a4d2a2faa82f823e76bf754beea0267","lib\/Model\/DetailedCountry.php":"495622798da1cde0d2b477754de1b7d4","lib\/Model\/ListProductCategoriesResponse.php":"3f95343c659a3559ad5c01be456511f1","lib\/Model\/IssuedDocumentType.php":"e75a04a7504bd5c98f5ade1d1685c222","lib\/Model\/ReceivedDocumentPaymentsListItemPaymentTerms.php":"976fedeace35d72c0c6d2088ea6d7b28","lib\/Model\/ListProductsResponse.php":"23ed3b35d96054d20a00d683551aa166","lib\/Model\/ModifyProductRequest.php":"f5e47dfa232166a18b48a91d9fc82475","lib\/Model\/ListArchiveDocumentsResponse.php":"665df4e12edc046000b942731f509c59","lib\/Model\/WebhooksSubscriptionConfig.php":"7169a51b868ef18d5233fb3ef46ea3be","lib\/Model\/CreateWebhooksSubscriptionRequest.php":"6b0d9c827391e73b6f82b2054aa05ab0","lib\/Model\/EmailRecipientStatus.php":"66ff38f83a3a2b5945d01ad526b21f97","lib\/Model\/GetReceivedDocumentResponse.php":"1e8415bc5495b28ee49a1e1afc1937a3","lib\/Model\/IssuedDocumentPreCreateInfo.php":"f8b7f2bf971b33c0c2c06cfd460cf9fa","lib\/Model\/ArchiveDocument.php":"13fb9955609ae828e3f76dba9a220ab4","lib\/Model\/CreatePaymentAccountResponse.php":"e33fb60bc86512d7f0651bfe90a3ecbb","lib\/Model\/GetExistingReceivedDocumentTotalsRequest.php":"1cea3438418081d5bc1192c60f96d8ab","lib\/Model\/CashbookEntry.php":"2dbad3a2b01a81904e9fb4b3ddc52c1e","lib\/Model\/ListSuppliersResponsePage.php":"8b390741e6d2afba9244a99b3cd9c91c","lib\/Model\/GetF24Response.php":"6e393b486aa438bd6d4dd7a80e7f4e16","lib\/Model\/ModifyVatTypeRequest.php":"b85101443bb696da07e3f6d0b6cbe347","lib\/Model\/WebhooksSubscriptionMapping.php":"af8b8f1a090b47e89889852af33664fe","lib\/Model\/ModifyVatTypeResponse.php":"914361397ded0895806f9a170a41dd2a","lib\/Model\/ReceivedDocument.php":"0e57aba97aa8a12fc6b8abddb90e4fc2","lib\/Model\/ModifyReceivedDocumentResponse.php":"73af854eeecccd8b25e739715b059516","lib\/Model\/Permissions.php":"b26576344ca6fec2ae5251ed41e338c8","lib\/Model\/CreateCashbookEntryResponse.php":"e2e64ac63e860362a08f48a2e10675d1","lib\/Model\/ReceiptPreCreateInfo.php":"e8b0bcb1fd23e9b0118e743aa958fcd0","lib\/Model\/ModifyF24Response.php":"2150eedffec723b3a77463798031eb7f","lib\/Model\/CompanyInfoPlanInfoFunctions.php":"aefbf5bc6a00753b876dc824acf432cd","lib\/Model\/VerifyEInvoiceXmlErrorResponse.php":"c80417daf2eb4f8d81b94de560e15537","lib\/Model\/GetVatTypeResponse.php":"4fbe5b58acdd4c862fd746d434bffbe7","lib\/Model\/ModifyCashbookEntryResponse.php":"619061854085a90fc3462f7152fc3ab8","lib\/Model\/ListF24ResponseAggregation.php":"25bf2c08a538d8601d2faebf4bd52301","lib\/Model\/ModifyClientRequest.php":"6f1bbc1dfffab2efcf71fb3d61109c81","lib\/Model\/ListReceivedDocumentsResponsePage.php":"194a2e966f85e97164c6620d811562dc","lib\/Model\/ScheduleEmailRequest.php":"7e5b709324b79a49c7cb987286dd9280","lib\/Model\/CompanyInfoPlanInfoFunctionsStatus.php":"bade012f86c25b160c9eca710dbb5e90","lib\/Model\/EventType.php":"101392660452443a05e75ec24a6a8944","lib\/Model\/IssuedDocumentExtraData.php":"8d5ae60c8ec6cced6f2de33220ada593","lib\/Model\/ModifyWebhooksSubscriptionRequest.php":"71eed616f58dff68421ffaa4128ac985","lib\/Model\/SendEInvoiceRequest.php":"3cc3b083e3d75a3461e0e249f3defa82","lib\/Model\/ListRevenueCentersResponse.php":"a5f82c671ab947c01fcf67fb9ab3d0d4","lib\/Model\/CreateVatTypeResponse.php":"d94e0ae545fc2a900aaed8188d6b7e66","lib\/Model\/SendEInvoiceRequestOptions.php":"71e7df208ddd3ce51dc8f089390913b8","lib\/Model\/EmailAttachment.php":"8d8a8cae6d372819cb510305964ac522","lib\/Model\/OriginalDocumentType.php":"d03212c3a4d29b640f238094accbc893","lib\/Model\/Entity.php":"d8a31ee88a3fca44d79b23c2ba6589ed","lib\/Model\/CreateClientRequest.php":"ac7c3a897f24f5108664a9ee0526e553","lib\/Model\/GetPaymentAccountResponse.php":"029447e9517949a6bdf160e363644eab","lib\/Model\/VerifyEInvoiceXmlErrorResponseExtra.php":"60b223c470b6fd374414bc714f9e888b","lib\/Model\/ListReceiptsResponsePage.php":"0f57fb0fdbb5e4d208d386ebb063f40c","lib\/Model\/IssuedDocumentPreCreateInfoDefaultValues.php":"76f73ca0c81269cd0e994d6a460feb24","lib\/Model\/IssuedDocumentPaymentsListItemPaymentTerms.php":"0d3b02e52e5af6dafd3e9bfcb943e45b","lib\/Model\/GetClientResponse.php":"853a758f5043c8b90b455e9fcfc4edca","lib\/Model\/ListPaymentAccountsResponse.php":"958ac157dd34de760910793cb01ec59e","lib\/Model\/ReceivedDocumentInfo.php":"57748568012f62c4f06a5ec214c818ef","lib\/Model\/PaymentAccountType.php":"c711a1c594b953e0f1a410e91afdea36","lib\/Model\/ReceivedDocumentPaymentsListItem.php":"6f7f70672358e05df50c58b9e9bd6ad7","lib\/Model\/ListProductsResponsePage.php":"d5ac767dbdf4bea096b56d435caed82c","lib\/Model\/ListClientsResponse.php":"c57f27fa69463d99711155f0a86c9542","lib\/Model\/PaymentTermsType.php":"01574aea19965f5855bdb70c23e2ad92","lib\/Model\/ListVatTypesResponse.php":"1dcc05498f486bf149236b46b99d9372","lib\/Model\/UploadArchiveAttachmentResponse.php":"6067cc07ec624dd01c0885dad36af8f4","lib\/Model\/ReceivedDocumentType.php":"61af4d07b20d91577f0365c208ec37aa","lib\/Model\/GetUserInfoResponse.php":"83b988d59bed34de48a54a059507226c","lib\/Model\/IssuedDocumentOptions.php":"836cee2db82c539f7e5a69a2e813698a","lib\/Model\/DocumentTemplate.php":"2fa1b2e05356495036b7f9bbc589ed63","lib\/Model\/EmailStatus.php":"0c64b4d2eda665c6dcd878c2b9d98886","lib\/Model\/ModifyWebhooksSubscriptionResponse.php":"54edf98dc5670834893b2dc12bc5e2a1","lib\/Model\/ListLanguagesResponse.php":"e8fab29e70b61eb0ffcd66d0381c15de","lib\/Model\/ListReceivedDocumentsResponse.php":"d15c513b1117a0d7dd561eaaa254e877","lib\/Model\/ModifyPaymentMethodRequest.php":"288887722b6e42ec9d31c8597676516a","lib\/Model\/VatType.php":"0d7e8f4f63255cb13784db628abc3c53","lib\/Model\/ListClientsResponsePage.php":"0ca2a5bedd2571c338f323cd4905898a","lib\/Model\/EmailScheduleInclude.php":"c26310e2e89760059e274522b64cb02d","lib\/Model\/CreateReceiptResponse.php":"d2c3789f1fb1539390690b715735dc2e","lib\/Model\/ListDeliveryNotesDefaultCausalsResponse.php":"bf2de81caf9e05f6982f00b26fb75f73","lib\/Model\/ListIssuedDocumentsResponsePage.php":"0515a6bef41602ef4a0ccc756966ed63","lib\/Model\/IssuedDocumentPaymentsListItem.php":"45fb11492fbaf2a71293f1ab61e1a212","lib\/Model\/GetIssuedDocumentResponse.php":"2d888e534c65db596e7545f9dd5ad538","lib\/Model\/UploadF24AttachmentResponse.php":"86bcca082bf9bf0b6b71e1379885b615","lib\/Model\/CompanyPlanUsage.php":"663fa9c21d824f7084bf6f651ac24a2e","lib\/Model\/Email.php":"fcf913ce88967704935e773b69d89709","lib\/Model\/VerifyEInvoiceXmlErrorResponseErrorValidationResult.php":"56dad2dfec7cf0d8bbeb251af9d98495","lib\/Model\/CompanyInfoPlanInfoLimits.php":"83a753e1c5caa6203de4cb71dbfb2a23","lib\/Model\/Supplier.php":"5c7aae5763a0c908b27da5258ef3815a","lib\/Model\/CreatePaymentMethodResponse.php":"541f7e04b7e58cf21d246d1d4e8c8005","lib\/Model\/ModifyArchiveDocumentResponse.php":"ed69099e967f07f17395f5739cb20ce4","lib\/Model\/CashbookEntryType.php":"4f010d45b6b857c3bbb2a5c12be489a6","lib\/Model\/JoinIssuedDocumentsResponse.php":"e6405d9aebd3409fef8d87e7d77d33ae","lib\/Model\/Client.php":"64873d87f3c4334dae3f97331b39ecd8","lib\/Model\/GetNewIssuedDocumentTotalsRequest.php":"8d3aa0544e9f111faaa6e98b9bce57e9","lib\/Model\/ModifyReceiptResponse.php":"e5e4572166e74f02f2b15a64dc38c060","lib\/Model\/GetWebhooksSubscriptionResponse.php":"a93e475b5dd96f81d655e9d9777c0b93","lib\/Model\/ListUserCompaniesResponse.php":"d553012b4ef30ba577d73f634cd5a056","lib\/Model\/ListF24ResponsePage.php":"72992a13f5adea87bdf9b15aaad208a4","lib\/Model\/Company.php":"2d1eda42655d0ad324026c00a558f57c","lib\/Model\/CreateArchiveDocumentResponse.php":"ae0e909fe240e4939e6dac01a08710e4","lib\/Model\/GetEInvoiceRejectionReasonResponse.php":"291b6744847f878bb53a23b377ad9e97","lib\/Model\/ListUnitsOfMeasureResponse.php":"7703d4265f1a4b042c803503da14dd23","lib\/Model\/PaymentMethodType.php":"006152ccc4dc63adc335d02323faccf3","lib\/Model\/IssuedDocumentTotals.php":"4dd2d11c4847992209f761f2450146ac","lib\/Model\/GetReceiptPreCreateInfoResponse.php":"a0193bf6177a956710a91c85e6f75871","lib\/Model\/UploadIssuedDocumentAttachmentResponse.php":"6948856d861bbc3c5b56dd50681b83e2","lib\/Model\/CreateReceiptRequest.php":"59f30d4bc22ee07fb9be3750ad1c2cc9","lib\/Model\/VatKind.php":"67b1db0118db32d1ed9d97a2eabad2e4","lib\/Model\/GetReceiptsMonthlyTotalsResponse.php":"b396385a263be25306fbcbed82e1f0a5","lib\/Model\/GetNewReceivedDocumentTotalsRequest.php":"ec16316cb6dfe51ebe9697233219ded3","lib\/Model\/VerifyEInvoiceXmlErrorResponseError.php":"7e75a8d606012236b667056dde84c0e6","lib\/Model\/F24.php":"1a7d48234604a9bcba48d386c378ce77","lib\/Model\/ListF24Response.php":"833cf67987dc2033144f791120f8edb6","lib\/Model\/GetExistingIssuedDocumentTotalsResponse.php":"1b67caa11b4c6be4fb544967ac2c2bef","lib\/Model\/ListCitiesResponse.php":"9beabde4bf15779e2e04cca592042f3c","lib\/Model\/EmailDataDefaultSenderEmail.php":"e9da3fbcc9839d615201c8643fb806cb","lib\/Model\/GetUserInfoResponseInfo.php":"a72f8b16316738c76f7b4c92f3d68c69","lib\/Model\/UserCompanyRole.php":"453098250edee2a050482804a857d388","lib\/Model\/ModifyF24Request.php":"31b62cd35d6b602945980ecfb5b5c48a","lib\/Model\/IssuedDocumentItemsListItem.php":"da9560e7942f87f73af9edea1d190f7e","lib\/Model\/User.php":"36d6ae4bbd919c3c876a415d1a52ee31","lib\/Model\/IssuedDocumentPreCreateInfoExtraDataDefaultValues.php":"1c60b11441acfa1b6f67946b981356ee","lib\/Model\/CreateReceivedDocumentResponse.php":"f9eacd66cb315bafdbec10b0073626b4","lib\/Model\/ShowTotalsMode.php":"caac72f628fb90d2e9d267a8f5889dd4","lib\/Model\/CreateSupplierResponse.php":"a2c589093fa3d05b88eeff10623a51ea","lib\/Model\/CashbookEntryDocument.php":"0d0454cb1dff09584506468db15054a7","lib\/Model\/ListArchiveDocumentsResponsePage.php":"b5ecc829d61b3cb30d387cb46649a168","lib\/Model\/ModifyReceiptRequest.php":"c7886e88a99415361a6f65f17a798172","lib\/Model\/FattureInCloudPlanType.php":"e856f3de5369fa8acb6816d3ae512d58","lib\/Model\/PermissionsFicIssuedDocumentsDetailed.php":"ae0c3c5db5eaa74ea3538d818790f8ae","lib\/Model\/ModifyIssuedDocumentResponse.php":"06a4614419544fe29813cba30497f786","lib\/Model\/ModifyClientResponse.php":"32b3ad34c963b31cd25094370a33dee6","lib\/Model\/ModifyReceivedDocumentRequest.php":"2771c5acedd832e5ba741dfbf280863b","lib\/Model\/Product.php":"7f3db8268d4f16d68f1f86528979fad6","lib\/Model\/Pagination.php":"63f86f5fdefbeff9c447af8c29106791","lib\/Model\/CreateF24Request.php":"1f45720c02b04c1870f3f15aa140a26b","lib\/Model\/ListCountriesResponse.php":"9f2e43791022b0bd1218239d638de88f","lib\/Model\/CreateClientResponse.php":"6574c9db634b29257a3f01efcc139356","lib\/Model\/CompanyType.php":"77deb4fb4406f7db595abc27ae9d3eff","lib\/Model\/SendEInvoiceResponse.php":"f8b0af86e1645a0c4c87cc9afe47ea59","lib\/Model\/SendEInvoiceResponseData.php":"d84167e88166b8d1ad851f09f0166a82","lib\/Model\/GetCashbookEntryResponse.php":"2a1893602a223dc046702ab62f42629e","lib\/Model\/ListUserCompaniesResponseData.php":"9fc88d6f07852ab3ca00d12981cbfd41","lib\/Model\/ListIssuedDocumentsResponse.php":"fb86e7f3031a24bab06e73231db42093","lib\/Model\/ModifyIssuedDocumentRequest.php":"d3476c560b5739ab115a7400a5f5a99e","lib\/Model\/VerifyEInvoiceXmlResponse.php":"83ced5d9e9472973c0ac00171fde1cca","lib\/Model\/ListCostCentersResponse.php":"b2b1ee8d66673af33d497afed6f7712b","lib\/Model\/CreateF24Response.php":"192149143c0ed9381d1be685722893f6","lib\/Model\/ListTemplatesResponse.php":"62d02bc4fc32d34c6ee203343f2ff5e5","lib\/Model\/CompanyInfoPlanInfo.php":"9462b5a1d5df92fb7209d5e8b4e22798","lib\/Model\/ModifySupplierResponse.php":"d47bd15cc160010aaa8386c18a328370","lib\/Model\/CreateSupplierRequest.php":"1d242b22bac65ee2540f9285ed86415e","lib\/Model\/CreateCashbookEntryRequest.php":"b515e514edd8b580fd80b464813ad171","lib\/Model\/Currency.php":"02f1b6757d622f22114adcd3f808bcb1","lib\/Model\/CreateWebhooksSubscriptionResponse.php":"d4758c3021cbfabf8273766b44e8a345","lib\/Model\/CompanyInfo.php":"4498176fac8138ff04a5fabd92ec94fc","lib\/Model\/PaymentAccount.php":"7fc1a3cb041af2b69fd5ada2c2eea856","lib\/Model\/IssuedDocument.php":"e9e333e1b8fbf2f6022ddbca70d5cdc0","lib\/Model\/AttachmentData.php":"e23fae8a0874b8eba60d180222fe2b05","lib\/Model\/GetIssuedDocumentPreCreateInfoResponse.php":"65a56ad7016f6c5d75a019ea73d21bd9","lib\/Model\/ModifyPaymentAccountResponse.php":"9002fa0cc6d9162e7151731c64a3fedd","lib\/Model\/ListReceivedDocumentCategoriesResponse.php":"0c9566e024533870c15ff0113f681419","lib\/Model\/ReceivedDocumentTotals.php":"cfc2054b7305a283d6c1771c7a47e1df","lib\/Model\/TransformIssuedDocumentResponse.php":"566457369e7ba1a9dc022dfeb4c99a7d","lib\/Model\/ModifySupplierRequest.php":"44f1b6bee2235a9afe2819d944d9b8b4","lib\/Model\/CreatePaymentMethodRequest.php":"5fad26a0328addb6b2dad45fa5f85665","lib\/Model\/ModifyPaymentAccountRequest.php":"e1e8496809bf46d4adc0be38958dd99d","lib\/Model\/ListReceiptsResponse.php":"f3454849e8ebbeb17314cac37f044452","lib\/Model\/VatItem.php":"90386d50f4e05a74272d7397c3d962a3","lib\/Model\/EInvoiceRejectionReason.php":"b9bdd80290fd8b9ab930acdeb769d04b","lib\/Model\/ModifyProductResponse.php":"dc99b69807b3cb8596b3a884436e92fa","lib\/Model\/SupplierType.php":"d6072c8015e05b9dc39747175b0cc490","lib\/Model\/GetNewReceivedDocumentTotalsResponse.php":"4baa4a72d46e326d1ebef334592b7645","lib\/Model\/ReceivedDocumentInfoItemsDefaultValues.php":"eeca87fe17f9a6621b084af1abaecf85","lib\/Model\/ListCashbookEntriesResponse.php":"fda38990fe5ee1e6b9df645c60a24857","lib\/Model\/UploadReceivedDocumentAttachmentResponse.php":"62ff6acb6728a23fa3bf9726a4648a3b","lib\/Model\/ListEmailsResponsePage.php":"c3c46a62ef6bf187f5565f934450d7a9","lib\/Model\/SenderEmail.php":"02316be647d13da77d04fae7bea06727","lib\/Model\/ControlledCompany.php":"6963ef26accfab4a77e5b7abb5c90d76","lib\/Model\/IssuedDocumentStatus.php":"d4a13b3fe9d260ebff0ad954dcc52a0b","lib\/Model\/CreateIssuedDocumentResponse.php":"10fd312a2396b3621922753500bdc55e","lib\/Model\/IssuedDocumentEiData.php":"116f2ba8320a16cb2771875fb0c1c7da","lib\/Model\/FunctionStatus.php":"bf4c0a02df512198f625af96b4abb0ef","lib\/Model\/GetNewIssuedDocumentTotalsResponse.php":"d3868f3d6759d1a4eb6468f04e1a1899","lib\/Model\/GetArchiveDocumentResponse.php":"7df1e4eed5c586bdd8463f8a35ac4ff7","lib\/Model\/ReceiptItemsListItem.php":"ba8db1eaede10af5e4f866bfbfcb9f33","lib\/Model\/GetEmailDataResponse.php":"e32ea793b741acb5ec8bb7a7f8c1c2d0","lib\/Model\/Receipt.php":"fef8cfbb9302078f50be65a140f5b977","lib\/Model\/ListArchiveCategoriesResponse.php":"141d43282fcdccfd11047f863314da52","lib\/Model\/GetSupplierResponse.php":"6c2418e13fd4d297dc08e50be7e94666","lib\/Model\/GetExistingReceivedDocumentTotalsResponse.php":"55b8d89b1c9c57543c2366b8304a9645","lib\/Model\/GetUserInfoResponseEmailConfirmationState.php":"46272a41467835211ae945b307eeabcf","lib\/Model\/GetPaymentMethodResponse.php":"96ca45dd60a569806a33816d062bbe95","lib\/Model\/ReceivedDocumentItemsListItem.php":"3dc52d67161724526a59220401d85bf1","lib\/Model\/GetReceivedDocumentPreCreateInfoResponse.php":"bb42c6ab77e28d0f161fc2f630df3fb7","lib\/Model\/SendEInvoiceRequestData.php":"ab30aab239ad6d03983585804870bb08","lib\/Model\/ModifyArchiveDocumentRequest.php":"47b46a53a30f47aacc66c663754e4eb6","lib\/Model\/MonthlyTotal.php":"b5c84dfae5deef252e083c9d2f35708d","lib\/Model\/Language.php":"9e222e2dac76f76867b81be253c9ac3a","lib\/Model\/CreateArchiveDocumentRequest.php":"2876c54efe5242677993acb481865bd2","lib\/Model\/F24Status.php":"d019d173870c01e99dd2abba06ffbe8c","lib\/Model\/ClientType.php":"556e9a39de737392c9b2e5d7160158a0","lib\/Model\/WebhooksSubscription.php":"0e6cbfa021fbd74f373ea4fe9b9ac2d1","lib\/Model\/ListCurrenciesResponse.php":"a9693238761f807409f13f5b1c44de1a","lib\/Model\/CreateReceivedDocumentRequest.php":"a7ce8d0c881b3395b7595663fdcbdda1","lib\/Model\/PermissionLevel.php":"55a7c5e0197b2316adba6920848663c9","lib\/Model\/ListPaymentMethodsResponse.php":"888c1bd8b3a469e5284859b5d9657772","lib\/Model\/GetCompanyPlanUsageResponse.php":"ed1512f45592f1b304196e10e7e7cdf1","lib\/Model\/IssuedDocumentPreCreateInfoItemsDefaultValues.php":"70c06dc3b8fa8e691bec77fa5254994f","lib\/Model\/CreateVatTypeRequest.php":"342abe9ab24dcb9807ff1f9ee25ba307","lib\/ApiException.php":"7760d403582633b7d00690a57fa8359a","test\/OAuth2\/OAuth2AuthorizationCodeErrorTest.php":"428b2f6831b505c1c9753275397ad55a","test\/OAuth2\/OAuth2AuthorizationCodeTokenResponseTest.php":"fd673f0b01ce91d8d5f3c1ef5207e2f3","test\/OAuth2\/OAuth2AuthorizationCodeParamsTest.php":"7d62453fec4968cff7f32ffa6e506900","test\/OAuth2\/OAuth2AuthorizationCodeManagerTest.php":"04b28c9586e574de521dfd4615e09b57","test\/Api\/CashbookApiTest.php":"f500f51b81d2b05dd10b89303c5544a9","test\/Api\/ProductsApiTest.php":"e99d5623283e724e95a772ddf23c8186","test\/Api\/SettingsApiTest.php":"a39c2807bd2fb2b4e2a75de6dbc261d9","test\/Api\/TaxesApiTest.php":"1bd673455026674442aafd0d334653e6","test\/Api\/ArchiveApiTest.php":"7f0465cf373c432c2af48678aec1e09b","test\/Api\/ClientsApiTest.php":"7a251a96bd9276367f1ccb1d2acf277f","test\/Api\/IssuedEInvoicesApiTest.php":"5d151bbea16c36786fb60bbb00b7e0b7","test\/Api\/InfoApiTest.php":"abf716c9a684b47585458526802594db","test\/Api\/SuppliersApiTest.php":"c077f89b14bd6c61eaa9f4ccf1dd7121","test\/Api\/CompaniesApiTest.php":"b2895c2f993498a3dace8d5e62225d58","test\/Api\/ReceivedDocumentsApiTest.php":"7e5eec0d407cd878c37f4e81fd196218","test\/Api\/IssuedDocumentsApiTest.php":"1cf5df1ecac11497b7640b56dda8e489","test\/Api\/WebhooksApiTest.php":"a8d9cbe5cc5cb5c7a3232c347fe3b9d2","test\/Api\/ReceiptsApiTest.php":"2eedb63d7e360b976939131cc2e857de","test\/Api\/UserApiTest.php":"a3d0ef41c77d1e6aed47f46d0e896c95","test\/Api\/EmailsApiTest.php":"28fe48cf575085512cdedcac1f3f0bb0","test\/Filter\/ConjunctionTest.php":"1caa5fd029494c96bb452aa0fc9cc86f","test\/Filter\/ConditionTest.php":"121d642bd3dfad001123d87cf872f4b7","test\/Filter\/FilterTest.php":"a23237e6866716c26f27ce34dabd8ec9","test\/Filter\/DisjunctionTest.php":"4f814c9507019c2926c2d6d91122d16c","test\/Model\/PaymentTermsTypeTest.php":"401b06ec635b7d20ad6c672502dd5edc","test\/Model\/GetReceivedDocumentPreCreateInfoResponseTest.php":"86591849a5253f0f0855949ad22894cc","test\/Model\/ListSuppliersResponseTest.php":"7051664de5c55fc63a23ec57225d49a5","test\/Model\/GetExistingIssuedDocumentTotalsResponseTest.php":"fa0d35a3a459988354cb8afedf819052","test\/Model\/ModifyArchiveDocumentRequestTest.php":"e2406ffde7aad7d8e600f2d44213d189","test\/Model\/CreatePaymentAccountRequestTest.php":"917f47a1df9cd3727c5d5b580ca0baec","test\/Model\/GetExistingIssuedDocumentTotalsRequestTest.php":"a90af723b4c956eaca834094c1893d09","test\/Model\/ListClientsResponsePageTest.php":"b2ee6ff3e89781d9a53a7db5f7129d1f","test\/Model\/SendEInvoiceRequestOptionsTest.php":"71d3a064eeebc3e2e7aa1bafa0272242","test\/Model\/ModifyWebhooksSubscriptionRequestTest.php":"97ae8d0c271831fc10ecc197efede396","test\/Model\/VatItemTest.php":"842ce42111e8f3c7f91db98a34659410","test\/Model\/ReceivedDocumentItemsListItemTest.php":"a55a51f900f5d476942b291ec64b5139","test\/Model\/ModifyArchiveDocumentResponseTest.php":"b574b7788567a977e8e22cbf819a40b7","test\/Model\/PaymentMethodTest.php":"f8fdcb604ba229ef4349628d3911bc04","test\/Model\/ListReceiptsResponsePageTest.php":"c50b4937d2d126890471e4d257328178","test\/Model\/F24Test.php":"b8f90d263c4e4cbee0bb111268e90a7b","test\/Model\/CreateVatTypeRequestTest.php":"fe37840fa45935c312b9192f50c4dbf4","test\/Model\/CreateReceivedDocumentResponseTest.php":"e45c27f37476a15216894b09a34dddc1","test\/Model\/WebhooksSubscriptionMappingTest.php":"b24d7e74c65d6860e957b3cf60da8f75","test\/Model\/PaymentAccountTest.php":"bd2eb4f12e5bddc29a22356c6d4f07bf","test\/Model\/CompanyTypeTest.php":"ab1548ca0437edcc9794ae3f4a26f2f3","test\/Model\/CreateArchiveDocumentResponseTest.php":"630bf747891f99479ebb1a1a2ef8bc72","test\/Model\/ListReceivedDocumentsResponseTest.php":"1a0124338035453dbeb59a47a9bca325","test\/Model\/IssuedDocumentOptionsTest.php":"bd04d22ab55cc8026a2cec4a4a8bcb32","test\/Model\/ReceivedDocumentTypeTest.php":"13bb7f45f2f9afd5c2c18274e17e47e4","test\/Model\/ReceivedDocumentInfoDefaultValuesTest.php":"9b27354712f39aed17508a74300e1fe2","test\/Model\/ModifyReceivedDocumentRequestTest.php":"a0c18ab4043b829abb94d552b61573df","test\/Model\/IssuedDocumentPreCreateInfoItemsDefaultValuesTest.php":"1606d522ad329d9d2ae755aaa8a7899e","test\/Model\/ModifySupplierRequestTest.php":"3f7ab2bd11f4e6c39b05a58b35a2ef35","test\/Model\/ProductTest.php":"5d64971d95667d3d90696d4a6fe7d373","test\/Model\/UploadReceivedDocumentAttachmentResponseTest.php":"3a831b06c96f2516bf3338223ba54dcc","test\/Model\/ListDetailedCountriesResponseTest.php":"81d4f34d421b8ca9aaac169db960f7ac","test\/Model\/ModifyClientRequestTest.php":"cc3b38a3f63c0207504258995f26af10","test\/Model\/ListArchiveCategoriesResponseTest.php":"5e55848a9db7be78c25ba1ecab511860","test\/Model\/CurrencyTest.php":"2877df81648b9927096158b1b4257d1f","test\/Model\/CreateF24ResponseTest.php":"19a9f9917b7e53cfe6dc0aac568820f1","test\/Model\/UploadIssuedDocumentAttachmentResponseTest.php":"75f5efdc39aac08770522a3fc31bcec9","test\/Model\/ReceiptPreCreateInfoTest.php":"fe5cfdfdd05b6da0244067f8820124a3","test\/Model\/IssuedDocumentStatusTest.php":"96290fec8d8df632cb59d4127b89ebef","test\/Model\/ReceivedDocumentInfoTest.php":"e195910e4e4fc336c012242bad245f7e","test\/Model\/ListRevenueCentersResponseTest.php":"d995ac5c4215d5c634bfae2b6b0c63fa","test\/Model\/ListVatTypesResponseTest.php":"458ed233a4a506edae0cde7a98c8ec9f","test\/Model\/SendEInvoiceResponseTest.php":"0762f2b9907009ea08e34b6ae96e7edf","test\/Model\/CreateIssuedDocumentRequestTest.php":"3cea5752fe320ed1c978dd748e52ce92","test\/Model\/ListPaymentMethodsResponseTest.php":"ebef3dcdf5ca67348094dcd895de3b24","test\/Model\/VerifyEInvoiceXmlErrorResponseExtraTest.php":"918456fca440faf831789010e5d14246","test\/Model\/CreateReceiptResponseTest.php":"8da6c0373b8c95f2ea9eef30e3253dd8","test\/Model\/GetEmailDataResponseTest.php":"32e9c326a20158c920af0d6d190142d7","test\/Model\/ListProductsResponseTest.php":"ce6e526525e6b82b8279b231f879400a","test\/Model\/CreateProductResponseTest.php":"f373d98b2337afbac5c85df5d53b7e9a","test\/Model\/ModifyClientResponseTest.php":"62622d7da8ad9a6ae01a741164e1b50b","test\/Model\/ListLanguagesResponseTest.php":"e9dcea75ea9ad731ef81c2446b020ef4","test\/Model\/UploadArchiveAttachmentResponseTest.php":"5206691c6e70710b55bdf326f7bc3bd0","test\/Model\/GetUserInfoResponseInfoTest.php":"c323ec0bfb6424e49510e1c4c5338ed2","test\/Model\/ListClientsResponseTest.php":"56111f37dbf7203dc2dd731210f4c94a","test\/Model\/CreateClientRequestTest.php":"eff9f3a35cf60ff4034861e841df5d09","test\/Model\/CashbookEntryDocumentTest.php":"597095c015c2a19e77f98c9e0351b5bc","test\/Model\/GetUserInfoResponseTest.php":"c6478a8160311aac575cd87f79e38955","test\/Model\/UploadF24AttachmentResponseTest.php":"95ec9a9e98fd173e8a7c1b387d23f654","test\/Model\/IssuedDocumentPaymentsListItemPaymentTermsTest.php":"af39c98a1a47e0bb04e119f8fbb7bdc4","test\/Model\/ListWebhooksSubscriptionsResponseTest.php":"76df97f4724d300b33c4054fb7c2488f","test\/Model\/ListReceivedDocumentsResponsePageTest.php":"08c3406d23b77c0ef2539bbccef3e56f","test\/Model\/ListIssuedDocumentsResponseTest.php":"74aacec34e9fc39e3fa38d8a2cee2070","test\/Model\/EntityTypeTest.php":"0acaa11effd67f6be9d6603bb25c5d94","test\/Model\/LanguageTest.php":"effc96845527a2a91214cdf759f6331d","test\/Model\/ListDeliveryNotesDefaultCausalsResponseTest.php":"ceae3bdd3adf97c6ea1d0f0952d2fd2b","test\/Model\/CompanyTest.php":"bdd88fde1d32bbc6a2e3f479b0b2957a","test\/Model\/PaymentMethodDetailsTest.php":"2bbb2b765badf379ac3170553d0694d4","test\/Model\/ListUserCompaniesResponseTest.php":"3880f06b8de29ddf9f304e81a1f7a688","test\/Model\/CreateWebhooksSubscriptionRequestTest.php":"2ed55709fb08ea565f1299335a30f515","test\/Model\/GetEInvoiceRejectionReasonResponseTest.php":"43311318506524a3ebf1191dbc91b9cc","test\/Model\/EmailStatusTest.php":"bf0497c42e8f0acd4b7bfc90ac3cbca9","test\/Model\/GetCompanyPlanUsageResponseTest.php":"a62089174a3a65b07912b2525d591144","test\/Model\/EventTypeTest.php":"8d2a93d82024697ae1aa12f50ed348a9","test\/Model\/PermissionsTest.php":"8c5d57a732b383b1f32a36e94bf09397","test\/Model\/ListEmailsResponsePageTest.php":"3625dcef155f581bac6d6df2db916c56","test\/Model\/VerifyEInvoiceXmlErrorResponseErrorValidationResultTest.php":"9aaf8a9d498293c4f2bc9101ed43458b","test\/Model\/CreatePaymentMethodRequestTest.php":"fe73c7eb111ca90f0169cff91ba166eb","test\/Model\/GetVatTypeResponseTest.php":"18452abfe8b8ce70c8b71098c3f5c871","test\/Model\/IssuedDocumentEiDataTest.php":"0a867c30436b098df0c52a24ed5e548d","test\/Model\/IssuedDocumentTest.php":"a2fba0d7c11c16e33fc580dd6a557295","test\/Model\/GetPaymentAccountResponseTest.php":"e24ad2212c485c85100afa6735c81118","test\/Model\/GetReceiptResponseTest.php":"6f439edaa4062007c1f948c5454e8f99","test\/Model\/CreateClientResponseTest.php":"da3f0fc31e383bc07e0a959191fba1fc","test\/Model\/UserTest.php":"39f14b7d82585b997455644f5c3c1946","test\/Model\/GetClientResponseTest.php":"447be285c6def180e3effeb070c80b39","test\/Model\/F24StatusTest.php":"d83a6369ae78d57da86ff391a6f6c622","test\/Model\/SupplierTest.php":"e976bacad90354e5bef724f339f9ec55","test\/Model\/FattureInCloudPlanTypeTest.php":"3e0b564247af67b7f71b8295ae6f2e5e","test\/Model\/UserCompanyRoleTest.php":"1da185554ef0d59961f334fffea0341a","test\/Model\/ModifyReceiptRequestTest.php":"4de77c0d45f0b84e5e261179e2ee1301","test\/Model\/ModifyPaymentMethodRequestTest.php":"5b924e36150fb2ec6293dc4f57a827f4","test\/Model\/ListIssuedDocumentsResponsePageTest.php":"569ab51fe999331bf401ce7883e3f2fa","test\/Model\/ListSuppliersResponsePageTest.php":"c16c5b5af5a10e5d825a016d0c9cdf5a","test\/Model\/ListArchiveDocumentsResponseTest.php":"f0e6e4b0afd959266f0167cbee8e2cd2","test\/Model\/CreatePaymentMethodResponseTest.php":"ec66944ccdaf3b487621e586183a8951","test\/Model\/SupplierTypeTest.php":"552e294c6368008be4b903b783ce04b1","test\/Model\/GetIssuedDocumentPreCreateInfoResponseTest.php":"8f7104a2fae4a5d88c90c3d344ac9358","test\/Model\/CreateSupplierResponseTest.php":"0e4ac48cd2e75af7f3c6cfc4f4bd66b1","test\/Model\/ListArchiveDocumentsResponsePageTest.php":"d1e41abcdb31ccee1cb931899b392889","test\/Model\/ScheduleEmailRequestTest.php":"d24846fdc296769b0a7e41abb1ebfc29","test\/Model\/ModifyPaymentAccountResponseTest.php":"fc3900aadd432e1d6b27d764a1ebd4ae","test\/Model\/GetSupplierResponseTest.php":"bff8f947bb57177f81b39033301476e1","test\/Model\/VerifyEInvoiceXmlResponseTest.php":"fc62f8a5bd21597f130d9777211dcae4","test\/Model\/ListPaymentAccountsResponseTest.php":"bc02b7deb8fdd7ab46f324fc9c195c6a","test\/Model\/CompanyInfoAccessInfoTest.php":"78a6489ec395f627112634471b87ce0a","test\/Model\/ModifyCashbookEntryRequestTest.php":"face9ca33e7c61ae66c4eac552058712","test\/Model\/GetReceivedDocumentResponseTest.php":"b1a55f45722bbf85a5d8f4e55c7fb42a","test\/Model\/GetNewIssuedDocumentTotalsResponseTest.php":"42d07f3fe05e5dda5079ce279de06664","test\/Model\/ControlledCompanyTest.php":"fec32983e1b86eb3c4a679509eef452e","test\/Model\/VerifyEInvoiceXmlErrorResponseErrorTest.php":"1e49fc120fd06b9a6486f8b0a6169bec","test\/Model\/ModifyF24ResponseTest.php":"e0e004febce3bffa87efe2ce5326677e","test\/Model\/ModifyPaymentAccountRequestTest.php":"02741e6ee6293c211163cdc038fc750a","test\/Model\/EmailAttachmentTest.php":"42a8ab6156875434bec1c2adcdc7482e","test\/Model\/CompanyInfoTest.php":"02cbd804e102617cb392841d5041792e","test\/Model\/GetProductResponseTest.php":"92d632f480d7cc926af137725284fcd0","test\/Model\/CreateReceiptRequestTest.php":"b46c74b47a9074746b100b7ac7fd8ad9","test\/Model\/ModifyWebhooksSubscriptionResponseTest.php":"8ec840c6df160b4113fd75a1f2e1443f","test\/Model\/CompanyPlanUsageTest.php":"ec050dc18eb62092c113397569b5df44","test\/Model\/ModifyProductResponseTest.php":"af24926761d7f30267039f173eae8956","test\/Model\/GetExistingReceivedDocumentTotalsRequestTest.php":"a5b83a02c9bd6f55b35fdd88da8592ae","test\/Model\/GetUserInfoResponseEmailConfirmationStateTest.php":"37ccf1b6f50a25ed39fdc13b5952d21a","test\/Model\/EmailTest.php":"1932655032066c48ca3dd7c0f2b79055","test\/Model\/EmailDataDefaultSenderEmailTest.php":"5ed9cb80818737181e62208642f300fc","test\/Model\/CashbookEntryKindTest.php":"08d7615b68dfdb9ed62bc2d7dca6590e","test\/Model\/ModifyCashbookEntryResponseTest.php":"b5aff5be0ebfd19ab43f37f5f29ee4b3","test\/Model\/CreateReceivedDocumentRequestTest.php":"31a45fa3f9f8502989e4009e451d2e5e","test\/Model\/CreateArchiveDocumentRequestTest.php":"9d4dcb8429aa52e0f7574546dc54a8d1","test\/Model\/ModifySupplierResponseTest.php":"b0100bbdd6f6883fec1aa20aa20f1405","test\/Model\/GetNewReceivedDocumentTotalsResponseTest.php":"af5162abe576c23d0cb2cb68a46c0891","test\/Model\/CreateVatTypeResponseTest.php":"af96094535a02447221c2bd705fcb710","test\/Model\/OriginalDocumentTypeTest.php":"e675b7803de231fe53bfee4afd199a72","test\/Model\/SenderEmailTest.php":"d961072ee78954daee53f3a628e7e2ba","test\/Model\/ModifyVatTypeResponseTest.php":"9cff7515476374ea9cfa488a0713dbe7","test\/Model\/IssuedDocumentItemsListItemTest.php":"94d7e9f1b6d9d0cfbefff5c5f76e681a","test\/Model\/CashbookEntryTest.php":"1080341d2c79969e26fa20fe07d5a42e","test\/Model\/TransformIssuedDocumentResponseTest.php":"a70c7417da6cfcc0d5222ad5814d23db","test\/Model\/IssuedDocumentPreCreateInfoDefaultValuesTest.php":"2acfbb655eec26604d25e8522c074519","test\/Model\/EmailDataTest.php":"9c5f9681eac25da6ce5c4bd59fd4098c","test\/Model\/ListCostCentersResponseTest.php":"2a4cf7f01b1024f179ca0f771440ccf7","test\/Model\/PaymentMethodTypeTest.php":"6515a7f220d5591c04b5bdeea7da5cfb","test\/Model\/GetCompanyInfoResponseTest.php":"a325df307f66dac34c3b58a8058daa43","test\/Model\/ReceivedDocumentTotalsTest.php":"34dac4d672e65cdea409334087b6b7d3","test\/Model\/ListReceivedDocumentCategoriesResponseTest.php":"7289476db10546733c61f59ae2723d52","test\/Model\/CreateF24RequestTest.php":"10a1842ff0e9fd663b624c50ebb836dc","test\/Model\/EntityTest.php":"f4125bdcb0a051c1a88e5b238a5703bf","test\/Model\/SendEInvoiceRequestTest.php":"d686406266e448f40bd823651b7480d2","test\/Model\/VatTypeTest.php":"cf99093bccd1407e6de89ad3f48fccce","test\/Model\/IssuedDocumentPreCreateInfoExtraDataDefaultValuesTest.php":"dcd1812402863c449e50c8863b0e5d54","test\/Model\/CreateSupplierRequestTest.php":"4d000e2d4b60a7bfc3d9f165ad653390","test\/Model\/PermissionsFicIssuedDocumentsDetailedTest.php":"91fa2d3b5151a32e848e9dce4df528a9","test\/Model\/ModifyIssuedDocumentResponseTest.php":"8f956182f129baf58d5e6a9604287017","test\/Model\/ClientTest.php":"132e7a1b79f9dd95de76eeb76ac246f0","test\/Model\/CreateCashbookEntryResponseTest.php":"966704a65fff3a58502bd55f47c1fd95","test\/Model\/IssuedDocumentTypeTest.php":"c793fa13d623840a4267b7c3020cadf0","test\/Model\/ReceivedDocumentInfoItemsDefaultValuesTest.php":"96fbf1f5fecfcdd1f38ad6bb21871038","test\/Model\/ModifyReceiptResponseTest.php":"3103d2d5d3f462ee86dd82f9e9d6fd87","test\/Model\/EmailScheduleTest.php":"b40a376af2f887b496305737015fa5f5","test\/Model\/ShowTotalsModeTest.php":"805188f1c663d4889595e33de08b227d","test\/Model\/ReceiptItemsListItemTest.php":"56b87733947dbe8f08bb2886d1abda05","test\/Model\/ModifyF24RequestTest.php":"dbdf731b4082f7f42abd0c9ed9da3614","test\/Model\/VerifyEInvoiceXmlResponseDataTest.php":"dcc43fb7c238431fd1cea1abe2dfa3e0","test\/Model\/GetNewIssuedDocumentTotalsRequestTest.php":"2a8354a75e6cf88c1c13529a61ebabe3","test\/Model\/GetCashbookEntryResponseTest.php":"7c87a50c2eefb817d9861b7b9bc60d83","test\/Model\/GetReceiptPreCreateInfoResponseTest.php":"f934a8adfc57fd8a82cd6b094fbecfe5","test\/Model\/PermissionLevelTest.php":"14cc5de88fd93e56ad9428369e7c256e","test\/Model\/ListF24ResponseAggregatedDataTest.php":"06d070d20e3b334b8e6ae565595e1b51","test\/Model\/DocumentTemplateTest.php":"d1cbfbbd134fba2b01221fa8150ff645","test\/Model\/CreatePaymentAccountResponseTest.php":"8201a3178403081689609724380dbf20","test\/Model\/JoinIssuedDocumentsResponseTest.php":"776a22ee1721a9d3fcfdcc7e9d9d89ac","test\/Model\/GetWebhooksSubscriptionResponseTest.php":"d1fce658075ebfbe9a47723eaa7107d5","test\/Model\/AttachmentDataTest.php":"30bf037d043e8981c3ee489b727fe00a","test\/Model\/CreateCashbookEntryRequestTest.php":"5f408bd907f18672f4a63a3d3c3ad21c","test\/Model\/CompanyInfoPlanInfoFunctionsTest.php":"cb74b7a28bab09f9a5fb83041b40d169","test\/Model\/GetPaymentMethodResponseTest.php":"ad52e95b40930c470b48e2adfa8f02ff","test\/Model\/IssuedDocumentPreCreateInfoTest.php":"c0f669d703c6a834aa42a784a062dbff","test\/Model\/VerifyEInvoiceXmlErrorResponseTest.php":"879f72dc13597870ba156e95587fb189","test\/Model\/ReceivedDocumentPaymentsListItemTest.php":"40c4b69473688a51da232a029bf992d1","test\/Model\/GetReceiptsMonthlyTotalsResponseTest.php":"2c3041951ca18560b4024ac54d86f1c0","test\/Model\/ListCitiesResponseTest.php":"53c520ae46b1451c9959083bce0c540b","test\/Model\/ModifyVatTypeRequestTest.php":"4e68df94cb84a5a217ea1028a8bbae68","test\/Model\/GetF24ResponseTest.php":"e1fcf4bd056ed2e7a8812477f5c7b8ba","test\/Model\/ArchiveDocumentTest.php":"367e2ee68cb7a41f9cd0d490d8d5661f","test\/Model\/ReceivedDocumentPaymentsListItemPaymentTermsTest.php":"ad9b1e2c456dcc57d4cdf176a34e3828","test\/Model\/ReceiptTest.php":"8fcc569a56d866aefc8f52cc64c25eeb","test\/Model\/CompanyInfoPlanInfoLimitsTest.php":"f7fcd96e5bc0f0c72348e55fe27bb3de","test\/Model\/GetArchiveDocumentResponseTest.php":"c3af537478e1480e3128e45f3ee5518f","test\/Model\/ListTemplatesResponseTest.php":"bed89f12c01b0798f910d6c54d491407","test\/Model\/ListF24ResponseAggregationTest.php":"96489732e9de6db37c269bba53af8d89","test\/Model\/CityTest.php":"1a6a88aaf038ede81ee0ccc56f5f988d","test\/Model\/VatKindTest.php":"a70914ffd0bf8a7c3cceef30987d0483","test\/Model\/EInvoiceRejectionReasonTest.php":"c833cf23b57aa7630b0285ac29918ca4","test\/Model\/EmailRecipientStatusTest.php":"17a2685a95b24ad6ca3e327d947def37","test\/Model\/CreateWebhooksSubscriptionResponseTest.php":"7107a56f7eff97cfb6a7d41e268ec351","test\/Model\/ModifyIssuedDocumentRequestTest.php":"04325d49ba264eae7d7c5dad069223fa","test\/Model\/ListReceiptsResponseTest.php":"ad6eefa41caee6a4547fabea758d5eac","test\/Model\/CompanyInfoPlanInfoFunctionsStatusTest.php":"c1cf315cea57d30df54aac09b2139028","test\/Model\/MonthlyTotalTest.php":"8e25222cb1478427c42c951abf74ffc7","test\/Model\/FunctionStatusTest.php":"f3bfa03837d19e07ab77f576d754dce5","test\/Model\/ListProductCategoriesResponseTest.php":"b44d076706ef3924a5d9d21dace037a0","test\/Model\/ListF24ResponsePageTest.php":"33e1ab75d0a8fb03425b5151555ef2ef","test\/Model\/IssuedDocumentPaymentsListItemTest.php":"62579149ebea0721ef64a8b2f4b80537","test\/Model\/SendEInvoiceRequestDataTest.php":"c781142677ac2cd2be51b7e6e4be3422","test\/Model\/IssuedDocumentTotalsTest.php":"da023dd4d2be890daed1e373605c3399","test\/Model\/GetExistingReceivedDocumentTotalsResponseTest.php":"4b954280539ae0d92c7448eef6eae37e","test\/Model\/ModifyProductRequestTest.php":"df2bcf2ad42c7a1a27e97730a1cf7b47","test\/Model\/ListCountriesResponseTest.php":"6ffe7796cf1fc8f4dbc73921e9da5760","test\/Model\/WebhooksSubscriptionConfigTest.php":"5ac64444af0981facb8d5d0d0bb87d19","test\/Model\/ReceiptTypeTest.php":"f27dcd71a602b2fd7d2e34bee5500a4e","test\/Model\/ListUserCompaniesResponseDataTest.php":"ff6e896d77423b59ecf8ec71b54b62ba","test\/Model\/ModifyPaymentMethodResponseTest.php":"8d38880571c4c7b78f7dca6317a2d14a","test\/Model\/ListProductsResponsePageTest.php":"e2e6fbeae8e29456b4bbf8e4e839a93c","test\/Model\/CreateProductRequestTest.php":"4ee74b5e38d364520ccd7a8b098cfd52","test\/Model\/DetailedCountryTest.php":"a18c35f8a4a6458b4d5a1d9625f2eec1","test\/Model\/GetIssuedDocumentResponseTest.php":"1447bff06dff22af40eccd61af693c26","test\/Model\/IssuedDocumentExtraDataTest.php":"073c4d1bef970768dae21f486cab0359","test\/Model\/WebhooksSubscriptionTest.php":"d54eabe717ae88f8b41a5b9650c119f2","test\/Model\/ModifyReceivedDocumentResponseTest.php":"fe912bd8ca94b5206e8c970cacff5897","test\/Model\/ReceivedDocumentTest.php":"72523a0f63b827d17f27ff7b5c9f57ad","test\/Model\/CreateIssuedDocumentResponseTest.php":"791160c2aed3fa588deace4a26fe11ab","test\/Model\/PaginationTest.php":"09c152f1f0cd238a84c5303eeb34b4c7","test\/Model\/ListCashbookEntriesResponseTest.php":"01896d7abe21522b64cdc1a2e1d08211","test\/Model\/SendEInvoiceResponseDataTest.php":"f2fad8bd74a24f749de9931d44427b04","test\/Model\/CompanyInfoPlanInfoTest.php":"6190a05043396be6383ec3eb1e6b2def","test\/Model\/ListCurrenciesResponseTest.php":"e777235b871d1c6575cf96913608a067","test\/Model\/EmailScheduleIncludeTest.php":"3633707e06e3702754dfc86e702f945b","test\/Model\/CashbookEntryTypeTest.php":"80d8ea30de8687d0aa58020e99b6a39b","test\/Model\/ClientTypeTest.php":"6807fdde1f1f310ca1b4f93a10dce8d1","test\/Model\/PaymentAccountTypeTest.php":"f0906e0f532d0126af8722ad3ee5d97c","test\/Model\/GetNewReceivedDocumentTotalsRequestTest.php":"34d7752f869043cf5a533b87ab743b9a","test\/Model\/ListF24ResponseTest.php":"b49ce893d05d2b0a8aad57d34c136155","test\/Model\/ListEmailsResponseTest.php":"1fbebc567233e9ecd16c3ca9672c34d1","test\/Model\/ListUnitsOfMeasureResponseTest.php":"c0cee8b1d6d4033a13ea7c979f5eb8b3"}} \ No newline at end of file +{"php":"7.4.33","version":"3.64.0:v3.64.0#58dd9c931c785a79739310aef5178928305ffa67","indent":" ","lineEnding":"\n","rules":{"binary_operator_spaces":{"default":"at_least_single_space"},"blank_line_after_opening_tag":true,"blank_line_between_import_groups":true,"blank_lines_before_namespace":true,"braces_position":{"allow_single_line_empty_anonymous_classes":true},"class_definition":{"inline_constructor_arguments":false,"space_before_parenthesis":true},"compact_nullable_type_declaration":true,"declare_equal_normalize":true,"lowercase_cast":true,"lowercase_static_reference":true,"new_with_parentheses":true,"no_blank_lines_after_class_opening":true,"no_extra_blank_lines":{"tokens":["use"]},"no_whitespace_in_blank_line":true,"ordered_class_elements":{"order":["use_trait"]},"ordered_imports":{"imports_order":["class","function","const"],"sort_algorithm":"none"},"return_type_declaration":true,"short_scalar_cast":true,"single_import_per_statement":{"group_to_single_imports":false},"single_space_around_construct":{"constructs_followed_by_a_single_space":["abstract","as","case","catch","class","const_import","do","else","elseif","final","finally","for","foreach","function","function_import","if","insteadof","interface","namespace","new","private","protected","public","static","switch","trait","try","use","use_lambda","while"],"constructs_preceded_by_a_single_space":["as","else","elseif","use_lambda"]},"single_trait_insert_per_statement":true,"ternary_operator_spaces":true,"unary_operator_spaces":{"only_dec_inc":true},"visibility_required":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"attribute_placement":"ignore","on_multiline":"ensure_fully_multiline"},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"single_class_element_per_statement":{"elements":["property"]},"single_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"encoding":true,"full_opening_tag":true,"phpdoc_order":true,"array_syntax":{"syntax":"short"},"strict_comparison":true,"strict_param":true},"hashes":{"test\/Api\/InfoApiTest.php":"abf716c9a684b47585458526802594db","test\/Api\/SuppliersApiTest.php":"c077f89b14bd6c61eaa9f4ccf1dd7121","test\/Api\/ArchiveApiTest.php":"7f0465cf373c432c2af48678aec1e09b","test\/Api\/ReceiptsApiTest.php":"2eedb63d7e360b976939131cc2e857de","test\/Api\/SettingsApiTest.php":"a39c2807bd2fb2b4e2a75de6dbc261d9","test\/Api\/EmailsApiTest.php":"28fe48cf575085512cdedcac1f3f0bb0","test\/Api\/TaxesApiTest.php":"1bd673455026674442aafd0d334653e6","test\/Api\/CashbookApiTest.php":"f500f51b81d2b05dd10b89303c5544a9","test\/Api\/IssuedDocumentsApiTest.php":"1cf5df1ecac11497b7640b56dda8e489","test\/Api\/ReceivedDocumentsApiTest.php":"7e5eec0d407cd878c37f4e81fd196218","test\/Api\/ClientsApiTest.php":"7a251a96bd9276367f1ccb1d2acf277f","test\/Api\/CompaniesApiTest.php":"b2895c2f993498a3dace8d5e62225d58","test\/Api\/ProductsApiTest.php":"e99d5623283e724e95a772ddf23c8186","test\/Api\/UserApiTest.php":"a3d0ef41c77d1e6aed47f46d0e896c95","test\/Api\/IssuedEInvoicesApiTest.php":"5d151bbea16c36786fb60bbb00b7e0b7","test\/Api\/WebhooksApiTest.php":"a8d9cbe5cc5cb5c7a3232c347fe3b9d2","test\/Model\/EInvoiceRejectionReasonTest.php":"c833cf23b57aa7630b0285ac29918ca4","test\/Model\/SenderEmailTest.php":"d961072ee78954daee53f3a628e7e2ba","test\/Model\/ModifyClientResponseTest.php":"62622d7da8ad9a6ae01a741164e1b50b","test\/Model\/ModifyPaymentMethodResponseTest.php":"8d38880571c4c7b78f7dca6317a2d14a","test\/Model\/ListReceiptsResponseTest.php":"ad6eefa41caee6a4547fabea758d5eac","test\/Model\/EventTypeTest.php":"abf706f8140c767473252b5871480cdc","test\/Model\/ProductTest.php":"5d64971d95667d3d90696d4a6fe7d373","test\/Model\/GetPaymentMethodResponseTest.php":"ad52e95b40930c470b48e2adfa8f02ff","test\/Model\/GetIssuedDocumentResponseTest.php":"1447bff06dff22af40eccd61af693c26","test\/Model\/ReceivedDocumentTypeTest.php":"13bb7f45f2f9afd5c2c18274e17e47e4","test\/Model\/ListUserCompaniesResponseTest.php":"3880f06b8de29ddf9f304e81a1f7a688","test\/Model\/TransformIssuedDocumentResponseTest.php":"a70c7417da6cfcc0d5222ad5814d23db","test\/Model\/GetExistingIssuedDocumentTotalsResponseTest.php":"fa0d35a3a459988354cb8afedf819052","test\/Model\/ReceivedDocumentTest.php":"72523a0f63b827d17f27ff7b5c9f57ad","test\/Model\/EmailDataTest.php":"9c5f9681eac25da6ce5c4bd59fd4098c","test\/Model\/ReceiptItemsListItemTest.php":"56b87733947dbe8f08bb2886d1abda05","test\/Model\/ControlledCompanyTest.php":"fec32983e1b86eb3c4a679509eef452e","test\/Model\/ListF24ResponsePageTest.php":"33e1ab75d0a8fb03425b5151555ef2ef","test\/Model\/IssuedDocumentPreCreateInfoDefaultValuesTest.php":"2acfbb655eec26604d25e8522c074519","test\/Model\/ModifyArchiveDocumentResponseTest.php":"b574b7788567a977e8e22cbf819a40b7","test\/Model\/VatItemTest.php":"842ce42111e8f3c7f91db98a34659410","test\/Model\/CreateIssuedDocumentRequestTest.php":"3cea5752fe320ed1c978dd748e52ce92","test\/Model\/CityTest.php":"1a6a88aaf038ede81ee0ccc56f5f988d","test\/Model\/CompanyInfoTest.php":"02cbd804e102617cb392841d5041792e","test\/Model\/ArchiveDocumentTest.php":"367e2ee68cb7a41f9cd0d490d8d5661f","test\/Model\/ListArchiveCategoriesResponseTest.php":"5e55848a9db7be78c25ba1ecab511860","test\/Model\/EntityTypeTest.php":"0acaa11effd67f6be9d6603bb25c5d94","test\/Model\/ModifyClientRequestTest.php":"cc3b38a3f63c0207504258995f26af10","test\/Model\/ListUnitsOfMeasureResponseTest.php":"c0cee8b1d6d4033a13ea7c979f5eb8b3","test\/Model\/ListCountriesResponseTest.php":"6ffe7796cf1fc8f4dbc73921e9da5760","test\/Model\/ListTemplatesResponseTest.php":"bed89f12c01b0798f910d6c54d491407","test\/Model\/IssuedDocumentEiDataTest.php":"0a867c30436b098df0c52a24ed5e548d","test\/Model\/EmailAttachmentTest.php":"42a8ab6156875434bec1c2adcdc7482e","test\/Model\/ModifyReceivedDocumentResponseTest.php":"fe912bd8ca94b5206e8c970cacff5897","test\/Model\/VerifyEInvoiceXmlErrorResponseExtraTest.php":"918456fca440faf831789010e5d14246","test\/Model\/VerifyEInvoiceXmlResponseTest.php":"fc62f8a5bd21597f130d9777211dcae4","test\/Model\/IssuedDocumentTotalsTest.php":"da023dd4d2be890daed1e373605c3399","test\/Model\/ModifyVatTypeRequestTest.php":"4e68df94cb84a5a217ea1028a8bbae68","test\/Model\/CreateCashbookEntryResponseTest.php":"966704a65fff3a58502bd55f47c1fd95","test\/Model\/ListWebhooksSubscriptionsResponseTest.php":"76df97f4724d300b33c4054fb7c2488f","test\/Model\/ListProductsResponseTest.php":"ce6e526525e6b82b8279b231f879400a","test\/Model\/SendEInvoiceResponseTest.php":"0762f2b9907009ea08e34b6ae96e7edf","test\/Model\/GetTaxProfileResponseTest.php":"7b7eca6500ca658b1bede7bcf15c3c5a","test\/Model\/PaymentMethodTest.php":"f8fdcb604ba229ef4349628d3911bc04","test\/Model\/CreateVatTypeResponseTest.php":"af96094535a02447221c2bd705fcb710","test\/Model\/ListPaymentMethodsResponseTest.php":"ebef3dcdf5ca67348094dcd895de3b24","test\/Model\/ModifyWebhooksSubscriptionResponseTest.php":"8ec840c6df160b4113fd75a1f2e1443f","test\/Model\/UploadIssuedDocumentAttachmentResponseTest.php":"75f5efdc39aac08770522a3fc31bcec9","test\/Model\/GetUserInfoResponseTest.php":"c6478a8160311aac575cd87f79e38955","test\/Model\/CreateIssuedDocumentResponseTest.php":"791160c2aed3fa588deace4a26fe11ab","test\/Model\/GetExistingIssuedDocumentTotalsRequestTest.php":"a90af723b4c956eaca834094c1893d09","test\/Model\/ListCostCentersResponseTest.php":"2a4cf7f01b1024f179ca0f771440ccf7","test\/Model\/IssuedDocumentPreCreateInfoExtraDataDefaultValuesTest.php":"dcd1812402863c449e50c8863b0e5d54","test\/Model\/SendEInvoiceResponseDataTest.php":"f2fad8bd74a24f749de9931d44427b04","test\/Model\/CreateClientRequestTest.php":"eff9f3a35cf60ff4034861e841df5d09","test\/Model\/GetWebhooksSubscriptionResponseTest.php":"d1fce658075ebfbe9a47723eaa7107d5","test\/Model\/PaginationTest.php":"09c152f1f0cd238a84c5303eeb34b4c7","test\/Model\/WebhooksSubscriptionTest.php":"d54eabe717ae88f8b41a5b9650c119f2","test\/Model\/CreateReceivedDocumentResponseTest.php":"e45c27f37476a15216894b09a34dddc1","test\/Model\/ListProductCategoriesResponseTest.php":"b44d076706ef3924a5d9d21dace037a0","test\/Model\/IssuedDocumentPaymentsListItemTest.php":"62579149ebea0721ef64a8b2f4b80537","test\/Model\/CompanyInfoPlanInfoFunctionsStatusTest.php":"c1cf315cea57d30df54aac09b2139028","test\/Model\/EmailTest.php":"1932655032066c48ca3dd7c0f2b79055","test\/Model\/GetSupplierResponseTest.php":"bff8f947bb57177f81b39033301476e1","test\/Model\/GetReceiptPreCreateInfoResponseTest.php":"f934a8adfc57fd8a82cd6b094fbecfe5","test\/Model\/DocumentTemplateTest.php":"d1cbfbbd134fba2b01221fa8150ff645","test\/Model\/IssuedDocumentStatusTest.php":"96290fec8d8df632cb59d4127b89ebef","test\/Model\/SendEInvoiceRequestOptionsTest.php":"71d3a064eeebc3e2e7aa1bafa0272242","test\/Model\/GetNewIssuedDocumentTotalsRequestTest.php":"2a8354a75e6cf88c1c13529a61ebabe3","test\/Model\/GetExistingReceivedDocumentTotalsRequestTest.php":"a5b83a02c9bd6f55b35fdd88da8592ae","test\/Model\/CashbookEntryDocumentTest.php":"597095c015c2a19e77f98c9e0351b5bc","test\/Model\/GetUserInfoResponseEmailConfirmationStateTest.php":"37ccf1b6f50a25ed39fdc13b5952d21a","test\/Model\/ModifySupplierRequestTest.php":"3f7ab2bd11f4e6c39b05a58b35a2ef35","test\/Model\/ListPaymentAccountsResponseTest.php":"bc02b7deb8fdd7ab46f324fc9c195c6a","test\/Model\/UserCompanyRoleTest.php":"1da185554ef0d59961f334fffea0341a","test\/Model\/ReceivedDocumentInfoItemsDefaultValuesTest.php":"96fbf1f5fecfcdd1f38ad6bb21871038","test\/Model\/GetEmailDataResponseTest.php":"32e9c326a20158c920af0d6d190142d7","test\/Model\/EmailScheduleTest.php":"b40a376af2f887b496305737015fa5f5","test\/Model\/ScheduleEmailRequestTest.php":"d24846fdc296769b0a7e41abb1ebfc29","test\/Model\/CreateClientResponseTest.php":"da3f0fc31e383bc07e0a959191fba1fc","test\/Model\/VerifyEInvoiceXmlErrorResponseTest.php":"879f72dc13597870ba156e95587fb189","test\/Model\/GetReceivedDocumentPreCreateInfoResponseTest.php":"86591849a5253f0f0855949ad22894cc","test\/Model\/F24Test.php":"b8f90d263c4e4cbee0bb111268e90a7b","test\/Model\/UploadF24AttachmentResponseTest.php":"95ec9a9e98fd173e8a7c1b387d23f654","test\/Model\/VatKindTest.php":"a70914ffd0bf8a7c3cceef30987d0483","test\/Model\/ReceivedDocumentItemsListItemTest.php":"a55a51f900f5d476942b291ec64b5139","test\/Model\/CreateVatTypeRequestTest.php":"fe37840fa45935c312b9192f50c4dbf4","test\/Model\/ModifyIssuedDocumentResponseTest.php":"8f956182f129baf58d5e6a9604287017","test\/Model\/GetNewReceivedDocumentTotalsResponseTest.php":"af5162abe576c23d0cb2cb68a46c0891","test\/Model\/CreateWebhooksSubscriptionRequestTest.php":"2ed55709fb08ea565f1299335a30f515","test\/Model\/ReceivedDocumentTotalsTest.php":"34dac4d672e65cdea409334087b6b7d3","test\/Model\/ListRevenueCentersResponseTest.php":"d995ac5c4215d5c634bfae2b6b0c63fa","test\/Model\/CompanyInfoPlanInfoLimitsTest.php":"f7fcd96e5bc0f0c72348e55fe27bb3de","test\/Model\/CompanyTypeTest.php":"ab1548ca0437edcc9794ae3f4a26f2f3","test\/Model\/ModifyIssuedDocumentRequestTest.php":"04325d49ba264eae7d7c5dad069223fa","test\/Model\/ListCurrenciesResponseTest.php":"e777235b871d1c6575cf96913608a067","test\/Model\/PermissionLevelTest.php":"14cc5de88fd93e56ad9428369e7c256e","test\/Model\/ModifyProductRequestTest.php":"df2bcf2ad42c7a1a27e97730a1cf7b47","test\/Model\/ListArchiveDocumentsResponseTest.php":"f0e6e4b0afd959266f0167cbee8e2cd2","test\/Model\/ListCashbookEntriesResponseTest.php":"01896d7abe21522b64cdc1a2e1d08211","test\/Model\/ListUserCompaniesResponseDataTest.php":"ff6e896d77423b59ecf8ec71b54b62ba","test\/Model\/CreateProductRequestTest.php":"4ee74b5e38d364520ccd7a8b098cfd52","test\/Model\/CashbookEntryKindTest.php":"08d7615b68dfdb9ed62bc2d7dca6590e","test\/Model\/DetailedCountryTest.php":"a18c35f8a4a6458b4d5a1d9625f2eec1","test\/Model\/GetProductResponseTest.php":"92d632f480d7cc926af137725284fcd0","test\/Model\/PaymentAccountTypeTest.php":"f0906e0f532d0126af8722ad3ee5d97c","test\/Model\/ModifyPaymentAccountRequestTest.php":"02741e6ee6293c211163cdc038fc750a","test\/Model\/CreateArchiveDocumentResponseTest.php":"630bf747891f99479ebb1a1a2ef8bc72","test\/Model\/CreateF24ResponseTest.php":"19a9f9917b7e53cfe6dc0aac568820f1","test\/Model\/CashbookEntryTypeTest.php":"80d8ea30de8687d0aa58020e99b6a39b","test\/Model\/GetCashbookEntryResponseTest.php":"7c87a50c2eefb817d9861b7b9bc60d83","test\/Model\/CreateReceiptRequestTest.php":"b46c74b47a9074746b100b7ac7fd8ad9","test\/Model\/IssuedDocumentExtraDataTest.php":"073c4d1bef970768dae21f486cab0359","test\/Model\/ListArchiveDocumentsResponsePageTest.php":"d1e41abcdb31ccee1cb931899b392889","test\/Model\/ListLanguagesResponseTest.php":"e9dcea75ea9ad731ef81c2446b020ef4","test\/Model\/CreateSupplierRequestTest.php":"4d000e2d4b60a7bfc3d9f165ad653390","test\/Model\/CreateSupplierResponseTest.php":"0e4ac48cd2e75af7f3c6cfc4f4bd66b1","test\/Model\/EmailRecipientStatusTest.php":"17a2685a95b24ad6ca3e327d947def37","test\/Model\/EntityTest.php":"f4125bdcb0a051c1a88e5b238a5703bf","test\/Model\/ListReceiptsResponsePageTest.php":"c50b4937d2d126890471e4d257328178","test\/Model\/UploadReceivedDocumentAttachmentResponseTest.php":"3a831b06c96f2516bf3338223ba54dcc","test\/Model\/GetNewIssuedDocumentTotalsResponseTest.php":"42d07f3fe05e5dda5079ce279de06664","test\/Model\/CreatePaymentAccountResponseTest.php":"8201a3178403081689609724380dbf20","test\/Model\/CurrencyTest.php":"2877df81648b9927096158b1b4257d1f","test\/Model\/CashbookEntryTest.php":"1080341d2c79969e26fa20fe07d5a42e","test\/Model\/AttachmentDataTest.php":"30bf037d043e8981c3ee489b727fe00a","test\/Model\/WebhooksSubscriptionMappingTest.php":"b24d7e74c65d6860e957b3cf60da8f75","test\/Model\/CreateCashbookEntryRequestTest.php":"5f408bd907f18672f4a63a3d3c3ad21c","test\/Model\/ListEmailsResponseTest.php":"1fbebc567233e9ecd16c3ca9672c34d1","test\/Model\/IssuedDocumentPreCreateInfoTest.php":"c0f669d703c6a834aa42a784a062dbff","test\/Model\/CreateReceivedDocumentRequestTest.php":"31a45fa3f9f8502989e4009e451d2e5e","test\/Model\/ModifyF24ResponseTest.php":"e0e004febce3bffa87efe2ce5326677e","test\/Model\/SendEInvoiceRequestDataTest.php":"c781142677ac2cd2be51b7e6e4be3422","test\/Model\/IssuedDocumentPaymentsListItemPaymentTermsTest.php":"af39c98a1a47e0bb04e119f8fbb7bdc4","test\/Model\/CreateArchiveDocumentRequestTest.php":"9d4dcb8429aa52e0f7574546dc54a8d1","test\/Model\/VerifyEInvoiceXmlErrorResponseErrorTest.php":"1e49fc120fd06b9a6486f8b0a6169bec","test\/Model\/ListEmailsResponsePageTest.php":"3625dcef155f581bac6d6df2db916c56","test\/Model\/ListCitiesResponseTest.php":"53c520ae46b1451c9959083bce0c540b","test\/Model\/ReceivedDocumentPaymentsListItemPaymentTermsTest.php":"ad9b1e2c456dcc57d4cdf176a34e3828","test\/Model\/VerifyEInvoiceXmlResponseDataTest.php":"dcc43fb7c238431fd1cea1abe2dfa3e0","test\/Model\/IssuedDocumentPreCreateInfoItemsDefaultValuesTest.php":"1606d522ad329d9d2ae755aaa8a7899e","test\/Model\/GetReceiptsMonthlyTotalsResponseTest.php":"2c3041951ca18560b4024ac54d86f1c0","test\/Model\/ClientTest.php":"132e7a1b79f9dd95de76eeb76ac246f0","test\/Model\/CompanyPlanUsageTest.php":"ec050dc18eb62092c113397569b5df44","test\/Model\/TaxProfileTest.php":"389d55da47417d29b998b9f8a23f7bfa","test\/Model\/ListIssuedDocumentsResponsePageTest.php":"569ab51fe999331bf401ce7883e3f2fa","test\/Model\/GetCompanyInfoResponseTest.php":"a325df307f66dac34c3b58a8058daa43","test\/Model\/UploadArchiveAttachmentResponseTest.php":"5206691c6e70710b55bdf326f7bc3bd0","test\/Model\/GetNewReceivedDocumentTotalsRequestTest.php":"34d7752f869043cf5a533b87ab743b9a","test\/Model\/EmailScheduleIncludeTest.php":"3633707e06e3702754dfc86e702f945b","test\/Model\/ListDeliveryNotesDefaultCausalsResponseTest.php":"ceae3bdd3adf97c6ea1d0f0952d2fd2b","test\/Model\/JoinIssuedDocumentsResponseTest.php":"776a22ee1721a9d3fcfdcc7e9d9d89ac","test\/Model\/ListReceivedDocumentsResponsePageTest.php":"08c3406d23b77c0ef2539bbccef3e56f","test\/Model\/CompanyInfoAccessInfoTest.php":"78a6489ec395f627112634471b87ce0a","test\/Model\/MonthlyTotalTest.php":"8e25222cb1478427c42c951abf74ffc7","test\/Model\/PaymentTermsTypeTest.php":"401b06ec635b7d20ad6c672502dd5edc","test\/Model\/ListF24ResponseTest.php":"b49ce893d05d2b0a8aad57d34c136155","test\/Model\/ModifyPaymentMethodRequestTest.php":"5b924e36150fb2ec6293dc4f57a827f4","test\/Model\/CreateWebhooksSubscriptionResponseTest.php":"7107a56f7eff97cfb6a7d41e268ec351","test\/Model\/ListReceivedDocumentCategoriesResponseTest.php":"7289476db10546733c61f59ae2723d52","test\/Model\/EmailStatusTest.php":"bf0497c42e8f0acd4b7bfc90ac3cbca9","test\/Model\/EmailDataDefaultSenderEmailTest.php":"5ed9cb80818737181e62208642f300fc","test\/Model\/GetClientResponseTest.php":"447be285c6def180e3effeb070c80b39","test\/Model\/UserTest.php":"39f14b7d82585b997455644f5c3c1946","test\/Model\/ListSuppliersResponseTest.php":"7051664de5c55fc63a23ec57225d49a5","test\/Model\/OriginalDocumentTypeTest.php":"e675b7803de231fe53bfee4afd199a72","test\/Model\/CompanyTest.php":"bdd88fde1d32bbc6a2e3f479b0b2957a","test\/Model\/FattureInCloudPlanTypeTest.php":"3e0b564247af67b7f71b8295ae6f2e5e","test\/Model\/ListClientsResponseTest.php":"56111f37dbf7203dc2dd731210f4c94a","test\/Model\/GetIssuedDocumentPreCreateInfoResponseTest.php":"8f7104a2fae4a5d88c90c3d344ac9358","test\/Model\/IssuedDocumentTest.php":"a2fba0d7c11c16e33fc580dd6a557295","test\/Model\/ModifyReceivedDocumentRequestTest.php":"a0c18ab4043b829abb94d552b61573df","test\/Model\/PaymentMethodTypeTest.php":"6515a7f220d5591c04b5bdeea7da5cfb","test\/Model\/CreatePaymentMethodResponseTest.php":"ec66944ccdaf3b487621e586183a8951","test\/Model\/GetCompanyPlanUsageResponseTest.php":"a62089174a3a65b07912b2525d591144","test\/Model\/ListSuppliersResponsePageTest.php":"c16c5b5af5a10e5d825a016d0c9cdf5a","test\/Model\/ModifyF24RequestTest.php":"dbdf731b4082f7f42abd0c9ed9da3614","test\/Model\/ModifyReceiptResponseTest.php":"3103d2d5d3f462ee86dd82f9e9d6fd87","test\/Model\/ModifySupplierResponseTest.php":"b0100bbdd6f6883fec1aa20aa20f1405","test\/Model\/ModifyWebhooksSubscriptionRequestTest.php":"97ae8d0c271831fc10ecc197efede396","test\/Model\/GetArchiveDocumentResponseTest.php":"c3af537478e1480e3128e45f3ee5518f","test\/Model\/ModifyProductResponseTest.php":"af24926761d7f30267039f173eae8956","test\/Model\/ListClientsResponsePageTest.php":"b2ee6ff3e89781d9a53a7db5f7129d1f","test\/Model\/VerifyEInvoiceXmlErrorResponseErrorValidationResultTest.php":"9aaf8a9d498293c4f2bc9101ed43458b","test\/Model\/ModifyArchiveDocumentRequestTest.php":"e2406ffde7aad7d8e600f2d44213d189","test\/Model\/ModifyReceiptRequestTest.php":"4de77c0d45f0b84e5e261179e2ee1301","test\/Model\/IssuedDocumentItemsListItemTest.php":"94d7e9f1b6d9d0cfbefff5c5f76e681a","test\/Model\/ModifyCashbookEntryRequestTest.php":"face9ca33e7c61ae66c4eac552058712","test\/Model\/CompanyInfoPlanInfoFunctionsTest.php":"cb74b7a28bab09f9a5fb83041b40d169","test\/Model\/WebhooksSubscriptionConfigTest.php":"5ac64444af0981facb8d5d0d0bb87d19","test\/Model\/FunctionStatusTest.php":"f3bfa03837d19e07ab77f576d754dce5","test\/Model\/PaymentAccountTest.php":"bd2eb4f12e5bddc29a22356c6d4f07bf","test\/Model\/GetUserInfoResponseInfoTest.php":"c323ec0bfb6424e49510e1c4c5338ed2","test\/Model\/CreateProductResponseTest.php":"f373d98b2337afbac5c85df5d53b7e9a","test\/Model\/F24StatusTest.php":"d83a6369ae78d57da86ff391a6f6c622","test\/Model\/VatTypeTest.php":"cf99093bccd1407e6de89ad3f48fccce","test\/Model\/GetPaymentAccountResponseTest.php":"e24ad2212c485c85100afa6735c81118","test\/Model\/CreatePaymentMethodRequestTest.php":"fe73c7eb111ca90f0169cff91ba166eb","test\/Model\/LanguageTest.php":"effc96845527a2a91214cdf759f6331d","test\/Model\/GetReceivedDocumentResponseTest.php":"b1a55f45722bbf85a5d8f4e55c7fb42a","test\/Model\/ModifyCashbookEntryResponseTest.php":"b5aff5be0ebfd19ab43f37f5f29ee4b3","test\/Model\/GetExistingReceivedDocumentTotalsResponseTest.php":"4b954280539ae0d92c7448eef6eae37e","test\/Model\/ReceivedDocumentPaymentsListItemTest.php":"40c4b69473688a51da232a029bf992d1","test\/Model\/PermissionsTest.php":"8c5d57a732b383b1f32a36e94bf09397","test\/Model\/ListF24ResponseAggregatedDataTest.php":"06d070d20e3b334b8e6ae565595e1b51","test\/Model\/ReceivedDocumentInfoDefaultValuesTest.php":"9b27354712f39aed17508a74300e1fe2","test\/Model\/ModifyVatTypeResponseTest.php":"9cff7515476374ea9cfa488a0713dbe7","test\/Model\/CreatePaymentAccountRequestTest.php":"917f47a1df9cd3727c5d5b580ca0baec","test\/Model\/ReceiptTest.php":"8fcc569a56d866aefc8f52cc64c25eeb","test\/Model\/ClientTypeTest.php":"6807fdde1f1f310ca1b4f93a10dce8d1","test\/Model\/GetVatTypeResponseTest.php":"18452abfe8b8ce70c8b71098c3f5c871","test\/Model\/ListReceivedDocumentsResponseTest.php":"1a0124338035453dbeb59a47a9bca325","test\/Model\/ListF24ResponseAggregationTest.php":"96489732e9de6db37c269bba53af8d89","test\/Model\/ListDetailedCountriesResponseTest.php":"81d4f34d421b8ca9aaac169db960f7ac","test\/Model\/ReceiptTypeTest.php":"f27dcd71a602b2fd7d2e34bee5500a4e","test\/Model\/ListProductsResponsePageTest.php":"e2e6fbeae8e29456b4bbf8e4e839a93c","test\/Model\/CreateF24RequestTest.php":"10a1842ff0e9fd663b624c50ebb836dc","test\/Model\/PermissionsFicIssuedDocumentsDetailedTest.php":"91fa2d3b5151a32e848e9dce4df528a9","test\/Model\/ListVatTypesResponseTest.php":"458ed233a4a506edae0cde7a98c8ec9f","test\/Model\/SendEInvoiceRequestTest.php":"d686406266e448f40bd823651b7480d2","test\/Model\/ReceivedDocumentInfoTest.php":"e195910e4e4fc336c012242bad245f7e","test\/Model\/IssuedDocumentOptionsTest.php":"bd04d22ab55cc8026a2cec4a4a8bcb32","test\/Model\/SupplierTest.php":"e976bacad90354e5bef724f339f9ec55","test\/Model\/SupplierTypeTest.php":"552e294c6368008be4b903b783ce04b1","test\/Model\/ListIssuedDocumentsResponseTest.php":"74aacec34e9fc39e3fa38d8a2cee2070","test\/Model\/CompanyInfoPlanInfoTest.php":"6190a05043396be6383ec3eb1e6b2def","test\/Model\/PaymentMethodDetailsTest.php":"2bbb2b765badf379ac3170553d0694d4","test\/Model\/GetF24ResponseTest.php":"e1fcf4bd056ed2e7a8812477f5c7b8ba","test\/Model\/IssuedDocumentTypeTest.php":"c793fa13d623840a4267b7c3020cadf0","test\/Model\/ModifyPaymentAccountResponseTest.php":"fc3900aadd432e1d6b27d764a1ebd4ae","test\/Model\/ReceiptPreCreateInfoTest.php":"fe5cfdfdd05b6da0244067f8820124a3","test\/Model\/ShowTotalsModeTest.php":"805188f1c663d4889595e33de08b227d","test\/Model\/CreateReceiptResponseTest.php":"8da6c0373b8c95f2ea9eef30e3253dd8","test\/Model\/GetEInvoiceRejectionReasonResponseTest.php":"43311318506524a3ebf1191dbc91b9cc","test\/Model\/GetReceiptResponseTest.php":"6f439edaa4062007c1f948c5454e8f99","test\/Filter\/DisjunctionTest.php":"4f814c9507019c2926c2d6d91122d16c","test\/Filter\/ConditionTest.php":"121d642bd3dfad001123d87cf872f4b7","test\/Filter\/FilterTest.php":"a23237e6866716c26f27ce34dabd8ec9","test\/Filter\/ConjunctionTest.php":"1caa5fd029494c96bb452aa0fc9cc86f","test\/OAuth2\/OAuth2AuthorizationCode\/OAuth2AuthorizationCodeParamsTest.php":"cf078de8852e9bbe81ec293821f28693","test\/OAuth2\/OAuth2AuthorizationCode\/OAuth2AuthorizationCodeManagerTest.php":"a1ceba24b285bb85230e944f24c151f2","test\/OAuth2\/OAuth2ErrorTest.php":"f7156b14687f65c4c238169a61778756","test\/OAuth2\/OAuth2DeviceCode\/OAuth2DeviceCodeResponseTest.php":"72c3862632c1407b86711dbfe6ad2241","test\/OAuth2\/OAuth2DeviceCode\/OAuth2DeviceCodeManagerTest.php":"a647ac09566faab383f02c48955a128d","test\/OAuth2\/OAuth2TokenResponseTest.php":"502afd7594e34a92745e6683e119fe1a","lib\/Api\/WebhooksApi.php":"02efe4596f10fc43041b1cfa43222a4e","lib\/Api\/ArchiveApi.php":"6474c9d308418e54fa9bb4e9584daa73","lib\/Api\/SettingsApi.php":"1e2d04460a309900dea8d237b4dbe880","lib\/Api\/IssuedEInvoicesApi.php":"c168a65bd3170ac9ff2ed2400a8f9b47","lib\/Api\/ClientsApi.php":"aae6d5daa93323370c4105a28828a218","lib\/Api\/ProductsApi.php":"5ed7fde2b12fda4ce1359fdafe9770b9","lib\/Api\/UserApi.php":"3176303e73427fb64fba1753de11a5f7","lib\/Api\/InfoApi.php":"8850a2e1fea782ebde177bdf2eed8e3e","lib\/Api\/TaxesApi.php":"1c60b8a1ede9b97e88a4089e94a3d271","lib\/Api\/CashbookApi.php":"9b3f97fba481b4271a7c44fbf7751d34","lib\/Api\/IssuedDocumentsApi.php":"2c282c4097a3816ec3c6315e5aa86f7d","lib\/Api\/ReceiptsApi.php":"ae4ae16666a5480bf14ec7eb4600d154","lib\/Api\/CompaniesApi.php":"9fc65b3d633d0d58a45aea5099e68c7d","lib\/Api\/ReceivedDocumentsApi.php":"c79c4db43434c7ccea7225acd27f9303","lib\/Api\/EmailsApi.php":"90b40e8452e32bcf12857b45860b292e","lib\/Api\/SuppliersApi.php":"49ad27be92ccb3b42dc9abe686e20ae5","lib\/ApiException.php":"22bb1d9b12dd1780c1a74b47df8a780e","lib\/Model\/TaxProfile.php":"066878f722e10d139af1fabb64fa4b89","lib\/Model\/GetUserInfoResponse.php":"81002ecbdeb9d4660d51380704e039b8","lib\/Model\/ListF24ResponsePage.php":"ae9a7484e9fddfcac66b9039b0ce17df","lib\/Model\/UploadF24AttachmentResponse.php":"273870dbb9ae0096f68497bd3b58b3cf","lib\/Model\/ModifySupplierRequest.php":"b31a7b4d553f6bfda08d28b67040e0d3","lib\/Model\/ModifyPaymentMethodResponse.php":"8ed23bb37504c361df3789669f2eb32a","lib\/Model\/GetExistingReceivedDocumentTotalsRequest.php":"baf5e1fa353e0673709c726eee040132","lib\/Model\/MonthlyTotal.php":"eb29013c09b1edaed38a888522e1e0ad","lib\/Model\/ListReceiptsResponse.php":"943f4ac1310e9bc24b412bc79afa7505","lib\/Model\/ListProductsResponsePage.php":"b74ba442a8290e02bfa60aa20d4e71b7","lib\/Model\/PaymentTermsType.php":"ec3a92dc7039cefbf15cad7c3cec775e","lib\/Model\/OriginalDocumentType.php":"188b285edddb6b6a9f9abf11ea72329a","lib\/Model\/CreatePaymentMethodResponse.php":"8f88c05033a7586840facabbd01c079a","lib\/Model\/GetSupplierResponse.php":"81f9d65e98db8cc6f57daad86afeb638","lib\/Model\/ListF24ResponseAggregation.php":"6404932e986b4bb556770079a57adff7","lib\/Model\/ReceivedDocumentPaymentsListItem.php":"defb35d5d0162a3539674fce4c7b6679","lib\/Model\/GetNewIssuedDocumentTotalsResponse.php":"675506b0f3590f9f782c857de4a30091","lib\/Model\/ModifyF24Response.php":"db295dd30990b2af6ce533ab562b3669","lib\/Model\/ReceivedDocument.php":"cb4afd045919e116e2f39e1d504c8b9a","lib\/Model\/CreateWebhooksSubscriptionResponse.php":"07d4de4167285f86d4176d5f8bd02af0","lib\/Model\/ModifyCashbookEntryRequest.php":"fb0e5d9038dbe21a960ef764160dfbbb","lib\/Model\/ShowTotalsMode.php":"68fe93f770ef95ac36190ec1dda03ed1","lib\/Model\/CompanyInfo.php":"b48b7b30fa25ce4171e8899195f0a9b6","lib\/Model\/WebhooksSubscriptionMapping.php":"c4bf4d9295d5dc4ba72013a90c522c43","lib\/Model\/GetCashbookEntryResponse.php":"a0a5b9a2b2ed7a02ac48fa76c0a32bc1","lib\/Model\/ListPaymentMethodsResponse.php":"4564f31d94e811965433ef6cc9ce9808","lib\/Model\/SendEInvoiceRequestData.php":"a2ca74072041c16475eb8600f9a0ddc0","lib\/Model\/SendEInvoiceResponse.php":"e1650beab22e85128627029ba9ff6596","lib\/Model\/ModifyIssuedDocumentRequest.php":"063c5425117734aad958e27fa9f4382f","lib\/Model\/ListClientsResponse.php":"829c9ab1823e206cc4521ccfcdd68738","lib\/Model\/VerifyEInvoiceXmlErrorResponseExtra.php":"21037a2a0e4189c404ac94398b8c34d4","lib\/Model\/EmailDataDefaultSenderEmail.php":"7c05214c615219c75997a4772b5e6c52","lib\/Model\/VerifyEInvoiceXmlErrorResponse.php":"5060ef23582b52f5314f5f612fb56caf","lib\/Model\/CreateProductRequest.php":"2819103003d5928cc5b507b82e189e41","lib\/Model\/ListTemplatesResponse.php":"c780bce53a9e9d9b70da0b3d35552832","lib\/Model\/CompanyInfoAccessInfo.php":"3fe8abc52055eb467b16515fa0d92eb7","lib\/Model\/Receipt.php":"4a0d7e0a6ad55fc1c40c42a21f05959c","lib\/Model\/GetReceivedDocumentPreCreateInfoResponse.php":"8c919b8fcf9bce1e0d95e9fac65dc676","lib\/Model\/ModifyF24Request.php":"03b30a2c55560abfc91ff8b1c4b15b6c","lib\/Model\/CompanyInfoPlanInfo.php":"9b7e11652ddfa1c2cea3b4d4cdc88a33","lib\/Model\/VerifyEInvoiceXmlErrorResponseErrorValidationResult.php":"befe5b968d2313af311029447a8b15cd","lib\/Model\/AttachmentData.php":"2fb399a4f9af63aeebc4fdd8f797507a","lib\/Model\/PaymentMethod.php":"256f51a7d92d8645dfa8e3a4d5e43c89","lib\/Model\/VatItem.php":"79a9da5e75b53f333b028712084d73b8","lib\/Model\/ReceivedDocumentType.php":"e44ce51055c345328655af1cfe333d74","lib\/Model\/SenderEmail.php":"72a6c49b400b70d12a61a2492ba2cb50","lib\/Model\/CreateIssuedDocumentRequest.php":"0381bf76a62257cadf0184b59f284f13","lib\/Model\/GetReceiptResponse.php":"a0bc272cc0d01a58605cf35fcc84a3de","lib\/Model\/Email.php":"e7cd170ef8e748e23b4ff4676ce76a3e","lib\/Model\/IssuedDocumentTotals.php":"630db542d2776b0eae575cdb202231f7","lib\/Model\/CreateIssuedDocumentResponse.php":"8ebfdbba2ffda92a4ed7ead4d7dc0630","lib\/Model\/ControlledCompany.php":"d98076b5447e5b29ae6faf62692e0988","lib\/Model\/VerifyEInvoiceXmlResponse.php":"4a06cd586be637cff81c2afbc4455ebc","lib\/Model\/SupplierType.php":"e7b47f85922a3f1e774a64571202ffc6","lib\/Model\/GetWebhooksSubscriptionResponse.php":"ae78a880aca87adf3b25d50ab1e13f00","lib\/Model\/CashbookEntryKind.php":"754a6d5699fe0fac799599c3f5bde781","lib\/Model\/GetUserInfoResponseEmailConfirmationState.php":"afaf5deac616d6da1f2e53cadd65a350","lib\/Model\/Currency.php":"6782e184e7f06de1fd004d0ae2f00ccf","lib\/Model\/CreatePaymentAccountRequest.php":"f0141a38152e5a1cdbdd0b8531f03041","lib\/Model\/IssuedDocumentPreCreateInfoExtraDataDefaultValues.php":"79cbb4f40fbf4b154022808b5f270d4c","lib\/Model\/ListArchiveDocumentsResponse.php":"da35387685d39c61d4643b04f12bd907","lib\/Model\/ListDeliveryNotesDefaultCausalsResponse.php":"907f1dcfb52f7e9beb8f603cae131d0f","lib\/Model\/IssuedDocumentPreCreateInfoDefaultValues.php":"273c64dbc335a1c4aaed3c17e1a3094c","lib\/Model\/CreateClientRequest.php":"66eaeeb1568501d25f853c23cc6871bc","lib\/Model\/ModifyProductResponse.php":"210e6e441fe8c46e02e7ac1c044464fc","lib\/Model\/EventType.php":"625ffe6d56b119663cbf817ddfba626b","lib\/Model\/CreateSupplierResponse.php":"f72a62228dc732cd1625ec074ca922df","lib\/Model\/VerifyEInvoiceXmlResponseData.php":"d860b25e08fa704f575ddf2d23aacbb1","lib\/Model\/ListWebhooksSubscriptionsResponse.php":"1c59c05ff4fff49111d3db394746fa56","lib\/Model\/CreateProductResponse.php":"7154e9d77434c9f662538aab97ff3d10","lib\/Model\/ModifyCashbookEntryResponse.php":"a79de6a0b92496243741acf60467b9cc","lib\/Model\/ReceivedDocumentInfo.php":"2ae0ae9cecf7a8217ca7620624dc69af","lib\/Model\/User.php":"3ce8b44dcad2e3e6d984443c34c6412b","lib\/Model\/ModifyArchiveDocumentResponse.php":"595dcc199d91de4f1491a8400497d566","lib\/Model\/ListCountriesResponse.php":"6a4fdf946995e5de6ae446f3c4c91e7b","lib\/Model\/VatKind.php":"7b43be65267ecab655cae69b12cb2404","lib\/Model\/CreateReceiptResponse.php":"df53d68a672e77354a02269258c1d14f","lib\/Model\/IssuedDocumentPaymentsListItemPaymentTerms.php":"1583646179c6c5b5485952f7321cfac2","lib\/Model\/CompanyInfoPlanInfoFunctionsStatus.php":"63de3ae67a90a65f15487634e88ad89f","lib\/Model\/GetCompanyInfoResponse.php":"a45a79956b803fdce4026dd528914575","lib\/Model\/GetReceivedDocumentResponse.php":"089cecc026c88b5cfca9ed6fbe0d724b","lib\/Model\/EmailRecipientStatus.php":"45a711ec1b66183e6316cdfd036a70e2","lib\/Model\/WebhooksSubscriptionConfig.php":"7cf4cab35a2a12f332b5c0dc13cf2e85","lib\/Model\/PermissionLevel.php":"2ea4b588483e51aab07d59f510fa1fff","lib\/Model\/ListCurrenciesResponse.php":"326a1972bcc53df8335369f335a97ee3","lib\/Model\/CreateVatTypeResponse.php":"5f61eebbf2bc91ae3c39c00f8a03549f","lib\/Model\/GetF24Response.php":"de9a2e238d049e8040f8e7ed9610a6dd","lib\/Model\/ModifyPaymentMethodRequest.php":"356a185376aec127583bf34b252776a5","lib\/Model\/CashbookEntry.php":"e40e58bc08aa5e15584ab3075d82e032","lib\/Model\/ReceivedDocumentItemsListItem.php":"733fe118b057ab8b16114b1c1fb9f168","lib\/Model\/GetExistingIssuedDocumentTotalsResponse.php":"261fa6229379857131086043bc9fdc2e","lib\/Model\/ListSuppliersResponse.php":"27a1c6f6f4ca57fc49915bcaf7be262c","lib\/Model\/IssuedDocumentPreCreateInfo.php":"88f28e81a0444bdf573c940953c841fe","lib\/Model\/GetTaxProfileResponse.php":"3ac8f237cffc24eb0b325a522724d232","lib\/Model\/ArchiveDocument.php":"eef959b2d02bdbdd902585c1e014fc84","lib\/Model\/EmailData.php":"013b8245b48623bd7c509af7694d74d5","lib\/Model\/ListEmailsResponsePage.php":"735a79ac53239c031728f15db8a084f1","lib\/Model\/GetProductResponse.php":"18919a8e089bfab0108e56d39644629b","lib\/Model\/ListReceivedDocumentsResponsePage.php":"4270ecefe1dd2212f58b09c9897f50dd","lib\/Model\/ReceivedDocumentPaymentsListItemPaymentTerms.php":"8b3f9c723d359393baec477de218c304","lib\/Model\/GetEInvoiceRejectionReasonResponse.php":"dcf9cacfbb363b0fc36668c0333bce45","lib\/Model\/GetNewIssuedDocumentTotalsRequest.php":"35551dd7f02e9acfa403bc6fc7d3ea10","lib\/Model\/ReceivedDocumentInfoItemsDefaultValues.php":"fd3a2b430a75682864a55fb912ead063","lib\/Model\/ModifySupplierResponse.php":"848c4ae543b526f60c52b35a0a2ce386","lib\/Model\/Pagination.php":"40aa62236a22677f8ce8c3b25e2bd6e3","lib\/Model\/ReceiptItemsListItem.php":"2e50434c4f54c0bff3c0646fb43d2480","lib\/Model\/CashbookEntryDocument.php":"718cf3234fa24e39b65ca6f4e34464e7","lib\/Model\/Supplier.php":"2c51e8ba34892d2bd921be5088992642","lib\/Model\/ModifyReceivedDocumentResponse.php":"49e84795b02a42b282a32d5127a8f61f","lib\/Model\/CompanyInfoPlanInfoFunctions.php":"21d892cd0a591956a05510f52b097516","lib\/Model\/GetPaymentAccountResponse.php":"a8718b48dd00390f6564600f88202b40","lib\/Model\/ListDetailedCountriesResponse.php":"53ab6e904265560d6b512d0c2401a346","lib\/Model\/GetReceiptsMonthlyTotalsResponse.php":"ad7659b02cc9fc440eea3e7af2e08857","lib\/Model\/Language.php":"4ffa873daa4992a7b4ac1617d2aad9f7","lib\/Model\/F24Status.php":"266dffb2fa3629a1cfea2ef55d0d741e","lib\/Model\/Entity.php":"9864bf47814020a50dde2570abbd9719","lib\/Model\/EmailSchedule.php":"37f735ca690287abaa6c3115db386547","lib\/Model\/DocumentTemplate.php":"31848557e2fd84c657e7acd4877720c4","lib\/Model\/ModifyIssuedDocumentResponse.php":"25dd16bcb13667d1f2dcf0ab8267a5b9","lib\/Model\/CreateArchiveDocumentRequest.php":"4514f9bb89ffcb69f657193e33515209","lib\/Model\/IssuedDocumentEiData.php":"271bf986fe6d7e20a6106bc483d1a442","lib\/Model\/ClientType.php":"5347e0c35257541a7336456604e523c4","lib\/Model\/PermissionsFicIssuedDocumentsDetailed.php":"3cc69f74b00a89d3139d84b59577333c","lib\/Model\/ModifyVatTypeResponse.php":"19b63c8ad828b21adaee3d8bad26b13b","lib\/Model\/ListCashbookEntriesResponse.php":"69c2bdd0895943091bdc26e612b967b4","lib\/Model\/Product.php":"d9e3c50474393709d6c582d9bfed2a5a","lib\/Model\/ModifyPaymentAccountRequest.php":"9b222791d8f09548f0017ae3888e577e","lib\/Model\/F24.php":"2fe5afb8e235db8cfebbf0c942d21357","lib\/Model\/GetClientResponse.php":"8a8dc7437b902628a2d179ac16a0df09","lib\/Model\/VerifyEInvoiceXmlErrorResponseError.php":"b68ce592fe47ef151280b9cd92ed9c7b","lib\/Model\/SendEInvoiceRequestOptions.php":"871fd8dac565aa122cc525df26e81830","lib\/Model\/CreateReceivedDocumentResponse.php":"472355a5e0f66f4fe706e44da756e468","lib\/Model\/ListRevenueCentersResponse.php":"5c961aaacd667e8b7abcfb88b50417cd","lib\/Model\/PaymentAccount.php":"82eed424dcaa929c324d6c3553304ab8","lib\/Model\/Company.php":"6397793432031a6ce56925d4fc445e45","lib\/Model\/CreatePaymentMethodRequest.php":"476885127b04ed3f53ae2261329e6910","lib\/Model\/ListF24ResponseAggregatedData.php":"cde34ada08171481bf2bb222ab0ae286","lib\/Model\/GetNewReceivedDocumentTotalsRequest.php":"09e73eb0aa51c9e782b1079af7dd1b40","lib\/Model\/UserCompanyRole.php":"ef18b27b6a42a5cb60496a6040109e8f","lib\/Model\/PaymentAccountType.php":"d1260736d657b488e3033164d0ade04f","lib\/Model\/VatType.php":"49726430a1e256854847349e97ccea8a","lib\/Model\/ListF24Response.php":"2321995e2571ab676f6e98b8938aa9ab","lib\/Model\/FunctionStatus.php":"488b8647d0dc4fd1a5a92585ac6cea11","lib\/Model\/GetExistingIssuedDocumentTotalsRequest.php":"9664156cee5c98baca5498c4c471f746","lib\/Model\/UploadIssuedDocumentAttachmentResponse.php":"45f3262a7bc09c4facec034f191e59d8","lib\/Model\/ListIssuedDocumentsResponse.php":"354e61799119e4633a9e1548bde15b0c","lib\/Model\/DetailedCountry.php":"f6ab5d94d87c1ebe6f492b906dbd8fca","lib\/Model\/ModifyReceiptRequest.php":"b86736a38631f40b46c2a5fdbce2575a","lib\/Model\/ScheduleEmailRequest.php":"2fdc9de116074b9c83118c784eb24ff3","lib\/Model\/GetEmailDataResponse.php":"18fa41edf64428c23bdfa78b4ffbb444","lib\/Model\/EmailAttachment.php":"d59eb77a3f80d15175c3082e2741baa6","lib\/Model\/IssuedDocumentType.php":"403d488c72d0c8e65945f52f2d67756c","lib\/Model\/IssuedDocumentPreCreateInfoItemsDefaultValues.php":"64e589731d6b256f1d24b858a16519b0","lib\/Model\/Client.php":"7a57a6069734b9651a77a7cd12f86a0b","lib\/Model\/ReceivedDocumentInfoDefaultValues.php":"d7a64300f19b06464ec6ae2ae51d8bbe","lib\/Model\/ListReceivedDocumentsResponse.php":"7c7abd2d0562e43f38cccc8de0002761","lib\/Model\/ReceiptType.php":"86de1157b5d01da202e632385cdb6f13","lib\/Model\/ListArchiveDocumentsResponsePage.php":"ed246221413e4a3877dcd505d7902186","lib\/Model\/ListReceivedDocumentCategoriesResponse.php":"ecfa6b5e93a818d2e752aea32cf1b05b","lib\/Model\/CreateReceiptRequest.php":"bd5a9823c85304a7be3a2221788555ce","lib\/Model\/EInvoiceRejectionReason.php":"5d4b867622694f661102bbb3de6e4d36","lib\/Model\/CreateClientResponse.php":"4a67a04dcbcc48e20c624a39f4339c14","lib\/Model\/EmailStatus.php":"0012480fb67f8a9e53f34fb6daf189b0","lib\/Model\/ListLanguagesResponse.php":"856ecfe70c5ec1adc0b44268f1821fe6","lib\/Model\/CompanyPlanUsage.php":"1e3110c8e691324512e35689a51d7390","lib\/Model\/ListSuppliersResponsePage.php":"31e0c4968b79df031f18216052ff06fe","lib\/Model\/JoinIssuedDocumentsResponse.php":"d525a191f06e8ae5039206b697a44f16","lib\/Model\/City.php":"4e4ea9d2e8039dc859455b6f88b3fd43","lib\/Model\/GetArchiveDocumentResponse.php":"fbcbed43abd159d48600eebc7ef2116c","lib\/Model\/CreateCashbookEntryRequest.php":"784277ac1f77e2e341ea420566bf7488","lib\/Model\/CompanyType.php":"fe637535ef5adf320fae6e37070165d8","lib\/Model\/ListCostCentersResponse.php":"8feecd5836f2c074a4f419ca795cbce1","lib\/Model\/GetNewReceivedDocumentTotalsResponse.php":"f7d2e3dbeae2ddd99bc6926d115ae0a9","lib\/Model\/GetCompanyPlanUsageResponse.php":"922d79dd457c819e02454a09d97a2d6d","lib\/Model\/WebhooksSubscription.php":"276b506a39d32b07a9901ae2e31fc237","lib\/Model\/ModifyReceivedDocumentRequest.php":"bf2977fd9db34accc1993ff3c3fbe5ef","lib\/Model\/IssuedDocument.php":"0c62e9fe67fa6e987d0dc29e3c322bdf","lib\/Model\/ModifyClientResponse.php":"b1c0c88ccf3d9085e4211d0976b94fd6","lib\/Model\/ReceiptPreCreateInfo.php":"1c5edae7b0b3fd008e664695e2f683a1","lib\/Model\/IssuedDocumentItemsListItem.php":"59a2a4a91456dde030e34d06796ebe4d","lib\/Model\/ReceivedDocumentTotals.php":"51b6e8d170099cbed1f79b7debd8c763","lib\/Model\/ModifyVatTypeRequest.php":"e72ba04c99cd851be98238bd8b8fb0db","lib\/Model\/ModifyProductRequest.php":"07c8ed8a429cd4ca1d5e82fc11b7f8c4","lib\/Model\/EntityType.php":"ea25b97420ac5b9463a8b140de143b69","lib\/Model\/GetVatTypeResponse.php":"923d2c64aa3aee5dd8181c4754880361","lib\/Model\/GetExistingReceivedDocumentTotalsResponse.php":"d90eac7672919dd6664a01c801600a38","lib\/Model\/ModifyWebhooksSubscriptionRequest.php":"95bf19bf57c69b7552097b099dae1b95","lib\/Model\/CompanyInfoPlanInfoLimits.php":"36e128d97952da7c1351ca1aa716a61b","lib\/Model\/CreateReceivedDocumentRequest.php":"781a7dea6d7d193cab3557fef7fb0c71","lib\/Model\/ListEmailsResponse.php":"2e35845a528a41dbad8ff5e2bd0088b1","lib\/Model\/PaymentMethodDetails.php":"eee9d5710ca3b9afe52a5020320d157b","lib\/Model\/CreateArchiveDocumentResponse.php":"3b43478ef5ce5e309aecd96026dbea2c","lib\/Model\/CreatePaymentAccountResponse.php":"f63f9af3ad4c57f2554185114acc8f25","lib\/Model\/ModifyPaymentAccountResponse.php":"aa9c96fc3dd771e34b67c87701f24852","lib\/Model\/GetUserInfoResponseInfo.php":"86cc6393bd72e2373c386e58eda76ae5","lib\/Model\/ListUserCompaniesResponse.php":"c900670f7edb1867ebf3922ee8d6cd6a","lib\/Model\/ListCitiesResponse.php":"d6250f636385d8861872946d94b11830","lib\/Model\/ListProductsResponse.php":"ba0f7e27a5f822a0afa77804aa4e52d7","lib\/Model\/IssuedDocumentOptions.php":"893a44428d66990dcd3d7609a3ee2e44","lib\/Model\/GetPaymentMethodResponse.php":"a5565f53b352d62af8dd38869e790762","lib\/Model\/ListReceiptsResponsePage.php":"517afec49731b899a1b95d62dd658d2d","lib\/Model\/UploadReceivedDocumentAttachmentResponse.php":"119efb12717c83c4edd95a2efdbf398a","lib\/Model\/FattureInCloudPlanType.php":"9b51cfc66af8a2628de584669b9f972c","lib\/Model\/SendEInvoiceRequest.php":"dff03dc74694f7cf186e72a4f00f454a","lib\/Model\/ModelInterface.php":"b3a69181a154b587a83298862c8ce25a","lib\/Model\/ListVatTypesResponse.php":"6ca1bc591e581ec772564db88180287a","lib\/Model\/GetReceiptPreCreateInfoResponse.php":"7cb874e903d59162478fc5820785b564","lib\/Model\/TransformIssuedDocumentResponse.php":"6071843c3fdf93e3df66dcb5c2afc6c6","lib\/Model\/UploadArchiveAttachmentResponse.php":"83b4e9f1499c4b72a6f83e9c8c3b83eb","lib\/Model\/CreateF24Request.php":"1c909eed423bf6f838d153e9fabf57f3","lib\/Model\/ModifyReceiptResponse.php":"28ba1a2e2e3c53a54b3b4171acf94c68","lib\/Model\/ModifyArchiveDocumentRequest.php":"0f3bfa34f8d00bbf36cd38cfa376c420","lib\/Model\/Permissions.php":"21904e4a9e01e232a81f3bd01f939cbb","lib\/Model\/EmailScheduleInclude.php":"557ff8c66252bd3eda47eea3edf7fd78","lib\/Model\/IssuedDocumentStatus.php":"25916dbe3b565274e8a763e9ed482d0e","lib\/Model\/CreateVatTypeRequest.php":"4c21138e766af92963db12a11f8eb689","lib\/Model\/CreateCashbookEntryResponse.php":"94678242e3f222b5b2e061a2be582c7f","lib\/Model\/CreateWebhooksSubscriptionRequest.php":"a9bb9a87e3ab5eb1e76d829e047ecefd","lib\/Model\/ListClientsResponsePage.php":"21e228410f0d3d747b0d82bc7b8ba05d","lib\/Model\/SendEInvoiceResponseData.php":"bbd86df2abec8731fe8629baef3e022d","lib\/Model\/CreateSupplierRequest.php":"fc8fe180452c32306074a714078ece41","lib\/Model\/ListProductCategoriesResponse.php":"68e95843dbdbf80135b673eb2dd25c4d","lib\/Model\/ListIssuedDocumentsResponsePage.php":"78358676016ae50a5e646ede76a2b8a8","lib\/Model\/ListUnitsOfMeasureResponse.php":"f1637b34b959fe4c9c44d7d0220fedf1","lib\/Model\/ListPaymentAccountsResponse.php":"04447a69176379c0a107718c2deb56aa","lib\/Model\/CreateF24Response.php":"40ec27fd98e22a83877f30d5e16c3a05","lib\/Model\/PaymentMethodType.php":"1fad6b89e56d5e5b55772116d5ed8b45","lib\/Model\/CashbookEntryType.php":"d2c01fc3645f3a9eb9345f0b5febdc98","lib\/Model\/GetIssuedDocumentPreCreateInfoResponse.php":"864604850ecb100048357ecc81570aa8","lib\/Model\/ModifyWebhooksSubscriptionResponse.php":"eb4c7181c8724c39daa86cced1a5a774","lib\/Model\/GetIssuedDocumentResponse.php":"eee5786f651d9c091f2dddc1eb164d89","lib\/Model\/IssuedDocumentExtraData.php":"d6ea2e795c530045b9dafee8bc971494","lib\/Model\/ModifyClientRequest.php":"95ab27d39bba20de5e5b015dac607db3","lib\/Model\/IssuedDocumentPaymentsListItem.php":"3bea93fea60c3a21b53f78fe57f4c137","lib\/Model\/ListArchiveCategoriesResponse.php":"efa06762f561d09b868b3201f69430f2","lib\/Model\/ListUserCompaniesResponseData.php":"ae9fec0efead903802da17bdb07b479a","lib\/ObjectSerializer.php":"4394bc1ac86b395010110a598c0016a1","lib\/Configuration.php":"8900059b07de9db86544912b40214102","lib\/HeaderSelector.php":"09a95fbbcdbefdd3030e513d5dc244d5","lib\/Filter\/Operator.php":"dcc3e441a87585542230d3ef913ec53d","lib\/Filter\/Filter.php":"8e72def3bc6bc1359961ac5c617a7bc0","lib\/Filter\/Disjunction.php":"47e1d8d4cf5ff2ccc7859d819dcbce01","lib\/Filter\/Condition.php":"0b2709edb4e89c785fe1d2ba9ac627fc","lib\/Filter\/EmptyCondition.php":"f0eee6daac5695df289ac6e81ee0636c","lib\/Filter\/Expression.php":"ca3d26a49c9aea97d24ffc334bb2715a","lib\/Filter\/Conjunction.php":"7a18335f5dd124cd045e073ac3934ce1","lib\/OAuth2\/OAuth2AuthorizationCode\/OAuth2AuthorizationCodeParams.php":"8596727aa2a7d12e8ce5527b03284bc3","lib\/OAuth2\/OAuth2AuthorizationCode\/OAuth2AuthorizationCodeManager.php":"7cdc4a4d3527694856682c37cbf65b19","lib\/OAuth2\/OAuth2Manager.php":"23955bfc71aed19bcf8525c395396625","lib\/OAuth2\/OAuth2TokenResponse.php":"0268729b67f81f73693352089e437049","lib\/OAuth2\/OAuth2Error.php":"18b158cd016c58a4935f0e900a20b910","lib\/OAuth2\/OAuth2DeviceCode\/OAuth2DeviceCodeResponse.php":"ff73cc482a94a606680b8546bfc17814","lib\/OAuth2\/OAuth2DeviceCode\/OAuth2DeviceCodeManager.php":"90eca5c82e89ec1acdc380dd762326e1","lib\/OAuth2\/Scope.php":"6d253cda415bc9e843a2c5fc01241aa9"}} \ No newline at end of file diff --git a/README.md b/README.md index 9a0ff786..b16b12a8 100644 --- a/README.md +++ b/README.md @@ -153,6 +153,7 @@ Class | Method | HTTP request | Description *SettingsApi* | [**deleteVatType**](docs/Api/SettingsApi.md#deletevattype) | **DELETE** /c/{company_id}/settings/vat_types/{vat_type_id} | Delete Vat Type *SettingsApi* | [**getPaymentAccount**](docs/Api/SettingsApi.md#getpaymentaccount) | **GET** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Get Payment Account *SettingsApi* | [**getPaymentMethod**](docs/Api/SettingsApi.md#getpaymentmethod) | **GET** /c/{company_id}/settings/payment_methods/{payment_method_id} | Get Payment Method +*SettingsApi* | [**getTaxProfile**](docs/Api/SettingsApi.md#gettaxprofile) | **GET** /c/{company_id}/settings/tax_profile | Get Tax Profile *SettingsApi* | [**getVatType**](docs/Api/SettingsApi.md#getvattype) | **GET** /c/{company_id}/settings/vat_types/{vat_type_id} | Get Vat Type *SettingsApi* | [**modifyPaymentAccount**](docs/Api/SettingsApi.md#modifypaymentaccount) | **PUT** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Modify Payment Account *SettingsApi* | [**modifyPaymentMethod**](docs/Api/SettingsApi.md#modifypaymentmethod) | **PUT** /c/{company_id}/settings/payment_methods/{payment_method_id} | Modify Payment Method @@ -270,6 +271,7 @@ Class | Method | HTTP request | Description - [GetReceivedDocumentPreCreateInfoResponse](docs/Model/GetReceivedDocumentPreCreateInfoResponse.md) - [GetReceivedDocumentResponse](docs/Model/GetReceivedDocumentResponse.md) - [GetSupplierResponse](docs/Model/GetSupplierResponse.md) +- [GetTaxProfileResponse](docs/Model/GetTaxProfileResponse.md) - [GetUserInfoResponse](docs/Model/GetUserInfoResponse.md) - [GetUserInfoResponseEmailConfirmationState](docs/Model/GetUserInfoResponseEmailConfirmationState.md) - [GetUserInfoResponseInfo](docs/Model/GetUserInfoResponseInfo.md) @@ -393,6 +395,7 @@ Class | Method | HTTP request | Description - [ShowTotalsMode](docs/Model/ShowTotalsMode.md) - [Supplier](docs/Model/Supplier.md) - [SupplierType](docs/Model/SupplierType.md) +- [TaxProfile](docs/Model/TaxProfile.md) - [TransformIssuedDocumentResponse](docs/Model/TransformIssuedDocumentResponse.md) - [UploadArchiveAttachmentResponse](docs/Model/UploadArchiveAttachmentResponse.md) - [UploadF24AttachmentResponse](docs/Model/UploadF24AttachmentResponse.md) @@ -480,5 +483,5 @@ info@fattureincloud.it This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: `2.1.0` +- API version: `2.1.2` - Build package: `org.openapitools.codegen.languages.PhpClientCodegen` diff --git a/docs/Api/IssuedDocumentsApi.md b/docs/Api/IssuedDocumentsApi.md index 3d5a47b8..d628aaf3 100644 --- a/docs/Api/IssuedDocumentsApi.md +++ b/docs/Api/IssuedDocumentsApi.md @@ -523,7 +523,7 @@ try { ## `joinIssuedDocuments()` ```php -joinIssuedDocuments($company_id, $ids, $group, $e_invoice): \FattureInCloud\Model\JoinIssuedDocumentsResponse +joinIssuedDocuments($company_id, $ids, $group, $parameter): \FattureInCloud\Model\JoinIssuedDocumentsResponse ``` Join Issued Documents @@ -550,10 +550,10 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi( $company_id = 12345; // int | The ID of the company. $ids = 1,2,3,4; // string | Ids of the documents. $group = 56; // int | Group items. -$e_invoice = 56; // int | New document e_invoice. +$parameter = delivery_notes, orders, quotes, work_reports; // string | Type of the parameters to be joined try { - $result = $apiInstance->joinIssuedDocuments($company_id, $ids, $group, $e_invoice); + $result = $apiInstance->joinIssuedDocuments($company_id, $ids, $group, $parameter); print_r($result); } catch (Exception $e) { echo 'Exception when calling IssuedDocumentsApi->joinIssuedDocuments: ', $e->getMessage(), PHP_EOL; @@ -567,7 +567,7 @@ try { | **company_id** | **int**| The ID of the company. | | | **ids** | **string**| Ids of the documents. | | | **group** | **int**| Group items. | [optional] | -| **e_invoice** | **int**| New document e_invoice. | [optional] | +| **parameter** | **string**| Type of the parameters to be joined | [optional] | ### Return type @@ -792,7 +792,7 @@ void (empty response body) ## `transformIssuedDocument()` ```php -transformIssuedDocument($company_id, $original_document_id, $new_type, $e_invoice, $transform_keep_copy): \FattureInCloud\Model\TransformIssuedDocumentResponse +transformIssuedDocument($company_id, $original_document_id, $new_type, $parameter, $e_invoice, $transform_keep_copy): \FattureInCloud\Model\TransformIssuedDocumentResponse ``` Transform Issued Document @@ -819,11 +819,12 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi( $company_id = 12345; // int | The ID of the company. $original_document_id = 56; // int | Original document id. $new_type = 'new_type_example'; // string | New document type. +$parameter = 'parameter_example'; // string | Old document type. $e_invoice = 56; // int | New document e_invoice. $transform_keep_copy = 56; // int | Keep the old document. try { - $result = $apiInstance->transformIssuedDocument($company_id, $original_document_id, $new_type, $e_invoice, $transform_keep_copy); + $result = $apiInstance->transformIssuedDocument($company_id, $original_document_id, $new_type, $parameter, $e_invoice, $transform_keep_copy); print_r($result); } catch (Exception $e) { echo 'Exception when calling IssuedDocumentsApi->transformIssuedDocument: ', $e->getMessage(), PHP_EOL; @@ -837,6 +838,7 @@ try { | **company_id** | **int**| The ID of the company. | | | **original_document_id** | **int**| Original document id. | | | **new_type** | **string**| New document type. | | +| **parameter** | **string**| Old document type. | [optional] | | **e_invoice** | **int**| New document e_invoice. | [optional] | | **transform_keep_copy** | **int**| Keep the old document. | [optional] | diff --git a/docs/Api/SettingsApi.md b/docs/Api/SettingsApi.md index 9169fb12..571652ab 100644 --- a/docs/Api/SettingsApi.md +++ b/docs/Api/SettingsApi.md @@ -12,6 +12,7 @@ All URIs are relative to https://api-v2.fattureincloud.it, except if the operati | [**deleteVatType()**](SettingsApi.md#deleteVatType) | **DELETE** /c/{company_id}/settings/vat_types/{vat_type_id} | Delete Vat Type | | [**getPaymentAccount()**](SettingsApi.md#getPaymentAccount) | **GET** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Get Payment Account | | [**getPaymentMethod()**](SettingsApi.md#getPaymentMethod) | **GET** /c/{company_id}/settings/payment_methods/{payment_method_id} | Get Payment Method | +| [**getTaxProfile()**](SettingsApi.md#getTaxProfile) | **GET** /c/{company_id}/settings/tax_profile | Get Tax Profile | | [**getVatType()**](SettingsApi.md#getVatType) | **GET** /c/{company_id}/settings/vat_types/{vat_type_id} | Get Vat Type | | [**modifyPaymentAccount()**](SettingsApi.md#modifyPaymentAccount) | **PUT** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Modify Payment Account | | [**modifyPaymentMethod()**](SettingsApi.md#modifyPaymentMethod) | **PUT** /c/{company_id}/settings/payment_methods/{payment_method_id} | Modify Payment Method | @@ -519,6 +520,66 @@ try { [[Back to Model list]](../../README.md#models) [[Back to README]](../../README.md) +## `getTaxProfile()` + +```php +getTaxProfile($company_id): \FattureInCloud\Model\GetTaxProfileResponse +``` + +Get Tax Profile + +Gets the Tax Profile + +### Example + +```php +setAccessToken('YOUR_ACCESS_TOKEN'); + + +$apiInstance = new FattureInCloud\Api\SettingsApi( + // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. + // This is optional, `GuzzleHttp\Client` will be used as default. + new GuzzleHttp\Client(), + $config +); +$company_id = 12345; // int | The ID of the company. + +try { + $result = $apiInstance->getTaxProfile($company_id); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling SettingsApi->getTaxProfile: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **company_id** | **int**| The ID of the company. | | + +### Return type + +[**\FattureInCloud\Model\GetTaxProfileResponse**](../Model/GetTaxProfileResponse.md) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: `application/json` + +[[Back to top]](#) [[Back to API list]](../../README.md#endpoints) +[[Back to Model list]](../../README.md#models) +[[Back to README]](../../README.md) + ## `getVatType()` ```php diff --git a/docs/Model/Email.md b/docs/Model/Email.md index fc213ad2..530c766f 100644 --- a/docs/Model/Email.md +++ b/docs/Model/Email.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **int** | Email id | [optional] **status** | [**\FattureInCloud\Model\EmailStatus**](EmailStatus.md) | | [optional] -**sent_date** | **\DateTime** | Email sent date | [optional] +**sent_date** | **string** | Email sent date | [optional] **errors_count** | **int** | Email errors count | [optional] **error_log** | **string** | Email errors log | [optional] **from_email** | **string** | Email sender email | [optional] diff --git a/docs/Model/GetTaxProfileResponse.md b/docs/Model/GetTaxProfileResponse.md new file mode 100644 index 00000000..e1a557d6 --- /dev/null +++ b/docs/Model/GetTaxProfileResponse.md @@ -0,0 +1,9 @@ +# # GetTaxProfileResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**\FattureInCloud\Model\TaxProfile**](TaxProfile.md) | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/IssuedDocument.md b/docs/Model/IssuedDocument.md index 7844a660..c8c40f2b 100644 --- a/docs/Model/IssuedDocument.md +++ b/docs/Model/IssuedDocument.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **year** | **int** | Issued document year | [optional] **currency** | [**\FattureInCloud\Model\Currency**](Currency.md) | | [optional] **language** | [**\FattureInCloud\Model\Language**](Language.md) | | [optional] -**subject** | **string** | Issued document subject | [optional] +**subject** | **string** | Issued document subject [not shown on the PDF] | [optional] **visible_subject** | **string** | Issued document visible subject | [optional] **rc_center** | **string** | Issued document revenue center [or cost center if type=supplier_order]. | [optional] **notes** | **string** | Issued document extra notes | [optional] diff --git a/docs/Model/TaxProfile.md b/docs/Model/TaxProfile.md new file mode 100644 index 00000000..31eb4a33 --- /dev/null +++ b/docs/Model/TaxProfile.md @@ -0,0 +1,29 @@ +# # TaxProfile + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**company_type** | **string** | The company type | [optional] +**company_subtype** | **string** | The company subtype | [optional] +**profession** | **string** | The profession | [optional] +**regime** | **string** | The applied regime | [optional] +**rivalsa_name** | **string** | The name of the rivalsa | [optional] +**default_rivalsa** | **float** | The default rivalsa amount | [optional] +**cassa_name** | **string** | The name of the cassa | [optional] +**default_cassa** | **float** | The default cassa amount | [optional] +**default_cassa_taxable** | **float** | The default taxable amount for the cassa | [optional] +**cassa2_name** | **string** | The name of the second cassa | [optional] +**default_cassa2** | **float** | The default second cassa amount | [optional] +**default_cassa2_taxable** | **float** | The default taxable amount for the second cassa | [optional] +**default_withholding_tax** | **float** | The default withholding tax | [optional] +**default_withholding_tax_taxable** | **float** | The default taxable amount for the withholding tax | [optional] +**default_other_withholding_tax** | **float** | The default other withholding tax | [optional] +**enasarco** | **bool** | If it has enasarco | [optional] +**enasarco_type** | **string** | The enasarco type | [optional] +**contributions_percentage** | **float** | The contributions percentage | [optional] +**profit_coefficient** | **float** | The profit coefficient | [optional] +**med** | **bool** | If the health card system is active | [optional] +**default_vat** | [**\FattureInCloud\Model\VatType**](VatType.md) | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/VatType.md b/docs/Model/VatType.md index 84f5af47..01a71164 100644 --- a/docs/Model/VatType.md +++ b/docs/Model/VatType.md @@ -13,5 +13,6 @@ Name | Type | Description | Notes **ei_description** | **string** | Vat type e-invoice description | [optional] **editable** | **bool** | [Read Only] Is the vat type is editable. | [optional] [readonly] **is_disabled** | **bool** | Is the vat type disabled | [optional] +**default** | **bool** | If the vat type is default | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/lib/Api/ArchiveApi.php b/lib/Api/ArchiveApi.php index 4c467414..eb842a20 100644 --- a/lib/Api/ArchiveApi.php +++ b/lib/Api/ArchiveApi.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -105,7 +105,7 @@ public function __construct( $hostIndex = 0 ) { $this->client = $client ?: new Client(); - $this->config = $config ?: new Configuration(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); $this->headerSelector = $selector ?: new HeaderSelector(); $this->hostIndex = $hostIndex; } @@ -196,20 +196,8 @@ public function createArchiveDocumentWithHttpInfo($company_id, $create_archive_d $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\CreateArchiveDocumentResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -239,6 +227,19 @@ public function createArchiveDocumentWithHttpInfo($company_id, $create_archive_d ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\CreateArchiveDocumentResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -519,18 +520,6 @@ public function deleteArchiveDocumentWithHttpInfo($company_id, $document_id, str $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } return [null, $statusCode, $response->getHeaders()]; @@ -777,20 +766,8 @@ public function getArchiveDocumentWithHttpInfo($company_id, $document_id, $field $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetArchiveDocumentResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -820,6 +797,19 @@ public function getArchiveDocumentWithHttpInfo($company_id, $document_id, $field ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetArchiveDocumentResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1144,20 +1134,8 @@ public function listArchiveDocumentsWithHttpInfo($company_id, $fields = null, $f $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListArchiveDocumentsResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1187,6 +1165,19 @@ public function listArchiveDocumentsWithHttpInfo($company_id, $fields = null, $f ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListArchiveDocumentsResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1543,20 +1534,8 @@ public function modifyArchiveDocumentWithHttpInfo($company_id, $document_id, $mo $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ModifyArchiveDocumentResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1586,6 +1565,19 @@ public function modifyArchiveDocumentWithHttpInfo($company_id, $document_id, $mo ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ModifyArchiveDocumentResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1887,20 +1879,8 @@ public function uploadArchiveDocumentAttachmentWithHttpInfo($company_id, $filena $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\UploadArchiveAttachmentResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1930,6 +1910,19 @@ public function uploadArchiveDocumentAttachmentWithHttpInfo($company_id, $filena ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\UploadArchiveAttachmentResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/lib/Api/CashbookApi.php b/lib/Api/CashbookApi.php index c56c894b..eda1f203 100644 --- a/lib/Api/CashbookApi.php +++ b/lib/Api/CashbookApi.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -102,7 +102,7 @@ public function __construct( $hostIndex = 0 ) { $this->client = $client ?: new Client(); - $this->config = $config ?: new Configuration(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); $this->headerSelector = $selector ?: new HeaderSelector(); $this->hostIndex = $hostIndex; } @@ -193,20 +193,8 @@ public function createCashbookEntryWithHttpInfo($company_id, $create_cashbook_en $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\CreateCashbookEntryResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -236,6 +224,19 @@ public function createCashbookEntryWithHttpInfo($company_id, $create_cashbook_en ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\CreateCashbookEntryResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -516,18 +517,6 @@ public function deleteCashbookEntryWithHttpInfo($company_id, $document_id, strin $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } return [null, $statusCode, $response->getHeaders()]; @@ -774,20 +763,8 @@ public function getCashbookEntryWithHttpInfo($company_id, $document_id, $fields $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetCashbookEntryResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -817,6 +794,19 @@ public function getCashbookEntryWithHttpInfo($company_id, $document_id, $fields ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetCashbookEntryResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1139,20 +1129,8 @@ public function listCashbookEntriesWithHttpInfo($company_id, $date_from, $date_t $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListCashbookEntriesResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1182,6 +1160,19 @@ public function listCashbookEntriesWithHttpInfo($company_id, $date_from, $date_t ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListCashbookEntriesResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1531,20 +1522,8 @@ public function modifyCashbookEntryWithHttpInfo($company_id, $document_id, $modi $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ModifyCashbookEntryResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1574,6 +1553,19 @@ public function modifyCashbookEntryWithHttpInfo($company_id, $document_id, $modi ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ModifyCashbookEntryResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/lib/Api/ClientsApi.php b/lib/Api/ClientsApi.php index 424d0ba7..9a2ec4c5 100644 --- a/lib/Api/ClientsApi.php +++ b/lib/Api/ClientsApi.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -102,7 +102,7 @@ public function __construct( $hostIndex = 0 ) { $this->client = $client ?: new Client(); - $this->config = $config ?: new Configuration(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); $this->headerSelector = $selector ?: new HeaderSelector(); $this->hostIndex = $hostIndex; } @@ -193,20 +193,8 @@ public function createClientWithHttpInfo($company_id, $create_client_request = n $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\CreateClientResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -236,6 +224,19 @@ public function createClientWithHttpInfo($company_id, $create_client_request = n ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\CreateClientResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -516,18 +517,6 @@ public function deleteClientWithHttpInfo($company_id, $client_id, string $conten $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } return [null, $statusCode, $response->getHeaders()]; @@ -774,20 +763,8 @@ public function getClientWithHttpInfo($company_id, $client_id, $fields = null, $ $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetClientResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -817,6 +794,19 @@ public function getClientWithHttpInfo($company_id, $client_id, $fields = null, $ ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetClientResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1141,20 +1131,8 @@ public function listClientsWithHttpInfo($company_id, $fields = null, $fieldset = $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListClientsResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1184,6 +1162,19 @@ public function listClientsWithHttpInfo($company_id, $fields = null, $fieldset = ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListClientsResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1540,20 +1531,8 @@ public function modifyClientWithHttpInfo($company_id, $client_id, $modify_client $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ModifyClientResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1583,6 +1562,19 @@ public function modifyClientWithHttpInfo($company_id, $client_id, $modify_client ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ModifyClientResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/lib/Api/CompaniesApi.php b/lib/Api/CompaniesApi.php index 1ab38801..b84c553f 100644 --- a/lib/Api/CompaniesApi.php +++ b/lib/Api/CompaniesApi.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -93,7 +93,7 @@ public function __construct( $hostIndex = 0 ) { $this->client = $client ?: new Client(); - $this->config = $config ?: new Configuration(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); $this->headerSelector = $selector ?: new HeaderSelector(); $this->hostIndex = $hostIndex; } @@ -182,20 +182,8 @@ public function getCompanyInfoWithHttpInfo($company_id, string $contentType = se $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetCompanyInfoResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -225,6 +213,19 @@ public function getCompanyInfoWithHttpInfo($company_id, string $contentType = se ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetCompanyInfoResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -495,20 +496,8 @@ public function getCompanyPlanUsageWithHttpInfo($company_id, $category, string $ $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetCompanyPlanUsageResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -538,6 +527,19 @@ public function getCompanyPlanUsageWithHttpInfo($company_id, $category, string $ ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetCompanyPlanUsageResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/lib/Api/EmailsApi.php b/lib/Api/EmailsApi.php index 7495c37b..cc9ad811 100644 --- a/lib/Api/EmailsApi.php +++ b/lib/Api/EmailsApi.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -90,7 +90,7 @@ public function __construct( $hostIndex = 0 ) { $this->client = $client ?: new Client(); - $this->config = $config ?: new Configuration(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); $this->headerSelector = $selector ?: new HeaderSelector(); $this->hostIndex = $hostIndex; } @@ -179,20 +179,8 @@ public function listEmailsWithHttpInfo($company_id, string $contentType = self:: $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListEmailsResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -222,6 +210,19 @@ public function listEmailsWithHttpInfo($company_id, string $contentType = self:: ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListEmailsResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/lib/Api/InfoApi.php b/lib/Api/InfoApi.php index 0eb4d1ce..b3922af8 100644 --- a/lib/Api/InfoApi.php +++ b/lib/Api/InfoApi.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -135,7 +135,7 @@ public function __construct( $hostIndex = 0 ) { $this->client = $client ?: new Client(); - $this->config = $config ?: new Configuration(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); $this->headerSelector = $selector ?: new HeaderSelector(); $this->hostIndex = $hostIndex; } @@ -224,20 +224,8 @@ public function listArchiveCategoriesWithHttpInfo($company_id, string $contentTy $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListArchiveCategoriesResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -267,6 +255,19 @@ public function listArchiveCategoriesWithHttpInfo($company_id, string $contentTy ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListArchiveCategoriesResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -537,20 +538,8 @@ public function listCitiesWithHttpInfo($postal_code = null, $city = null, string $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListCitiesResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -580,6 +569,19 @@ public function listCitiesWithHttpInfo($postal_code = null, $city = null, string ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListCitiesResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -856,20 +858,8 @@ public function listCostCentersWithHttpInfo($company_id, string $contentType = s $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListCostCentersResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -899,6 +889,19 @@ public function listCostCentersWithHttpInfo($company_id, string $contentType = s ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListCostCentersResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1165,20 +1168,8 @@ public function listCountriesWithHttpInfo(string $contentType = self::contentTyp $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListCountriesResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1208,6 +1199,19 @@ public function listCountriesWithHttpInfo(string $contentType = self::contentTyp ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListCountriesResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1456,20 +1460,8 @@ public function listCurrenciesWithHttpInfo(string $contentType = self::contentTy $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListCurrenciesResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1499,6 +1491,19 @@ public function listCurrenciesWithHttpInfo(string $contentType = self::contentTy ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListCurrenciesResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1747,20 +1752,8 @@ public function listDeliveryNotesDefaultCausalsWithHttpInfo(string $contentType $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListDeliveryNotesDefaultCausalsResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1790,6 +1783,19 @@ public function listDeliveryNotesDefaultCausalsWithHttpInfo(string $contentType ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListDeliveryNotesDefaultCausalsResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2038,20 +2044,8 @@ public function listDetailedCountriesWithHttpInfo(string $contentType = self::co $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListDetailedCountriesResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2081,6 +2075,19 @@ public function listDetailedCountriesWithHttpInfo(string $contentType = self::co ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListDetailedCountriesResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2329,20 +2336,8 @@ public function listLanguagesWithHttpInfo(string $contentType = self::contentTyp $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListLanguagesResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2372,6 +2367,19 @@ public function listLanguagesWithHttpInfo(string $contentType = self::contentTyp ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListLanguagesResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2628,20 +2636,8 @@ public function listPaymentAccountsWithHttpInfo($company_id, $fields = null, $fi $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListPaymentAccountsResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2671,6 +2667,19 @@ public function listPaymentAccountsWithHttpInfo($company_id, $fields = null, $fi ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListPaymentAccountsResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2984,20 +2993,8 @@ public function listPaymentMethodsWithHttpInfo($company_id, $fields = null, $fie $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListPaymentMethodsResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -3027,6 +3024,19 @@ public function listPaymentMethodsWithHttpInfo($company_id, $fields = null, $fie ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListPaymentMethodsResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -3336,20 +3346,8 @@ public function listProductCategoriesWithHttpInfo($company_id, $context, string $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListProductCategoriesResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -3379,6 +3377,19 @@ public function listProductCategoriesWithHttpInfo($company_id, $context, string ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListProductCategoriesResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -3666,20 +3677,8 @@ public function listReceivedDocumentCategoriesWithHttpInfo($company_id, string $ $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListReceivedDocumentCategoriesResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -3709,6 +3708,19 @@ public function listReceivedDocumentCategoriesWithHttpInfo($company_id, string $ ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListReceivedDocumentCategoriesResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -3977,20 +3989,8 @@ public function listRevenueCentersWithHttpInfo($company_id, string $contentType $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListRevenueCentersResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -4020,6 +4020,19 @@ public function listRevenueCentersWithHttpInfo($company_id, string $contentType ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListRevenueCentersResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -4290,20 +4303,8 @@ public function listTemplatesWithHttpInfo($type = 'all', $by_type = false, strin $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListTemplatesResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -4333,6 +4334,19 @@ public function listTemplatesWithHttpInfo($type = 'all', $by_type = false, strin ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListTemplatesResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -4607,20 +4621,8 @@ public function listUnitsOfMeasureWithHttpInfo(string $contentType = self::conte $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListUnitsOfMeasureResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -4650,6 +4652,19 @@ public function listUnitsOfMeasureWithHttpInfo(string $contentType = self::conte ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListUnitsOfMeasureResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -4902,20 +4917,8 @@ public function listVatTypesWithHttpInfo($company_id, $fieldset = null, string $ $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListVatTypesResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -4945,6 +4948,19 @@ public function listVatTypesWithHttpInfo($company_id, $fieldset = null, string $ ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListVatTypesResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/lib/Api/IssuedDocumentsApi.php b/lib/Api/IssuedDocumentsApi.php index b425a7df..5933c64b 100644 --- a/lib/Api/IssuedDocumentsApi.php +++ b/lib/Api/IssuedDocumentsApi.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -129,7 +129,7 @@ public function __construct( $hostIndex = 0 ) { $this->client = $client ?: new Client(); - $this->config = $config ?: new Configuration(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); $this->headerSelector = $selector ?: new HeaderSelector(); $this->hostIndex = $hostIndex; } @@ -220,20 +220,8 @@ public function createIssuedDocumentWithHttpInfo($company_id, $create_issued_doc $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\CreateIssuedDocumentResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -263,6 +251,19 @@ public function createIssuedDocumentWithHttpInfo($company_id, $create_issued_doc ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\CreateIssuedDocumentResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -543,18 +544,6 @@ public function deleteIssuedDocumentWithHttpInfo($company_id, $document_id, stri $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } return [null, $statusCode, $response->getHeaders()]; @@ -796,18 +785,6 @@ public function deleteIssuedDocumentAttachmentWithHttpInfo($company_id, $documen $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } return [null, $statusCode, $response->getHeaders()]; @@ -1050,20 +1027,8 @@ public function getEmailDataWithHttpInfo($company_id, $document_id, string $cont $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetEmailDataResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1093,6 +1058,19 @@ public function getEmailDataWithHttpInfo($company_id, $document_id, string $cont ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetEmailDataResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1383,20 +1361,8 @@ public function getExistingIssuedDocumentTotalsWithHttpInfo($company_id, $docume $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetExistingIssuedDocumentTotalsResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1426,6 +1392,19 @@ public function getExistingIssuedDocumentTotalsWithHttpInfo($company_id, $docume ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetExistingIssuedDocumentTotalsResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1729,20 +1708,8 @@ public function getIssuedDocumentWithHttpInfo($company_id, $document_id, $fields $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetIssuedDocumentResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1772,6 +1739,19 @@ public function getIssuedDocumentWithHttpInfo($company_id, $document_id, $fields ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetIssuedDocumentResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2086,20 +2066,8 @@ public function getIssuedDocumentPreCreateInfoWithHttpInfo($company_id, $type, s $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetIssuedDocumentPreCreateInfoResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2129,6 +2097,19 @@ public function getIssuedDocumentPreCreateInfoWithHttpInfo($company_id, $type, s ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetIssuedDocumentPreCreateInfoResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2418,20 +2399,8 @@ public function getNewIssuedDocumentTotalsWithHttpInfo($company_id, $get_new_iss $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetNewIssuedDocumentTotalsResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2461,6 +2430,19 @@ public function getNewIssuedDocumentTotalsWithHttpInfo($company_id, $get_new_iss ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetNewIssuedDocumentTotalsResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2692,16 +2674,16 @@ public function getNewIssuedDocumentTotalsRequest($company_id, $get_new_issued_d * @param int $company_id The ID of the company. (required) * @param string $ids Ids of the documents. (required) * @param int $group Group items. (optional) - * @param int $e_invoice New document e_invoice. (optional) + * @param string $parameter Type of the parameters to be joined (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['joinIssuedDocuments'] to see the possible values for this operation * * @throws \FattureInCloud\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return \FattureInCloud\Model\JoinIssuedDocumentsResponse */ - public function joinIssuedDocuments($company_id, $ids, $group = null, $e_invoice = null, string $contentType = self::contentTypes['joinIssuedDocuments'][0]) + public function joinIssuedDocuments($company_id, $ids, $group = null, $parameter = null, string $contentType = self::contentTypes['joinIssuedDocuments'][0]) { - list($response) = $this->joinIssuedDocumentsWithHttpInfo($company_id, $ids, $group, $e_invoice, $contentType); + list($response) = $this->joinIssuedDocumentsWithHttpInfo($company_id, $ids, $group, $parameter, $contentType); return $response; } @@ -2713,16 +2695,16 @@ public function joinIssuedDocuments($company_id, $ids, $group = null, $e_invoice * @param int $company_id The ID of the company. (required) * @param string $ids Ids of the documents. (required) * @param int $group Group items. (optional) - * @param int $e_invoice New document e_invoice. (optional) + * @param string $parameter Type of the parameters to be joined (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['joinIssuedDocuments'] to see the possible values for this operation * * @throws \FattureInCloud\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return array of \FattureInCloud\Model\JoinIssuedDocumentsResponse, HTTP status code, HTTP response headers (array of strings) */ - public function joinIssuedDocumentsWithHttpInfo($company_id, $ids, $group = null, $e_invoice = null, string $contentType = self::contentTypes['joinIssuedDocuments'][0]) + public function joinIssuedDocumentsWithHttpInfo($company_id, $ids, $group = null, $parameter = null, string $contentType = self::contentTypes['joinIssuedDocuments'][0]) { - $request = $this->joinIssuedDocumentsRequest($company_id, $ids, $group, $e_invoice, $contentType); + $request = $this->joinIssuedDocumentsRequest($company_id, $ids, $group, $parameter, $contentType); try { $options = $this->createHttpClientOption(); @@ -2746,20 +2728,8 @@ public function joinIssuedDocumentsWithHttpInfo($company_id, $ids, $group = null $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\JoinIssuedDocumentsResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2789,6 +2759,19 @@ public function joinIssuedDocumentsWithHttpInfo($company_id, $ids, $group = null ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\JoinIssuedDocumentsResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2840,15 +2823,15 @@ public function joinIssuedDocumentsWithHttpInfo($company_id, $ids, $group = null * @param int $company_id The ID of the company. (required) * @param string $ids Ids of the documents. (required) * @param int $group Group items. (optional) - * @param int $e_invoice New document e_invoice. (optional) + * @param string $parameter Type of the parameters to be joined (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['joinIssuedDocuments'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function joinIssuedDocumentsAsync($company_id, $ids, $group = null, $e_invoice = null, string $contentType = self::contentTypes['joinIssuedDocuments'][0]) + public function joinIssuedDocumentsAsync($company_id, $ids, $group = null, $parameter = null, string $contentType = self::contentTypes['joinIssuedDocuments'][0]) { - return $this->joinIssuedDocumentsAsyncWithHttpInfo($company_id, $ids, $group, $e_invoice, $contentType) + return $this->joinIssuedDocumentsAsyncWithHttpInfo($company_id, $ids, $group, $parameter, $contentType) ->then( function ($response) { return $response[0]; @@ -2864,16 +2847,16 @@ function ($response) { * @param int $company_id The ID of the company. (required) * @param string $ids Ids of the documents. (required) * @param int $group Group items. (optional) - * @param int $e_invoice New document e_invoice. (optional) + * @param string $parameter Type of the parameters to be joined (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['joinIssuedDocuments'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function joinIssuedDocumentsAsyncWithHttpInfo($company_id, $ids, $group = null, $e_invoice = null, string $contentType = self::contentTypes['joinIssuedDocuments'][0]) + public function joinIssuedDocumentsAsyncWithHttpInfo($company_id, $ids, $group = null, $parameter = null, string $contentType = self::contentTypes['joinIssuedDocuments'][0]) { $returnType = '\FattureInCloud\Model\JoinIssuedDocumentsResponse'; - $request = $this->joinIssuedDocumentsRequest($company_id, $ids, $group, $e_invoice, $contentType); + $request = $this->joinIssuedDocumentsRequest($company_id, $ids, $group, $parameter, $contentType); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -2917,13 +2900,13 @@ function ($exception) { * @param int $company_id The ID of the company. (required) * @param string $ids Ids of the documents. (required) * @param int $group Group items. (optional) - * @param int $e_invoice New document e_invoice. (optional) + * @param string $parameter Type of the parameters to be joined (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['joinIssuedDocuments'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - public function joinIssuedDocumentsRequest($company_id, $ids, $group = null, $e_invoice = null, string $contentType = self::contentTypes['joinIssuedDocuments'][0]) + public function joinIssuedDocumentsRequest($company_id, $ids, $group = null, $parameter = null, string $contentType = self::contentTypes['joinIssuedDocuments'][0]) { // verify the required parameter 'company_id' is set @@ -2970,9 +2953,9 @@ public function joinIssuedDocumentsRequest($company_id, $ids, $group = null, $e_ ) ?? []); // query params $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( - $e_invoice, - 'e_invoice', // param base name - 'integer', // openApiType + $parameter, + 'parameter', // param base name + 'string', // openApiType 'form', // style true, // explode false // required @@ -3118,20 +3101,8 @@ public function listIssuedDocumentsWithHttpInfo($company_id, $type, $fields = nu $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListIssuedDocumentsResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -3161,6 +3132,19 @@ public function listIssuedDocumentsWithHttpInfo($company_id, $type, $fields = nu ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListIssuedDocumentsResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -3549,20 +3533,8 @@ public function modifyIssuedDocumentWithHttpInfo($company_id, $document_id, $mod $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ModifyIssuedDocumentResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -3592,6 +3564,19 @@ public function modifyIssuedDocumentWithHttpInfo($company_id, $document_id, $mod ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ModifyIssuedDocumentResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -3892,18 +3877,6 @@ public function scheduleEmailWithHttpInfo($company_id, $document_id, $schedule_e $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } return [null, $statusCode, $response->getHeaders()]; @@ -4107,6 +4080,7 @@ public function scheduleEmailRequest($company_id, $document_id, $schedule_email_ * @param int $company_id The ID of the company. (required) * @param int $original_document_id Original document id. (required) * @param string $new_type New document type. (required) + * @param string $parameter Old document type. (optional) * @param int $e_invoice New document e_invoice. (optional) * @param int $transform_keep_copy Keep the old document. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['transformIssuedDocument'] to see the possible values for this operation @@ -4115,9 +4089,9 @@ public function scheduleEmailRequest($company_id, $document_id, $schedule_email_ * @throws \InvalidArgumentException * @return \FattureInCloud\Model\TransformIssuedDocumentResponse */ - public function transformIssuedDocument($company_id, $original_document_id, $new_type, $e_invoice = null, $transform_keep_copy = null, string $contentType = self::contentTypes['transformIssuedDocument'][0]) + public function transformIssuedDocument($company_id, $original_document_id, $new_type, $parameter = null, $e_invoice = null, $transform_keep_copy = null, string $contentType = self::contentTypes['transformIssuedDocument'][0]) { - list($response) = $this->transformIssuedDocumentWithHttpInfo($company_id, $original_document_id, $new_type, $e_invoice, $transform_keep_copy, $contentType); + list($response) = $this->transformIssuedDocumentWithHttpInfo($company_id, $original_document_id, $new_type, $parameter, $e_invoice, $transform_keep_copy, $contentType); return $response; } @@ -4129,6 +4103,7 @@ public function transformIssuedDocument($company_id, $original_document_id, $new * @param int $company_id The ID of the company. (required) * @param int $original_document_id Original document id. (required) * @param string $new_type New document type. (required) + * @param string $parameter Old document type. (optional) * @param int $e_invoice New document e_invoice. (optional) * @param int $transform_keep_copy Keep the old document. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['transformIssuedDocument'] to see the possible values for this operation @@ -4137,9 +4112,9 @@ public function transformIssuedDocument($company_id, $original_document_id, $new * @throws \InvalidArgumentException * @return array of \FattureInCloud\Model\TransformIssuedDocumentResponse, HTTP status code, HTTP response headers (array of strings) */ - public function transformIssuedDocumentWithHttpInfo($company_id, $original_document_id, $new_type, $e_invoice = null, $transform_keep_copy = null, string $contentType = self::contentTypes['transformIssuedDocument'][0]) + public function transformIssuedDocumentWithHttpInfo($company_id, $original_document_id, $new_type, $parameter = null, $e_invoice = null, $transform_keep_copy = null, string $contentType = self::contentTypes['transformIssuedDocument'][0]) { - $request = $this->transformIssuedDocumentRequest($company_id, $original_document_id, $new_type, $e_invoice, $transform_keep_copy, $contentType); + $request = $this->transformIssuedDocumentRequest($company_id, $original_document_id, $new_type, $parameter, $e_invoice, $transform_keep_copy, $contentType); try { $options = $this->createHttpClientOption(); @@ -4163,20 +4138,8 @@ public function transformIssuedDocumentWithHttpInfo($company_id, $original_docum $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\TransformIssuedDocumentResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -4206,6 +4169,19 @@ public function transformIssuedDocumentWithHttpInfo($company_id, $original_docum ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\TransformIssuedDocumentResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -4257,6 +4233,7 @@ public function transformIssuedDocumentWithHttpInfo($company_id, $original_docum * @param int $company_id The ID of the company. (required) * @param int $original_document_id Original document id. (required) * @param string $new_type New document type. (required) + * @param string $parameter Old document type. (optional) * @param int $e_invoice New document e_invoice. (optional) * @param int $transform_keep_copy Keep the old document. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['transformIssuedDocument'] to see the possible values for this operation @@ -4264,9 +4241,9 @@ public function transformIssuedDocumentWithHttpInfo($company_id, $original_docum * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function transformIssuedDocumentAsync($company_id, $original_document_id, $new_type, $e_invoice = null, $transform_keep_copy = null, string $contentType = self::contentTypes['transformIssuedDocument'][0]) + public function transformIssuedDocumentAsync($company_id, $original_document_id, $new_type, $parameter = null, $e_invoice = null, $transform_keep_copy = null, string $contentType = self::contentTypes['transformIssuedDocument'][0]) { - return $this->transformIssuedDocumentAsyncWithHttpInfo($company_id, $original_document_id, $new_type, $e_invoice, $transform_keep_copy, $contentType) + return $this->transformIssuedDocumentAsyncWithHttpInfo($company_id, $original_document_id, $new_type, $parameter, $e_invoice, $transform_keep_copy, $contentType) ->then( function ($response) { return $response[0]; @@ -4282,6 +4259,7 @@ function ($response) { * @param int $company_id The ID of the company. (required) * @param int $original_document_id Original document id. (required) * @param string $new_type New document type. (required) + * @param string $parameter Old document type. (optional) * @param int $e_invoice New document e_invoice. (optional) * @param int $transform_keep_copy Keep the old document. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['transformIssuedDocument'] to see the possible values for this operation @@ -4289,10 +4267,10 @@ function ($response) { * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function transformIssuedDocumentAsyncWithHttpInfo($company_id, $original_document_id, $new_type, $e_invoice = null, $transform_keep_copy = null, string $contentType = self::contentTypes['transformIssuedDocument'][0]) + public function transformIssuedDocumentAsyncWithHttpInfo($company_id, $original_document_id, $new_type, $parameter = null, $e_invoice = null, $transform_keep_copy = null, string $contentType = self::contentTypes['transformIssuedDocument'][0]) { $returnType = '\FattureInCloud\Model\TransformIssuedDocumentResponse'; - $request = $this->transformIssuedDocumentRequest($company_id, $original_document_id, $new_type, $e_invoice, $transform_keep_copy, $contentType); + $request = $this->transformIssuedDocumentRequest($company_id, $original_document_id, $new_type, $parameter, $e_invoice, $transform_keep_copy, $contentType); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -4336,6 +4314,7 @@ function ($exception) { * @param int $company_id The ID of the company. (required) * @param int $original_document_id Original document id. (required) * @param string $new_type New document type. (required) + * @param string $parameter Old document type. (optional) * @param int $e_invoice New document e_invoice. (optional) * @param int $transform_keep_copy Keep the old document. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['transformIssuedDocument'] to see the possible values for this operation @@ -4343,7 +4322,7 @@ function ($exception) { * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - public function transformIssuedDocumentRequest($company_id, $original_document_id, $new_type, $e_invoice = null, $transform_keep_copy = null, string $contentType = self::contentTypes['transformIssuedDocument'][0]) + public function transformIssuedDocumentRequest($company_id, $original_document_id, $new_type, $parameter = null, $e_invoice = null, $transform_keep_copy = null, string $contentType = self::contentTypes['transformIssuedDocument'][0]) { // verify the required parameter 'company_id' is set @@ -4370,6 +4349,7 @@ public function transformIssuedDocumentRequest($company_id, $original_document_i + $resourcePath = '/c/{company_id}/issued_documents/transform'; $formParams = []; $queryParams = []; @@ -4396,6 +4376,15 @@ public function transformIssuedDocumentRequest($company_id, $original_document_i true // required ) ?? []); // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $parameter, + 'parameter', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( $e_invoice, 'e_invoice', // param base name @@ -4542,20 +4531,8 @@ public function uploadIssuedDocumentAttachmentWithHttpInfo($company_id, $filenam $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\UploadIssuedDocumentAttachmentResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -4585,6 +4562,19 @@ public function uploadIssuedDocumentAttachmentWithHttpInfo($company_id, $filenam ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\UploadIssuedDocumentAttachmentResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/lib/Api/IssuedEInvoicesApi.php b/lib/Api/IssuedEInvoicesApi.php index 70ca5a62..41eabc5f 100644 --- a/lib/Api/IssuedEInvoicesApi.php +++ b/lib/Api/IssuedEInvoicesApi.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -99,7 +99,7 @@ public function __construct( $hostIndex = 0 ) { $this->client = $client ?: new Client(); - $this->config = $config ?: new Configuration(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); $this->headerSelector = $selector ?: new HeaderSelector(); $this->hostIndex = $hostIndex; } @@ -190,20 +190,8 @@ public function getEInvoiceRejectionReasonWithHttpInfo($company_id, $document_id $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetEInvoiceRejectionReasonResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -233,6 +221,19 @@ public function getEInvoiceRejectionReasonWithHttpInfo($company_id, $document_id ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetEInvoiceRejectionReasonResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -523,20 +524,8 @@ public function getEInvoiceXmlWithHttpInfo($company_id, $document_id, $include_a $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('string' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -566,6 +555,19 @@ public function getEInvoiceXmlWithHttpInfo($company_id, $document_id, $include_a ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = 'string'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -869,20 +871,8 @@ public function sendEInvoiceWithHttpInfo($company_id, $document_id, $send_e_invo $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\SendEInvoiceResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -912,6 +902,19 @@ public function sendEInvoiceWithHttpInfo($company_id, $document_id, $send_e_invo ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\SendEInvoiceResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1211,20 +1214,8 @@ public function verifyEInvoiceXmlWithHttpInfo($company_id, $document_id, string $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\VerifyEInvoiceXmlResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1281,6 +1272,19 @@ public function verifyEInvoiceXmlWithHttpInfo($company_id, $document_id, string ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\VerifyEInvoiceXmlResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/lib/Api/ProductsApi.php b/lib/Api/ProductsApi.php index c31ffe9e..bfdf6a5f 100644 --- a/lib/Api/ProductsApi.php +++ b/lib/Api/ProductsApi.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -102,7 +102,7 @@ public function __construct( $hostIndex = 0 ) { $this->client = $client ?: new Client(); - $this->config = $config ?: new Configuration(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); $this->headerSelector = $selector ?: new HeaderSelector(); $this->hostIndex = $hostIndex; } @@ -193,20 +193,8 @@ public function createProductWithHttpInfo($company_id, $create_product_request = $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\CreateProductResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -236,6 +224,19 @@ public function createProductWithHttpInfo($company_id, $create_product_request = ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\CreateProductResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -516,18 +517,6 @@ public function deleteProductWithHttpInfo($company_id, $product_id, string $cont $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } return [null, $statusCode, $response->getHeaders()]; @@ -774,20 +763,8 @@ public function getProductWithHttpInfo($company_id, $product_id, $fields = null, $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetProductResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -817,6 +794,19 @@ public function getProductWithHttpInfo($company_id, $product_id, $fields = null, ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetProductResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1141,20 +1131,8 @@ public function listProductsWithHttpInfo($company_id, $fields = null, $fieldset $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListProductsResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1184,6 +1162,19 @@ public function listProductsWithHttpInfo($company_id, $fields = null, $fieldset ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListProductsResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1540,20 +1531,8 @@ public function modifyProductWithHttpInfo($company_id, $product_id, $modify_prod $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ModifyProductResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1583,6 +1562,19 @@ public function modifyProductWithHttpInfo($company_id, $product_id, $modify_prod ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ModifyProductResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/lib/Api/ReceiptsApi.php b/lib/Api/ReceiptsApi.php index e2383e3c..61c7223c 100644 --- a/lib/Api/ReceiptsApi.php +++ b/lib/Api/ReceiptsApi.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -108,7 +108,7 @@ public function __construct( $hostIndex = 0 ) { $this->client = $client ?: new Client(); - $this->config = $config ?: new Configuration(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); $this->headerSelector = $selector ?: new HeaderSelector(); $this->hostIndex = $hostIndex; } @@ -199,20 +199,8 @@ public function createReceiptWithHttpInfo($company_id, $create_receipt_request = $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\CreateReceiptResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -242,6 +230,19 @@ public function createReceiptWithHttpInfo($company_id, $create_receipt_request = ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\CreateReceiptResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -522,18 +523,6 @@ public function deleteReceiptWithHttpInfo($company_id, $document_id, string $con $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } return [null, $statusCode, $response->getHeaders()]; @@ -780,20 +769,8 @@ public function getReceiptWithHttpInfo($company_id, $document_id, $fields = null $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetReceiptResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -823,6 +800,19 @@ public function getReceiptWithHttpInfo($company_id, $document_id, $fields = null ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetReceiptResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1135,20 +1125,8 @@ public function getReceiptPreCreateInfoWithHttpInfo($company_id, string $content $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetReceiptPreCreateInfoResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1178,6 +1156,19 @@ public function getReceiptPreCreateInfoWithHttpInfo($company_id, string $content ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetReceiptPreCreateInfoResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1450,20 +1441,8 @@ public function getReceiptsMonthlyTotalsWithHttpInfo($company_id, $type, $year, $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetReceiptsMonthlyTotalsResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1493,6 +1472,19 @@ public function getReceiptsMonthlyTotalsWithHttpInfo($company_id, $type, $year, ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetReceiptsMonthlyTotalsResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1811,20 +1803,8 @@ public function listReceiptsWithHttpInfo($company_id, $fields = null, $fieldset $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListReceiptsResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1854,6 +1834,19 @@ public function listReceiptsWithHttpInfo($company_id, $fields = null, $fieldset ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListReceiptsResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2210,20 +2203,8 @@ public function modifyReceiptWithHttpInfo($company_id, $document_id, $modify_rec $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ModifyReceiptResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2253,6 +2234,19 @@ public function modifyReceiptWithHttpInfo($company_id, $document_id, $modify_rec ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ModifyReceiptResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/lib/Api/ReceivedDocumentsApi.php b/lib/Api/ReceivedDocumentsApi.php index 36b1a3f6..e97ef046 100644 --- a/lib/Api/ReceivedDocumentsApi.php +++ b/lib/Api/ReceivedDocumentsApi.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -117,7 +117,7 @@ public function __construct( $hostIndex = 0 ) { $this->client = $client ?: new Client(); - $this->config = $config ?: new Configuration(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); $this->headerSelector = $selector ?: new HeaderSelector(); $this->hostIndex = $hostIndex; } @@ -208,20 +208,8 @@ public function createReceivedDocumentWithHttpInfo($company_id, $create_received $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\CreateReceivedDocumentResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -251,6 +239,19 @@ public function createReceivedDocumentWithHttpInfo($company_id, $create_received ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\CreateReceivedDocumentResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -531,18 +532,6 @@ public function deleteReceivedDocumentWithHttpInfo($company_id, $document_id, st $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } return [null, $statusCode, $response->getHeaders()]; @@ -784,18 +773,6 @@ public function deleteReceivedDocumentAttachmentWithHttpInfo($company_id, $docum $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } return [null, $statusCode, $response->getHeaders()]; @@ -1040,20 +1017,8 @@ public function getExistingReceivedDocumentTotalsWithHttpInfo($company_id, $docu $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetExistingReceivedDocumentTotalsResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1083,6 +1048,19 @@ public function getExistingReceivedDocumentTotalsWithHttpInfo($company_id, $docu ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetExistingReceivedDocumentTotalsResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1382,20 +1360,8 @@ public function getNewReceivedDocumentTotalsWithHttpInfo($company_id, $get_new_r $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetNewReceivedDocumentTotalsResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1425,6 +1391,19 @@ public function getNewReceivedDocumentTotalsWithHttpInfo($company_id, $get_new_r ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetNewReceivedDocumentTotalsResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1710,20 +1689,8 @@ public function getReceivedDocumentWithHttpInfo($company_id, $document_id, $fiel $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetReceivedDocumentResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1753,6 +1720,19 @@ public function getReceivedDocumentWithHttpInfo($company_id, $document_id, $fiel ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetReceivedDocumentResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2067,20 +2047,8 @@ public function getReceivedDocumentPreCreateInfoWithHttpInfo($company_id, $type, $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetReceivedDocumentPreCreateInfoResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2110,6 +2078,19 @@ public function getReceivedDocumentPreCreateInfoWithHttpInfo($company_id, $type, ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetReceivedDocumentPreCreateInfoResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2411,20 +2392,8 @@ public function listReceivedDocumentsWithHttpInfo($company_id, $type, $fields = $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListReceivedDocumentsResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2454,6 +2423,19 @@ public function listReceivedDocumentsWithHttpInfo($company_id, $type, $fields = ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListReceivedDocumentsResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2829,20 +2811,8 @@ public function modifyReceivedDocumentWithHttpInfo($company_id, $document_id, $m $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ModifyReceivedDocumentResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2872,6 +2842,19 @@ public function modifyReceivedDocumentWithHttpInfo($company_id, $document_id, $m ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ModifyReceivedDocumentResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -3173,20 +3156,8 @@ public function uploadReceivedDocumentAttachmentWithHttpInfo($company_id, $filen $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\UploadReceivedDocumentAttachmentResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -3216,6 +3187,19 @@ public function uploadReceivedDocumentAttachmentWithHttpInfo($company_id, $filen ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\UploadReceivedDocumentAttachmentResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/lib/Api/SettingsApi.php b/lib/Api/SettingsApi.php index 580b1a01..2ce5062a 100644 --- a/lib/Api/SettingsApi.php +++ b/lib/Api/SettingsApi.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -96,6 +96,9 @@ class SettingsApi 'getPaymentMethod' => [ 'application/json', ], + 'getTaxProfile' => [ + 'application/json', + ], 'getVatType' => [ 'application/json', ], @@ -123,7 +126,7 @@ public function __construct( $hostIndex = 0 ) { $this->client = $client ?: new Client(); - $this->config = $config ?: new Configuration(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); $this->headerSelector = $selector ?: new HeaderSelector(); $this->hostIndex = $hostIndex; } @@ -214,20 +217,8 @@ public function createPaymentAccountWithHttpInfo($company_id, $create_payment_ac $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\CreatePaymentAccountResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -257,6 +248,19 @@ public function createPaymentAccountWithHttpInfo($company_id, $create_payment_ac ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\CreatePaymentAccountResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -538,20 +542,8 @@ public function createPaymentMethodWithHttpInfo($company_id, $create_payment_met $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\CreatePaymentMethodResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -581,6 +573,19 @@ public function createPaymentMethodWithHttpInfo($company_id, $create_payment_met ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\CreatePaymentMethodResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -862,20 +867,8 @@ public function createVatTypeWithHttpInfo($company_id, $create_vat_type_request $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\CreateVatTypeResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -905,6 +898,19 @@ public function createVatTypeWithHttpInfo($company_id, $create_vat_type_request ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\CreateVatTypeResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1185,18 +1191,6 @@ public function deletePaymentAccountWithHttpInfo($company_id, $payment_account_i $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } return [null, $statusCode, $response->getHeaders()]; @@ -1438,18 +1432,6 @@ public function deletePaymentMethodWithHttpInfo($company_id, $payment_method_id, $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } return [null, $statusCode, $response->getHeaders()]; @@ -1691,18 +1673,6 @@ public function deleteVatTypeWithHttpInfo($company_id, $vat_type_id, string $con $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } return [null, $statusCode, $response->getHeaders()]; @@ -1949,20 +1919,8 @@ public function getPaymentAccountWithHttpInfo($company_id, $payment_account_id, $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetPaymentAccountResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1992,6 +1950,19 @@ public function getPaymentAccountWithHttpInfo($company_id, $payment_account_id, ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetPaymentAccountResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2310,20 +2281,8 @@ public function getPaymentMethodWithHttpInfo($company_id, $payment_method_id, $f $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetPaymentMethodResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2353,6 +2312,19 @@ public function getPaymentMethodWithHttpInfo($company_id, $payment_method_id, $f ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetPaymentMethodResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2610,40 +2582,38 @@ public function getPaymentMethodRequest($company_id, $payment_method_id, $fields } /** - * Operation getVatType + * Operation getTaxProfile * - * Get Vat Type + * Get Tax Profile * * @param int $company_id The ID of the company. (required) - * @param int $vat_type_id The Referred Vat Type Id. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getVatType'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getTaxProfile'] to see the possible values for this operation * * @throws \FattureInCloud\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException - * @return \FattureInCloud\Model\GetVatTypeResponse + * @return \FattureInCloud\Model\GetTaxProfileResponse */ - public function getVatType($company_id, $vat_type_id, string $contentType = self::contentTypes['getVatType'][0]) + public function getTaxProfile($company_id, string $contentType = self::contentTypes['getTaxProfile'][0]) { - list($response) = $this->getVatTypeWithHttpInfo($company_id, $vat_type_id, $contentType); + list($response) = $this->getTaxProfileWithHttpInfo($company_id, $contentType); return $response; } /** - * Operation getVatTypeWithHttpInfo + * Operation getTaxProfileWithHttpInfo * - * Get Vat Type + * Get Tax Profile * * @param int $company_id The ID of the company. (required) - * @param int $vat_type_id The Referred Vat Type Id. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getVatType'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getTaxProfile'] to see the possible values for this operation * * @throws \FattureInCloud\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException - * @return array of \FattureInCloud\Model\GetVatTypeResponse, HTTP status code, HTTP response headers (array of strings) + * @return array of \FattureInCloud\Model\GetTaxProfileResponse, HTTP status code, HTTP response headers (array of strings) */ - public function getVatTypeWithHttpInfo($company_id, $vat_type_id, string $contentType = self::contentTypes['getVatType'][0]) + public function getTaxProfileWithHttpInfo($company_id, string $contentType = self::contentTypes['getTaxProfile'][0]) { - $request = $this->getVatTypeRequest($company_id, $vat_type_id, $contentType); + $request = $this->getTaxProfileRequest($company_id, $contentType); try { $options = $this->createHttpClientOption(); @@ -2667,26 +2637,14 @@ public function getVatTypeWithHttpInfo($company_id, $vat_type_id, string $conten $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: - if ('\FattureInCloud\Model\GetVatTypeResponse' === '\SplFileObject') { + if ('\FattureInCloud\Model\GetTaxProfileResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer } else { $content = (string) $response->getBody(); - if ('\FattureInCloud\Model\GetVatTypeResponse' !== 'string') { + if ('\FattureInCloud\Model\GetTaxProfileResponse' !== 'string') { try { $content = json_decode($content, false, 512, JSON_THROW_ON_ERROR); } catch (\JsonException $exception) { @@ -2704,13 +2662,26 @@ public function getVatTypeWithHttpInfo($company_id, $vat_type_id, string $conten } return [ - ObjectSerializer::deserialize($content, '\FattureInCloud\Model\GetVatTypeResponse', []), + ObjectSerializer::deserialize($content, '\FattureInCloud\Model\GetTaxProfileResponse', []), $response->getStatusCode(), $response->getHeaders() ]; } - $returnType = '\FattureInCloud\Model\GetVatTypeResponse'; + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + $returnType = '\FattureInCloud\Model\GetTaxProfileResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer } else { @@ -2743,7 +2714,7 @@ public function getVatTypeWithHttpInfo($company_id, $vat_type_id, string $conten case 200: $data = ObjectSerializer::deserialize( $e->getResponseBody(), - '\FattureInCloud\Model\GetVatTypeResponse', + '\FattureInCloud\Model\GetTaxProfileResponse', $e->getResponseHeaders() ); $e->setResponseObject($data); @@ -2754,20 +2725,19 @@ public function getVatTypeWithHttpInfo($company_id, $vat_type_id, string $conten } /** - * Operation getVatTypeAsync + * Operation getTaxProfileAsync * - * Get Vat Type + * Get Tax Profile * * @param int $company_id The ID of the company. (required) - * @param int $vat_type_id The Referred Vat Type Id. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getVatType'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getTaxProfile'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getVatTypeAsync($company_id, $vat_type_id, string $contentType = self::contentTypes['getVatType'][0]) + public function getTaxProfileAsync($company_id, string $contentType = self::contentTypes['getTaxProfile'][0]) { - return $this->getVatTypeAsyncWithHttpInfo($company_id, $vat_type_id, $contentType) + return $this->getTaxProfileAsyncWithHttpInfo($company_id, $contentType) ->then( function ($response) { return $response[0]; @@ -2776,21 +2746,20 @@ function ($response) { } /** - * Operation getVatTypeAsyncWithHttpInfo + * Operation getTaxProfileAsyncWithHttpInfo * - * Get Vat Type + * Get Tax Profile * * @param int $company_id The ID of the company. (required) - * @param int $vat_type_id The Referred Vat Type Id. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getVatType'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getTaxProfile'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getVatTypeAsyncWithHttpInfo($company_id, $vat_type_id, string $contentType = self::contentTypes['getVatType'][0]) + public function getTaxProfileAsyncWithHttpInfo($company_id, string $contentType = self::contentTypes['getTaxProfile'][0]) { - $returnType = '\FattureInCloud\Model\GetVatTypeResponse'; - $request = $this->getVatTypeRequest($company_id, $vat_type_id, $contentType); + $returnType = '\FattureInCloud\Model\GetTaxProfileResponse'; + $request = $this->getTaxProfileRequest($company_id, $contentType); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -2829,34 +2798,26 @@ function ($exception) { } /** - * Create request for operation 'getVatType' + * Create request for operation 'getTaxProfile' * * @param int $company_id The ID of the company. (required) - * @param int $vat_type_id The Referred Vat Type Id. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getVatType'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getTaxProfile'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - public function getVatTypeRequest($company_id, $vat_type_id, string $contentType = self::contentTypes['getVatType'][0]) + public function getTaxProfileRequest($company_id, string $contentType = self::contentTypes['getTaxProfile'][0]) { // verify the required parameter 'company_id' is set if ($company_id === null || (is_array($company_id) && count($company_id) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $company_id when calling getVatType' - ); - } - - // verify the required parameter 'vat_type_id' is set - if ($vat_type_id === null || (is_array($vat_type_id) && count($vat_type_id) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $vat_type_id when calling getVatType' + 'Missing the required parameter $company_id when calling getTaxProfile' ); } - $resourcePath = '/c/{company_id}/settings/vat_types/{vat_type_id}'; + $resourcePath = '/c/{company_id}/settings/tax_profile'; $formParams = []; $queryParams = []; $headerParams = []; @@ -2873,14 +2834,6 @@ public function getVatTypeRequest($company_id, $vat_type_id, string $contentType $resourcePath ); } - // path params - if ($vat_type_id !== null) { - $resourcePath = str_replace( - '{' . 'vat_type_id' . '}', - ObjectSerializer::toPathValue($vat_type_id), - $resourcePath - ); - } $headers = $this->headerSelector->selectHeaders( @@ -2941,42 +2894,40 @@ public function getVatTypeRequest($company_id, $vat_type_id, string $contentType } /** - * Operation modifyPaymentAccount + * Operation getVatType * - * Modify Payment Account + * Get Vat Type * * @param int $company_id The ID of the company. (required) - * @param int $payment_account_id The Referred Payment Account Id. (required) - * @param \FattureInCloud\Model\ModifyPaymentAccountRequest $modify_payment_account_request modify_payment_account_request (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyPaymentAccount'] to see the possible values for this operation + * @param int $vat_type_id The Referred Vat Type Id. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getVatType'] to see the possible values for this operation * * @throws \FattureInCloud\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException - * @return \FattureInCloud\Model\ModifyPaymentAccountResponse + * @return \FattureInCloud\Model\GetVatTypeResponse */ - public function modifyPaymentAccount($company_id, $payment_account_id, $modify_payment_account_request = null, string $contentType = self::contentTypes['modifyPaymentAccount'][0]) + public function getVatType($company_id, $vat_type_id, string $contentType = self::contentTypes['getVatType'][0]) { - list($response) = $this->modifyPaymentAccountWithHttpInfo($company_id, $payment_account_id, $modify_payment_account_request, $contentType); + list($response) = $this->getVatTypeWithHttpInfo($company_id, $vat_type_id, $contentType); return $response; } /** - * Operation modifyPaymentAccountWithHttpInfo + * Operation getVatTypeWithHttpInfo * - * Modify Payment Account + * Get Vat Type * * @param int $company_id The ID of the company. (required) - * @param int $payment_account_id The Referred Payment Account Id. (required) - * @param \FattureInCloud\Model\ModifyPaymentAccountRequest $modify_payment_account_request (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyPaymentAccount'] to see the possible values for this operation + * @param int $vat_type_id The Referred Vat Type Id. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getVatType'] to see the possible values for this operation * * @throws \FattureInCloud\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException - * @return array of \FattureInCloud\Model\ModifyPaymentAccountResponse, HTTP status code, HTTP response headers (array of strings) + * @return array of \FattureInCloud\Model\GetVatTypeResponse, HTTP status code, HTTP response headers (array of strings) */ - public function modifyPaymentAccountWithHttpInfo($company_id, $payment_account_id, $modify_payment_account_request = null, string $contentType = self::contentTypes['modifyPaymentAccount'][0]) + public function getVatTypeWithHttpInfo($company_id, $vat_type_id, string $contentType = self::contentTypes['getVatType'][0]) { - $request = $this->modifyPaymentAccountRequest($company_id, $payment_account_id, $modify_payment_account_request, $contentType); + $request = $this->getVatTypeRequest($company_id, $vat_type_id, $contentType); try { $options = $this->createHttpClientOption(); @@ -3000,6 +2951,37 @@ public function modifyPaymentAccountWithHttpInfo($company_id, $payment_account_i $statusCode = $response->getStatusCode(); + + switch ($statusCode) { + case 200: + if ('\FattureInCloud\Model\GetVatTypeResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ('\FattureInCloud\Model\GetVatTypeResponse' !== 'string') { + try { + $content = json_decode($content, false, 512, JSON_THROW_ON_ERROR); + } catch (\JsonException $exception) { + throw new ApiException( + sprintf( + 'Error JSON decoding server response (%s)', + $request->getUri() + ), + $statusCode, + $response->getHeaders(), + $content + ); + } + } + } + + return [ + ObjectSerializer::deserialize($content, '\FattureInCloud\Model\GetVatTypeResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( sprintf( @@ -3013,7 +2995,298 @@ public function modifyPaymentAccountWithHttpInfo($company_id, $payment_account_i ); } - switch($statusCode) { + $returnType = '\FattureInCloud\Model\GetVatTypeResponse'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + try { + $content = json_decode($content, false, 512, JSON_THROW_ON_ERROR); + } catch (\JsonException $exception) { + throw new ApiException( + sprintf( + 'Error JSON decoding server response (%s)', + $request->getUri() + ), + $statusCode, + $response->getHeaders(), + $content + ); + } + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\FattureInCloud\Model\GetVatTypeResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation getVatTypeAsync + * + * Get Vat Type + * + * @param int $company_id The ID of the company. (required) + * @param int $vat_type_id The Referred Vat Type Id. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getVatType'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getVatTypeAsync($company_id, $vat_type_id, string $contentType = self::contentTypes['getVatType'][0]) + { + return $this->getVatTypeAsyncWithHttpInfo($company_id, $vat_type_id, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation getVatTypeAsyncWithHttpInfo + * + * Get Vat Type + * + * @param int $company_id The ID of the company. (required) + * @param int $vat_type_id The Referred Vat Type Id. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getVatType'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getVatTypeAsyncWithHttpInfo($company_id, $vat_type_id, string $contentType = self::contentTypes['getVatType'][0]) + { + $returnType = '\FattureInCloud\Model\GetVatTypeResponse'; + $request = $this->getVatTypeRequest($company_id, $vat_type_id, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'getVatType' + * + * @param int $company_id The ID of the company. (required) + * @param int $vat_type_id The Referred Vat Type Id. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getVatType'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function getVatTypeRequest($company_id, $vat_type_id, string $contentType = self::contentTypes['getVatType'][0]) + { + + // verify the required parameter 'company_id' is set + if ($company_id === null || (is_array($company_id) && count($company_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $company_id when calling getVatType' + ); + } + + // verify the required parameter 'vat_type_id' is set + if ($vat_type_id === null || (is_array($vat_type_id) && count($vat_type_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $vat_type_id when calling getVatType' + ); + } + + + $resourcePath = '/c/{company_id}/settings/vat_types/{vat_type_id}'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + + + // path params + if ($company_id !== null) { + $resourcePath = str_replace( + '{' . 'company_id' . '}', + ObjectSerializer::toPathValue($company_id), + $resourcePath + ); + } + // path params + if ($vat_type_id !== null) { + $resourcePath = str_replace( + '{' . 'vat_type_id' . '}', + ObjectSerializer::toPathValue($vat_type_id), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires OAuth (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation modifyPaymentAccount + * + * Modify Payment Account + * + * @param int $company_id The ID of the company. (required) + * @param int $payment_account_id The Referred Payment Account Id. (required) + * @param \FattureInCloud\Model\ModifyPaymentAccountRequest $modify_payment_account_request modify_payment_account_request (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyPaymentAccount'] to see the possible values for this operation + * + * @throws \FattureInCloud\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return \FattureInCloud\Model\ModifyPaymentAccountResponse + */ + public function modifyPaymentAccount($company_id, $payment_account_id, $modify_payment_account_request = null, string $contentType = self::contentTypes['modifyPaymentAccount'][0]) + { + list($response) = $this->modifyPaymentAccountWithHttpInfo($company_id, $payment_account_id, $modify_payment_account_request, $contentType); + return $response; + } + + /** + * Operation modifyPaymentAccountWithHttpInfo + * + * Modify Payment Account + * + * @param int $company_id The ID of the company. (required) + * @param int $payment_account_id The Referred Payment Account Id. (required) + * @param \FattureInCloud\Model\ModifyPaymentAccountRequest $modify_payment_account_request (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['modifyPaymentAccount'] to see the possible values for this operation + * + * @throws \FattureInCloud\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of \FattureInCloud\Model\ModifyPaymentAccountResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function modifyPaymentAccountWithHttpInfo($company_id, $payment_account_id, $modify_payment_account_request = null, string $contentType = self::contentTypes['modifyPaymentAccount'][0]) + { + $request = $this->modifyPaymentAccountRequest($company_id, $payment_account_id, $modify_payment_account_request, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ModifyPaymentAccountResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -3043,6 +3316,19 @@ public function modifyPaymentAccountWithHttpInfo($company_id, $payment_account_i ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ModifyPaymentAccountResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -3344,20 +3630,8 @@ public function modifyPaymentMethodWithHttpInfo($company_id, $payment_method_id, $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ModifyPaymentMethodResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -3387,6 +3661,19 @@ public function modifyPaymentMethodWithHttpInfo($company_id, $payment_method_id, ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ModifyPaymentMethodResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -3688,20 +3975,8 @@ public function modifyVatTypeWithHttpInfo($company_id, $vat_type_id, $modify_vat $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ModifyVatTypeResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -3731,6 +4006,19 @@ public function modifyVatTypeWithHttpInfo($company_id, $vat_type_id, $modify_vat ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ModifyVatTypeResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/lib/Api/SuppliersApi.php b/lib/Api/SuppliersApi.php index 8415f540..801b2814 100644 --- a/lib/Api/SuppliersApi.php +++ b/lib/Api/SuppliersApi.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -102,7 +102,7 @@ public function __construct( $hostIndex = 0 ) { $this->client = $client ?: new Client(); - $this->config = $config ?: new Configuration(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); $this->headerSelector = $selector ?: new HeaderSelector(); $this->hostIndex = $hostIndex; } @@ -193,20 +193,8 @@ public function createSupplierWithHttpInfo($company_id, $create_supplier_request $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\CreateSupplierResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -236,6 +224,19 @@ public function createSupplierWithHttpInfo($company_id, $create_supplier_request ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\CreateSupplierResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -516,18 +517,6 @@ public function deleteSupplierWithHttpInfo($company_id, $supplier_id, string $co $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } return [null, $statusCode, $response->getHeaders()]; @@ -774,20 +763,8 @@ public function getSupplierWithHttpInfo($company_id, $supplier_id, $fields = nul $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetSupplierResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -817,6 +794,19 @@ public function getSupplierWithHttpInfo($company_id, $supplier_id, $fields = nul ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetSupplierResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1141,20 +1131,8 @@ public function listSuppliersWithHttpInfo($company_id, $fields = null, $fieldset $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListSuppliersResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1184,6 +1162,19 @@ public function listSuppliersWithHttpInfo($company_id, $fields = null, $fieldset ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListSuppliersResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1540,20 +1531,8 @@ public function modifySupplierWithHttpInfo($company_id, $supplier_id, $modify_su $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ModifySupplierResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1583,6 +1562,19 @@ public function modifySupplierWithHttpInfo($company_id, $supplier_id, $modify_su ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ModifySupplierResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/lib/Api/TaxesApi.php b/lib/Api/TaxesApi.php index 65b3ca73..df82372e 100644 --- a/lib/Api/TaxesApi.php +++ b/lib/Api/TaxesApi.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -108,7 +108,7 @@ public function __construct( $hostIndex = 0 ) { $this->client = $client ?: new Client(); - $this->config = $config ?: new Configuration(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); $this->headerSelector = $selector ?: new HeaderSelector(); $this->hostIndex = $hostIndex; } @@ -199,20 +199,8 @@ public function createF24WithHttpInfo($company_id, $create_f24_request = null, s $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\CreateF24Response' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -242,6 +230,19 @@ public function createF24WithHttpInfo($company_id, $create_f24_request = null, s ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\CreateF24Response'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -522,18 +523,6 @@ public function deleteF24WithHttpInfo($company_id, $document_id, string $content $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } return [null, $statusCode, $response->getHeaders()]; @@ -775,18 +764,6 @@ public function deleteF24AttachmentWithHttpInfo($company_id, $document_id, strin $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } return [null, $statusCode, $response->getHeaders()]; @@ -1033,20 +1010,8 @@ public function getF24WithHttpInfo($company_id, $document_id, $fields = null, $f $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetF24Response' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1076,6 +1041,19 @@ public function getF24WithHttpInfo($company_id, $document_id, $fields = null, $f ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetF24Response'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1400,20 +1378,8 @@ public function listF24WithHttpInfo($company_id, $fields = null, $fieldset = nul $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListF24Response' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1443,6 +1409,19 @@ public function listF24WithHttpInfo($company_id, $fields = null, $fieldset = nul ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListF24Response'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1799,20 +1778,8 @@ public function modifyF24WithHttpInfo($company_id, $document_id, $modify_f24_req $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ModifyF24Response' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1842,6 +1809,19 @@ public function modifyF24WithHttpInfo($company_id, $document_id, $modify_f24_req ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ModifyF24Response'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2143,20 +2123,8 @@ public function uploadF24AttachmentWithHttpInfo($company_id, $filename = null, $ $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\UploadF24AttachmentResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -2186,6 +2154,19 @@ public function uploadF24AttachmentWithHttpInfo($company_id, $filename = null, $ ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\UploadF24AttachmentResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/lib/Api/UserApi.php b/lib/Api/UserApi.php index 047c86a8..4b3c0778 100644 --- a/lib/Api/UserApi.php +++ b/lib/Api/UserApi.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -93,7 +93,7 @@ public function __construct( $hostIndex = 0 ) { $this->client = $client ?: new Client(); - $this->config = $config ?: new Configuration(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); $this->headerSelector = $selector ?: new HeaderSelector(); $this->hostIndex = $hostIndex; } @@ -180,20 +180,8 @@ public function getUserInfoWithHttpInfo(string $contentType = self::contentTypes $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetUserInfoResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -223,6 +211,19 @@ public function getUserInfoWithHttpInfo(string $contentType = self::contentTypes ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetUserInfoResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -471,20 +472,8 @@ public function listUserCompaniesWithHttpInfo(string $contentType = self::conten $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListUserCompaniesResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -514,6 +503,19 @@ public function listUserCompaniesWithHttpInfo(string $contentType = self::conten ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListUserCompaniesResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/lib/Api/WebhooksApi.php b/lib/Api/WebhooksApi.php index 38265bf7..77b378e0 100644 --- a/lib/Api/WebhooksApi.php +++ b/lib/Api/WebhooksApi.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -102,7 +102,7 @@ public function __construct( $hostIndex = 0 ) { $this->client = $client ?: new Client(); - $this->config = $config ?: new Configuration(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); $this->headerSelector = $selector ?: new HeaderSelector(); $this->hostIndex = $hostIndex; } @@ -193,20 +193,8 @@ public function createWebhooksSubscriptionWithHttpInfo($company_id, $create_webh $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\CreateWebhooksSubscriptionResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -236,6 +224,19 @@ public function createWebhooksSubscriptionWithHttpInfo($company_id, $create_webh ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\CreateWebhooksSubscriptionResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -516,18 +517,6 @@ public function deleteWebhooksSubscriptionWithHttpInfo($company_id, $subscriptio $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } return [null, $statusCode, $response->getHeaders()]; @@ -770,20 +759,8 @@ public function getWebhooksSubscriptionWithHttpInfo($company_id, $subscription_i $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\GetWebhooksSubscriptionResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -813,6 +790,19 @@ public function getWebhooksSubscriptionWithHttpInfo($company_id, $subscription_i ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\GetWebhooksSubscriptionResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1099,20 +1089,8 @@ public function listWebhooksSubscriptionsWithHttpInfo($company_id, string $conte $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ListWebhooksSubscriptionsResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1142,6 +1120,19 @@ public function listWebhooksSubscriptionsWithHttpInfo($company_id, string $conte ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ListWebhooksSubscriptionsResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1414,20 +1405,8 @@ public function modifyWebhooksSubscriptionWithHttpInfo($company_id, $subscriptio $statusCode = $response->getStatusCode(); - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - switch($statusCode) { + switch ($statusCode) { case 200: if ('\FattureInCloud\Model\ModifyWebhooksSubscriptionResponse' === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer @@ -1457,6 +1436,19 @@ public function modifyWebhooksSubscriptionWithHttpInfo($company_id, $subscriptio ]; } + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + $returnType = '\FattureInCloud\Model\ModifyWebhooksSubscriptionResponse'; if ($returnType === '\SplFileObject') { $content = $response->getBody(); //stream goes to serializer diff --git a/lib/ApiException.php b/lib/ApiException.php index 2d9f8a15..ffc991ed 100644 --- a/lib/ApiException.php +++ b/lib/ApiException.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -50,7 +50,7 @@ class ApiException extends Exception /** * The HTTP header of the server response. * - * @var string[]|null + * @var string[][]|null */ protected $responseHeaders; @@ -66,7 +66,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) @@ -79,7 +79,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/lib/Configuration.php b/lib/Configuration.php index 46f909db..b4c80031 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -101,7 +101,7 @@ class Configuration * * @var string */ - protected $userAgent = 'FattureInCloud/2.1.0/PHP-SDK'; + protected $userAgent = 'FattureInCloud/2.1.1/PHP-SDK'; /** * Debug switch (default set to false) @@ -433,7 +433,7 @@ public static function toDebugReport() $report = 'PHP SDK (FattureInCloud) Debug Report:' . PHP_EOL; $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; - $report .= ' The version of the OpenAPI document: 2.1.0' . PHP_EOL; + $report .= ' The version of the OpenAPI document: 2.1.2' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/lib/HeaderSelector.php b/lib/HeaderSelector.php index 93500c44..b6c5614b 100644 --- a/lib/HeaderSelector.php +++ b/lib/HeaderSelector.php @@ -14,10 +14,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -54,7 +54,7 @@ public function selectHeaders(array $accept, string $contentType, bool $isMultip } if (!$isMultipart) { - if($contentType === '') { + if ($contentType === '') { $contentType = 'application/json'; } @@ -86,7 +86,7 @@ private function selectAcceptHeader(array $accept): ?string } # If none of the available Accept headers is of type "json", then just use all them - $headersWithJson = preg_grep('~(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$~', $accept); + $headersWithJson = $this->selectJsonMimeList($accept); if (count($headersWithJson) === 0) { return implode(',', $accept); } @@ -96,6 +96,35 @@ private function selectAcceptHeader(array $accept): ?string return $this->getAcceptHeaderWithAdjustedWeight($accept, $headersWithJson); } + /** + * Detects whether a string contains a valid JSON mime type + * + * @param string $searchString + * @return bool + */ + public function isJsonMime(string $searchString): bool + { + return preg_match('~^application/(json|[\w!#$&.+-^_]+\+json)\s*(;|$)~', $searchString) === 1; + } + + /** + * Select all items from a list containing a JSON mime type + * + * @param array $mimeList + * @return array + */ + private function selectJsonMimeList(array $mimeList): array + { + $jsonMimeList = []; + foreach ($mimeList as $mime) { + if ($this->isJsonMime($mime)) { + $jsonMimeList[] = $mime; + } + } + return $jsonMimeList; + } + + /** * Create an Accept header string from the given "Accept" headers array, recalculating all weights * @@ -130,7 +159,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); } @@ -180,7 +209,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); } @@ -201,7 +230,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/lib/Model/ArchiveDocument.php b/lib/Model/ArchiveDocument.php index db8c9143..683559f9 100644 --- a/lib/Model/ArchiveDocument.php +++ b/lib/Model/ArchiveDocument.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/AttachmentData.php b/lib/Model/AttachmentData.php index 8155b887..e728dd25 100644 --- a/lib/Model/AttachmentData.php +++ b/lib/Model/AttachmentData.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CashbookEntry.php b/lib/Model/CashbookEntry.php index 40e3f9e4..1cb6b85c 100644 --- a/lib/Model/CashbookEntry.php +++ b/lib/Model/CashbookEntry.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CashbookEntryDocument.php b/lib/Model/CashbookEntryDocument.php index 13f8b015..0814c8a2 100644 --- a/lib/Model/CashbookEntryDocument.php +++ b/lib/Model/CashbookEntryDocument.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CashbookEntryKind.php b/lib/Model/CashbookEntryKind.php index b6cb13f0..b3051cc6 100644 --- a/lib/Model/CashbookEntryKind.php +++ b/lib/Model/CashbookEntryKind.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CashbookEntryType.php b/lib/Model/CashbookEntryType.php index 745d0658..92bf1708 100644 --- a/lib/Model/CashbookEntryType.php +++ b/lib/Model/CashbookEntryType.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/City.php b/lib/Model/City.php index a8e3a33b..9cb5a9a9 100644 --- a/lib/Model/City.php +++ b/lib/Model/City.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/Client.php b/lib/Model/Client.php index 5c6fc2ef..f0dc5b89 100644 --- a/lib/Model/Client.php +++ b/lib/Model/Client.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ClientType.php b/lib/Model/ClientType.php index 7ead5b3f..1d46a6e2 100644 --- a/lib/Model/ClientType.php +++ b/lib/Model/ClientType.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/Company.php b/lib/Model/Company.php index a91c4ec0..f5bcb66d 100644 --- a/lib/Model/Company.php +++ b/lib/Model/Company.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CompanyInfo.php b/lib/Model/CompanyInfo.php index 000c91f9..d7abc504 100644 --- a/lib/Model/CompanyInfo.php +++ b/lib/Model/CompanyInfo.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CompanyInfoAccessInfo.php b/lib/Model/CompanyInfoAccessInfo.php index f99965a4..f15b6b30 100644 --- a/lib/Model/CompanyInfoAccessInfo.php +++ b/lib/Model/CompanyInfoAccessInfo.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CompanyInfoPlanInfo.php b/lib/Model/CompanyInfoPlanInfo.php index 3d26c3ba..5f01943c 100644 --- a/lib/Model/CompanyInfoPlanInfo.php +++ b/lib/Model/CompanyInfoPlanInfo.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CompanyInfoPlanInfoFunctions.php b/lib/Model/CompanyInfoPlanInfoFunctions.php index e81bf116..da76bb5e 100644 --- a/lib/Model/CompanyInfoPlanInfoFunctions.php +++ b/lib/Model/CompanyInfoPlanInfoFunctions.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CompanyInfoPlanInfoFunctionsStatus.php b/lib/Model/CompanyInfoPlanInfoFunctionsStatus.php index bee4996e..c14cf41d 100644 --- a/lib/Model/CompanyInfoPlanInfoFunctionsStatus.php +++ b/lib/Model/CompanyInfoPlanInfoFunctionsStatus.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CompanyInfoPlanInfoLimits.php b/lib/Model/CompanyInfoPlanInfoLimits.php index 41b89857..b91b7784 100644 --- a/lib/Model/CompanyInfoPlanInfoLimits.php +++ b/lib/Model/CompanyInfoPlanInfoLimits.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CompanyPlanUsage.php b/lib/Model/CompanyPlanUsage.php index 43dcf60e..eccc5c73 100644 --- a/lib/Model/CompanyPlanUsage.php +++ b/lib/Model/CompanyPlanUsage.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CompanyType.php b/lib/Model/CompanyType.php index 61198d34..ae6230ec 100644 --- a/lib/Model/CompanyType.php +++ b/lib/Model/CompanyType.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ControlledCompany.php b/lib/Model/ControlledCompany.php index 4145b1b4..0b5a54a5 100644 --- a/lib/Model/ControlledCompany.php +++ b/lib/Model/ControlledCompany.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateArchiveDocumentRequest.php b/lib/Model/CreateArchiveDocumentRequest.php index be5e99c5..e303c960 100644 --- a/lib/Model/CreateArchiveDocumentRequest.php +++ b/lib/Model/CreateArchiveDocumentRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateArchiveDocumentResponse.php b/lib/Model/CreateArchiveDocumentResponse.php index 34f13218..2145409f 100644 --- a/lib/Model/CreateArchiveDocumentResponse.php +++ b/lib/Model/CreateArchiveDocumentResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateCashbookEntryRequest.php b/lib/Model/CreateCashbookEntryRequest.php index 5796b4d7..a464937f 100644 --- a/lib/Model/CreateCashbookEntryRequest.php +++ b/lib/Model/CreateCashbookEntryRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateCashbookEntryResponse.php b/lib/Model/CreateCashbookEntryResponse.php index 886d8af4..20ce999c 100644 --- a/lib/Model/CreateCashbookEntryResponse.php +++ b/lib/Model/CreateCashbookEntryResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateClientRequest.php b/lib/Model/CreateClientRequest.php index d4b5227a..829b9dec 100644 --- a/lib/Model/CreateClientRequest.php +++ b/lib/Model/CreateClientRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateClientResponse.php b/lib/Model/CreateClientResponse.php index a0de20d9..2d1d90c1 100644 --- a/lib/Model/CreateClientResponse.php +++ b/lib/Model/CreateClientResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateF24Request.php b/lib/Model/CreateF24Request.php index f3984d58..b7e316d6 100644 --- a/lib/Model/CreateF24Request.php +++ b/lib/Model/CreateF24Request.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateF24Response.php b/lib/Model/CreateF24Response.php index 1e10640d..684aa5af 100644 --- a/lib/Model/CreateF24Response.php +++ b/lib/Model/CreateF24Response.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateIssuedDocumentRequest.php b/lib/Model/CreateIssuedDocumentRequest.php index 5f5344a8..27a6345a 100644 --- a/lib/Model/CreateIssuedDocumentRequest.php +++ b/lib/Model/CreateIssuedDocumentRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateIssuedDocumentResponse.php b/lib/Model/CreateIssuedDocumentResponse.php index deef34e0..81fb3e23 100644 --- a/lib/Model/CreateIssuedDocumentResponse.php +++ b/lib/Model/CreateIssuedDocumentResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreatePaymentAccountRequest.php b/lib/Model/CreatePaymentAccountRequest.php index 3a66cf7a..fd3be921 100644 --- a/lib/Model/CreatePaymentAccountRequest.php +++ b/lib/Model/CreatePaymentAccountRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreatePaymentAccountResponse.php b/lib/Model/CreatePaymentAccountResponse.php index 6fdf7686..643ada91 100644 --- a/lib/Model/CreatePaymentAccountResponse.php +++ b/lib/Model/CreatePaymentAccountResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreatePaymentMethodRequest.php b/lib/Model/CreatePaymentMethodRequest.php index 2b0b1c39..d53f97f6 100644 --- a/lib/Model/CreatePaymentMethodRequest.php +++ b/lib/Model/CreatePaymentMethodRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreatePaymentMethodResponse.php b/lib/Model/CreatePaymentMethodResponse.php index 37994376..2035e264 100644 --- a/lib/Model/CreatePaymentMethodResponse.php +++ b/lib/Model/CreatePaymentMethodResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateProductRequest.php b/lib/Model/CreateProductRequest.php index 400067b9..28cd65b0 100644 --- a/lib/Model/CreateProductRequest.php +++ b/lib/Model/CreateProductRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateProductResponse.php b/lib/Model/CreateProductResponse.php index cb521637..eac0c85e 100644 --- a/lib/Model/CreateProductResponse.php +++ b/lib/Model/CreateProductResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateReceiptRequest.php b/lib/Model/CreateReceiptRequest.php index 15045d1f..1106f686 100644 --- a/lib/Model/CreateReceiptRequest.php +++ b/lib/Model/CreateReceiptRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateReceiptResponse.php b/lib/Model/CreateReceiptResponse.php index f79839b2..e1b3a573 100644 --- a/lib/Model/CreateReceiptResponse.php +++ b/lib/Model/CreateReceiptResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateReceivedDocumentRequest.php b/lib/Model/CreateReceivedDocumentRequest.php index 2054bdb4..c006fd46 100644 --- a/lib/Model/CreateReceivedDocumentRequest.php +++ b/lib/Model/CreateReceivedDocumentRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateReceivedDocumentResponse.php b/lib/Model/CreateReceivedDocumentResponse.php index 81424a1e..f980a5e9 100644 --- a/lib/Model/CreateReceivedDocumentResponse.php +++ b/lib/Model/CreateReceivedDocumentResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateSupplierRequest.php b/lib/Model/CreateSupplierRequest.php index 3afae990..4156e66a 100644 --- a/lib/Model/CreateSupplierRequest.php +++ b/lib/Model/CreateSupplierRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateSupplierResponse.php b/lib/Model/CreateSupplierResponse.php index 614b46b9..9fa7768f 100644 --- a/lib/Model/CreateSupplierResponse.php +++ b/lib/Model/CreateSupplierResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateVatTypeRequest.php b/lib/Model/CreateVatTypeRequest.php index 82ce2060..f1f446a7 100644 --- a/lib/Model/CreateVatTypeRequest.php +++ b/lib/Model/CreateVatTypeRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateVatTypeResponse.php b/lib/Model/CreateVatTypeResponse.php index dab4673d..b6c530bc 100644 --- a/lib/Model/CreateVatTypeResponse.php +++ b/lib/Model/CreateVatTypeResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateWebhooksSubscriptionRequest.php b/lib/Model/CreateWebhooksSubscriptionRequest.php index 9ec22b6d..ccba8687 100644 --- a/lib/Model/CreateWebhooksSubscriptionRequest.php +++ b/lib/Model/CreateWebhooksSubscriptionRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/CreateWebhooksSubscriptionResponse.php b/lib/Model/CreateWebhooksSubscriptionResponse.php index e05b01b3..a3f93c7a 100644 --- a/lib/Model/CreateWebhooksSubscriptionResponse.php +++ b/lib/Model/CreateWebhooksSubscriptionResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/Currency.php b/lib/Model/Currency.php index 6d036480..030e088d 100644 --- a/lib/Model/Currency.php +++ b/lib/Model/Currency.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/DetailedCountry.php b/lib/Model/DetailedCountry.php index 9992c702..ae71ba36 100644 --- a/lib/Model/DetailedCountry.php +++ b/lib/Model/DetailedCountry.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/DocumentTemplate.php b/lib/Model/DocumentTemplate.php index c7b8d80d..5973ad45 100644 --- a/lib/Model/DocumentTemplate.php +++ b/lib/Model/DocumentTemplate.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/EInvoiceRejectionReason.php b/lib/Model/EInvoiceRejectionReason.php index 2461012e..6a83371b 100644 --- a/lib/Model/EInvoiceRejectionReason.php +++ b/lib/Model/EInvoiceRejectionReason.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/Email.php b/lib/Model/Email.php index d9184e9a..3d28ea82 100644 --- a/lib/Model/Email.php +++ b/lib/Model/Email.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -60,7 +60,7 @@ class Email implements ModelInterface, ArrayAccess, \JsonSerializable protected static $openAPITypes = [ 'id' => 'int', 'status' => '\FattureInCloud\Model\EmailStatus', - 'sent_date' => '\DateTime', + 'sent_date' => 'string', 'errors_count' => 'int', 'error_log' => 'string', 'from_email' => 'string', @@ -86,7 +86,7 @@ class Email implements ModelInterface, ArrayAccess, \JsonSerializable protected static $openAPIFormats = [ 'id' => null, 'status' => null, - 'sent_date' => 'date-time', + 'sent_date' => null, 'errors_count' => null, 'error_log' => null, 'from_email' => null, @@ -459,7 +459,7 @@ public function setStatus($status) /** * Gets sent_date * - * @return \DateTime|null + * @return string|null */ public function getSentDate() { @@ -469,7 +469,7 @@ public function getSentDate() /** * Sets sent_date * - * @param \DateTime|null $sent_date Email sent date + * @param string|null $sent_date Email sent date * * @return self */ diff --git a/lib/Model/EmailAttachment.php b/lib/Model/EmailAttachment.php index fd3121c5..a344ed2b 100644 --- a/lib/Model/EmailAttachment.php +++ b/lib/Model/EmailAttachment.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/EmailData.php b/lib/Model/EmailData.php index 644ed56a..9be780d7 100644 --- a/lib/Model/EmailData.php +++ b/lib/Model/EmailData.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/EmailDataDefaultSenderEmail.php b/lib/Model/EmailDataDefaultSenderEmail.php index ffd28316..03300f05 100644 --- a/lib/Model/EmailDataDefaultSenderEmail.php +++ b/lib/Model/EmailDataDefaultSenderEmail.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/EmailRecipientStatus.php b/lib/Model/EmailRecipientStatus.php index ae500746..c70a4df9 100644 --- a/lib/Model/EmailRecipientStatus.php +++ b/lib/Model/EmailRecipientStatus.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/EmailSchedule.php b/lib/Model/EmailSchedule.php index e5c2b282..1352a04d 100644 --- a/lib/Model/EmailSchedule.php +++ b/lib/Model/EmailSchedule.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/EmailScheduleInclude.php b/lib/Model/EmailScheduleInclude.php index 8d464864..147cc1d1 100644 --- a/lib/Model/EmailScheduleInclude.php +++ b/lib/Model/EmailScheduleInclude.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/EmailStatus.php b/lib/Model/EmailStatus.php index 1842240f..08323cf5 100644 --- a/lib/Model/EmailStatus.php +++ b/lib/Model/EmailStatus.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/Entity.php b/lib/Model/Entity.php index 46c1b023..8a349884 100644 --- a/lib/Model/Entity.php +++ b/lib/Model/Entity.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/EntityType.php b/lib/Model/EntityType.php index a73109bb..2c956c3a 100644 --- a/lib/Model/EntityType.php +++ b/lib/Model/EntityType.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/EventType.php b/lib/Model/EventType.php index 5573d48b..49b96c09 100644 --- a/lib/Model/EventType.php +++ b/lib/Model/EventType.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -170,6 +170,28 @@ class EventType public const RECEIVED_DOCUMENTS_E_INVOICES_RECEIVE = 'it.fattureincloud.webhooks.received_documents.e_invoices.receive'; + public const ISSUED_DOCUMENTS_INVOICES_EMAIL_SENT = 'it.fattureincloud.webhooks.issued_documents.invoices.email_sent'; + + public const ISSUED_DOCUMENTS_QUOTES_EMAIL_SENT = 'it.fattureincloud.webhooks.issued_documents.quotes.email_sent'; + + public const ISSUED_DOCUMENTS_PROFORMAS_EMAIL_SENT = 'it.fattureincloud.webhooks.issued_documents.proformas.email_sent'; + + public const ISSUED_DOCUMENTS_RECEIPTS_EMAIL_SENT = 'it.fattureincloud.webhooks.issued_documents.receipts.email_sent'; + + public const ISSUED_DOCUMENTS_DELIVERY_NOTES_EMAIL_SENT = 'it.fattureincloud.webhooks.issued_documents.delivery_notes.email_sent'; + + public const ISSUED_DOCUMENTS_CREDIT_NOTES_EMAIL_SENT = 'it.fattureincloud.webhooks.issued_documents.credit_notes.email_sent'; + + public const ISSUED_DOCUMENTS_ORDERS_EMAIL_SENT = 'it.fattureincloud.webhooks.issued_documents.orders.email_sent'; + + public const ISSUED_DOCUMENTS_WORK_REPORTS_EMAIL_SENT = 'it.fattureincloud.webhooks.issued_documents.work_reports.email_sent'; + + public const ISSUED_DOCUMENTS_SUPPLIER_ORDERS_EMAIL_SENT = 'it.fattureincloud.webhooks.issued_documents.supplier_orders.email_sent'; + + public const ISSUED_DOCUMENTS_SELF_INVOICES_EMAIL_SENT = 'it.fattureincloud.webhooks.issued_documents.self_invoices.email_sent'; + + public const ISSUED_DOCUMENTS_ALL_EMAIL_SENT = 'it.fattureincloud.webhooks.issued_documents.all.email_sent'; + /** * Gets allowable values of the enum * @return string[] @@ -239,7 +261,18 @@ public static function getAllowableEnumValues() self::ENTITIES_ALL_UPDATE, self::ENTITIES_ALL_DELETE, self::ISSUED_DOCUMENTS_E_INVOICES_STATUS_UPDATE, - self::RECEIVED_DOCUMENTS_E_INVOICES_RECEIVE + self::RECEIVED_DOCUMENTS_E_INVOICES_RECEIVE, + self::ISSUED_DOCUMENTS_INVOICES_EMAIL_SENT, + self::ISSUED_DOCUMENTS_QUOTES_EMAIL_SENT, + self::ISSUED_DOCUMENTS_PROFORMAS_EMAIL_SENT, + self::ISSUED_DOCUMENTS_RECEIPTS_EMAIL_SENT, + self::ISSUED_DOCUMENTS_DELIVERY_NOTES_EMAIL_SENT, + self::ISSUED_DOCUMENTS_CREDIT_NOTES_EMAIL_SENT, + self::ISSUED_DOCUMENTS_ORDERS_EMAIL_SENT, + self::ISSUED_DOCUMENTS_WORK_REPORTS_EMAIL_SENT, + self::ISSUED_DOCUMENTS_SUPPLIER_ORDERS_EMAIL_SENT, + self::ISSUED_DOCUMENTS_SELF_INVOICES_EMAIL_SENT, + self::ISSUED_DOCUMENTS_ALL_EMAIL_SENT ]; } } diff --git a/lib/Model/F24.php b/lib/Model/F24.php index ad1d78bb..d42f577a 100644 --- a/lib/Model/F24.php +++ b/lib/Model/F24.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/F24Status.php b/lib/Model/F24Status.php index ee00acce..66948932 100644 --- a/lib/Model/F24Status.php +++ b/lib/Model/F24Status.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/FattureInCloudPlanType.php b/lib/Model/FattureInCloudPlanType.php index 927e81df..5711c2fc 100644 --- a/lib/Model/FattureInCloudPlanType.php +++ b/lib/Model/FattureInCloudPlanType.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/FunctionStatus.php b/lib/Model/FunctionStatus.php index 19dcc448..36b7206e 100644 --- a/lib/Model/FunctionStatus.php +++ b/lib/Model/FunctionStatus.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetArchiveDocumentResponse.php b/lib/Model/GetArchiveDocumentResponse.php index e6281000..6f787992 100644 --- a/lib/Model/GetArchiveDocumentResponse.php +++ b/lib/Model/GetArchiveDocumentResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetCashbookEntryResponse.php b/lib/Model/GetCashbookEntryResponse.php index 5df8bcae..6e5aa8e6 100644 --- a/lib/Model/GetCashbookEntryResponse.php +++ b/lib/Model/GetCashbookEntryResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetClientResponse.php b/lib/Model/GetClientResponse.php index b7854efd..beee7983 100644 --- a/lib/Model/GetClientResponse.php +++ b/lib/Model/GetClientResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetCompanyInfoResponse.php b/lib/Model/GetCompanyInfoResponse.php index 6c8c25f4..ed4d3472 100644 --- a/lib/Model/GetCompanyInfoResponse.php +++ b/lib/Model/GetCompanyInfoResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetCompanyPlanUsageResponse.php b/lib/Model/GetCompanyPlanUsageResponse.php index 9c2f8fce..92126ef3 100644 --- a/lib/Model/GetCompanyPlanUsageResponse.php +++ b/lib/Model/GetCompanyPlanUsageResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetEInvoiceRejectionReasonResponse.php b/lib/Model/GetEInvoiceRejectionReasonResponse.php index 828d43ef..20a7b8ff 100644 --- a/lib/Model/GetEInvoiceRejectionReasonResponse.php +++ b/lib/Model/GetEInvoiceRejectionReasonResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetEmailDataResponse.php b/lib/Model/GetEmailDataResponse.php index c844d1fb..ec96aad8 100644 --- a/lib/Model/GetEmailDataResponse.php +++ b/lib/Model/GetEmailDataResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetExistingIssuedDocumentTotalsRequest.php b/lib/Model/GetExistingIssuedDocumentTotalsRequest.php index ca650f6b..3c4be4a0 100644 --- a/lib/Model/GetExistingIssuedDocumentTotalsRequest.php +++ b/lib/Model/GetExistingIssuedDocumentTotalsRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetExistingIssuedDocumentTotalsResponse.php b/lib/Model/GetExistingIssuedDocumentTotalsResponse.php index 8e30ef3a..5c3c680a 100644 --- a/lib/Model/GetExistingIssuedDocumentTotalsResponse.php +++ b/lib/Model/GetExistingIssuedDocumentTotalsResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetExistingReceivedDocumentTotalsRequest.php b/lib/Model/GetExistingReceivedDocumentTotalsRequest.php index 85f9f009..22781a9a 100644 --- a/lib/Model/GetExistingReceivedDocumentTotalsRequest.php +++ b/lib/Model/GetExistingReceivedDocumentTotalsRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetExistingReceivedDocumentTotalsResponse.php b/lib/Model/GetExistingReceivedDocumentTotalsResponse.php index b6b1f45e..87e24fdb 100644 --- a/lib/Model/GetExistingReceivedDocumentTotalsResponse.php +++ b/lib/Model/GetExistingReceivedDocumentTotalsResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetF24Response.php b/lib/Model/GetF24Response.php index 42526f6b..25ebcf76 100644 --- a/lib/Model/GetF24Response.php +++ b/lib/Model/GetF24Response.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetIssuedDocumentPreCreateInfoResponse.php b/lib/Model/GetIssuedDocumentPreCreateInfoResponse.php index 74e4c448..3d63bd87 100644 --- a/lib/Model/GetIssuedDocumentPreCreateInfoResponse.php +++ b/lib/Model/GetIssuedDocumentPreCreateInfoResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetIssuedDocumentResponse.php b/lib/Model/GetIssuedDocumentResponse.php index e68dad87..ff5032ae 100644 --- a/lib/Model/GetIssuedDocumentResponse.php +++ b/lib/Model/GetIssuedDocumentResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetNewIssuedDocumentTotalsRequest.php b/lib/Model/GetNewIssuedDocumentTotalsRequest.php index 49fdadbc..df7a1f30 100644 --- a/lib/Model/GetNewIssuedDocumentTotalsRequest.php +++ b/lib/Model/GetNewIssuedDocumentTotalsRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetNewIssuedDocumentTotalsResponse.php b/lib/Model/GetNewIssuedDocumentTotalsResponse.php index a4d36c16..17c99ac0 100644 --- a/lib/Model/GetNewIssuedDocumentTotalsResponse.php +++ b/lib/Model/GetNewIssuedDocumentTotalsResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetNewReceivedDocumentTotalsRequest.php b/lib/Model/GetNewReceivedDocumentTotalsRequest.php index 0ba0ab2b..3fb8cf2e 100644 --- a/lib/Model/GetNewReceivedDocumentTotalsRequest.php +++ b/lib/Model/GetNewReceivedDocumentTotalsRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetNewReceivedDocumentTotalsResponse.php b/lib/Model/GetNewReceivedDocumentTotalsResponse.php index 6f153889..19b3c54c 100644 --- a/lib/Model/GetNewReceivedDocumentTotalsResponse.php +++ b/lib/Model/GetNewReceivedDocumentTotalsResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetPaymentAccountResponse.php b/lib/Model/GetPaymentAccountResponse.php index 8b233f64..e774bd05 100644 --- a/lib/Model/GetPaymentAccountResponse.php +++ b/lib/Model/GetPaymentAccountResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetPaymentMethodResponse.php b/lib/Model/GetPaymentMethodResponse.php index 5493efba..0e141338 100644 --- a/lib/Model/GetPaymentMethodResponse.php +++ b/lib/Model/GetPaymentMethodResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetProductResponse.php b/lib/Model/GetProductResponse.php index b600fc12..0ca82646 100644 --- a/lib/Model/GetProductResponse.php +++ b/lib/Model/GetProductResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetReceiptPreCreateInfoResponse.php b/lib/Model/GetReceiptPreCreateInfoResponse.php index ada1e5a7..1fa1be05 100644 --- a/lib/Model/GetReceiptPreCreateInfoResponse.php +++ b/lib/Model/GetReceiptPreCreateInfoResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetReceiptResponse.php b/lib/Model/GetReceiptResponse.php index db13d746..46ec8517 100644 --- a/lib/Model/GetReceiptResponse.php +++ b/lib/Model/GetReceiptResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetReceiptsMonthlyTotalsResponse.php b/lib/Model/GetReceiptsMonthlyTotalsResponse.php index 74d6d601..838fb3de 100644 --- a/lib/Model/GetReceiptsMonthlyTotalsResponse.php +++ b/lib/Model/GetReceiptsMonthlyTotalsResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetReceivedDocumentPreCreateInfoResponse.php b/lib/Model/GetReceivedDocumentPreCreateInfoResponse.php index 434aa439..d96f225d 100644 --- a/lib/Model/GetReceivedDocumentPreCreateInfoResponse.php +++ b/lib/Model/GetReceivedDocumentPreCreateInfoResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetReceivedDocumentResponse.php b/lib/Model/GetReceivedDocumentResponse.php index d30ce107..ae11b1ef 100644 --- a/lib/Model/GetReceivedDocumentResponse.php +++ b/lib/Model/GetReceivedDocumentResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetSupplierResponse.php b/lib/Model/GetSupplierResponse.php index 8bb1cb13..9ee7d74e 100644 --- a/lib/Model/GetSupplierResponse.php +++ b/lib/Model/GetSupplierResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetTaxProfileResponse.php b/lib/Model/GetTaxProfileResponse.php new file mode 100644 index 00000000..dbd1303a --- /dev/null +++ b/lib/Model/GetTaxProfileResponse.php @@ -0,0 +1,410 @@ + + */ +class GetTaxProfileResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'GetTaxProfileResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'data' => '\FattureInCloud\Model\TaxProfile' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'data' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static $openAPINullables = [ + 'data' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull($openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'data' => 'data' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'data' => 'setData' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'data' => 'getData' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct($data = null) + { + $this->setIfExists('data', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets data + * + * @return \FattureInCloud\Model\TaxProfile|null + */ + public function getData() + { + return $this->container['data']; + } + + /** + * Sets data + * + * @param \FattureInCloud\Model\TaxProfile|null $data data + * + * @return self + */ + public function setData($data) + { + if (is_null($data)) { + throw new \InvalidArgumentException('non-nullable data cannot be null'); + } + $this->container['data'] = $data; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://fattureincloud.it + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/lib/Model/GetUserInfoResponse.php b/lib/Model/GetUserInfoResponse.php index 72baa705..240079f2 100644 --- a/lib/Model/GetUserInfoResponse.php +++ b/lib/Model/GetUserInfoResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetUserInfoResponseEmailConfirmationState.php b/lib/Model/GetUserInfoResponseEmailConfirmationState.php index f1c0a137..477f5103 100644 --- a/lib/Model/GetUserInfoResponseEmailConfirmationState.php +++ b/lib/Model/GetUserInfoResponseEmailConfirmationState.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetUserInfoResponseInfo.php b/lib/Model/GetUserInfoResponseInfo.php index ef11920f..8901df0e 100644 --- a/lib/Model/GetUserInfoResponseInfo.php +++ b/lib/Model/GetUserInfoResponseInfo.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetVatTypeResponse.php b/lib/Model/GetVatTypeResponse.php index f5c7b54f..e20bcca4 100644 --- a/lib/Model/GetVatTypeResponse.php +++ b/lib/Model/GetVatTypeResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/GetWebhooksSubscriptionResponse.php b/lib/Model/GetWebhooksSubscriptionResponse.php index 4e27a5cc..ff4d20f9 100644 --- a/lib/Model/GetWebhooksSubscriptionResponse.php +++ b/lib/Model/GetWebhooksSubscriptionResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/IssuedDocument.php b/lib/Model/IssuedDocument.php index 1e72af33..7b43d5d9 100644 --- a/lib/Model/IssuedDocument.php +++ b/lib/Model/IssuedDocument.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -1217,7 +1217,7 @@ public function getSubject() /** * Sets subject * - * @param string|null $subject Issued document subject + * @param string|null $subject Issued document subject [not shown on the PDF] * * @return self */ diff --git a/lib/Model/IssuedDocumentEiData.php b/lib/Model/IssuedDocumentEiData.php index 725150b4..2b8b0ad5 100644 --- a/lib/Model/IssuedDocumentEiData.php +++ b/lib/Model/IssuedDocumentEiData.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/IssuedDocumentExtraData.php b/lib/Model/IssuedDocumentExtraData.php index 36c7adc4..3a30d9f4 100644 --- a/lib/Model/IssuedDocumentExtraData.php +++ b/lib/Model/IssuedDocumentExtraData.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/IssuedDocumentItemsListItem.php b/lib/Model/IssuedDocumentItemsListItem.php index f17d4e07..ae27455d 100644 --- a/lib/Model/IssuedDocumentItemsListItem.php +++ b/lib/Model/IssuedDocumentItemsListItem.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/IssuedDocumentOptions.php b/lib/Model/IssuedDocumentOptions.php index c64cdb7e..2ce57957 100644 --- a/lib/Model/IssuedDocumentOptions.php +++ b/lib/Model/IssuedDocumentOptions.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/IssuedDocumentPaymentsListItem.php b/lib/Model/IssuedDocumentPaymentsListItem.php index 1efba034..6230193d 100644 --- a/lib/Model/IssuedDocumentPaymentsListItem.php +++ b/lib/Model/IssuedDocumentPaymentsListItem.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/IssuedDocumentPaymentsListItemPaymentTerms.php b/lib/Model/IssuedDocumentPaymentsListItemPaymentTerms.php index ee765e38..19666ecf 100644 --- a/lib/Model/IssuedDocumentPaymentsListItemPaymentTerms.php +++ b/lib/Model/IssuedDocumentPaymentsListItemPaymentTerms.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/IssuedDocumentPreCreateInfo.php b/lib/Model/IssuedDocumentPreCreateInfo.php index 41a9323f..a6d673f8 100644 --- a/lib/Model/IssuedDocumentPreCreateInfo.php +++ b/lib/Model/IssuedDocumentPreCreateInfo.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/IssuedDocumentPreCreateInfoDefaultValues.php b/lib/Model/IssuedDocumentPreCreateInfoDefaultValues.php index d3b5b891..ab39e19c 100644 --- a/lib/Model/IssuedDocumentPreCreateInfoDefaultValues.php +++ b/lib/Model/IssuedDocumentPreCreateInfoDefaultValues.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/IssuedDocumentPreCreateInfoExtraDataDefaultValues.php b/lib/Model/IssuedDocumentPreCreateInfoExtraDataDefaultValues.php index f4c99bb8..7947ff8d 100644 --- a/lib/Model/IssuedDocumentPreCreateInfoExtraDataDefaultValues.php +++ b/lib/Model/IssuedDocumentPreCreateInfoExtraDataDefaultValues.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/IssuedDocumentPreCreateInfoItemsDefaultValues.php b/lib/Model/IssuedDocumentPreCreateInfoItemsDefaultValues.php index 7cbdcb76..c8c026dd 100644 --- a/lib/Model/IssuedDocumentPreCreateInfoItemsDefaultValues.php +++ b/lib/Model/IssuedDocumentPreCreateInfoItemsDefaultValues.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/IssuedDocumentStatus.php b/lib/Model/IssuedDocumentStatus.php index 0c52db00..6d9fa4a7 100644 --- a/lib/Model/IssuedDocumentStatus.php +++ b/lib/Model/IssuedDocumentStatus.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/IssuedDocumentTotals.php b/lib/Model/IssuedDocumentTotals.php index aab1c5af..0738ddee 100644 --- a/lib/Model/IssuedDocumentTotals.php +++ b/lib/Model/IssuedDocumentTotals.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/IssuedDocumentType.php b/lib/Model/IssuedDocumentType.php index e7e61642..8a8919c4 100644 --- a/lib/Model/IssuedDocumentType.php +++ b/lib/Model/IssuedDocumentType.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/JoinIssuedDocumentsResponse.php b/lib/Model/JoinIssuedDocumentsResponse.php index 6aa1d72a..5be09e19 100644 --- a/lib/Model/JoinIssuedDocumentsResponse.php +++ b/lib/Model/JoinIssuedDocumentsResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/Language.php b/lib/Model/Language.php index 2a50e40d..95015c86 100644 --- a/lib/Model/Language.php +++ b/lib/Model/Language.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListArchiveCategoriesResponse.php b/lib/Model/ListArchiveCategoriesResponse.php index aa64d655..1b5d9f0c 100644 --- a/lib/Model/ListArchiveCategoriesResponse.php +++ b/lib/Model/ListArchiveCategoriesResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListArchiveDocumentsResponse.php b/lib/Model/ListArchiveDocumentsResponse.php index 889201ec..47f46e4e 100644 --- a/lib/Model/ListArchiveDocumentsResponse.php +++ b/lib/Model/ListArchiveDocumentsResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListArchiveDocumentsResponsePage.php b/lib/Model/ListArchiveDocumentsResponsePage.php index 1dda131f..f5884a9e 100644 --- a/lib/Model/ListArchiveDocumentsResponsePage.php +++ b/lib/Model/ListArchiveDocumentsResponsePage.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListCashbookEntriesResponse.php b/lib/Model/ListCashbookEntriesResponse.php index 455e0e20..78cdedaa 100644 --- a/lib/Model/ListCashbookEntriesResponse.php +++ b/lib/Model/ListCashbookEntriesResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListCitiesResponse.php b/lib/Model/ListCitiesResponse.php index 06052e75..75e9464b 100644 --- a/lib/Model/ListCitiesResponse.php +++ b/lib/Model/ListCitiesResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListClientsResponse.php b/lib/Model/ListClientsResponse.php index 2b2ba9e2..e90b67f4 100644 --- a/lib/Model/ListClientsResponse.php +++ b/lib/Model/ListClientsResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListClientsResponsePage.php b/lib/Model/ListClientsResponsePage.php index 1267d697..00fb58cf 100644 --- a/lib/Model/ListClientsResponsePage.php +++ b/lib/Model/ListClientsResponsePage.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListCostCentersResponse.php b/lib/Model/ListCostCentersResponse.php index 03e8b52c..c668ddae 100644 --- a/lib/Model/ListCostCentersResponse.php +++ b/lib/Model/ListCostCentersResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListCountriesResponse.php b/lib/Model/ListCountriesResponse.php index 62e017b9..526a173f 100644 --- a/lib/Model/ListCountriesResponse.php +++ b/lib/Model/ListCountriesResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListCurrenciesResponse.php b/lib/Model/ListCurrenciesResponse.php index c24b4d17..e1d19fa6 100644 --- a/lib/Model/ListCurrenciesResponse.php +++ b/lib/Model/ListCurrenciesResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListDeliveryNotesDefaultCausalsResponse.php b/lib/Model/ListDeliveryNotesDefaultCausalsResponse.php index 43f95b5f..b812729c 100644 --- a/lib/Model/ListDeliveryNotesDefaultCausalsResponse.php +++ b/lib/Model/ListDeliveryNotesDefaultCausalsResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListDetailedCountriesResponse.php b/lib/Model/ListDetailedCountriesResponse.php index a2d40596..8d39521c 100644 --- a/lib/Model/ListDetailedCountriesResponse.php +++ b/lib/Model/ListDetailedCountriesResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListEmailsResponse.php b/lib/Model/ListEmailsResponse.php index 2443ca37..f672fba3 100644 --- a/lib/Model/ListEmailsResponse.php +++ b/lib/Model/ListEmailsResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListEmailsResponsePage.php b/lib/Model/ListEmailsResponsePage.php index 84765b6a..3aebd9ac 100644 --- a/lib/Model/ListEmailsResponsePage.php +++ b/lib/Model/ListEmailsResponsePage.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListF24Response.php b/lib/Model/ListF24Response.php index 2d60ad16..ea6e31c3 100644 --- a/lib/Model/ListF24Response.php +++ b/lib/Model/ListF24Response.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListF24ResponseAggregatedData.php b/lib/Model/ListF24ResponseAggregatedData.php index 4523fbea..bf3ef842 100644 --- a/lib/Model/ListF24ResponseAggregatedData.php +++ b/lib/Model/ListF24ResponseAggregatedData.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListF24ResponseAggregation.php b/lib/Model/ListF24ResponseAggregation.php index 7b5ce582..95cc89c4 100644 --- a/lib/Model/ListF24ResponseAggregation.php +++ b/lib/Model/ListF24ResponseAggregation.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListF24ResponsePage.php b/lib/Model/ListF24ResponsePage.php index c18c4fdb..598955d3 100644 --- a/lib/Model/ListF24ResponsePage.php +++ b/lib/Model/ListF24ResponsePage.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListIssuedDocumentsResponse.php b/lib/Model/ListIssuedDocumentsResponse.php index aa3755c5..ac013bfa 100644 --- a/lib/Model/ListIssuedDocumentsResponse.php +++ b/lib/Model/ListIssuedDocumentsResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListIssuedDocumentsResponsePage.php b/lib/Model/ListIssuedDocumentsResponsePage.php index 9180cbcf..ee7a5a13 100644 --- a/lib/Model/ListIssuedDocumentsResponsePage.php +++ b/lib/Model/ListIssuedDocumentsResponsePage.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListLanguagesResponse.php b/lib/Model/ListLanguagesResponse.php index 983af13a..815d28c0 100644 --- a/lib/Model/ListLanguagesResponse.php +++ b/lib/Model/ListLanguagesResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListPaymentAccountsResponse.php b/lib/Model/ListPaymentAccountsResponse.php index 8f395b87..17ca4ab0 100644 --- a/lib/Model/ListPaymentAccountsResponse.php +++ b/lib/Model/ListPaymentAccountsResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListPaymentMethodsResponse.php b/lib/Model/ListPaymentMethodsResponse.php index 68477514..c58f11d1 100644 --- a/lib/Model/ListPaymentMethodsResponse.php +++ b/lib/Model/ListPaymentMethodsResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListProductCategoriesResponse.php b/lib/Model/ListProductCategoriesResponse.php index 488a8030..60e4c501 100644 --- a/lib/Model/ListProductCategoriesResponse.php +++ b/lib/Model/ListProductCategoriesResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListProductsResponse.php b/lib/Model/ListProductsResponse.php index 48dd12f8..7695d31f 100644 --- a/lib/Model/ListProductsResponse.php +++ b/lib/Model/ListProductsResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListProductsResponsePage.php b/lib/Model/ListProductsResponsePage.php index 0cc9466d..84a68aac 100644 --- a/lib/Model/ListProductsResponsePage.php +++ b/lib/Model/ListProductsResponsePage.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListReceiptsResponse.php b/lib/Model/ListReceiptsResponse.php index 905d1561..325c3cf1 100644 --- a/lib/Model/ListReceiptsResponse.php +++ b/lib/Model/ListReceiptsResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListReceiptsResponsePage.php b/lib/Model/ListReceiptsResponsePage.php index e7c4c9cd..95d40f58 100644 --- a/lib/Model/ListReceiptsResponsePage.php +++ b/lib/Model/ListReceiptsResponsePage.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListReceivedDocumentCategoriesResponse.php b/lib/Model/ListReceivedDocumentCategoriesResponse.php index f4c4ab87..2287881a 100644 --- a/lib/Model/ListReceivedDocumentCategoriesResponse.php +++ b/lib/Model/ListReceivedDocumentCategoriesResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListReceivedDocumentsResponse.php b/lib/Model/ListReceivedDocumentsResponse.php index 0465da9a..6905e190 100644 --- a/lib/Model/ListReceivedDocumentsResponse.php +++ b/lib/Model/ListReceivedDocumentsResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListReceivedDocumentsResponsePage.php b/lib/Model/ListReceivedDocumentsResponsePage.php index 2282e270..0b833751 100644 --- a/lib/Model/ListReceivedDocumentsResponsePage.php +++ b/lib/Model/ListReceivedDocumentsResponsePage.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListRevenueCentersResponse.php b/lib/Model/ListRevenueCentersResponse.php index d6467260..971c41d7 100644 --- a/lib/Model/ListRevenueCentersResponse.php +++ b/lib/Model/ListRevenueCentersResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListSuppliersResponse.php b/lib/Model/ListSuppliersResponse.php index 9a93e8c3..953b16b9 100644 --- a/lib/Model/ListSuppliersResponse.php +++ b/lib/Model/ListSuppliersResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListSuppliersResponsePage.php b/lib/Model/ListSuppliersResponsePage.php index 8dc7e0e0..358fcd81 100644 --- a/lib/Model/ListSuppliersResponsePage.php +++ b/lib/Model/ListSuppliersResponsePage.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListTemplatesResponse.php b/lib/Model/ListTemplatesResponse.php index bfa176ed..ca9924d1 100644 --- a/lib/Model/ListTemplatesResponse.php +++ b/lib/Model/ListTemplatesResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListUnitsOfMeasureResponse.php b/lib/Model/ListUnitsOfMeasureResponse.php index 562de511..9035ebaf 100644 --- a/lib/Model/ListUnitsOfMeasureResponse.php +++ b/lib/Model/ListUnitsOfMeasureResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListUserCompaniesResponse.php b/lib/Model/ListUserCompaniesResponse.php index 270ee3ad..ecf59b26 100644 --- a/lib/Model/ListUserCompaniesResponse.php +++ b/lib/Model/ListUserCompaniesResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListUserCompaniesResponseData.php b/lib/Model/ListUserCompaniesResponseData.php index ab478994..6e3991bb 100644 --- a/lib/Model/ListUserCompaniesResponseData.php +++ b/lib/Model/ListUserCompaniesResponseData.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListVatTypesResponse.php b/lib/Model/ListVatTypesResponse.php index cf88238f..7928c365 100644 --- a/lib/Model/ListVatTypesResponse.php +++ b/lib/Model/ListVatTypesResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ListWebhooksSubscriptionsResponse.php b/lib/Model/ListWebhooksSubscriptionsResponse.php index b3dcab4f..fbb82352 100644 --- a/lib/Model/ListWebhooksSubscriptionsResponse.php +++ b/lib/Model/ListWebhooksSubscriptionsResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModelInterface.php b/lib/Model/ModelInterface.php index b6adba86..ac09466a 100644 --- a/lib/Model/ModelInterface.php +++ b/lib/Model/ModelInterface.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyArchiveDocumentRequest.php b/lib/Model/ModifyArchiveDocumentRequest.php index a3395a66..89ea0441 100644 --- a/lib/Model/ModifyArchiveDocumentRequest.php +++ b/lib/Model/ModifyArchiveDocumentRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyArchiveDocumentResponse.php b/lib/Model/ModifyArchiveDocumentResponse.php index f3ca1184..1faf7eeb 100644 --- a/lib/Model/ModifyArchiveDocumentResponse.php +++ b/lib/Model/ModifyArchiveDocumentResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyCashbookEntryRequest.php b/lib/Model/ModifyCashbookEntryRequest.php index 2f705183..70e37e2f 100644 --- a/lib/Model/ModifyCashbookEntryRequest.php +++ b/lib/Model/ModifyCashbookEntryRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyCashbookEntryResponse.php b/lib/Model/ModifyCashbookEntryResponse.php index 8a3017ec..332ac1c6 100644 --- a/lib/Model/ModifyCashbookEntryResponse.php +++ b/lib/Model/ModifyCashbookEntryResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyClientRequest.php b/lib/Model/ModifyClientRequest.php index 4761487c..42b2d5f0 100644 --- a/lib/Model/ModifyClientRequest.php +++ b/lib/Model/ModifyClientRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyClientResponse.php b/lib/Model/ModifyClientResponse.php index ef8e2fec..c0451b2b 100644 --- a/lib/Model/ModifyClientResponse.php +++ b/lib/Model/ModifyClientResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyF24Request.php b/lib/Model/ModifyF24Request.php index d1e8e566..660d7f13 100644 --- a/lib/Model/ModifyF24Request.php +++ b/lib/Model/ModifyF24Request.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyF24Response.php b/lib/Model/ModifyF24Response.php index 26f11b5a..6a21e276 100644 --- a/lib/Model/ModifyF24Response.php +++ b/lib/Model/ModifyF24Response.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyIssuedDocumentRequest.php b/lib/Model/ModifyIssuedDocumentRequest.php index 1898050f..bffc1c3d 100644 --- a/lib/Model/ModifyIssuedDocumentRequest.php +++ b/lib/Model/ModifyIssuedDocumentRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyIssuedDocumentResponse.php b/lib/Model/ModifyIssuedDocumentResponse.php index f78a7ed0..ab620bef 100644 --- a/lib/Model/ModifyIssuedDocumentResponse.php +++ b/lib/Model/ModifyIssuedDocumentResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyPaymentAccountRequest.php b/lib/Model/ModifyPaymentAccountRequest.php index e5d854c0..69414591 100644 --- a/lib/Model/ModifyPaymentAccountRequest.php +++ b/lib/Model/ModifyPaymentAccountRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyPaymentAccountResponse.php b/lib/Model/ModifyPaymentAccountResponse.php index a960464b..5123916d 100644 --- a/lib/Model/ModifyPaymentAccountResponse.php +++ b/lib/Model/ModifyPaymentAccountResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyPaymentMethodRequest.php b/lib/Model/ModifyPaymentMethodRequest.php index ec5024d8..14711b8a 100644 --- a/lib/Model/ModifyPaymentMethodRequest.php +++ b/lib/Model/ModifyPaymentMethodRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyPaymentMethodResponse.php b/lib/Model/ModifyPaymentMethodResponse.php index 9cd902af..004538d4 100644 --- a/lib/Model/ModifyPaymentMethodResponse.php +++ b/lib/Model/ModifyPaymentMethodResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyProductRequest.php b/lib/Model/ModifyProductRequest.php index 8cc43f53..f8791731 100644 --- a/lib/Model/ModifyProductRequest.php +++ b/lib/Model/ModifyProductRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyProductResponse.php b/lib/Model/ModifyProductResponse.php index a2fae45d..b00ab1cd 100644 --- a/lib/Model/ModifyProductResponse.php +++ b/lib/Model/ModifyProductResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyReceiptRequest.php b/lib/Model/ModifyReceiptRequest.php index 249f202c..47fb0461 100644 --- a/lib/Model/ModifyReceiptRequest.php +++ b/lib/Model/ModifyReceiptRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyReceiptResponse.php b/lib/Model/ModifyReceiptResponse.php index b22fae4b..42de6661 100644 --- a/lib/Model/ModifyReceiptResponse.php +++ b/lib/Model/ModifyReceiptResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyReceivedDocumentRequest.php b/lib/Model/ModifyReceivedDocumentRequest.php index aa66e490..98a96cf1 100644 --- a/lib/Model/ModifyReceivedDocumentRequest.php +++ b/lib/Model/ModifyReceivedDocumentRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyReceivedDocumentResponse.php b/lib/Model/ModifyReceivedDocumentResponse.php index 1ab49eec..c172fb86 100644 --- a/lib/Model/ModifyReceivedDocumentResponse.php +++ b/lib/Model/ModifyReceivedDocumentResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifySupplierRequest.php b/lib/Model/ModifySupplierRequest.php index 4d238a71..c47a2f3e 100644 --- a/lib/Model/ModifySupplierRequest.php +++ b/lib/Model/ModifySupplierRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifySupplierResponse.php b/lib/Model/ModifySupplierResponse.php index 46293463..5c32035c 100644 --- a/lib/Model/ModifySupplierResponse.php +++ b/lib/Model/ModifySupplierResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyVatTypeRequest.php b/lib/Model/ModifyVatTypeRequest.php index d73d7b49..b7693113 100644 --- a/lib/Model/ModifyVatTypeRequest.php +++ b/lib/Model/ModifyVatTypeRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyVatTypeResponse.php b/lib/Model/ModifyVatTypeResponse.php index a22745b5..f9648f60 100644 --- a/lib/Model/ModifyVatTypeResponse.php +++ b/lib/Model/ModifyVatTypeResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyWebhooksSubscriptionRequest.php b/lib/Model/ModifyWebhooksSubscriptionRequest.php index 0d715c2b..40d018b7 100644 --- a/lib/Model/ModifyWebhooksSubscriptionRequest.php +++ b/lib/Model/ModifyWebhooksSubscriptionRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ModifyWebhooksSubscriptionResponse.php b/lib/Model/ModifyWebhooksSubscriptionResponse.php index d5b4a559..3eb172c7 100644 --- a/lib/Model/ModifyWebhooksSubscriptionResponse.php +++ b/lib/Model/ModifyWebhooksSubscriptionResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/MonthlyTotal.php b/lib/Model/MonthlyTotal.php index 377a4e00..c8aad7cc 100644 --- a/lib/Model/MonthlyTotal.php +++ b/lib/Model/MonthlyTotal.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/OriginalDocumentType.php b/lib/Model/OriginalDocumentType.php index 3c277c09..151700e5 100644 --- a/lib/Model/OriginalDocumentType.php +++ b/lib/Model/OriginalDocumentType.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/Pagination.php b/lib/Model/Pagination.php index 71c4571b..cae7e4e0 100644 --- a/lib/Model/Pagination.php +++ b/lib/Model/Pagination.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/PaymentAccount.php b/lib/Model/PaymentAccount.php index cb66ac6c..7a4d34bf 100644 --- a/lib/Model/PaymentAccount.php +++ b/lib/Model/PaymentAccount.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/PaymentAccountType.php b/lib/Model/PaymentAccountType.php index 26699d6b..1d1e8e97 100644 --- a/lib/Model/PaymentAccountType.php +++ b/lib/Model/PaymentAccountType.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/PaymentMethod.php b/lib/Model/PaymentMethod.php index 0dc3246c..73dec3af 100644 --- a/lib/Model/PaymentMethod.php +++ b/lib/Model/PaymentMethod.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/PaymentMethodDetails.php b/lib/Model/PaymentMethodDetails.php index dceb0582..a4f3a7cd 100644 --- a/lib/Model/PaymentMethodDetails.php +++ b/lib/Model/PaymentMethodDetails.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/PaymentMethodType.php b/lib/Model/PaymentMethodType.php index 99c5fa87..b4acbf62 100644 --- a/lib/Model/PaymentMethodType.php +++ b/lib/Model/PaymentMethodType.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/PaymentTermsType.php b/lib/Model/PaymentTermsType.php index 3555afa4..e44e6530 100644 --- a/lib/Model/PaymentTermsType.php +++ b/lib/Model/PaymentTermsType.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/PermissionLevel.php b/lib/Model/PermissionLevel.php index e69869b9..9413c9fb 100644 --- a/lib/Model/PermissionLevel.php +++ b/lib/Model/PermissionLevel.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/Permissions.php b/lib/Model/Permissions.php index 795dcacb..07776b6b 100644 --- a/lib/Model/Permissions.php +++ b/lib/Model/Permissions.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/PermissionsFicIssuedDocumentsDetailed.php b/lib/Model/PermissionsFicIssuedDocumentsDetailed.php index 82199965..1121edb0 100644 --- a/lib/Model/PermissionsFicIssuedDocumentsDetailed.php +++ b/lib/Model/PermissionsFicIssuedDocumentsDetailed.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/Product.php b/lib/Model/Product.php index 7878b124..109866b9 100644 --- a/lib/Model/Product.php +++ b/lib/Model/Product.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/Receipt.php b/lib/Model/Receipt.php index 751845ee..80547f0a 100644 --- a/lib/Model/Receipt.php +++ b/lib/Model/Receipt.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ReceiptItemsListItem.php b/lib/Model/ReceiptItemsListItem.php index 49b175b4..a0a33feb 100644 --- a/lib/Model/ReceiptItemsListItem.php +++ b/lib/Model/ReceiptItemsListItem.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ReceiptPreCreateInfo.php b/lib/Model/ReceiptPreCreateInfo.php index a06fd256..18539b73 100644 --- a/lib/Model/ReceiptPreCreateInfo.php +++ b/lib/Model/ReceiptPreCreateInfo.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ReceiptType.php b/lib/Model/ReceiptType.php index cca91e28..36c840ae 100644 --- a/lib/Model/ReceiptType.php +++ b/lib/Model/ReceiptType.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ReceivedDocument.php b/lib/Model/ReceivedDocument.php index fe77e590..e6bee141 100644 --- a/lib/Model/ReceivedDocument.php +++ b/lib/Model/ReceivedDocument.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ReceivedDocumentInfo.php b/lib/Model/ReceivedDocumentInfo.php index e2827785..d1cccc38 100644 --- a/lib/Model/ReceivedDocumentInfo.php +++ b/lib/Model/ReceivedDocumentInfo.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ReceivedDocumentInfoDefaultValues.php b/lib/Model/ReceivedDocumentInfoDefaultValues.php index abc71eb7..5c3af111 100644 --- a/lib/Model/ReceivedDocumentInfoDefaultValues.php +++ b/lib/Model/ReceivedDocumentInfoDefaultValues.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ReceivedDocumentInfoItemsDefaultValues.php b/lib/Model/ReceivedDocumentInfoItemsDefaultValues.php index d3299061..6049b663 100644 --- a/lib/Model/ReceivedDocumentInfoItemsDefaultValues.php +++ b/lib/Model/ReceivedDocumentInfoItemsDefaultValues.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ReceivedDocumentItemsListItem.php b/lib/Model/ReceivedDocumentItemsListItem.php index b79668a3..eac02f1a 100644 --- a/lib/Model/ReceivedDocumentItemsListItem.php +++ b/lib/Model/ReceivedDocumentItemsListItem.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ReceivedDocumentPaymentsListItem.php b/lib/Model/ReceivedDocumentPaymentsListItem.php index 9959893c..61e5f37e 100644 --- a/lib/Model/ReceivedDocumentPaymentsListItem.php +++ b/lib/Model/ReceivedDocumentPaymentsListItem.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ReceivedDocumentPaymentsListItemPaymentTerms.php b/lib/Model/ReceivedDocumentPaymentsListItemPaymentTerms.php index 7673eec0..a78e5518 100644 --- a/lib/Model/ReceivedDocumentPaymentsListItemPaymentTerms.php +++ b/lib/Model/ReceivedDocumentPaymentsListItemPaymentTerms.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ReceivedDocumentTotals.php b/lib/Model/ReceivedDocumentTotals.php index ebc8a069..eae69916 100644 --- a/lib/Model/ReceivedDocumentTotals.php +++ b/lib/Model/ReceivedDocumentTotals.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ReceivedDocumentType.php b/lib/Model/ReceivedDocumentType.php index b8344239..435f6ce8 100644 --- a/lib/Model/ReceivedDocumentType.php +++ b/lib/Model/ReceivedDocumentType.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -50,6 +50,8 @@ class ReceivedDocumentType public const PASSIVE_DELIVERY_NOTE = 'passive_delivery_note'; + public const SELF_INVOICE = 'self_invoice'; + /** * Gets allowable values of the enum * @return string[] @@ -59,7 +61,8 @@ public static function getAllowableEnumValues() return [ self::EXPENSE, self::PASSIVE_CREDIT_NOTE, - self::PASSIVE_DELIVERY_NOTE + self::PASSIVE_DELIVERY_NOTE, + self::SELF_INVOICE ]; } } diff --git a/lib/Model/ScheduleEmailRequest.php b/lib/Model/ScheduleEmailRequest.php index cdaa8bf5..8c772556 100644 --- a/lib/Model/ScheduleEmailRequest.php +++ b/lib/Model/ScheduleEmailRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/SendEInvoiceRequest.php b/lib/Model/SendEInvoiceRequest.php index e7664cf0..b271982f 100644 --- a/lib/Model/SendEInvoiceRequest.php +++ b/lib/Model/SendEInvoiceRequest.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/SendEInvoiceRequestData.php b/lib/Model/SendEInvoiceRequestData.php index 0fb32458..2dd920ff 100644 --- a/lib/Model/SendEInvoiceRequestData.php +++ b/lib/Model/SendEInvoiceRequestData.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/SendEInvoiceRequestOptions.php b/lib/Model/SendEInvoiceRequestOptions.php index 687114b0..fd38fff9 100644 --- a/lib/Model/SendEInvoiceRequestOptions.php +++ b/lib/Model/SendEInvoiceRequestOptions.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/SendEInvoiceResponse.php b/lib/Model/SendEInvoiceResponse.php index e13d7f21..05b17185 100644 --- a/lib/Model/SendEInvoiceResponse.php +++ b/lib/Model/SendEInvoiceResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/SendEInvoiceResponseData.php b/lib/Model/SendEInvoiceResponseData.php index 31d74776..42a72ecc 100644 --- a/lib/Model/SendEInvoiceResponseData.php +++ b/lib/Model/SendEInvoiceResponseData.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/SenderEmail.php b/lib/Model/SenderEmail.php index a02dc32f..c68c22a0 100644 --- a/lib/Model/SenderEmail.php +++ b/lib/Model/SenderEmail.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/ShowTotalsMode.php b/lib/Model/ShowTotalsMode.php index 0bdc7688..4e5e1412 100644 --- a/lib/Model/ShowTotalsMode.php +++ b/lib/Model/ShowTotalsMode.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/Supplier.php b/lib/Model/Supplier.php index 1f157a84..13228222 100644 --- a/lib/Model/Supplier.php +++ b/lib/Model/Supplier.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/SupplierType.php b/lib/Model/SupplierType.php index ffe484ae..16f8f377 100644 --- a/lib/Model/SupplierType.php +++ b/lib/Model/SupplierType.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/TaxProfile.php b/lib/Model/TaxProfile.php new file mode 100644 index 00000000..97f2d5ce --- /dev/null +++ b/lib/Model/TaxProfile.php @@ -0,0 +1,1237 @@ + + */ +class TaxProfile implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'TaxProfile'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'company_type' => 'string', + 'company_subtype' => 'string', + 'profession' => 'string', + 'regime' => 'string', + 'rivalsa_name' => 'string', + 'default_rivalsa' => 'float', + 'cassa_name' => 'string', + 'default_cassa' => 'float', + 'default_cassa_taxable' => 'float', + 'cassa2_name' => 'string', + 'default_cassa2' => 'float', + 'default_cassa2_taxable' => 'float', + 'default_withholding_tax' => 'float', + 'default_withholding_tax_taxable' => 'float', + 'default_other_withholding_tax' => 'float', + 'enasarco' => 'bool', + 'enasarco_type' => 'string', + 'contributions_percentage' => 'float', + 'profit_coefficient' => 'float', + 'med' => 'bool', + 'default_vat' => '\FattureInCloud\Model\VatType' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'company_type' => null, + 'company_subtype' => null, + 'profession' => null, + 'regime' => null, + 'rivalsa_name' => null, + 'default_rivalsa' => null, + 'cassa_name' => null, + 'default_cassa' => null, + 'default_cassa_taxable' => null, + 'cassa2_name' => null, + 'default_cassa2' => null, + 'default_cassa2_taxable' => null, + 'default_withholding_tax' => null, + 'default_withholding_tax_taxable' => null, + 'default_other_withholding_tax' => null, + 'enasarco' => null, + 'enasarco_type' => null, + 'contributions_percentage' => null, + 'profit_coefficient' => null, + 'med' => null, + 'default_vat' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static $openAPINullables = [ + 'company_type' => true, + 'company_subtype' => true, + 'profession' => true, + 'regime' => true, + 'rivalsa_name' => true, + 'default_rivalsa' => true, + 'cassa_name' => true, + 'default_cassa' => true, + 'default_cassa_taxable' => true, + 'cassa2_name' => true, + 'default_cassa2' => true, + 'default_cassa2_taxable' => true, + 'default_withholding_tax' => true, + 'default_withholding_tax_taxable' => true, + 'default_other_withholding_tax' => true, + 'enasarco' => true, + 'enasarco_type' => true, + 'contributions_percentage' => true, + 'profit_coefficient' => true, + 'med' => true, + 'default_vat' => true + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull($openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'company_type' => 'company_type', + 'company_subtype' => 'company_subtype', + 'profession' => 'profession', + 'regime' => 'regime', + 'rivalsa_name' => 'rivalsa_name', + 'default_rivalsa' => 'default_rivalsa', + 'cassa_name' => 'cassa_name', + 'default_cassa' => 'default_cassa', + 'default_cassa_taxable' => 'default_cassa_taxable', + 'cassa2_name' => 'cassa2_name', + 'default_cassa2' => 'default_cassa2', + 'default_cassa2_taxable' => 'default_cassa2_taxable', + 'default_withholding_tax' => 'default_withholding_tax', + 'default_withholding_tax_taxable' => 'default_withholding_tax_taxable', + 'default_other_withholding_tax' => 'default_other_withholding_tax', + 'enasarco' => 'enasarco', + 'enasarco_type' => 'enasarco_type', + 'contributions_percentage' => 'contributions_percentage', + 'profit_coefficient' => 'profit_coefficient', + 'med' => 'med', + 'default_vat' => 'default_vat' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'company_type' => 'setCompanyType', + 'company_subtype' => 'setCompanySubtype', + 'profession' => 'setProfession', + 'regime' => 'setRegime', + 'rivalsa_name' => 'setRivalsaName', + 'default_rivalsa' => 'setDefaultRivalsa', + 'cassa_name' => 'setCassaName', + 'default_cassa' => 'setDefaultCassa', + 'default_cassa_taxable' => 'setDefaultCassaTaxable', + 'cassa2_name' => 'setCassa2Name', + 'default_cassa2' => 'setDefaultCassa2', + 'default_cassa2_taxable' => 'setDefaultCassa2Taxable', + 'default_withholding_tax' => 'setDefaultWithholdingTax', + 'default_withholding_tax_taxable' => 'setDefaultWithholdingTaxTaxable', + 'default_other_withholding_tax' => 'setDefaultOtherWithholdingTax', + 'enasarco' => 'setEnasarco', + 'enasarco_type' => 'setEnasarcoType', + 'contributions_percentage' => 'setContributionsPercentage', + 'profit_coefficient' => 'setProfitCoefficient', + 'med' => 'setMed', + 'default_vat' => 'setDefaultVat' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'company_type' => 'getCompanyType', + 'company_subtype' => 'getCompanySubtype', + 'profession' => 'getProfession', + 'regime' => 'getRegime', + 'rivalsa_name' => 'getRivalsaName', + 'default_rivalsa' => 'getDefaultRivalsa', + 'cassa_name' => 'getCassaName', + 'default_cassa' => 'getDefaultCassa', + 'default_cassa_taxable' => 'getDefaultCassaTaxable', + 'cassa2_name' => 'getCassa2Name', + 'default_cassa2' => 'getDefaultCassa2', + 'default_cassa2_taxable' => 'getDefaultCassa2Taxable', + 'default_withholding_tax' => 'getDefaultWithholdingTax', + 'default_withholding_tax_taxable' => 'getDefaultWithholdingTaxTaxable', + 'default_other_withholding_tax' => 'getDefaultOtherWithholdingTax', + 'enasarco' => 'getEnasarco', + 'enasarco_type' => 'getEnasarcoType', + 'contributions_percentage' => 'getContributionsPercentage', + 'profit_coefficient' => 'getProfitCoefficient', + 'med' => 'getMed', + 'default_vat' => 'getDefaultVat' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct($data = null) + { + $this->setIfExists('company_type', $data ?? [], null); + $this->setIfExists('company_subtype', $data ?? [], null); + $this->setIfExists('profession', $data ?? [], null); + $this->setIfExists('regime', $data ?? [], null); + $this->setIfExists('rivalsa_name', $data ?? [], null); + $this->setIfExists('default_rivalsa', $data ?? [], null); + $this->setIfExists('cassa_name', $data ?? [], null); + $this->setIfExists('default_cassa', $data ?? [], null); + $this->setIfExists('default_cassa_taxable', $data ?? [], null); + $this->setIfExists('cassa2_name', $data ?? [], null); + $this->setIfExists('default_cassa2', $data ?? [], null); + $this->setIfExists('default_cassa2_taxable', $data ?? [], null); + $this->setIfExists('default_withholding_tax', $data ?? [], null); + $this->setIfExists('default_withholding_tax_taxable', $data ?? [], null); + $this->setIfExists('default_other_withholding_tax', $data ?? [], null); + $this->setIfExists('enasarco', $data ?? [], null); + $this->setIfExists('enasarco_type', $data ?? [], null); + $this->setIfExists('contributions_percentage', $data ?? [], null); + $this->setIfExists('profit_coefficient', $data ?? [], null); + $this->setIfExists('med', $data ?? [], null); + $this->setIfExists('default_vat', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets company_type + * + * @return string|null + */ + public function getCompanyType() + { + return $this->container['company_type']; + } + + /** + * Sets company_type + * + * @param string|null $company_type The company type + * + * @return self + */ + public function setCompanyType($company_type) + { + if (is_null($company_type)) { + array_push($this->openAPINullablesSetToNull, 'company_type'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('company_type', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['company_type'] = $company_type; + + return $this; + } + + /** + * Gets company_subtype + * + * @return string|null + */ + public function getCompanySubtype() + { + return $this->container['company_subtype']; + } + + /** + * Sets company_subtype + * + * @param string|null $company_subtype The company subtype + * + * @return self + */ + public function setCompanySubtype($company_subtype) + { + if (is_null($company_subtype)) { + array_push($this->openAPINullablesSetToNull, 'company_subtype'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('company_subtype', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['company_subtype'] = $company_subtype; + + return $this; + } + + /** + * Gets profession + * + * @return string|null + */ + public function getProfession() + { + return $this->container['profession']; + } + + /** + * Sets profession + * + * @param string|null $profession The profession + * + * @return self + */ + public function setProfession($profession) + { + if (is_null($profession)) { + array_push($this->openAPINullablesSetToNull, 'profession'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('profession', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['profession'] = $profession; + + return $this; + } + + /** + * Gets regime + * + * @return string|null + */ + public function getRegime() + { + return $this->container['regime']; + } + + /** + * Sets regime + * + * @param string|null $regime The applied regime + * + * @return self + */ + public function setRegime($regime) + { + if (is_null($regime)) { + array_push($this->openAPINullablesSetToNull, 'regime'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('regime', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['regime'] = $regime; + + return $this; + } + + /** + * Gets rivalsa_name + * + * @return string|null + */ + public function getRivalsaName() + { + return $this->container['rivalsa_name']; + } + + /** + * Sets rivalsa_name + * + * @param string|null $rivalsa_name The name of the rivalsa + * + * @return self + */ + public function setRivalsaName($rivalsa_name) + { + if (is_null($rivalsa_name)) { + array_push($this->openAPINullablesSetToNull, 'rivalsa_name'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('rivalsa_name', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['rivalsa_name'] = $rivalsa_name; + + return $this; + } + + /** + * Gets default_rivalsa + * + * @return float|null + */ + public function getDefaultRivalsa() + { + return $this->container['default_rivalsa']; + } + + /** + * Sets default_rivalsa + * + * @param float|null $default_rivalsa The default rivalsa amount + * + * @return self + */ + public function setDefaultRivalsa($default_rivalsa) + { + if (is_null($default_rivalsa)) { + array_push($this->openAPINullablesSetToNull, 'default_rivalsa'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('default_rivalsa', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['default_rivalsa'] = $default_rivalsa; + + return $this; + } + + /** + * Gets cassa_name + * + * @return string|null + */ + public function getCassaName() + { + return $this->container['cassa_name']; + } + + /** + * Sets cassa_name + * + * @param string|null $cassa_name The name of the cassa + * + * @return self + */ + public function setCassaName($cassa_name) + { + if (is_null($cassa_name)) { + array_push($this->openAPINullablesSetToNull, 'cassa_name'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('cassa_name', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['cassa_name'] = $cassa_name; + + return $this; + } + + /** + * Gets default_cassa + * + * @return float|null + */ + public function getDefaultCassa() + { + return $this->container['default_cassa']; + } + + /** + * Sets default_cassa + * + * @param float|null $default_cassa The default cassa amount + * + * @return self + */ + public function setDefaultCassa($default_cassa) + { + if (is_null($default_cassa)) { + array_push($this->openAPINullablesSetToNull, 'default_cassa'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('default_cassa', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['default_cassa'] = $default_cassa; + + return $this; + } + + /** + * Gets default_cassa_taxable + * + * @return float|null + */ + public function getDefaultCassaTaxable() + { + return $this->container['default_cassa_taxable']; + } + + /** + * Sets default_cassa_taxable + * + * @param float|null $default_cassa_taxable The default taxable amount for the cassa + * + * @return self + */ + public function setDefaultCassaTaxable($default_cassa_taxable) + { + if (is_null($default_cassa_taxable)) { + array_push($this->openAPINullablesSetToNull, 'default_cassa_taxable'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('default_cassa_taxable', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['default_cassa_taxable'] = $default_cassa_taxable; + + return $this; + } + + /** + * Gets cassa2_name + * + * @return string|null + */ + public function getCassa2Name() + { + return $this->container['cassa2_name']; + } + + /** + * Sets cassa2_name + * + * @param string|null $cassa2_name The name of the second cassa + * + * @return self + */ + public function setCassa2Name($cassa2_name) + { + if (is_null($cassa2_name)) { + array_push($this->openAPINullablesSetToNull, 'cassa2_name'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('cassa2_name', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['cassa2_name'] = $cassa2_name; + + return $this; + } + + /** + * Gets default_cassa2 + * + * @return float|null + */ + public function getDefaultCassa2() + { + return $this->container['default_cassa2']; + } + + /** + * Sets default_cassa2 + * + * @param float|null $default_cassa2 The default second cassa amount + * + * @return self + */ + public function setDefaultCassa2($default_cassa2) + { + if (is_null($default_cassa2)) { + array_push($this->openAPINullablesSetToNull, 'default_cassa2'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('default_cassa2', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['default_cassa2'] = $default_cassa2; + + return $this; + } + + /** + * Gets default_cassa2_taxable + * + * @return float|null + */ + public function getDefaultCassa2Taxable() + { + return $this->container['default_cassa2_taxable']; + } + + /** + * Sets default_cassa2_taxable + * + * @param float|null $default_cassa2_taxable The default taxable amount for the second cassa + * + * @return self + */ + public function setDefaultCassa2Taxable($default_cassa2_taxable) + { + if (is_null($default_cassa2_taxable)) { + array_push($this->openAPINullablesSetToNull, 'default_cassa2_taxable'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('default_cassa2_taxable', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['default_cassa2_taxable'] = $default_cassa2_taxable; + + return $this; + } + + /** + * Gets default_withholding_tax + * + * @return float|null + */ + public function getDefaultWithholdingTax() + { + return $this->container['default_withholding_tax']; + } + + /** + * Sets default_withholding_tax + * + * @param float|null $default_withholding_tax The default withholding tax + * + * @return self + */ + public function setDefaultWithholdingTax($default_withholding_tax) + { + if (is_null($default_withholding_tax)) { + array_push($this->openAPINullablesSetToNull, 'default_withholding_tax'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('default_withholding_tax', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['default_withholding_tax'] = $default_withholding_tax; + + return $this; + } + + /** + * Gets default_withholding_tax_taxable + * + * @return float|null + */ + public function getDefaultWithholdingTaxTaxable() + { + return $this->container['default_withholding_tax_taxable']; + } + + /** + * Sets default_withholding_tax_taxable + * + * @param float|null $default_withholding_tax_taxable The default taxable amount for the withholding tax + * + * @return self + */ + public function setDefaultWithholdingTaxTaxable($default_withholding_tax_taxable) + { + if (is_null($default_withholding_tax_taxable)) { + array_push($this->openAPINullablesSetToNull, 'default_withholding_tax_taxable'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('default_withholding_tax_taxable', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['default_withholding_tax_taxable'] = $default_withholding_tax_taxable; + + return $this; + } + + /** + * Gets default_other_withholding_tax + * + * @return float|null + */ + public function getDefaultOtherWithholdingTax() + { + return $this->container['default_other_withholding_tax']; + } + + /** + * Sets default_other_withholding_tax + * + * @param float|null $default_other_withholding_tax The default other withholding tax + * + * @return self + */ + public function setDefaultOtherWithholdingTax($default_other_withholding_tax) + { + if (is_null($default_other_withholding_tax)) { + array_push($this->openAPINullablesSetToNull, 'default_other_withholding_tax'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('default_other_withholding_tax', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['default_other_withholding_tax'] = $default_other_withholding_tax; + + return $this; + } + + /** + * Gets enasarco + * + * @return bool|null + */ + public function getEnasarco() + { + return $this->container['enasarco']; + } + + /** + * Sets enasarco + * + * @param bool|null $enasarco If it has enasarco + * + * @return self + */ + public function setEnasarco($enasarco) + { + if (is_null($enasarco)) { + array_push($this->openAPINullablesSetToNull, 'enasarco'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('enasarco', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['enasarco'] = $enasarco; + + return $this; + } + + /** + * Gets enasarco_type + * + * @return string|null + */ + public function getEnasarcoType() + { + return $this->container['enasarco_type']; + } + + /** + * Sets enasarco_type + * + * @param string|null $enasarco_type The enasarco type + * + * @return self + */ + public function setEnasarcoType($enasarco_type) + { + if (is_null($enasarco_type)) { + array_push($this->openAPINullablesSetToNull, 'enasarco_type'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('enasarco_type', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['enasarco_type'] = $enasarco_type; + + return $this; + } + + /** + * Gets contributions_percentage + * + * @return float|null + */ + public function getContributionsPercentage() + { + return $this->container['contributions_percentage']; + } + + /** + * Sets contributions_percentage + * + * @param float|null $contributions_percentage The contributions percentage + * + * @return self + */ + public function setContributionsPercentage($contributions_percentage) + { + if (is_null($contributions_percentage)) { + array_push($this->openAPINullablesSetToNull, 'contributions_percentage'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('contributions_percentage', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['contributions_percentage'] = $contributions_percentage; + + return $this; + } + + /** + * Gets profit_coefficient + * + * @return float|null + */ + public function getProfitCoefficient() + { + return $this->container['profit_coefficient']; + } + + /** + * Sets profit_coefficient + * + * @param float|null $profit_coefficient The profit coefficient + * + * @return self + */ + public function setProfitCoefficient($profit_coefficient) + { + if (is_null($profit_coefficient)) { + array_push($this->openAPINullablesSetToNull, 'profit_coefficient'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('profit_coefficient', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['profit_coefficient'] = $profit_coefficient; + + return $this; + } + + /** + * Gets med + * + * @return bool|null + */ + public function getMed() + { + return $this->container['med']; + } + + /** + * Sets med + * + * @param bool|null $med If the health card system is active + * + * @return self + */ + public function setMed($med) + { + if (is_null($med)) { + array_push($this->openAPINullablesSetToNull, 'med'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('med', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['med'] = $med; + + return $this; + } + + /** + * Gets default_vat + * + * @return \FattureInCloud\Model\VatType|null + */ + public function getDefaultVat() + { + return $this->container['default_vat']; + } + + /** + * Sets default_vat + * + * @param \FattureInCloud\Model\VatType|null $default_vat default_vat + * + * @return self + */ + public function setDefaultVat($default_vat) + { + if (is_null($default_vat)) { + array_push($this->openAPINullablesSetToNull, 'default_vat'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('default_vat', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['default_vat'] = $default_vat; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://fattureincloud.it + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/lib/Model/TransformIssuedDocumentResponse.php b/lib/Model/TransformIssuedDocumentResponse.php index b784b0de..332e067a 100644 --- a/lib/Model/TransformIssuedDocumentResponse.php +++ b/lib/Model/TransformIssuedDocumentResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/UploadArchiveAttachmentResponse.php b/lib/Model/UploadArchiveAttachmentResponse.php index 07dc2170..8c4b0076 100644 --- a/lib/Model/UploadArchiveAttachmentResponse.php +++ b/lib/Model/UploadArchiveAttachmentResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/UploadF24AttachmentResponse.php b/lib/Model/UploadF24AttachmentResponse.php index e89515e8..9857cfef 100644 --- a/lib/Model/UploadF24AttachmentResponse.php +++ b/lib/Model/UploadF24AttachmentResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/UploadIssuedDocumentAttachmentResponse.php b/lib/Model/UploadIssuedDocumentAttachmentResponse.php index 756f0d7b..2ec04e55 100644 --- a/lib/Model/UploadIssuedDocumentAttachmentResponse.php +++ b/lib/Model/UploadIssuedDocumentAttachmentResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/UploadReceivedDocumentAttachmentResponse.php b/lib/Model/UploadReceivedDocumentAttachmentResponse.php index 0508cdb9..71983f8d 100644 --- a/lib/Model/UploadReceivedDocumentAttachmentResponse.php +++ b/lib/Model/UploadReceivedDocumentAttachmentResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/User.php b/lib/Model/User.php index 75443148..95e5115f 100644 --- a/lib/Model/User.php +++ b/lib/Model/User.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/UserCompanyRole.php b/lib/Model/UserCompanyRole.php index 9d81fd0f..416c33c4 100644 --- a/lib/Model/UserCompanyRole.php +++ b/lib/Model/UserCompanyRole.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/VatItem.php b/lib/Model/VatItem.php index e58d1e3c..ed862968 100644 --- a/lib/Model/VatItem.php +++ b/lib/Model/VatItem.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/VatKind.php b/lib/Model/VatKind.php index 1a933df2..f4ddf73b 100644 --- a/lib/Model/VatKind.php +++ b/lib/Model/VatKind.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -44,8 +44,6 @@ class VatKind /** * Possible values of this enum */ - public const NULL = 'null'; - public const I = 'I'; public const D = 'D'; @@ -59,7 +57,6 @@ class VatKind public static function getAllowableEnumValues() { return [ - self::NULL, self::I, self::D, self::S diff --git a/lib/Model/VatType.php b/lib/Model/VatType.php index b09e6095..a3c542d8 100644 --- a/lib/Model/VatType.php +++ b/lib/Model/VatType.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -66,7 +66,8 @@ class VatType implements ModelInterface, ArrayAccess, \JsonSerializable 'ei_type' => 'string', 'ei_description' => 'string', 'editable' => 'bool', - 'is_disabled' => 'bool' + 'is_disabled' => 'bool', + 'default' => 'bool' ]; /** @@ -85,7 +86,8 @@ class VatType implements ModelInterface, ArrayAccess, \JsonSerializable 'ei_type' => null, 'ei_description' => null, 'editable' => null, - 'is_disabled' => null + 'is_disabled' => null, + 'default' => null ]; /** @@ -102,7 +104,8 @@ class VatType implements ModelInterface, ArrayAccess, \JsonSerializable 'ei_type' => true, 'ei_description' => true, 'editable' => true, - 'is_disabled' => true + 'is_disabled' => true, + 'default' => true ]; /** @@ -199,7 +202,8 @@ public function isNullableSetToNull(string $property): bool 'ei_type' => 'ei_type', 'ei_description' => 'ei_description', 'editable' => 'editable', - 'is_disabled' => 'is_disabled' + 'is_disabled' => 'is_disabled', + 'default' => 'default' ]; /** @@ -216,7 +220,8 @@ public function isNullableSetToNull(string $property): bool 'ei_type' => 'setEiType', 'ei_description' => 'setEiDescription', 'editable' => 'setEditable', - 'is_disabled' => 'setIsDisabled' + 'is_disabled' => 'setIsDisabled', + 'default' => 'setDefault' ]; /** @@ -233,7 +238,8 @@ public function isNullableSetToNull(string $property): bool 'ei_type' => 'getEiType', 'ei_description' => 'getEiDescription', 'editable' => 'getEditable', - 'is_disabled' => 'getIsDisabled' + 'is_disabled' => 'getIsDisabled', + 'default' => 'getDefault' ]; /** @@ -302,6 +308,7 @@ public function __construct($data = null) $this->setIfExists('ei_description', $data ?? [], null); $this->setIfExists('editable', $data ?? [], null); $this->setIfExists('is_disabled', $data ?? [], null); + $this->setIfExists('default', $data ?? [], null); } /** @@ -651,6 +658,40 @@ public function setIsDisabled($is_disabled) return $this; } + + /** + * Gets default + * + * @return bool|null + */ + public function getDefault() + { + return $this->container['default']; + } + + /** + * Sets default + * + * @param bool|null $default If the vat type is default + * + * @return self + */ + public function setDefault($default) + { + if (is_null($default)) { + array_push($this->openAPINullablesSetToNull, 'default'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('default', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['default'] = $default; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/lib/Model/VerifyEInvoiceXmlErrorResponse.php b/lib/Model/VerifyEInvoiceXmlErrorResponse.php index 8f38c0e8..1277550e 100644 --- a/lib/Model/VerifyEInvoiceXmlErrorResponse.php +++ b/lib/Model/VerifyEInvoiceXmlErrorResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/VerifyEInvoiceXmlErrorResponseError.php b/lib/Model/VerifyEInvoiceXmlErrorResponseError.php index 124689cb..156e0666 100644 --- a/lib/Model/VerifyEInvoiceXmlErrorResponseError.php +++ b/lib/Model/VerifyEInvoiceXmlErrorResponseError.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/VerifyEInvoiceXmlErrorResponseErrorValidationResult.php b/lib/Model/VerifyEInvoiceXmlErrorResponseErrorValidationResult.php index 8a9c2b8a..50594a38 100644 --- a/lib/Model/VerifyEInvoiceXmlErrorResponseErrorValidationResult.php +++ b/lib/Model/VerifyEInvoiceXmlErrorResponseErrorValidationResult.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/VerifyEInvoiceXmlErrorResponseExtra.php b/lib/Model/VerifyEInvoiceXmlErrorResponseExtra.php index 363ce25f..a8cda312 100644 --- a/lib/Model/VerifyEInvoiceXmlErrorResponseExtra.php +++ b/lib/Model/VerifyEInvoiceXmlErrorResponseExtra.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/VerifyEInvoiceXmlResponse.php b/lib/Model/VerifyEInvoiceXmlResponse.php index 755f891c..98d029f5 100644 --- a/lib/Model/VerifyEInvoiceXmlResponse.php +++ b/lib/Model/VerifyEInvoiceXmlResponse.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/VerifyEInvoiceXmlResponseData.php b/lib/Model/VerifyEInvoiceXmlResponseData.php index 96069444..ff133bc8 100644 --- a/lib/Model/VerifyEInvoiceXmlResponseData.php +++ b/lib/Model/VerifyEInvoiceXmlResponseData.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/WebhooksSubscription.php b/lib/Model/WebhooksSubscription.php index 6bfcaf15..a96bea55 100644 --- a/lib/Model/WebhooksSubscription.php +++ b/lib/Model/WebhooksSubscription.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/WebhooksSubscriptionConfig.php b/lib/Model/WebhooksSubscriptionConfig.php index f5fdd17c..75c1f307 100644 --- a/lib/Model/WebhooksSubscriptionConfig.php +++ b/lib/Model/WebhooksSubscriptionConfig.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/Model/WebhooksSubscriptionMapping.php b/lib/Model/WebhooksSubscriptionMapping.php index c61ca11b..03daef12 100644 --- a/lib/Model/WebhooksSubscriptionMapping.php +++ b/lib/Model/WebhooksSubscriptionMapping.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** diff --git a/lib/OAuth2/OAuth2AuthorizationCode/OAuth2AuthorizationCodeManager.php b/lib/OAuth2/OAuth2AuthorizationCode/OAuth2AuthorizationCodeManager.php index aa5ef780..ef7e82be 100644 --- a/lib/OAuth2/OAuth2AuthorizationCode/OAuth2AuthorizationCodeManager.php +++ b/lib/OAuth2/OAuth2AuthorizationCode/OAuth2AuthorizationCodeManager.php @@ -32,7 +32,7 @@ class OAuth2AuthorizationCodeManager extends OAuth2Manager */ public function __construct(string $clientId, string $clientSecret, string $redirectUri, string $baseUri = self::DEFAULT_BASE_URI, Client $client = null) { - parent::__construct($clientId,$baseUri, $client); + parent::__construct($clientId, $baseUri, $client); $this->clientSecret = $clientSecret; $this->redirectUri = $redirectUri; } diff --git a/lib/OAuth2/OAuth2DeviceCode/OAuth2DeviceCodeManager.php b/lib/OAuth2/OAuth2DeviceCode/OAuth2DeviceCodeManager.php index 3858df51..8b52f2cc 100644 --- a/lib/OAuth2/OAuth2DeviceCode/OAuth2DeviceCodeManager.php +++ b/lib/OAuth2/OAuth2DeviceCode/OAuth2DeviceCodeManager.php @@ -38,7 +38,7 @@ public function getDeviceCode(array $scopes) 'scope' => $scopeStr, ]; $res = $this->executePost($tokenUri, $body)['data']; - if (!$res instanceOf OAuth2Error) { + if (!$res instanceof OAuth2Error) { return new OAuth2DeviceCodeResponse($res['device_code'], $res['user_code'], $res['scope'], $res['verification_uri'], $res['interval'], $res['expires_in']); } else { return $res; diff --git a/lib/OAuth2/OAuth2Manager.php b/lib/OAuth2/OAuth2Manager.php index 95b49205..c355b7e0 100644 --- a/lib/OAuth2/OAuth2Manager.php +++ b/lib/OAuth2/OAuth2Manager.php @@ -99,17 +99,17 @@ public function setBaseUri(?string $baseUri): void /** * @param string $code */ - abstract function fetchToken(string $code); + abstract public function fetchToken(string $code); /** * @param string $refreshToken */ - abstract function refreshToken(string $refreshToken); + abstract public function refreshToken(string $refreshToken); protected function executeTokenPost(string $uri, array $body) { $res = $this->executePost($uri, $body); - if (!$res instanceOf OAuth2Error) { + if (!$res instanceof OAuth2Error) { return new OAuth2TokenResponse($res['token_type'], $res['access_token'], $res['refresh_token'], $res['expires_in']); } else { return $res; diff --git a/lib/ObjectSerializer.php b/lib/ObjectSerializer.php index a869b0dd..0ca85e36 100644 --- a/lib/ObjectSerializer.php +++ b/lib/ObjectSerializer.php @@ -15,10 +15,10 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.0 + * The version of the OpenAPI document: 2.1.2 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech - * Generator version: 7.6.0 + * Generator version: 7.9.0 */ /** @@ -104,7 +104,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); } } @@ -197,6 +197,10 @@ private static function isEmptyValue($value, string $openApiType): bool case 'boolean': return !in_array($value, [false, 0], true); + # For string values, '' is considered empty. + case 'string': + return $value === ''; + # For all the other types, any value at this point can be considered empty. default: return true; @@ -238,7 +242,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)]; } @@ -270,6 +274,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; } @@ -477,7 +486,7 @@ public static function deserialize($data, $class, $httpHeaders = null) // determine file name if ( is_array($httpHeaders) - && array_key_exists('Content-Disposition', $httpHeaders) + && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { $filename = Configuration::getDefaultConfiguration()->getTempFolderPath() . DIRECTORY_SEPARATOR . self::sanitizeFilename($match[1]); diff --git a/sdk-version.yaml b/sdk-version.yaml index c4668f54..d02565a7 100644 --- a/sdk-version.yaml +++ b/sdk-version.yaml @@ -1,2 +1,2 @@ info: - version: 2.1.0 + version: 2.1.1 diff --git a/test/Model/EmailTest.php b/test/Model/EmailTest.php index 15c1be8f..189db0cc 100644 --- a/test/Model/EmailTest.php +++ b/test/Model/EmailTest.php @@ -127,8 +127,7 @@ public function testPropertyStatus() */ public function testPropertySentDate() { - $date = new \DateTime($this->array['sent_date']); - TestCase::assertEquals($this->object['sent_date'], $date); + TestCase::assertEquals($this->object['sent_date'], $this->array['sent_date']); } /** diff --git a/test/Model/EventTypeTest.php b/test/Model/EventTypeTest.php index 37da79cc..882497c1 100644 --- a/test/Model/EventTypeTest.php +++ b/test/Model/EventTypeTest.php @@ -30,7 +30,6 @@ namespace FattureInCloud\Test\Model; use FattureInCloud\Model\EventType; - use PHPUnit\Framework\TestCase; use \FattureInCloud\ObjectSerializer; diff --git a/test/Model/GetTaxProfileResponseTest.php b/test/Model/GetTaxProfileResponseTest.php new file mode 100644 index 00000000..22398d09 --- /dev/null +++ b/test/Model/GetTaxProfileResponseTest.php @@ -0,0 +1,90 @@ + 'r', 'settings' => 'a', ]; - $params = new OAuth2DeviceCodeResponse('d/DEVICE_CODE', 'OMG', $scope, 'https://fattureincloud.it/connetti', 5, 300);; + $params = new OAuth2DeviceCodeResponse('d/DEVICE_CODE', 'OMG', $scope, 'https://fattureincloud.it/connetti', 5, 300); + ; $this->assertEquals('d/DEVICE_CODE', $params->getDeviceCode()); $this->assertEquals('OMG', $params->getUserCode()); $this->assertEquals($scope, $params->getScope()); @@ -130,7 +131,7 @@ public function testGetDeviceCode() $customClient = new Client(['handler' => $handler]); $e = new OAuth2DeviceCodeManager('CLIENT_ID', 'http://fic.api.test', $customClient); - $scopes = array(Scope::SITUATION_READ, Scope::SETTINGS_ALL); + $scopes = [Scope::SITUATION_READ, Scope::SETTINGS_ALL]; $res = $e->getDeviceCode($scopes); $this->assertEquals('d/DEVICE_CODE', $res->getDeviceCode()); $this->assertEquals('OMG', $res->getUserCode());